/* Targeted patient-page refinements, using Pathway's existing Poppins/navy palette. */
.patient-refined {font-family:'Poppins',system-ui,sans-serif;--patient-ink:#0f2744;--patient-blue:#1976a1}
.patient-refined [id] {scroll-margin-top:112px}
.patient-refined :is(a,button,summary):focus-visible {outline:2px solid #1976a1;outline-offset:5px}
.patient-shell {width:min(100% - 96px,1152px);margin-inline:auto}
.patient-hero {padding:120px 0 44px;background:linear-gradient(115deg,#0b2139,#143957);color:white}
.patient-breadcrumb {display:flex;gap:12px;font-size:13px;color:#c3d4e2;margin-bottom:28px;flex-wrap:wrap}
.patient-breadcrumb a:hover {text-decoration:underline;text-underline-offset:4px}
.patient-eyebrow {font-size:12px;font-weight:500;letter-spacing:.06em;margin:0 0 16px;color:#8cd2ed}
.patient-hero h1 {font-size:clamp(32px,3.7vw,48px);font-weight:600;letter-spacing:-.035em;line-height:1.15;max-width:22ch;margin:0 0 20px;text-wrap:balance}
.patient-lead {font-size:17px;line-height:1.8;color:#c7d7e6;max-width:60ch;margin:0}
.patient-hero-grid {display:grid;grid-template-columns:1.45fr 1fr;gap:80px;align-items:center}
.patient-actions {display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:28px}
.patient-button {display:inline-flex;justify-content:center;align-items:center;background:#1976a1;color:white;border-radius:999px;padding:14px 26px;min-height:52px;font-weight:600;font-size:15px}
.patient-button:hover {background:#126386}
.patient-call {font-size:15px;min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:6px}
.patient-specialist {display:grid;grid-template-columns:132px 1fr;gap:24px;align-items:center;border-top:1px solid #ffffff30;border-bottom:1px solid #ffffff30;padding:28px 0}
.patient-specialist img {width:132px;height:166px;object-fit:cover;object-position:top;border-radius:8px;background:#e8f3fa}
.patient-specialist span {font-size:12px;color:#c7d7e6}
.patient-specialist h2 {font-size:20px;font-weight:600;margin:6px 0 10px;line-height:1.4}
.patient-specialist p {font-size:13px;line-height:1.8;color:#c7d7e6;margin:0}
.patient-specialist .patient-specialist-link {display:block;margin-top:16px;color:#8cd2ed}
.patient-specialist:hover .patient-specialist-link {text-decoration:underline;text-underline-offset:4px}
.patient-jumps {border-bottom:1px solid #dfe5eb;background:white}
.patient-jumps .patient-shell {display:flex;gap:32px;flex-wrap:wrap;padding-block:8px}
.patient-jumps a {display:inline-flex;align-items:center;min-height:44px;color:#1976a1;font-size:14px}
.patient-jumps a:hover {text-decoration:underline;text-underline-offset:4px}
.patient-facts {display:grid;grid-template-columns:repeat(3,1fr);gap:32px;padding-block:32px}
.patient-facts strong {display:block;font-size:17px;font-weight:500;color:#0f2744;margin-bottom:6px}
.patient-facts span {font-size:13px;line-height:1.6;color:#596879;display:block}
.patient-journey {display:grid;grid-template-columns:.75fr 1.25fr;gap:96px;padding-block:64px 80px;color:#0f2744}
.patient-journey-intro .patient-eyebrow {color:#1976a1}
.patient-journey h2 {font-size:32px;font-weight:600;letter-spacing:-.03em;line-height:1.3;margin-bottom:18px}
.patient-journey-intro>p:not(.patient-eyebrow) {color:#596879;font-size:16px;line-height:1.8}
.patient-journey-intro>a {display:inline-flex;min-height:44px;align-items:center;color:#1976a1;gap:16px;font-size:14px;margin-top:20px}
.patient-journey ol {list-style:none;padding:0;margin:0}
.patient-journey li {display:grid;grid-template-columns:36px 1fr;gap:22px;padding:28px 0;border-bottom:1px solid #dfe5eb}
.patient-journey li:first-child {padding-top:0}
.patient-step-number {font-size:14px;color:#1976a1;padding-top:5px;font-weight:500}
.patient-journey h3 {font-size:22px;line-height:1.4;font-weight:500;letter-spacing:-.02em;margin:0 0 12px}
.patient-journey li p {font-size:15px;color:#596879;line-height:1.8;margin:0}
.patient-journey li .patient-step-note {font-size:13px;margin-top:16px;padding-left:16px;border-left:2px solid #c2dfea;color:#40556b}
.profile-refined .profile-hero>div {padding-top:116px;padding-bottom:44px}
.profile-refined .profile-hero h1 {font-weight:600}
.profile-refined .portrait-card {box-shadow:none}
.directory-filter-title {text-align:center;font-size:17px;font-weight:500;color:#0f2744;margin:0 0 18px}
.directory-refined button[aria-controls="surgeon-results"] {min-height:44px}
.directory-count {font-size:13px;color:#596879;margin:-12px 0 24px}
@media(max-width:1023px){.patient-hero-grid{gap:32px;grid-template-columns:1.2fr 1fr}.patient-specialist{grid-template-columns:88px 1fr;gap:16px}.patient-specialist img{width:88px;height:120px}.patient-journey{gap:48px}}
@media(max-width:767px){
.patient-shell {width:calc(100% - 48px)}
.patient-hero {padding:104px 0 28px}
.patient-breadcrumb {margin-bottom:22px;font-size:12px}
.patient-hero-grid {grid-template-columns:1fr;gap:28px}
.patient-hero h1 {font-size:32px;line-height:1.16;margin-bottom:16px}
.patient-eyebrow {font-size:11px;margin-bottom:12px}
.patient-lead {font-size:15px;line-height:1.75}
.patient-actions {gap:12px 20px;margin-top:22px}
.patient-button {font-size:14px;padding:12px 22px;min-height:48px}
.patient-call {font-size:14px}
.patient-specialist {padding:20px 0;border-bottom:0;grid-template-columns:80px 1fr}
.patient-specialist img {width:80px;height:106px}
.patient-specialist h2 {font-size:18px;margin:3px 0 4px}
.patient-specialist p {font-size:12px;line-height:1.6}
.patient-specialist .patient-specialist-link {margin-top:8px}
.patient-jumps .patient-shell {gap:0 24px;padding-block:6px}
.patient-jumps a {font-size:13px}
.patient-facts {grid-template-columns:1fr;gap:16px;padding-block:24px}
.patient-facts>div {padding-bottom:16px;border-bottom:1px solid #e6ebef}
.patient-facts>div:last-child {border:0;padding:0}
.patient-facts strong {font-size:16px;margin-bottom:3px}
.patient-journey {grid-template-columns:1fr;gap:28px;padding-block:36px 48px}
.patient-journey h2 {font-size:28px}
.patient-journey h3 {font-size:20px}
.patient-journey li {gap:14px;grid-template-columns:28px 1fr;padding-block:24px}
.profile-refined .profile-hero>div {padding-top:104px;padding-bottom:32px}
.profile-refined .profile-hero .grid {row-gap:28px}
.profile-refined .portrait-card {max-width:280px;margin-inline:auto}
.directory-refined #surgeon-results h2 {font-size:17px;line-height:1.45}
}
/* The shared header root already reserves its height in document flow. */
.patient-hero {padding-top:40px}
.profile-refined .profile-hero>div {padding-top:40px}
@media(max-width:767px){.patient-hero{padding-top:32px}.profile-refined .profile-hero>div{padding-top:32px}}
.patient-refined #header-root {min-height:88px}

/* Bunion hero: match the established procedure-page brand treatment. */
:is(.procedure-detail, .journey-refined) .patient-hero {
  padding-block:48px 68px;
  background:radial-gradient(1100px 620px at 82% 10%,rgba(39,170,225,.16),transparent 62%),radial-gradient(900px 700px at 6% 94%,rgba(30,58,110,.55),transparent 62%),linear-gradient(135deg,#071a30 0%,#0f2744 52%,#0d2f53 100%);
}
:is(.procedure-detail, .journey-refined) .patient-breadcrumb {margin-bottom:36px}
:is(.procedure-detail, .journey-refined) .patient-hero h1 {font-family:'Poppins','PoppinsFallback',system-ui,sans-serif;font-size:clamp(36px,4vw,54px);font-weight:700;letter-spacing:-.022em;line-height:1.15;margin-bottom:24px}
:is(.procedure-detail, .journey-refined) .patient-hero .patient-eyebrow {display:flex;align-items:center;gap:12px;color:#5fc4e8;font-weight:600;letter-spacing:.12em;text-transform:uppercase;line-height:1.7}
:is(.procedure-detail, .journey-refined) .patient-hero .patient-eyebrow::before {content:'';width:28px;height:2px;background:#5fc4e8;flex-shrink:0}
:is(.procedure-detail, .journey-refined) .patient-lead {color:#d5dfeb;line-height:1.8}
:is(.procedure-detail, .journey-refined) .patient-actions {margin-top:32px}
:is(.procedure-detail, .journey-refined) .patient-button {background:var(--color-accent,#27aae1);font-size:16px;padding:16px 30px;box-shadow:0 8px 24px #021a3026}
:is(.procedure-detail, .journey-refined) .patient-button:hover {background:var(--color-accent-dark,#1996cc)}
:is(.procedure-detail, .journey-refined) .patient-specialist {grid-template-columns:176px 1fr;padding-block:32px;gap:24px}
:is(.procedure-detail, .journey-refined) .patient-specialist img {width:176px;height:224px;border-radius:12px}
:is(.procedure-detail, .journey-refined) .patient-specialist h2 {font-weight:600;font-size:22px}
:is(.procedure-detail, .journey-refined) .patient-specialist .patient-specialist-link {color:#5fc4e8}
@media(min-width:768px) and (max-width:1100px){:is(.procedure-detail, .journey-refined) .patient-hero-grid{grid-template-columns:1.35fr 1fr;gap:32px}:is(.procedure-detail, .journey-refined) .patient-specialist{grid-template-columns:104px 1fr;gap:16px}:is(.procedure-detail, .journey-refined) .patient-specialist img{width:104px;height:150px}:is(.procedure-detail, .journey-refined) .patient-specialist h2{font-size:19px}}
@media(max-width:767px){
:is(.procedure-detail, .journey-refined) .patient-hero{padding-block:36px 36px}
:is(.procedure-detail, .journey-refined) .patient-breadcrumb{margin-bottom:28px}
:is(.procedure-detail, .journey-refined) .patient-hero h1{font-size:34px;line-height:1.18;margin-bottom:20px}
:is(.procedure-detail, .journey-refined) .patient-hero .patient-eyebrow{font-size:10px;letter-spacing:.1em}
:is(.procedure-detail, .journey-refined) .patient-button{font-size:14px;padding:14px 24px}
:is(.procedure-detail, .journey-refined) .patient-actions{margin-top:24px}
:is(.procedure-detail, .journey-refined) .patient-specialist{grid-template-columns:88px 1fr;padding-block:24px 0;gap:20px}
:is(.procedure-detail, .journey-refined) .patient-specialist img{width:88px;height:116px;border-radius:8px}
:is(.procedure-detail, .journey-refined) .patient-specialist h2{font-size:19px}
}

/* Familiar Pathway trust and contact details, kept light and integrated. */
:is(.procedure-detail, .journey-refined) .patient-call {gap:9px;text-decoration:none}
:is(.procedure-detail, .journey-refined) .patient-call svg {width:18px;height:18px;flex-shrink:0;color:#5fc4e8}
:is(.procedure-detail, .journey-refined) .patient-call span {border-bottom:1px solid #ffffff65;padding-bottom:3px}
:is(.procedure-detail, .journey-refined) .patient-call:hover span {border-color:#5fc4e8}
:is(.procedure-detail, .journey-refined) .patient-button {border:1px solid #ffffff18;transition:background .18s ease,box-shadow .18s ease}
:is(.procedure-detail, .journey-refined) .patient-button:hover {box-shadow:0 8px 24px #27aae126}
:is(.procedure-detail, .journey-refined) .patient-trust {display:flex;align-items:center;gap:12px;width:fit-content;min-height:44px;margin-top:16px;color:#c7d7e6;font-size:12px;line-height:1.6}
:is(.procedure-detail, .journey-refined) .patient-trust .patient-stars {color:#fbbf24;font-size:16px;letter-spacing:2px;white-space:nowrap}
:is(.procedure-detail, .journey-refined) .patient-trust:hover {color:white}
:is(.procedure-detail, .journey-refined) .patient-trust:hover [data-review-count] {text-decoration:underline;text-underline-offset:4px}
@media(max-width:767px){
:is(.procedure-detail, .journey-refined) .patient-actions {column-gap:12px}
:is(.procedure-detail, .journey-refined) .patient-call {gap:7px;font-size:13px}
:is(.procedure-detail, .journey-refined) .patient-call svg {width:16px;height:16px}
:is(.procedure-detail, .journey-refined) .patient-trust {gap:8px;font-size:11px;margin-top:14px}
:is(.procedure-detail, .journey-refined) .patient-trust .patient-stars {font-size:14px;letter-spacing:1px}
}

/* Several surgeons can perform one procedure; give each an equal, linked portrait. */
:is(.procedure-detail, .journey-refined) .patient-team {border-block:1px solid #ffffff30;padding-block:28px}
:is(.procedure-detail, .journey-refined) .patient-team-eyebrow {font-size:12px;color:#c7d7e6;margin:0 0 8px}
:is(.procedure-detail, .journey-refined) .patient-team h2 {font-size:23px;font-weight:600;line-height:1.35;margin:0 0 24px;letter-spacing:-.022em}
:is(.procedure-detail, .journey-refined) .patient-team-grid {display:grid;grid-template-columns:1fr 1fr;gap:22px 18px}
:is(.procedure-detail, .journey-refined) .patient-team-member {display:flex;gap:12px;align-items:center;min-width:0}
:is(.procedure-detail, .journey-refined) .patient-team-member img {width:60px;height:76px;flex-shrink:0;object-fit:cover;object-position:top;border-radius:8px;background:#e8f3fa}
:is(.procedure-detail, .journey-refined) .patient-team-member span {font-size:13px;font-weight:500;line-height:1.6}
:is(.procedure-detail, .journey-refined) .patient-team-member:hover span {color:#5fc4e8;text-decoration:underline;text-underline-offset:4px}
:is(.procedure-detail, .journey-refined) .patient-team-link {display:flex;align-items:center;gap:14px;min-height:44px;color:#5fc4e8;font-size:13px;margin-top:18px}
:is(.procedure-detail, .journey-refined) .patient-team-link:hover {text-decoration:underline;text-underline-offset:4px}
:is(.procedure-detail, .journey-refined) .patient-hero h1 {overflow-wrap:break-word}
@media(min-width:768px) and (max-width:1100px){:is(.procedure-detail, .journey-refined) .patient-team-grid{grid-template-columns:1fr}:is(.procedure-detail, .journey-refined) .patient-team-member img{width:48px;height:60px}:is(.procedure-detail, .journey-refined) .patient-team h2{font-size:21px}}
@media(max-width:767px){
:is(.procedure-detail, .journey-refined) .patient-team {border-bottom:0;padding-block:24px 0}
:is(.procedure-detail, .journey-refined) .patient-team h2 {font-size:21px;margin-bottom:20px}
:is(.procedure-detail, .journey-refined) .patient-team-grid {gap:18px 12px}
:is(.procedure-detail, .journey-refined) .patient-team-member {gap:9px}
:is(.procedure-detail, .journey-refined) .patient-team-member img {width:48px;height:64px;border-radius:6px}
:is(.procedure-detail, .journey-refined) .patient-team-member span {font-size:12px}
:is(.procedure-detail, .journey-refined) .patient-team-link {margin-top:12px}
}
@media(max-width:359px){:is(.procedure-detail, .journey-refined) .patient-team-grid{grid-template-columns:1fr}:is(.procedure-detail, .journey-refined) .patient-trust{flex-wrap:wrap;gap:0 8px}:is(.procedure-detail, .journey-refined) .patient-hero h1{font-size:31px}}
@media(min-width:768px){:is(.procedure-detail, .journey-refined) .patient-facts{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}
/* Keep specialty choices and portraits close to the directory introduction. */
.directory-refined>section:first-of-type {padding-top:40px;padding-bottom:36px}
.directory-refined>section[x-data] {padding-top:40px}
@media(max-width:767px){.directory-refined>section:first-of-type{padding-top:32px;padding-bottom:28px}.directory-refined>section[x-data]{padding-top:28px}.directory-refined>section:first-of-type p{font-size:17px}}
