.doctor-profile {
  --navy:#132642;
  --copy:#40536a;
  --accent:#a7213e;
  --blue:#0c4a70;
  --line:#dbe6ed;
  --soft:#f4f8fa;
  background:#fff;
  color:var(--navy);
  font:400 1rem/1.6 "DM Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
.doctor-profile *, .doctor-profile *::before, .doctor-profile *::after {box-sizing:border-box}
.doctor-profile a {color:var(--blue)}
.doctor-profile a:focus-visible {outline:3px solid #c87927;outline-offset:3px}
.doctor-profile__wrap {width:calc(100% - 48px);max-width:1080px;margin:0 auto}
.doctor-profile__top {background:#fff;border-bottom:1px solid var(--line)}
.doctor-profile__top .doctor-profile__wrap {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:65px;padding:8px 0}
.doctor-profile__top a {font-weight:700;text-decoration:none;line-height:1.25}
.doctor-profile__top a:last-child {padding:8px 11px;border:1px solid var(--line);border-radius:7px;text-align:center;font-size:.86rem}
.doctor-profile__hero {background:#eef5fa;border-bottom:1px solid var(--line);padding:22px 0 38px}
.doctor-profile__crumb {font-size:.83rem;color:var(--copy);margin:0 0 23px}
.doctor-feature__inner {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:26px;max-width:930px}
.doctor-profile h1,.doctor-profile h2,.doctor-profile h3 {color:var(--navy);line-height:1.18;margin:0 0 10px;letter-spacing:-.025em;font-weight:750}
.doctor-profile h1 {font-size:clamp(2rem,4.6vw,3.55rem);line-height:1.04}
.doctor-profile h2 {font-size:clamp(1.5rem,2.75vw,2.2rem)}
.doctor-profile h3 {font-size:1rem;letter-spacing:0}
.doctor-profile p {margin:0 0 12px;color:var(--copy);overflow-wrap:break-word}
.doctor-profile .doctor-feature__label {color:var(--accent);font-size:.73rem;text-transform:uppercase;letter-spacing:.12em;font-weight:750;margin:0 0 7px}
.doctor-profile__role {font-weight:650}
.doctor-feature__actions {display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:16px}
.doctor-profile .doctor-feature__button {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid #b6cbd9;border-radius:7px;font-size:.88rem;font-weight:700;text-decoration:none;text-align:center}
.doctor-profile .doctor-feature__button--primary {background:#0c4a70;border-color:#0c4a70;color:#fff}
.doctor-profile .doctor-feature__button:hover {text-decoration:underline}
.doctor-profile .doctor-feature__media,.doctor-profile .profile-photo {margin:0;width:168px}
.doctor-profile .doctor-feature__media {width:224px}
.doctor-profile .doctor-feature__media img,.doctor-profile .profile-photo img {display:block;width:100%;height:auto;aspect-ratio:7/9;object-fit:cover;object-position:50% 16%;border:1px solid #c8d9e6;border-radius:7px;background:#e2edf4}
.doctor-profile .doctor-feature__media figcaption {display:none}
.doctor-profile .profile-photo figcaption {font-size:.73rem;line-height:1.25;color:var(--copy);margin-top:5px}
.profile-biography,.profile-band {padding:clamp(31px,5vw,60px) 0}
.profile-biography__grid {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(245px,1fr);gap:clamp(22px,4.5vw,54px);align-items:start}
.profile-biography__grid>div p+h2 {margin-top:23px}
.profile-panel {background:white;border:1px solid var(--line);border-radius:10px;padding:15px;min-width:0}
.profile-biography aside {background:var(--soft);padding:19px}
.profile-biography aside h2 {font-size:1.28rem}
.profile-checks {list-style:none;margin:14px 0 17px;padding:0;display:grid;gap:8px;font-size:.9rem}
.profile-checks li {display:grid;grid-template-columns:15px minmax(0,1fr);gap:8px}
.profile-checks li::before {content:"✓";color:var(--accent);font-weight:700}
.profile-biography aside .doctor-feature__button {display:flex;margin-top:8px}
.profile-band {border-top:1px solid var(--line)}
.profile-band--light {background:var(--soft)}
.profile-heading {max-width:680px;margin:0 0 18px}
.profile-heading p:last-child {margin-bottom:0}
.profile-career,.doctor-profile__grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.profile-panel>span {display:block;font-size:.75rem;color:var(--accent);font-weight:700;margin-bottom:6px}
.profile-panel h3 {margin-bottom:5px}
.profile-panel p {font-size:.9rem;margin:0}
.profile-panel a {overflow-wrap:anywhere}
.profile-panel p+.doctor-feature__button {margin-top:10px}
.profile-photo-row {display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;margin:16px 0 0}
.profile-defence__lead {display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:25px}
.profile-defence__lead>div:first-child {max-width:630px}
.profile-defence__lead .profile-photo-row {flex-shrink:0;margin:0}
.profile-hours {margin-bottom:12px}
.profile-booking-banner {background:#133554;color:white;padding:27px 0}
.doctor-profile .profile-booking-banner h2,.doctor-profile .profile-booking-banner p {color:white}
.doctor-profile .profile-booking-banner .doctor-feature__button {background:white;border-color:white;color:#133554}
.doctor-profile__footer {background:#fff;padding:18px 0}
.doctor-profile__footer .doctor-feature__button {background:#fff;color:var(--blue)}
@media(max-width:820px){
 .profile-career,.doctor-profile__grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .doctor-profile__wrap {width:calc(100% - 40px)}
}
@media(max-width:650px){
 .profile-biography__grid {grid-template-columns:minmax(0,1fr)}
 .profile-defence__lead {display:block}
 .profile-defence__lead .profile-photo-row {margin-top:12px}
 .doctor-profile__wrap {width:calc(100% - 32px)}
 .doctor-feature__inner {gap:13px;align-items:start}
 .doctor-profile .doctor-feature__media {width:168px}
 .doctor-profile .profile-photo {width:128px}
 .doctor-profile h1 {font-size:clamp(1.7rem,5.7vw,2.4rem)}
 .doctor-profile__hero {padding:16px 0 25px}
}
@media(max-width:500px){
 .doctor-feature__inner {grid-template-columns:minmax(0,1fr)}
 .profile-career,.doctor-profile__grid {grid-template-columns:minmax(0,1fr)}
 .doctor-profile__top a {font-size:.9rem}
 .doctor-profile__top a:last-child {font-size:.75rem}
}
