/* The clinic's existing forest and champagne palette carries the team pages. */
.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.team-card{display:flex;flex-direction:column;min-width:0}
.team-card-portrait,.doctor-profile-portrait{display:flex;align-items:center;justify-content:center;aspect-ratio:1;overflow:hidden;background:#e9e0d0;color:var(--green)}
.team-card-portrait img,.doctor-profile-portrait img{display:block;width:100%;height:100%;object-fit:cover}
.team-card-portrait{flex-shrink:0;border-radius:12px}
.team-card-portrait--tatliyan img,.doctor-profile-portrait--tatliyan img{object-position:left center}
.team-card-portrait img[src*="-retouched-v1."],.doctor-profile-portrait img[src*="-retouched-v1."]{object-position:50% 20%}
.doctor-initials{font-size:clamp(64px,8vw,104px);line-height:1;font-weight:400;letter-spacing:-.03em;color:#687468;user-select:none}
.team-card-info{display:flex;flex-direction:column;flex:1;padding-top:24px}
.team-card-info h2,.team-card-info h3{font-size:clamp(25px,2.1vw,31px);line-height:1.17;letter-spacing:-.025em;max-width:24ch;overflow-wrap:break-word}
.team-card-info h2 a:hover,.team-card-info h3 a:hover{color:var(--gold-ink)}
.team-card-specialty{font-size:17px;line-height:1.5;margin-top:14px;margin-bottom:28px}
.team-card-actions{display:grid;grid-template-columns:1.15fr .85fr;gap:10px;margin-top:auto}
.team-card-button{min-width:0;min-height:52px;padding:14px 16px;border:1px solid transparent;border-radius:8px;font-size:16px;font-weight:600;line-height:1.4;letter-spacing:normal;text-transform:none;text-decoration:none;white-space:nowrap;transition:background .2s,color .2s,border-color .2s}
.team-card-book{background:var(--green);color:var(--paper)}
.team-card-book:hover,.team-card-book:active{background:var(--green-dark);color:var(--paper)}
.team-card-details{background:transparent;border-color:var(--line);color:var(--green)}
.team-card-details:hover,.team-card-details:active{background:var(--paper);border-color:var(--green);color:var(--green)}
.team-card-button:focus-visible{outline:3px solid var(--gold-ink);outline-offset:4px}
.team-help{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-top:64px;padding-top:36px;border-top:1px solid var(--line)}
.team-help p{max-width:60ch;font-size:19px}
.team-help .button{flex-shrink:0}
.doctor-breadcrumb{padding-top:26px;padding-bottom:30px}
.doctor-breadcrumb .icon{transform:rotate(180deg);order:-1}
.doctor-profile-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(32px,5vw,80px);align-items:center}
.doctor-profile-summary h1{font-size:clamp(36px,4.1vw,58px);line-height:1.08;letter-spacing:-.035em;max-width:18ch;overflow-wrap:break-word}
.doctor-profile-specialty{font-size:21px;line-height:1.5;color:var(--green);margin-top:24px}
.doctor-profile-bio{font-size:19px;line-height:1.7;max-width:54ch;margin-top:24px}
.doctor-profile-summary>.button{margin-top:32px}
.doctor-source-link{display:flex;width:fit-content;margin-top:20px;font-size:17px}
.doctor-profile-details{margin-top:72px}
.doctor-profile-section{display:grid;grid-template-columns:minmax(210px,.7fr) minmax(0,1.3fr);gap:48px;padding:36px 0;border-top:1px solid var(--line)}
.doctor-profile-section h2{font-size:29px;line-height:1.15;letter-spacing:-.025em;max-width:20ch}
.doctor-profile-section p{font-size:18px;line-height:1.6}
.doctor-education{margin:0}
.doctor-education>div{display:grid;grid-template-columns:58px minmax(0,1fr);gap:22px}
.doctor-education>div+div{margin-top:28px}
.doctor-education dt{font-variant-numeric:tabular-nums;color:var(--gold-ink);font-size:18px}
.doctor-education dd{margin:0;max-width:64ch}
.doctor-education strong{font-size:19px;font-weight:500;line-height:1.5;display:block}
.doctor-education dd p{margin-top:6px}
.doctor-education dd span{font-size:15px;color:var(--muted);display:block;margin-top:4px}
.doctor-profile-section .doctor-source-note{margin-top:28px;font-size:15px}
.doctor-source-note a{text-decoration:underline;text-underline-offset:3px}
.doctor-service-links{list-style:none;margin:0;padding:0}
.doctor-service-links li+li{margin-top:8px}
.doctor-service-links .underlined-link{font-size:19px}
.doctor-profile-section>div>.underlined-link{margin-top:12px}
@media(max-width:1000px){
  .team-grid{gap:22px}.team-card-info h2,.team-card-info h3{font-size:25px}.team-card-specialty{font-size:16px}.team-card-button{font-size:15px;padding-inline:12px}
  .team-help{align-items:flex-start;flex-direction:column;gap:24px}.doctor-profile-summary h1{font-size:39px}.doctor-profile-specialty{font-size:18px;margin-top:20px}.doctor-profile-bio{font-size:17px;margin-top:20px}.doctor-profile-summary>.button{margin-top:24px}.doctor-profile-section{gap:32px}
}
@media(min-width:701px) and (max-width:860px){.team-card-actions{grid-template-columns:1fr;gap:8px}}
@media(max-width:700px){
  .team-grid{grid-template-columns:1fr;gap:44px}.team-card-portrait{aspect-ratio:6/5}.team-card-info{padding-top:22px}.team-card-info h2,.team-card-info h3{font-size:31px;max-width:23ch}.team-card-specialty{font-size:17px;margin-bottom:24px}.team-card-button{font-size:16px}.team-help{margin-top:44px;padding-top:28px}.team-help p{font-size:18px}.team-help .button{width:100%;font-size:14px}
  .doctor-breadcrumb{padding-top:18px;padding-bottom:24px}.doctor-profile-intro{grid-template-columns:1fr;gap:28px}.doctor-profile-portrait{aspect-ratio:6/5}.doctor-profile-summary h1{font-size:38px;max-width:20ch}.doctor-profile-specialty{font-size:19px}.doctor-profile-bio{font-size:18px}.doctor-profile-details{margin-top:44px}.doctor-profile-section{grid-template-columns:1fr;gap:22px;padding:28px 0}.doctor-profile-section h2{font-size:28px;max-width:none}.doctor-education>div{gap:16px;grid-template-columns:50px minmax(0,1fr)}.doctor-education strong{font-size:18px}.doctor-profile-section p{font-size:17px}
}
@media(max-width:370px){.team-card-info h2,.team-card-info h3{font-size:28px}.doctor-profile-summary h1{font-size:34px}.doctor-source-link{font-size:16px}}

/* Documents share a row height while retaining their individual proportions. */
.doctor-documents{min-width:0;padding:24px 0;border-top:1px solid var(--line)}
.doctor-documents-heading{margin-bottom:20px}
.doctor-documents-heading h2{font-size:29px;line-height:1.15;letter-spacing:-.025em}
.document-controls{display:flex;align-items:center;gap:10px;flex-shrink:0}
.document-control{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:46px;height:46px;padding:0;background:transparent;border:1px solid var(--line);border-radius:50%;color:var(--green);transition:background .18s,border-color .18s}
.document-control:not(:disabled):hover{background:#e9e0d0;border-color:var(--gold-ink)}
.document-control:disabled{opacity:.35;cursor:default}
.document-control--previous .icon{transform:rotate(180deg)}
.document-track{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;list-style:none;margin:0;padding:0}
.document-card{flex:0 1 calc(var(--document-ratio)*220px);max-width:100%;min-width:0}
.document-track--composed .document-card{flex:0 0 var(--document-width)}
.document-link{display:block;height:100%;cursor:zoom-in}
.document-preview{display:block;width:100%;height:auto;aspect-ratio:var(--document-ratio);object-fit:contain}
.document-link:focus-visible,.document-control:focus-visible{outline:2px solid var(--gold-ink);outline-offset:3px}
.document-viewer{width:min(1100px,calc(100% - 48px));height:fit-content;max-width:calc(100% - 48px);max-height:calc(100dvh - 48px);margin:auto;padding:0;border:0;background:transparent;color:var(--cream);overflow:auto}
.document-viewer[open]{display:block}
.document-viewer::backdrop{background:#0d231de6}
.document-viewer-heading{display:flex;align-items:flex-start;gap:24px;padding:0 0 12px}
.document-viewer-heading>div{min-width:0;flex:1}
.document-viewer-heading h2{font-size:22px;line-height:1.3;font-weight:500;letter-spacing:-.02em;max-width:70ch;max-height:3.9em;overflow-y:auto}
.document-viewer-heading p{font-size:14px;line-height:1.5;margin-top:4px;color:#ded8cc}
.document-viewer .document-control{color:var(--cream);border-color:#f5efe34d}
.document-viewer .document-control:not(:disabled):hover{background:#f5efe31a;border-color:var(--cream)}
.document-viewer .document-control:focus-visible{outline-color:var(--cream);outline-offset:-3px}
.document-viewer-heading .document-control{border-color:transparent}
.document-viewer-canvas{position:relative;width:var(--viewer-image-width,100%);max-width:100%;margin-inline:auto;aspect-ratio:var(--viewer-ratio,1.4);display:flex;align-items:center;justify-content:center}
.document-viewer-canvas img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.document-viewer-status{font-size:16px;line-height:1.5;text-align:center;max-width:38ch;color:var(--cream)}
.document-viewer-footer{display:flex;align-items:center;justify-content:center;padding:12px 0 0}
.document-position{min-width:52px;text-align:center;font-size:15px;font-variant-numeric:tabular-nums}
@media(max-width:700px){
  .doctor-documents{padding-block:24px}.doctor-documents-heading{margin-bottom:16px}.doctor-documents-heading h2{font-size:28px;max-width:none}.document-track{gap:8px}.document-card{flex-basis:calc(var(--document-ratio)*150px)}
  .document-viewer{max-width:calc(100% - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:auto}.document-viewer-heading{gap:12px}.document-viewer-heading h2{font-size:17px;max-height:6.5em}.document-viewer-heading p{font-size:13px}.document-viewer-footer .document-controls{gap:8px}.document-position{min-width:42px;font-size:14px}
}
@media(max-height:500px){.document-viewer-heading h2{font-size:17px;max-height:2.6em}.document-viewer-heading p{font-size:12px;max-height:3em;overflow-y:auto}.document-viewer-heading{padding-bottom:8px}.document-viewer-footer{padding-top:8px}}
@media(prefers-reduced-motion:reduce){.document-control{transition:none}}
