/* Symptoms section: inherits shared brand, typography and controls. */
.sym-hero{background:var(--color-surface);padding-bottom:64px}
.sym-hero-grid{display:grid;grid-template-columns:1.18fr 1fr;gap:64px;align-items:center}
.sym-hero h1{max-width:1000px;font-size:clamp(40px,5.1vw,72px);line-height:1.08;letter-spacing:-.045em;margin:20px 0 26px}
.sym-hero .prices-lead{font-size:22px;line-height:1.65;max-width:680px}
.sym-hero-photo{margin:0;position:relative;overflow:hidden;border-radius:var(--radius-card);background:var(--color-border)}
.sym-hero-photo>img{display:block;width:100%;height:440px;object-fit:cover}
.sym-hero-photo figcaption{display:flex;align-items:center;gap:16px;background:white;padding:22px;font-size:18px;line-height:1.5}
.sym-search{margin-top:32px;max-width:670px}
.sym-search label{display:block;font-size:17px;font-weight:650;margin-bottom:12px}
.sym-search>div{display:flex;align-items:center;background:white;border:1px solid var(--color-border);border-radius:var(--radius-control);padding:4px 14px;gap:12px;box-shadow:var(--shadow-card)}
.sym-search svg{width:24px;height:24px;flex-shrink:0;color:var(--color-brand)}
.sym-search input{width:100%;min-width:0;border:0;background:transparent;color:var(--color-ink);font:inherit;font-size:18px;padding:16px 0}
.sym-search button{border:0;background:transparent;display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;cursor:pointer}
.sym-search small{display:block;color:var(--color-muted);font-size:14px;line-height:1.6;margin-top:10px}
.sym-popular{display:flex;flex-wrap:wrap;gap:12px 20px;margin:24px 0}


