/* Trivayu Design B: sections carried over from the live site, drawn in Design B's own language
   (white rounded panels on soft blue, DM Sans, brand blue/teal/green). Tokens come from style.css. */

.serene .hero-summary{font-size:14px;line-height:1.75;color:var(--muted);max-width:520px;margin:-6px 0 26px}
.live-assurances{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:26px;font-size:13px;color:#3f5560}
.live-assurances li{display:flex;align-items:center;gap:8px}
.live-assurances .icon{width:16px;height:16px;color:var(--green)}

/* section labels at Design B's own sizes (18px desktop, 14px phone); card labels a step smaller */
.how-section .section-heading .eyebrow,.tech-section .section-heading .eyebrow,
.learn-section .section-heading .eyebrow,.tour-section .section-heading .eyebrow{font-size:18px}
.why-story .eyebrow,.tech-photo .eyebrow{font-size:12.5px;letter-spacing:1.8px}
.care-map-panel .eyebrow{font-size:12.5px;letter-spacing:1.8px;margin-bottom:14px}

/* why: the live "standing out of the clutter" story under Design B's benefits */
.why-story{display:grid;grid-template-columns:1fr 1.1fr;gap:48px;margin-top:22px;background:#fff;border:1px solid #deebf4;border-radius:22px;padding:44px 48px}
.why-story h3{font-size:28px;letter-spacing:-.9px;margin-bottom:12px;text-wrap:balance}
.why-story h4{margin:26px 0 10px;font-size:17px;font-weight:500;color:var(--ink)}
.why-story-tagline{color:var(--ink)!important;font-size:16px!important;margin-bottom:0}
.why-story-copy p:not(.eyebrow){font-size:15px;line-height:1.85;color:var(--muted)}
.why-story-close{color:var(--ink)!important;font-weight:500;margin-bottom:0}
.why-story-points{display:grid;gap:0;border-top:1px solid var(--line)}
.why-story-points li{display:grid;grid-template-columns:1fr 1.3fr;gap:20px;padding:17px 0;border-bottom:1px solid var(--line);font-size:14px}
.why-story-points strong{font-weight:500;color:var(--ink)}
.why-story-points span{color:var(--muted);line-height:1.7}

/* how it works */
.how-section{background:#fff}
.how-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:28px;align-items:start}
.how-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.how-steps li{position:relative;background:var(--paper);border:1px solid #deebf4;border-radius:18px;padding:30px 30px 26px}
.how-num{position:absolute;top:26px;right:28px;font-size:12px;letter-spacing:1.5px;color:var(--muted);font-weight:600}
.how-icon{display:inline-flex;width:46px;height:46px;border-radius:50%;background:#fff;align-items:center;justify-content:center;color:var(--teal);margin-bottom:18px;border:1px solid #deebf4}
.how-steps h3{font-size:19px;margin-bottom:10px}
.how-steps p{font-size:14px;line-height:1.75;color:var(--muted);margin:0}
.first-visit{background:linear-gradient(160deg,#1d5c97,#0d7f93);color:#fff;border-radius:22px;padding:36px 34px}
.first-visit h3{color:#fff;font-size:26px;letter-spacing:-.8px;margin-bottom:20px}
.first-visit ul{display:grid;gap:12px;margin-bottom:28px}
.first-visit li{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.6}
.first-visit li .icon{width:18px;height:18px;margin-top:3px;color:#7fe6c9}
.first-visit .button.primary{background:#fff;color:var(--blue);width:100%;justify-content:space-between}
.first-visit .button.primary:hover{background:#eaf4ff}

/* advanced setup and technology */
.tech-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.tech-cards{display:grid;gap:16px}
.tech-card{display:grid;grid-template-columns:auto 1fr;gap:20px;background:#fff;border:1px solid #deebf4;border-radius:18px;padding:28px 30px}
.tech-icon{display:inline-flex;width:48px;height:48px;border-radius:50%;background:var(--soft);align-items:center;justify-content:center;color:var(--teal)}
.tech-card h3{font-size:19px;margin-bottom:8px}
.tech-card p{font-size:14px;line-height:1.75;color:var(--muted);margin-bottom:12px}
.tech-card .text-link{font-size:13px}
.tech-photo{margin:0;background:#fff;border:1px solid #deebf4;border-radius:22px;overflow:hidden;display:flex;flex-direction:column}
.tech-photo img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.tech-photo figcaption{padding:26px 30px 28px}
.tech-photo .eyebrow{display:block;margin-bottom:14px}
.tech-photo ul{display:flex;flex-wrap:wrap;gap:8px}
.tech-photo li{font-size:12.5px;color:var(--ink);background:var(--paper);border:1px solid #deebf4;border-radius:999px;padding:6px 13px}

/* team: experience and focus from the live roster */
.team-focus{font-size:12.5px;line-height:1.6;color:var(--muted);margin:4px 0 0}

/* reviews: named Google reviews */
.review-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.review-card{margin:0;background:#fff;border:1px solid #deebf4;border-radius:20px;padding:30px 30px 26px;display:flex;flex-direction:column}
.review-stars{color:#f2a900;letter-spacing:2px;font-size:15px;margin-bottom:16px}
.review-card blockquote{margin:0 0 22px;font-size:15.5px;line-height:1.8;color:var(--ink);flex:1}
.review-card figcaption{display:flex;flex-direction:column;border-top:1px solid var(--line);padding-top:16px}
.review-card figcaption strong{font-weight:500;color:var(--ink)}
.review-card figcaption span{font-size:12px;color:var(--muted)}
.review-note{font-size:12.5px;color:var(--muted);margin:16px 0 40px}

/* exercise videos */
.learn-section{background:#fff}
.learn-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.learn-card{position:relative;display:block;width:100%;border-radius:18px;overflow:hidden;background:var(--ink);text-align:left;aspect-ratio:478/700}
.learn-card img{width:100%;height:100%;object-fit:cover;opacity:.92;transition:transform .3s,opacity .3s}
.learn-card:hover img{transform:scale(1.03);opacity:1}
.learn-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,#0b2233d9)}
.learn-play{position:absolute;top:14px;left:14px;z-index:1;display:inline-flex;width:38px;height:38px;border-radius:50%;background:#ffffffe6;color:var(--blue);align-items:center;justify-content:center}
.learn-play .icon{width:16px;height:16px}
.learn-title{position:absolute;left:16px;right:16px;bottom:16px;z-index:1;color:#fff;font-size:14px;line-height:1.4;font-weight:500}
.learn-more{margin-top:30px}

/* what we treat, and the "where it hurts" body map */
.care-map-section{background:#fff}
.care-map{display:grid;grid-template-columns:1fr 1.35fr;gap:24px;align-items:start}
.care-map-panel{background:var(--paper);border:1px solid #deebf4;border-radius:22px;padding:36px 36px 38px}
.care-map-panel h2{font-size:clamp(26px,2.4vw,32px);letter-spacing:-1px;margin-bottom:22px;text-wrap:balance}
.care-map-intro{font-size:14.5px;line-height:1.8;color:var(--muted);margin:-8px 0 24px}
.chip-links{display:flex;flex-wrap:wrap;gap:9px}
.chip-links a{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border-radius:999px;background:#fff;border:1px solid #d6e6f1;color:var(--ink);font-size:13.5px;line-height:1.3;transition:background .2s,border-color .2s,color .2s}
.chip-links a:hover,.chip-links a:focus-visible,.chip-links a.is-hot{background:var(--blue);border-color:var(--blue);color:#fff}
.body-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:center}
.body-wrap{background:#fff;border:1px solid #deebf4;border-radius:20px;padding:16px}
.tva-body{display:block;width:100%;height:auto}
.tva-body-fig circle,.tva-body-fig polygon{fill:url(#tvaFigG);stroke:#a9c4e8;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.tva-dot{cursor:pointer;outline:none}
.tva-dot-hit{fill:transparent}
.tva-dot-ring{fill:#008fa024;stroke:#008fa066;stroke-width:1.5;transition:fill .18s,stroke .18s}
.tva-dot-core{fill:var(--teal);transition:fill .18s}
.tva-dot-lab{font-family:DM,Arial,sans-serif;font-size:11px;font-weight:600;fill:var(--ink);opacity:0;transition:opacity .18s;pointer-events:none;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}
.tva-dot:hover .tva-dot-ring,.tva-dot:focus-visible .tva-dot-ring,.tva-dot.is-hot .tva-dot-ring{fill:#1d5c9729;stroke:var(--blue)}
.tva-dot:hover .tva-dot-core,.tva-dot:focus-visible .tva-dot-core,.tva-dot.is-hot .tva-dot-core{fill:var(--blue)}
.tva-dot:hover .tva-dot-lab,.tva-dot:focus-visible .tva-dot-lab,.tva-dot.is-hot .tva-dot-lab{opacity:1}
.tva-dot:focus-visible .tva-dot-ring{stroke-width:3}
@media(prefers-reduced-motion:no-preference){.tva-dot-ring{animation:tvaDot 3s ease-in-out infinite}}
@keyframes tvaDot{0%,100%{r:12}50%{r:14}}

/* "All Conditions" and "All Treatments" at the foot of the menus */
.dropdown-all{display:inline-flex;align-items:center;gap:8px;margin-top:22px;font-size:13px;color:var(--blue)}
#mobile-menu .dropdown-all{margin:14px 0 6px}

/* clinic walk-through */
.tour-grid{display:grid;grid-template-columns:repeat(3,minmax(0,300px));justify-content:center;gap:18px}
.tour-grid figure{margin:0;background:#fff;border:1px solid #deebf4;border-radius:20px;overflow:hidden}
.tour-grid img{width:100%;height:auto;aspect-ratio:464/832;object-fit:cover}
.tour-walk{display:none}
.tour-live .tour-walk{display:block;position:relative;height:185vh;height:185svh}
.tour-live .tour-grid{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
/* the frame sits between the sticky site header (112px) and the bottom of the screen */
.tour-walk-stick{position:sticky;top:0;height:100vh;height:100svh;box-sizing:border-box;padding:124px 0 28px;display:flex;align-items:center;justify-content:center}
.tour-walk-fig{position:relative;margin:0;width:min(78vw,340px);border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 0 0 12px #fff,0 0 0 13px #deebf4,0 30px 60px -28px #1d5c9766}
.tour-walk-img{width:100%;height:auto;max-height:calc(100vh - 176px);max-height:calc(100svh - 176px);object-fit:contain;display:block}
.tour-walk-scrim{position:absolute;inset:auto 0 0 0;height:34%;background:linear-gradient(180deg,#102e4000,#102e40d9);pointer-events:none}
.tour-walk-label{position:absolute;left:20px;bottom:20px;color:#fff;font-size:13px;font-weight:500;letter-spacing:1.6px;text-transform:uppercase}
.tour-walk-bar{position:absolute;left:0;bottom:0;height:4px;background:var(--green);width:var(--tour-progress,0%);transition:width .12s linear}
.tour-grid figcaption{padding:16px 22px;font-size:14px;color:var(--ink)}

/* locations and footer */
.other-locations{font-size:13.5px;line-height:1.7;color:var(--muted);margin:14px 0 18px}
.other-locations strong{color:var(--ink);font-weight:500}
.other-locations a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.footer-also{font-size:13px;color:var(--muted)}
.footer-brand strong{font-weight:500;color:var(--ink)}
.footer-disclaimer{font-size:12px;color:var(--muted);margin-top:30px;margin-bottom:0}

@media(max-width:1080px){
  .care-map{grid-template-columns:1fr}
  .why-story{grid-template-columns:1fr;gap:28px;padding:34px}
  .how-grid,.tech-grid{grid-template-columns:1fr}
  .learn-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:800px){
  .review-cards{grid-template-columns:1fr}
  .tour-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .tour-grid figcaption{padding:10px 12px;font-size:12px}
}
@media(max-width:600px){
  .how-section .section-heading .eyebrow,.tech-section .section-heading .eyebrow,
  .learn-section .section-heading .eyebrow,.tour-section .section-heading .eyebrow{font-size:14px}
  .why-story .eyebrow,.tech-photo .eyebrow,.care-map-panel .eyebrow{font-size:12px}
  .live-assurances{font-size:12px;gap:8px 16px}
  .why-story{padding:26px 22px;border-radius:18px}
  .why-story-points li{grid-template-columns:1fr;gap:4px}
  .how-steps{grid-template-columns:1fr}
  .how-steps li,.tech-card{padding:24px 22px}
  .first-visit{padding:30px 24px}
  .tech-card{grid-template-columns:1fr;gap:14px}
  .tech-photo figcaption{padding:22px}
  .learn-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .learn-title{font-size:13px;left:12px;right:12px;bottom:12px}
  .review-card{padding:24px 22px}
  .care-map-panel{padding:26px 22px 28px;border-radius:18px}
  /* phones: clear the header above and the Call / Book / WhatsApp bar below */
  .tour-walk-stick{padding:104px 0 96px}
  .tour-walk-img{max-height:calc(100vh - 224px);max-height:calc(100svh - 224px)}
  .body-grid{grid-template-columns:1fr;gap:20px}
  .body-wrap{max-width:240px;margin-inline:auto}
}

/* ===================================================================================================
   Inner pages: live page content drawn in Design B's patient-page layout (condition.css supplies the
   frame; these are the live site's own building blocks, which Design B never had)
   =================================================================================================== */
.condition-hero.has-image{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:40px;align-items:center}
.page-hero-image{margin:0;border-radius:22px;overflow:hidden;background:var(--soft)}
.page-hero-image img{width:100%;height:auto;display:block;aspect-ratio:4/3;object-fit:cover}
.page-hero-intro{max-width:720px;margin:-6px 0 26px}
.page-hero-intro p{font-size:17px;line-height:1.85;color:#405968;margin:0 0 14px}
.page-hero-intro a,.condition-article p a,.condition-article li a,.faq-answer a,.page-details a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.page-hero-list{display:grid;gap:10px;margin:18px 0 6px}
.page-hero-list li{display:flex;gap:10px;align-items:flex-start;font-size:16px;line-height:1.6;color:var(--ink)}
.page-hero-list .icon{width:18px;height:18px;margin-top:3px;color:var(--green);flex-shrink:0}
.page-hero-badge{font-size:15px;color:var(--ink);margin:0 0 22px}
.page-hero-badge span{color:#f2a900;letter-spacing:2px}
.page-hero-link a{display:inline-flex;align-items:center;min-height:48px;padding:12px 18px;border-radius:var(--radius);border:1px solid #cfe0ec;background:#fff;color:var(--blue);font-size:14px;font-weight:500}
.page-hero-link a:hover{background:#eef6fb}

/* lists the live pages use: ticks and crosses, numbered steps, plain bullets */
:is(.condition-article,.about-b) .check-list,:is(.condition-article,.about-b) .plain-list,:is(.condition-article,.about-b) .step-list{list-style:none;margin:6px 0 24px;padding:0}
:is(.condition-article,.about-b) .check-list li,:is(.condition-article,.about-b) .plain-list li{position:relative;padding:11px 0 11px 34px;border-bottom:1px solid #edf2f6}
:is(.condition-article,.about-b) .check-list li:before{content:"\2713";position:absolute;left:0;top:13px;width:22px;height:22px;border-radius:50%;background:#e1f3ee;color:#00876f;font-size:12px;font-weight:700;line-height:22px;text-align:center}
:is(.condition-article,.about-b) .check-list li.is-no:before{content:"\2715";background:#fbe9e4;color:#b0492f}
:is(.condition-article,.about-b) .plain-list li{padding-left:22px}
:is(.condition-article,.about-b) .plain-list li:before{content:"";position:absolute;left:0;top:25px;width:5px;height:5px;border-radius:50%;background:var(--teal)}
.condition-article .step-list{counter-reset:step;display:grid;gap:14px}
.condition-article .step-list li{counter-increment:step;position:relative;padding:20px 22px 20px 70px;background:#f3f8fc;border:1px solid #dceaf3;border-radius:14px}
.condition-article .step-list li:before{content:counter(step);position:absolute;left:20px;top:20px;width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid #cfe3ee;color:var(--teal);font-weight:600;font-size:14px;line-height:34px;text-align:center}
.condition-article .step-list li strong{display:block;color:var(--ink);font-weight:600;margin-bottom:4px}
.condition-article h3{font-size:21px;line-height:1.4;letter-spacing:-.3px;margin:26px 0 12px;color:var(--ink)}

/* figures, tables, details lists, quotes, standalone links */
.page-figure{margin:8px 0 26px}
.page-figure img{width:auto;max-width:100%;height:auto;border-radius:16px;display:block}
/* two or more photos in a row sit side by side at their own size, never stretched */
.figure-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;margin:8px 0 26px;align-items:start}
.figure-grid .page-figure{margin:0}
.figure-grid .page-figure img{width:100%}
.page-figure figcaption{font-size:14px;color:var(--muted);margin-top:8px}
.page-table{overflow-x:auto;margin:6px 0 24px}
.page-table table{width:100%;border-collapse:collapse;font-size:16px}
.page-table th,.page-table td{padding:12px 14px;border-bottom:1px solid #e1ebf2;text-align:left;vertical-align:top}
.page-table th{color:var(--ink);font-weight:600;background:#f3f8fc}
.page-details dl{display:grid;grid-template-columns:minmax(120px,190px) minmax(0,1fr);margin:6px 0 24px;border-top:1px solid #e1ebf2}
.page-details dt,.page-details dd{margin:0;padding:14px 0;border-bottom:1px solid #e1ebf2;font-size:16px;line-height:1.7}
.page-details dt{color:var(--ink);font-weight:600;padding-right:16px}
.page-details dd{color:#405968}
.page-details dd + dd{grid-column:2}
.page-quote blockquote{margin:0 0 18px;padding:24px 26px;background:#f7fbff;border:1px solid #deebf4;border-radius:16px;font-size:17px;line-height:1.8;color:var(--ink)}
.page-link{margin:4px 0 16px}
.page-link a{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:12px 18px;border-radius:var(--radius);background:var(--blue);color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:500}
.page-link a[href^="tel:"],.page-link a[href^="mailto:"]{background:#fff;color:var(--blue)!important;border:1px solid #cfe0ec}
.page-svg{max-width:280px;margin:6px 0 24px}
.page-untitled{padding-top:0}
.condition-related-grid + .condition-related-label{margin-top:26px}
/* the live hub pages' cards: title on its own line, description below, no underline */
.condition-article a.card-link{display:block;padding:16px 18px;border:1px solid #dce9f4;border-radius:14px;background:#fff;color:var(--ink);text-decoration:none}
.condition-article a.card-link:hover{background:#f3f8fc}
.card-link strong{display:block;color:var(--blue);font-weight:600;font-size:17px;line-height:1.5;margin-bottom:4px}
.card-link span{display:block;color:#48616f;font-size:15px;line-height:1.7}
.condition-article .plain-list li:has(> .card-link){padding:6px 0;border-bottom:0}
.condition-article .plain-list li:has(> .card-link):before{display:none}
/* a live section label above its heading; a live row of badges; a rating line */
.section-eyebrow{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:var(--teal);margin:0 0 8px!important}
.page-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:6px 0 22px;padding:0}
.page-chips li{padding:7px 14px;border-radius:999px;background:#eef6fb;border:1px solid #dbe8f2;font-size:14px;line-height:1.5;color:var(--ink)}
.page-inline-row .review-stars{letter-spacing:2px;margin-right:4px}
.condition-article .page-review-cards{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));margin:6px 0 24px}
.team-specialisms{list-style:none;padding:0;margin:10px 0 0;display:flex;flex-wrap:wrap;gap:6px}
.team-specialisms li{font-size:12px;line-height:1.5;padding:4px 10px;border-radius:999px;background:#eef6fb;color:#345263}
.team-specialisms li:before{display:none}
.related-plain{display:flex;align-items:center;padding:20px 16px;background:#f6f9fb;border:1px dashed #d4e2ec;border-radius:12px;color:#48616f;font-size:15px;line-height:1.6}

/* videos inside an article, in the section they belong to */
.condition-article .page-video-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:6px 0 24px;padding:0;list-style:none}
.learn-grid li{display:flex;flex-direction:column;gap:8px}
.learn-page-link{font-size:13px;color:var(--blue);text-decoration:underline;text-underline-offset:3px}

/* the live booking card, in the sidebar on wide screens and under the article on phones */
.page-rail{margin-top:18px;padding:22px 20px;background:#fff;border:1px solid #dce9f4;border-radius:18px}
.page-rail-title{font-size:17px;font-weight:600;color:var(--ink);margin:0 0 6px}
.page-rail p{font-size:14px;line-height:1.6;color:#48616f;margin:0 0 12px}
.page-rail ul{display:grid;gap:8px;margin:0 0 16px}
.page-rail li{display:flex;gap:8px;font-size:14px;line-height:1.5;color:var(--ink)}
.page-rail li .icon{width:16px;height:16px;margin-top:2px;color:var(--green);flex-shrink:0}
.page-rail-link{margin:0 0 8px!important}
.page-rail-link a{display:flex;justify-content:center;align-items:center;min-height:46px;padding:10px 14px;border-radius:var(--radius);font-size:14px;font-weight:500;background:var(--blue);color:#fff}
.page-rail-link a[href^="tel:"]{background:#fff;color:var(--blue);border:1px solid #cfe0ec}
.page-rail-link a{text-align:center}
/* the card's real video shows its picture exactly as the card image did */
.learn-card video{display:block;width:100%;height:100%;object-fit:cover;opacity:.92;transition:transform .3s,opacity .3s;pointer-events:none}
.learn-card:hover video{transform:scale(1.03);opacity:1}
.page-rail-mobile{display:none}

/* closing call to action, the live "Ready for a proper assessment?" */
.page-cta{padding:0 0 90px}
.page-cta-inner{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:30px;align-items:center;background:#fff;border:1px solid #dce9f4;border-radius:28px;padding:44px}
.page-cta h2{font-size:clamp(30px,3vw,40px);letter-spacing:-1.2px;margin-bottom:14px}
.page-cta p:not(.eyebrow){font-size:16px;line-height:1.8;color:#405968;margin:0}
.page-cta-actions{display:grid;gap:12px}
.page-cta-actions .button{width:100%;justify-content:space-between}
.page-cta-link a{display:flex;justify-content:center;align-items:center;min-height:50px;padding:12px 16px;border-radius:var(--radius);border:1px solid #cfe0ec;background:#fff;color:var(--blue);font-size:14px;font-weight:500}
.page-cta-link a:hover{background:#eef6fb}
.page-disclaimer{font-size:14px!important;color:#6a7d88!important;margin-top:8px}

/* watch pages: the video is the page */
.watch-section{border-bottom:0}
.watch-player{margin:0 auto 6px;max-width:420px}
.condition-hero.has-player .watch-player{margin:6px 0 22px;max-width:380px}
.condition-hero.has-player .watch-player.is-landscape{max-width:760px}
.watch-player video{width:100%;height:auto;border-radius:20px;background:var(--ink);display:block}

/* hub pages list every Design B page too; About carries Design B's story and values first */
.page-browse{padding:20px 0 30px}
.page-browse h2{margin-bottom:30px}
.page-browse .care-grid li[hidden]{display:block!important}
.about-b{padding-top:30px}
.team-role{font-size:14px!important;color:var(--teal)!important;margin:-6px 0 10px!important}
.condition-layout.no-sidebar{grid-template-columns:minmax(0,1fr);max-width:900px}
.page-404 .condition-hero-actions{margin-top:10px}

@media(max-width:1080px){
  .condition-hero.has-image{grid-template-columns:1fr}
  .page-cta-inner{grid-template-columns:1fr;padding:34px}
}
@media(max-width:800px){
  .condition-article .page-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-rail-mobile{display:block}
}
/* the open phone menu scrolls clear of the fixed Call / Book / WhatsApp bar, so its last row can be tapped */
@media(max-width:800px){
  #mobile-menu>nav{padding-bottom:calc(28px + 72px + env(safe-area-inset-bottom, 0px))}
}
/* the booking form's two fields stack on narrow phones so "Any available time" fits */
@media(max-width:420px){
  .form-row{grid-template-columns:1fr}
}
@media(max-width:600px){
  .page-details dl{grid-template-columns:1fr}
  .page-details dt{padding-bottom:0;border-bottom:0}
  .page-details dd + dd{grid-column:1}
  .condition-article .step-list li{padding:18px 18px 18px 62px}
  .page-cta{padding-bottom:70px}
  .page-cta-inner{padding:26px 22px;border-radius:20px}
}

/* ===================================================================================================
   Accessibility floor: the live site measured 0 contrast failures and almost no small tap targets,
   so the redesign holds the same line with the smallest possible visual change.
   =================================================================================================== */
/* Design B's teal at small sizes reads 3.2 to 3.9:1; one shade deeper reads 4.7 to 5.6:1 on every B background */
.serene{--teal:#00737f}
.serene .heading-accent,.about-page .about-story .heading-accent{color:#00737f}
.treatment-benefit-number{color:#00737f}
.about-page .values-list article>span{color:#00737f}
.review-stars,.page-hero-badge span{color:var(--blue)}
/* tap targets of at least 44px (Design B sets several at 32 to 40px with .serene rules) */
.serene .footer .footer-links>a,.serene .footer .footer-links>button,.serene .footer .footer-contact>a{min-height:44px;display:inline-flex;align-items:center;margin-bottom:2px}
.serene .footer .legal-links a{min-height:44px;min-width:44px;justify-content:center}
.condition-page .condition-toc-card nav a,.condition-page .condition-mobile-toc nav a{min-height:44px}
.page-details dd a{display:inline-flex;align-items:center;min-height:44px}
.serene .footer .social-link{width:44px;height:44px}
.serene .site-header .mobile-menu-button{width:44px;height:44px}
.serene .hero .scroll-note{min-height:44px}
.serene .footer .footer-brand .brand{min-height:44px;display:inline-flex;align-items:center}
.serene .desktop-nav>a,.serene .desktop-nav .nav-trigger{min-height:44px}
.serene .learn-page-link{min-height:44px;display:inline-flex;align-items:center}
/* small grey notes at the foot of articles: 4.3:1 becomes 5:1 */
.condition-page .condition-reading .condition-publisher,.condition-page .condition-article .page-disclaimer{color:#5b6e79!important}

/* focus and dialog fixes from the accessibility review */
.first-visit .button.primary:focus-visible{outline-color:#fff}
#testimonial-dialog h2{white-space:normal}
.nowrap{white-space:nowrap}
/* the live homepage's WhatsApp and call buttons, under the hero button and in the closing box */
.home-contact-links{display:flex;flex-wrap:wrap;gap:6px 22px;margin:14px 0 0}
.home-contact-links .text-link{min-height:44px;display:inline-flex;align-items:center}
.appointment-copy .home-contact-links{margin:16px 0 4px}
/* every paragraph in a red-flag box reads the same (Design B styled only its last one) */
.condition-page .condition-urgent p:not(.condition-urgent-title){font-size:16px;line-height:1.8;color:#66543d;margin:0 0 10px}
.condition-page .condition-urgent p:not(.condition-urgent-title):last-child{margin-bottom:0}
@media(max-width:600px){.condition-page .condition-urgent p:not(.condition-urgent-title){font-size:15px}}
/* the sticky sidebar fits the screen: the booking card and the closing line always show in full, and a
   long "On this page" list scrolls inside its own card instead of pushing them off the screen */
@media(min-width:801px){                 /* Design B hides the sidebar on phones; this never overrides that */
  .condition-sidebar{display:flex;flex-direction:column;max-height:calc(100vh - 170px);overflow-y:auto;overscroll-behavior:contain}
  .condition-sidebar>*{flex:0 0 auto}
  .condition-sidebar>.condition-toc-card{flex:0 1 auto;min-height:150px;display:flex;flex-direction:column;overflow:hidden}
  .condition-sidebar .condition-toc-card nav{overflow-y:auto;overscroll-behavior:contain;min-height:0}
}
