/* SinergCare team cards — the clinician grid on /team and the linked
   photo tiles in the homepage experts panel. Sits alongside the .sc-*
   primitives in sinergcare-content-mobile-fixes.css and reuses their tokens. */

.sc-team-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin:26px 0 8px;
}
.sc-team-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--sc-line,rgba(5,27,42,.12));
  border-radius:26px;
  background:#fff;
  box-shadow:0 9px 28px rgba(5,27,42,.07);
  transition:transform .3s ease, box-shadow .3s ease;
}
.sc-team-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 38px rgba(5,27,42,.12);
}
.sc-team-card > a{
  display:block;
  color:inherit;
  text-decoration:none;
}
.sc-team-photo{
  aspect-ratio:4/5;
  overflow:hidden;
  background:var(--sc-sky,#eaf7fb);
}
.sc-team-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center top;
}
.sc-team-body{
  padding:20px 22px 22px;
}
.sc-team-card h3{
  margin:0 0 4px;
  color:var(--sc-navy,#073e78);
  font-size:21px;
  line-height:1.25;
}
.sc-team-role{
  margin:0;
  color:#405b66;
  font-size:14px;
  line-height:1.6;
}
.sc-team-more{
  display:inline-block;
  margin-top:12px;
  color:var(--sc-blue,#087fa8);
  font-size:13px;
  font-weight:700;
}
.sc-team-card:hover .sc-team-more{
  text-decoration:underline;
  text-underline-offset:3px;
}

/* Homepage experts panel: the tiles are links now, so keep them inheriting
   the panel's light-on-navy treatment. */
.expert-card > a{
  display:block;
  color:inherit;
  text-decoration:none;
}
.expert-card > a:hover .expert-photo{
  filter:brightness(1.04);
}

@media (max-width:1100px){
  .sc-team-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:760px){
  .sc-team-grid{
    grid-template-columns:1fr;
  }
  .sc-team-body{
    padding:18px 18px 20px;
  }
}
@media (prefers-reduced-motion:reduce){
  .sc-team-card{
    transition:none;
  }
  .sc-team-card:hover{
    transform:none;
  }
}