.is-symptoms .prices-breadcrumb{flex-wrap:wrap;gap:8px 12px}
.is-symptoms .prices-breadcrumb a{flex-shrink:0}
.is-symptoms .prices-breadcrumb [aria-current=page]{max-width:100%}
#sym-main>.uzi-section>h2,#sym-main>.uzi-section>.prices-container>h2,#sym-main #sym-results h2{font-size:clamp(30px,3.2vw,44px);line-height:1.2;letter-spacing:-.025em;margin:0 0 28px}
.sym-selected-service{padding:18px 20px;border-radius:var(--radius-control);background:var(--color-surface);border:1px solid var(--color-border);font-size:16px;line-height:1.6;margin:0 0 24px}
.sym-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.sym-card{border:1px solid var(--color-border);border-radius:var(--radius-card);padding:28px;background:white;box-shadow:var(--shadow-card);transition:box-shadow .25s,border-color .25s;min-width:0}
.sym-card:hover,.sym-direction:hover{box-shadow:var(--ui-hover-shadow);border-color:var(--color-brand)}
.sym-card h3{hyphens:manual;overflow-wrap:anywhere;font-size:25px;line-height:1.35;margin:16px 0}
.sym-card p{font-size:17px;line-height:1.7;color:var(--color-muted);margin-bottom:22px}
.sym-directions{background:var(--color-surface)}
.sym-direction{display:flex;align-items:center;gap:18px;padding:26px 22px;border:1px solid var(--color-border);background:white;border-radius:var(--radius-card);box-shadow:var(--shadow-card);transition:box-shadow .25s,border-color .25s;min-width:0}
.sym-direction strong{display:block;font-size:20px;line-height:1.35}
.sym-direction small{display:block;margin-top:8px;color:var(--color-muted);font-size:15px}
.sym-direction>.r-ui-arrow{margin-left:auto;width:24px;flex-shrink:0;transition:transform .2s}
.sym-direction:hover>.r-ui-arrow{transform:translateX(3px)}
.sym-direction .prices-icon{width:56px;height:56px;flex-shrink:0}
.sym-direction .prices-icon svg{width:28px;height:28px}
.sym-empty{display:grid;justify-items:start;padding:36px;border-radius:var(--radius-card);border:1px solid var(--color-border);background:var(--color-surface);gap:18px;max-width:900px}
.sym-empty h3{font-size:28px;line-height:1.3;margin:0}
.sym-empty p{font-size:19px;line-height:1.7;max-width:640px;margin:0}
.sym-empty .button-primary{width:auto}
.sym-location{display:grid;grid-template-columns:1.5fr 1fr;gap:60px;align-items:center}
.sym-location p{font-size:19px;line-height:1.75;max-width:700px;margin:24px 0}
.sym-contact{padding:32px;border-radius:var(--radius-card);background:var(--color-surface);display:grid;justify-items:start;gap:16px}
.sym-contact strong{font-size:26px}.sym-contact p{margin:0}
.sym-summary{font-size:21px;line-height:1.65;max-width:720px}
.sym-reviewed{font-size:15px;line-height:1.6;margin-top:24px;color:var(--color-muted);max-width:650px}
.sym-reading{display:grid;grid-template-columns:280px minmax(0,800px);justify-content:space-between;gap:64px;padding-top:72px;scroll-margin-top:110px}
.sym-toc{align-self:start;position:sticky;top:110px;font-size:16px;line-height:1.5;padding:28px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-card)}
.sym-toc nav{display:grid;gap:6px;margin-top:16px}
.sym-toc a{display:flex;align-items:baseline;gap:12px;padding:12px 0;color:var(--color-muted);border-bottom:1px solid var(--color-border)}
.sym-toc a:hover{color:var(--color-brand)}
.sym-prose{min-width:0;font-size:20px;line-height:1.8}
.sym-prose section{margin-bottom:48px;scroll-margin-top:120px}
.sym-prose h2{font-size:clamp(28px,3vw,40px);line-height:1.2;margin-bottom:24px;letter-spacing:-.025em}
.sym-prose h3{font-size:24px;line-height:1.4;margin:24px 0 12px}
.sym-prose p{margin:0 0 20px}
.sym-urgent{background:#fff4ea;border-left:4px solid #ad592f;border-radius:var(--radius-control);padding:28px}
.sym-sources{border-top:1px solid var(--color-border);padding-top:32px;font-size:17px}
.sym-sources ul{padding-left:22px}.sym-sources a{text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
.is-symptoms :focus-visible{outline:3px solid var(--color-brand);outline-offset:4px}
.is-symptoms [hidden]{display:none!important}
@media(max-width:1050px){.sym-hero-grid{gap:32px}.sym-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sym-reading{grid-template-columns:200px minmax(0,1fr);gap:32px}.sym-hero-photo>img{height:340px}}
@media(max-width:767px){.sym-hero-grid,.sym-location,.sym-reading{grid-template-columns:1fr;gap:32px}.sym-hero h1{font-size:42px;overflow-wrap:anywhere}.sym-hero .prices-lead,.sym-summary{font-size:19px}.sym-hero{padding-bottom:36px}.sym-hero-photo>img{height:240px}.sym-hero-photo figcaption{padding:18px;font-size:16px}.sym-cards{grid-template-columns:1fr}.sym-empty{padding:24px}.sym-empty h3{font-size:25px}.sym-empty .button-primary{width:100%}.sym-toc{position:static;padding:24px;background:var(--color-surface);border-radius:var(--radius-card)}.sym-toc nav{gap:0}.sym-reading{padding-top:32px}.sym-prose{font-size:18px;line-height:1.8}.sym-urgent{padding:22px}.sym-card{padding:24px}.sym-location{gap:24px}.sym-contact{padding:24px}.sym-reviewed{font-size:15px}.sym-search input{font-size:16px}.sym-direction{padding:22px}.sym-filters{gap:10px}.sym-search small{font-size:14px}}
@media(prefers-reduced-motion:reduce){.sym-card,.sym-direction,.sym-direction>.r-ui-arrow,.sym-filters button{transition:none}.sym-direction:hover>.r-ui-arrow{transform:none}}

/* Review banner is scoped to staging previews; common controls remain shared. */
.sym-preview-banner{background:#fff3dc;color:#503a14;border-bottom:1px solid #e9d6ae;padding:18px 0}
.sym-preview-banner>.prices-container{display:flex;align-items:center;justify-content:space-between;gap:24px}
.sym-preview-banner strong{display:block;font-size:17px;line-height:1.5}
.sym-preview-banner span{display:block;font-size:14px;line-height:1.6;margin-top:4px}
.sym-preview-home{display:inline-flex;align-items:center;gap:16px;flex-shrink:0;min-height:44px;font-weight:650}
.sym-preview-home svg{width:24px;height:24px;transition:transform .2s}
.sym-preview-home:hover svg{transform:translateX(3px)}
@media(max-width:767px){.sym-preview-banner>.prices-container{display:grid;gap:8px}.sym-preview-banner{padding:18px 0}.sym-preview-home{justify-self:start}.sym-preview-banner strong{font-size:16px}.sym-preview-banner span{font-size:14px}}
@media(prefers-reduced-motion:reduce){.sym-preview-home svg{transition:none}.sym-preview-home:hover svg{transform:none}}

/* Article composition; controls, doctor cards, header and footer use shared CSS. */
.sym-article-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:56px;align-items:center}
.sym-article-intro{min-width:0}
.sym-article-hero h1{font-size:clamp(42px,4.5vw,66px);text-wrap:balance;hyphens:manual;overflow-wrap:anywhere}
.sym-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin-top:30px}
.sym-hero-actions .button-primary{width:auto;gap:20px}
.sym-hero-actions>.ink-link{display:inline-flex;align-items:center;gap:16px;min-height:44px}
.sym-hero-actions svg{width:24px;height:24px;flex-shrink:0}
.sym-article-art{margin:0;overflow:hidden;border-radius:var(--radius-card);background:white;border:1px solid var(--color-border);box-shadow:var(--shadow-card)}
.sym-article-art>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.sym-article-art figcaption{display:flex;align-items:center;gap:18px;padding:26px;font-size:15px;color:var(--color-muted)}
.sym-article-art figcaption strong{display:block;font-size:20px;line-height:1.35;margin-top:5px;color:var(--color-ink)}
.sym-article-art .prices-icon{width:54px;height:54px;flex-shrink:0}
.sym-article-art .prices-icon svg{width:28px;height:28px}
.sym-toc-number{color:var(--color-brand);font-size:13px;font-weight:650}
.sym-card-art{display:block;width:calc(100% + 56px);max-width:none;height:210px;object-fit:cover;margin:-28px -28px 26px;border-radius:var(--radius-card) var(--radius-card) 0 0}
.is-symptoms .doctor-section-head h2{font-size:clamp(30px,3.2vw,44px);line-height:1.2;margin:12px 0 0;letter-spacing:-.025em}
.is-symptoms .doctor-section-head{align-items:end;margin-bottom:32px;gap:24px}
@media(max-width:1050px){.sym-article-hero{gap:32px}.sym-article-hero h1{font-size:46px}.sym-article-art figcaption{padding:20px}.sym-reading{grid-template-columns:220px minmax(0,1fr);gap:32px}.sym-toc{padding:20px}}
@media(max-width:767px){.sym-article-hero,.sym-reading{grid-template-columns:1fr}.sym-article-hero{gap:28px}.sym-article-hero h1{font-size:40px;line-height:1.1}.sym-hero-actions{gap:22px}.sym-hero-actions .button-primary{width:100%;justify-content:space-between}.sym-article-art>img{aspect-ratio:16/10}.sym-article-art figcaption strong{font-size:18px}.sym-reading{padding-top:36px;gap:36px}.sym-card-art{width:calc(100% + 48px);margin:-24px -24px 24px}.is-symptoms .doctor-section-head{align-items:start;flex-direction:column}.sym-toc{position:static}.sym-prose section{scroll-margin-top:96px}}

/* Section index: shared tokens, readable article cards and topic navigation. */
.sym-index #sym-results{scroll-margin-top:92px}
.sym-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:32px 0 40px}
.sym-filters button{display:flex;align-items:center;gap:16px;min-width:0;text-align:left;padding:24px 20px;border:1px solid var(--color-border);border-radius:var(--radius-card);background:white;color:var(--color-ink);font:inherit;cursor:pointer;transition:border-color .2s,box-shadow .2s,background .2s}
.sym-filters button strong{display:block;font-size:19px;line-height:1.3;font-weight:600}
.sym-filters button small{display:block;font-size:14px;color:var(--color-muted);margin-top:8px}
.sym-topic-icon{display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;border-radius:18px;background:linear-gradient(145deg,#f3f7ed,#dcebdc);color:var(--color-brand)}
.sym-topic-icon svg{width:29px;height:29px}
.sym-filters button[aria-pressed=true]{background:var(--color-surface);border-color:var(--color-brand);box-shadow:inset 0 0 0 1px var(--color-brand)}
.sym-index #sym-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.sym-index #sym-cards .sym-card{display:flex;flex-direction:column;padding:32px;overflow:hidden}
.sym-index .sym-card-cover{display:block;margin:-32px -32px 28px;overflow:hidden}
.sym-index .sym-card-cover .sym-card-art{width:100%;max-width:100%;height:280px;margin:0;object-fit:cover;border-radius:0}
.sym-index #sym-cards h3{font-size:30px;line-height:1.2;letter-spacing:-.02em;margin:16px 0}
.sym-index #sym-cards p{font-size:18px;line-height:1.65;margin:0 0 28px}
.sym-index #sym-cards .ink-link{align-self:flex-start;margin-top:auto}
.sym-index .sym-search{max-width:100%}
.sym-search>div{flex-wrap:nowrap}
.sym-search button.sym-find{display:inline-flex;gap:14px;align-items:center;justify-content:center;background:var(--color-brand);color:white;border-radius:var(--radius-control);padding:14px 22px;min-height:52px;font-size:16px;font-weight:600;flex-shrink:0;transition:background .2s}
.sym-search button.sym-find svg{color:inherit;width:22px;height:22px;transition:transform .2s}
.sym-index .sym-hero-photo{box-shadow:var(--shadow-card)}
.sym-index .sym-popular{gap:10px}
.sym-index .sym-popular a{display:inline-flex;min-height:40px;align-items:center;padding:8px 14px;border:1px solid var(--color-border);border-radius:var(--radius-control);font-size:15px;background:white}
@media(hover:hover) and (pointer:fine){.sym-filters button:hover{border-color:var(--color-brand);box-shadow:var(--shadow-card)}.sym-find:hover svg{transform:translateX(3px)}}
@media(max-width:1100px){.sym-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sym-index #sym-cards h3{font-size:27px}.sym-index .sym-card-cover .sym-card-art{height:240px}}
@media(max-width:767px){.sym-filters{gap:12px;margin:24px 0 28px}.sym-filters button{flex-direction:column;align-items:flex-start;padding:18px 16px;gap:14px}.sym-filters button strong{font-size:17px}.sym-filters button small{font-size:13px}.sym-topic-icon{width:48px;height:48px;flex-basis:48px;border-radius:16px}.sym-topic-icon svg{width:27px;height:27px}.sym-index #sym-cards{grid-template-columns:1fr;gap:24px}.sym-index #sym-cards .sym-card{padding:24px}.sym-index .sym-card-cover{margin:-24px -24px 24px}.sym-index .sym-card-cover .sym-card-art{height:220px}.sym-index #sym-cards h3{font-size:27px}.sym-index #sym-cards p{font-size:17px}.sym-search button.sym-find{padding:12px;min-width:46px;min-height:46px}.sym-find span{display:none}.sym-search>div{padding:4px 8px;gap:8px}.sym-search input{padding:14px 0}.sym-index .sym-hero-photo>img{height:220px}.sym-index .sym-popular a{font-size:14px}.sym-index #sym-results{scroll-margin-top:90px}}
@media(prefers-reduced-motion:reduce){.sym-search button.sym-find,.sym-search button.sym-find svg,.sym-filters button{transition:none}.sym-find:hover svg{transform:none}}

/* Shared medical directory alphabet, matching topic filters. */
.sym-alphabet{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 32px}.sym-alphabet button{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--color-border);border-radius:var(--radius-control);background:#fff;color:var(--color-ink);font-family:inherit;font-size:17px;font-weight:600;padding:8px 12px;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}.sym-alphabet button[aria-pressed="true"],.sym-alphabet button:not(:disabled):hover{background:var(--color-brand);color:white;box-shadow:var(--shadow-card)}.sym-alphabet button:disabled{color:#7a837e;background:#f4f6f4;border-color:#e4e9e5;cursor:default}.sym-alphabet button:focus-visible{outline:3px solid var(--color-brand);outline-offset:3px}@media(max-width:600px){.sym-alphabet{gap:6px}.sym-alphabet button{min-width:42px;padding:8px 10px}}

.is-diseases .sym-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.is-diseases .sym-filters strong{overflow-wrap:anywhere}@media(max-width:900px){.is-diseases .sym-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.is-diseases .sym-filters{grid-template-columns:1fr}}

.sym-direction>span:nth-child(2){min-width:0;overflow-wrap:anywhere}.sym-direction .prices-icon{flex:0 0 56px}@media(max-width:600px){.is-diseases .sym-filters button{flex-direction:row;align-items:center}.is-diseases .sym-filters button>span:last-child{min-width:0}.sym-direction{gap:12px;padding:20px 16px}.sym-direction strong{font-size:18px}}@media(prefers-reduced-motion:reduce){.sym-alphabet button{transition:none}}

/* Directory navigation at larger catalogue sizes. */
.sym-topics-toggle{margin:-12px 0 32px;border:0;background:transparent;color:var(--color-brand);font:inherit;cursor:pointer;padding:8px 0}.sym-filters button[hidden],#sym-more[hidden]{display:none}.sym-more-wrap{display:flex;justify-content:center;margin-top:32px}.sym-more-wrap .button-primary{width:auto;min-height:48px;gap:24px}@media(max-width:600px){.sym-more-wrap .button-primary{max-width:100%}}

/* Keep the complete article contents reachable on short laptop screens. */
@media(min-width:768px) and (max-height:800px){.sym-toc{position:static}}
.sym-toc a>span:last-child{min-width:0}.sym-toc a .link-ink{width:fit-content}

/* One doctor is a complete card, not a carousel. */
@media (max-width: 767px) {
  #sym-doctors .r-doctor-grid:has(> .r-doctor:only-child) { grid-template-columns: minmax(0, 1fr); grid-auto-columns: 100%; }
  #sym-doctors .r-doctor-grid:has(> .r-doctor:only-child) + .phone-slider-hint { display: none; }
}

.sym-category-back { margin-bottom: 28px; }

.sym-hero h1 { hyphens: manual; }
@media (max-width: 767px) { #sym-doctors .r-doctor-grid > .r-doctor:only-child { flex-basis: 100%; } }

/* Lower directory sections share the article heading scale. */
.is-symptoms .sym-directions h2,
.is-symptoms .sym-location h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: -.025em;
  margin: 0 0 28px;
}
@media (min-width: 1100px) {
  .is-symptoms #also-related .uzi-jump { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Consent links stay within the sentence on narrow screens. */
.is-symptoms .r-consent a.ink-link,
.is-symptoms .r-consent a.ink-link .link-ink {
  display: inline;
  min-height: 0;
  white-space: normal;
}

.is-symptoms #sym-query:focus-visible {outline:0;box-shadow:none}
.is-symptoms div:has(> #sym-query):focus-within {outline:2px solid var(--color-brand);outline-offset:3px}
