:root{
  --tms-purple:#6b2c91;
  --tms-purple-dark:#5a2379;
  --tms-bg:#f3f3f3;
  --tms-text:#1a1a1a;
  --tms-muted:#9a9a9a;
  --tms-white:#fff;
}
.tms-team-section{
  padding:80px 24px 100px;
  text-align:center;
  background:var(--tms-bg);
}
.tms-section-title{
  font-size:38px;
  line-height:1.2;
  font-weight:800;
  color:var(--tms-text);
  margin:0 0 45px;
}
.tms-team-grid{
  display:grid;
  grid-template-columns:repeat(3,280px);
  gap:24px;
  justify-content:center;
  max-width:960px;
  margin:0 auto;
}
.tms-card{
  position:relative;
  background:var(--tms-white);
  border-radius:6px;
  overflow:hidden;
  text-align:center;
  min-width:0;
}
.tms-img-wrap{
  width:100%;
  height:266px;
  overflow:hidden;
}
.tms-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}
.tms-card:hover img{transform:scale(1.03);}
.tms-image-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ddd;
  color:#777;
  font-size:14px;
}
.tms-info{padding:18px 10px 22px;}
.tms-info h3{
  font-size:18px;
  line-height:1.3;
  font-weight:700;
  color:var(--tms-text);
  margin:0 0 4px;
}
.tms-role{
  font-size:13.5px;
  line-height:1.4;
  color:var(--tms-purple);
  font-weight:600;
}
.tms-overlay{
  position:absolute;
  inset:0;
  background:var(--tms-purple);
  color:var(--tms-white);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:32px 24px;
  opacity:0;
  pointer-events:none;
  transition:opacity .3s ease;
}
.tms-card:hover .tms-overlay{
  opacity:1;
  pointer-events:auto;
}
.tms-overlay h3{
  font-size:20px;
  line-height:1.3;
  font-weight:700;
  color:#fff;
  margin:0 0 4px;
}
.tms-overlay .tms-role{
  color:#fff;
  opacity:.85;
  margin-bottom:16px;
}
.tms-desc{
  max-width:220px;
  margin:0;
  color:#fff;
  font-size:13px;
  line-height:1.7;
  opacity:.92;
}
.tms-extra-member{display:none;}
.tms-extra-member.tms-show{
  display:block;
  animation:tmsFadeIn .4s ease;
}
.tms-load-more-wrap{margin-top:44px;}
.tms-load-more-btn{
  background:var(--tms-purple);
  color:#fff;
  border:0;
  padding:13px 34px;
  border-radius:4px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:background .2s ease, transform .2s ease;
}
.tms-load-more-btn:hover{
  background:var(--tms-purple-dark);
  transform:translateY(-1px);
}
@keyframes tmsFadeIn{
  from{opacity:0;transform:translateY(12px);}
  to{opacity:1;transform:translateY(0);}
}
@media (max-width:960px){
  .tms-team-grid{grid-template-columns:repeat(2,280px);}
}
@media (max-width:640px){
  .tms-team-section{padding:55px 16px 70px;}
  .tms-section-title{font-size:28px;margin-bottom:35px;}
  .tms-team-grid{grid-template-columns:minmax(0,300px);max-width:300px;}
  .tms-img-wrap{height:285px;}
}
