/* Shared, full-roster swipe slider for every /standorte/<clinic>/ page. */
.tc-team-section{padding:clamp(28px,3.4vw,44px) 16px;background:#fff}
.tc-team-section .wrap{max-width:1280px;margin:0 auto}
.tc-team-top{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:15px}
.tc-team-top .section-title{margin:7px 0 10px;line-height:1.18}
.tc-team-description{font-size:15px;color:#586A76;line-height:1.55;max-width:650px;margin:0}
.tc-team-buttons{display:flex;gap:9px;align-items:center;flex-shrink:0}
.tc-team-prev,.tc-team-next{width:42px;height:42px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #D7E1E7;border-radius:50%;background:#fff;font-size:28px;color:#1769B1;cursor:pointer}
.tc-team-prev:hover,.tc-team-next:hover{background:#EAF3FA;border-color:#9DC6DF}
.tc-team-prev:focus-visible,.tc-team-next:focus-visible,.tc-team-track:focus-visible{outline:3px solid #1769B1;outline-offset:3px}
.tc-team-track{display:flex;align-items:stretch;gap:14px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:1px;scrollbar-width:thin;scrollbar-color:#CBD7DF transparent;touch-action:pan-x pan-y;padding:2px 3px 9px}
.tc-team-slide{position:relative;flex:0 0 calc((100% - 42px)/4);min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;gap:0}
.tc-team-slide .tmc{display:flex;flex-direction:column;flex:1;min-width:0;width:100%;height:100%;margin:0;background:#fff;border:1px solid #E5EAED;border-radius:18px;overflow:hidden;color:inherit;text-decoration:none;box-shadow:0 3px 14px rgba(27,55,70,.045)}
.tc-team-slide .tmc-photo{height:216px;background:#F3F4F5;overflow:hidden}
.tc-team-slide .tmc-photo .tmc-img{width:100%;height:100%;object-fit:cover;object-position:center 22%;display:block}
.tc-team-slide .tmc-body{flex:1;display:flex;flex-direction:column;padding:15px 16px}
.tc-team-slide .tmc-title{font-size:12.5px;line-height:1.35;color:#657584;font-weight:650;margin:0 0 4px}
.tc-team-slide .tmc-name{font-size:19px;line-height:1.25;font-weight:800;color:#142836;margin:0 0 5px;overflow-wrap:break-word}
.tc-team-slide .tmc-focus{font-size:12.5px;line-height:1.4;color:#657584;margin:0 0 6px}
/* Temporary uniform team rollout: do not surface clinic-specific labels. */
.tc-team-slide .tmc-loc{display:none!important}
.tc-team-slide .tmc-badges{display:flex;flex-wrap:wrap;gap:6px;margin:3px 0}
.tc-team-slide .tmc-badges span{font-size:11px;line-height:1.3;color:#38586B;background:#F0F5F8;padding:4px 8px;border-radius:999px}
.tc-team-slide .tmc-cta{margin-top:auto;padding-top:9px;color:#1769B1;font-size:13px;font-weight:750}
.tc-team-swipe{font-size:12px;color:#617482;text-align:center;margin:3px 0 0;display:none}
@media(max-width:1040px){.tc-team-slide{flex-basis:calc((100% - 28px)/3)}}
@media(max-width:767px){
 .tc-team-section{padding:24px 0 28px}
 .tc-team-section .wrap{max-width:none}
 .tc-team-top{padding:0 16px;align-items:center;margin-bottom:11px}
 .tc-team-top .section-title{font-size:clamp(27px,6.5vw,34px)}
 .tc-team-description{font-size:13.5px;line-height:1.5}
 .tc-team-buttons{display:none}
 .tc-team-track{padding:2px 16px 8px;gap:12px;scroll-padding-inline:16px;scrollbar-width:none}
 .tc-team-track::-webkit-scrollbar{display:none}
 .tc-team-slide{flex:0 0 min(70vw,285px)}
 .tc-team-slide .tmc-photo{height:190px}
 .tc-team-slide .tmc-body{padding:14px}
 .tc-team-swipe{display:block;margin-top:0}
}
@media(max-width:420px){
 .tc-team-slide{flex-basis:76vw}
 .tc-team-slide .tmc-photo{height:180px}
}
@media(prefers-reduced-motion:reduce){.tc-team-track{scroll-behavior:auto}}

/* Explicit progress and affordance, rather than relying on a "swipe" caption. */
.tc-team-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:3px 2px 0}
.tc-team-position{display:flex;align-items:center;gap:11px;flex-shrink:0}
.tc-team-count{display:inline-flex;align-items:baseline;gap:2px;white-space:nowrap;color:#7A8992;font-size:12px;font-variant-numeric:tabular-nums}
.tc-team-count strong{color:#1769B1;font-size:13px;font-weight:800}
.tc-team-progress{position:relative;display:block;width:84px;height:4px;border-radius:999px;background:#E2E9ED;overflow:hidden}
.tc-team-progress-fill{position:absolute;left:0;top:0;height:100%;width:6.25%;border-radius:999px;background:#1769B1;transition:width .22s ease}
.tc-team-prev:disabled,.tc-team-next:disabled{opacity:.3;cursor:default;pointer-events:none}

@media(max-width:767px){
  .tc-team-section .wrap{width:100%;max-width:none!important;padding:0!important;overflow:visible}
  .tc-team-top{padding:0 16px;margin-bottom:12px}
  /* Full viewport track prevents nested .wrap widths from hiding card #2. */
  .tc-team-track{
    box-sizing:border-box;width:100vw;max-width:100vw;
    margin-left:calc(50% - 50vw);padding:2px 16px 10px!important;
    gap:12px;align-items:flex-start;scroll-padding-inline:16px;
    overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }
  /* Reserve at least 80px of visible next-card teaser at 320–430px. */
  .tc-team-slide{
    flex:0 0 clamp(205px,calc(100vw - 110px),292px)!important;
    align-self:flex-start;scroll-snap-align:start;
  }
  .tc-team-slide .tmc{height:auto;min-height:0}
  .tc-team-slide .tmc-body{flex:0 0 auto;padding:14px 14px 13px}
  .tc-team-slide .tmc-cta{margin-top:10px;padding-top:0}
  .tc-team-slide .tmc-photo{height:185px}
  /* Keep long professional titles from forcing a large empty card body. */
  .tc-team-slide .tmc-title,.tc-team-slide .tmc-focus{
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }
  .tc-team-buttons{display:flex}
  .tc-team-prev{display:none}
  .tc-team-next{
    width:40px;height:40px;font-size:25px;flex:0 0 40px;
    border-color:#BCD4E5;background:#EAF4FB;
    box-shadow:0 2px 8px rgba(23,105,177,.10);
  }
  .tc-team-footer{padding:0 16px;margin:5px 0 0}
  .tc-team-swipe{display:flex;align-items:center;gap:6px;margin:0;
    font-size:12px;font-weight:650;color:#516B7D;text-align:left}
  .tc-team-swipe-arrow{display:inline-flex;align-items:center;justify-content:center;
    width:23px;height:23px;border-radius:50%;background:#E5F2FA;color:#1769B1;
    font-size:18px;line-height:1;font-weight:700}
}
@media(max-width:420px){
  .tc-team-slide{flex-basis:clamp(205px,calc(100vw - 110px),292px)!important}
  .tc-team-slide .tmc-photo{height:177px}
}

/* A single short "try swiping" nudge after the slider enters view.
   No automatic carousel rotation, and never when reduced-motion is requested. */
@keyframes tc-team-peek-nudge{
  0%,16%,100%{transform:translate3d(0,0,0)}
  43%,63%{transform:translate3d(-26px,0,0)}
}
@media(max-width:767px) and (prefers-reduced-motion:no-preference){
  .tc-team-track.tc-team-cue .tc-team-slide{
    animation:tc-team-peek-nudge 950ms cubic-bezier(.4,0,.2,1) 1 both;
  }
  .tc-team-track.tc-team-cue ~ .tc-team-footer .tc-team-swipe-arrow{
    animation:tc-team-peek-nudge 950ms cubic-bezier(.4,0,.2,1) 1 both;
  }
}
@media(prefers-reduced-motion:reduce){
  .tc-team-progress-fill{transition:none}
}
