/* Shared by every page since D became the home page (2026-11-09): the parts the whole site added to A's header (the
   "What We Help With" band in the IV Treatments menu, the two-column How It Works and About menus, "every town" and
   "all events" links), the full footer naming every page, and breadcrumbs for inner pages. Colours and type are
   option-d.css's tokens (BRAND.md); nothing here restyles the home page's own sections. */

/* ---- header additions ---- */
.od-mega{max-height:calc(100vh - var(--hd,76px) - 16px);overflow:auto;overscroll-behavior:contain}
.sd-help{margin-top:18px}
.sd-needs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px 18px;margin:0;padding:0;list-style:none}
.sd-needs a{display:flex;align-items:center;min-height:40px;padding:4px 8px;border-radius:12px;text-decoration:none;
  font:500 14px/1.25 Montserrat,sans-serif;color:var(--ink)}
.sd-needs a:hover,.sd-needs a:focus-visible{background:var(--card);color:var(--deep)}
.od-drop--cols{min-width:660px}
.od-drop--cols[id]{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:6px 10px}
.od-nav__item.is-open .od-drop--cols{display:grid}
.sd-drop__plain{margin:0;padding:8px 0 0;list-style:none}
.od-drop--cols .sd-drop__plain{padding:12px 0 0 14px;border-left:1px solid var(--line)}
.od-drop:not(.od-drop--cols) .sd-drop__plain{margin-top:6px;border-top:1px solid var(--line)}
.sd-drop__plain a{display:flex;align-items:center;min-height:44px;padding:4px 14px;border-radius:14px;text-decoration:none;
  font:500 15px/1.3 Montserrat,sans-serif;color:var(--ink)}
.sd-drop__plain a:hover,.sd-drop__plain a:focus-visible{background:var(--card);color:var(--deep)}
.sd-drop__all{margin:8px 0 0;padding-top:8px;border-top:1px solid var(--line)}
.sd-drop__all a{display:flex;align-items:center;min-height:44px;padding:4px 14px;border-radius:14px;text-decoration:none;
  font:600 15px Montserrat,sans-serif;color:var(--deep)}
.sd-drop__all a:hover,.sd-drop__all a:focus-visible{background:var(--card)}
.sd-drop__all span{color:var(--text)}
/* phone menu */
.od-pm__g .sd-needs{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;padding:0 0 14px}
.od-pm__g .sd-needs a{min-height:46px;padding:4px 0;font:400 16px/1.3 "Open Sans",sans-serif;color:var(--text);border-radius:0}

/* ---- the home's four popular drips: the whole card opens the drip's page; its Book button still books ---- */
.od-best__card{position:relative;transition:box-shadow .25s,transform .25s}
.od-best__link{color:inherit;text-decoration:none}
.od-best__link::after{content:"";position:absolute;inset:0;border-radius:var(--r);z-index:1}
.od-best__link:focus-visible{outline:none}
.od-best__card:has(.od-best__link:focus-visible){outline:3px solid var(--deep);outline-offset:3px}
.od-best__card .od-pill{position:relative;z-index:2}
@media (hover:hover){
  .od-best__card:hover{box-shadow:var(--sh);transform:translateY(-3px)}
  .od-best__card:hover .od-best__name{color:var(--deep)}
}

/* ---- a bag picture's link to its drip page (tools/bag-links.mjs): no box of its own, so the layout around the
   picture is unchanged; the click still opens the drip ---- */
.sd-bagl{display:contents}

/* ---- breadcrumbs (inner pages) ---- */
.sd-crumbs{max-width:var(--col);margin:0 auto;padding:18px var(--gut) 0}
.sd-crumbs ol{display:flex;flex-wrap:wrap;gap:4px 0;margin:0;padding:0;list-style:none;font:500 14px/1.4 Montserrat,sans-serif;color:var(--text)}
.sd-crumbs li{display:flex;align-items:center}
.sd-crumbs li+li::before{content:"";width:6px;height:6px;margin:0 12px;border-top:1.5px solid var(--teal);border-right:1.5px solid var(--teal);transform:rotate(45deg)}
.sd-crumbs a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;color:var(--deep);text-decoration:none}
.sd-crumbs a:hover{text-decoration:underline}
.sd-crumbs [aria-current]{color:var(--ink)}

/* ---- the footer: every page, by section ---- */
.od .sd-ft{display:block;text-align:left;padding:clamp(56px,6vw,88px) var(--gut) 28px}
.sd-ft__top{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:clamp(32px,5vw,80px);max-width:var(--col);margin:0 auto}
.sd-ft__logo{display:inline-flex;align-items:center;min-height:44px}
.sd-ft__end a{display:inline-flex;align-items:center;min-height:44px}
.sd-ft__logo img{display:block;width:190px;height:auto}
.od .sd-ft__id p{margin:0}
.sd-ft__line{margin-top:16px!important;max-width:30ch;color:var(--ft-soft)}
.sd-ft__id .ft__contact{margin-top:14px!important}
.sd-ft__book{margin-top:10px!important}
.sd-ft__book .od-pill{min-height:48px}
.od .sd-ft .sd-ft__book .od-pill--white{color:var(--deep);border-color:#fff}
.od .sd-ft .sd-ft__book .od-pill--white:hover{color:var(--ink);background:var(--card)}
.sd-ft__hours,.sd-ft__mail{font-size:14.5px}
.sd-ft__mail a{display:inline-flex;align-items:center;min-height:44px}
.od .sd-ft .ft__social{margin-top:6px!important}
.sd-ft__map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px clamp(20px,3vw,44px)}
.sd-ft__h{margin:0 0 8px!important;font:600 13px/1.3 Montserrat,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--logo)}
.sd-ft__h a{color:var(--logo)!important;text-decoration:none}
.sd-ft__h a:hover{text-decoration:underline}
.sd-ft__map ul{margin:0 0 18px;padding:0;list-style:none}
.sd-ft__map li a{display:inline-flex;align-items:center;min-height:36px;color:#fff;text-decoration:none;font-size:14.5px;line-height:1.35}
.sd-ft__map li a:hover{color:var(--logo);text-decoration:underline}
/* 2026-11-10, second pass: four parts, each said once (see the partial). The footer centres each part at its own
   natural width, so every part takes the full page column and they all line up. */
.sd-ft__top,.sd-ft__trust,.sd-ft__areas,.sd-ft__bottom{width:100%;box-sizing:border-box}
/* 2. one trust panel: badges all one height, payment beside them */
.sd-ft__trust{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);max-width:var(--col);margin:52px auto 0;border:1px solid rgba(255,255,255,.12);border-radius:var(--r,25px);background:rgba(255,255,255,.045)}
.sd-ft__tg{padding:24px clamp(22px,3vw,40px) 26px;min-width:0}
.sd-ft__tg--pay{border-left:1px solid rgba(255,255,255,.12)}
.od .sd-ft .sd-ft__tg .sd-ft__h{margin:0 0 16px!important}
.sd-ft__badges{display:flex;flex-wrap:wrap;align-items:center;gap:18px 28px}
.sd-ft__badge{display:inline-flex;align-items:center}
.sd-ft__badge img{display:block;height:72px;width:auto}
.sd-ft__tp{flex:0 0 200px;width:200px;min-height:72px;display:flex;align-items:center}
.sd-ft__tp>a{color:#fff;font-size:14.5px}
.sd-ft__tp iframe{display:block}
.sd-ft__hsa{display:block;height:72px;width:auto}
.sd-ft__pay{flex:1 1 200px;min-width:0}
.od .sd-ft .sd-ft__paytxt{margin:0 0 12px;max-width:44ch;color:var(--ft-soft);font-size:14px;line-height:1.5}
.sd-ft__pay img{display:block;width:216px;height:auto}
/* 3. Areas We Serve: every state its own column, five cities under each */
.sd-ft__areas{max-width:var(--col);margin:52px auto 0}
.sd-ft__areas-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 24px;margin-bottom:18px;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.14)}
.od .sd-ft .sd-ft__areas-head .sd-ft__h{margin:0!important}
.sd-ft__all{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#fff;text-decoration:none;font-size:14.5px}
.sd-ft__all:hover{color:var(--logo);text-decoration:underline}
.sd-ft__cities{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:18px 20px}
.od .sd-ft .sd-ft__st{margin:0 0 4px!important;font:600 15px/1.3 Montserrat,sans-serif}
.sd-ft__st a{display:inline-flex;align-items:center;min-height:36px;color:#fff;text-decoration:none}
.sd-ft__st a:hover{color:var(--logo);text-decoration:underline}
.sd-ft__cities ul{margin:0;padding:0;list-style:none}
.sd-ft__cities li a{display:inline-flex;align-items:center;min-height:32px;color:var(--ft-soft);text-decoration:none;font-size:14px;line-height:1.3}
.sd-ft__cities li a:hover{color:#fff;text-decoration:underline}
/* 4. the bottom: disclaimer, then legal links, copyright and credit on one line */
.sd-ft__bottom{max-width:var(--col);margin:52px auto 0;padding-top:22px;border-top:1px solid rgba(255,255,255,.14)}
.od .sd-ft .sd-ft__bottom .disclaimer{max-width:none;margin:0 0 6px;padding:0;border:0;color:var(--ft-soft);font-size:13px;line-height:1.55}
.sd-ft__end{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 24px}
.sd-ft__end p{margin:0}
.od .sd-ft .sd-ft__copy{color:var(--ft-soft);font-size:13.5px}
/* their colourful Instagram and Facebook logos (Ian, 2026-11-10: "the colorful logo... looks a lot better"): the white
   mark sits on each network's own colour, in the header, the phone menu and the footer */
.soc .soc-i{box-sizing:border-box;border-radius:50%;color:#fff}
.soc-instagram .soc-i{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}
.soc-facebook .soc-i{background:#1877f2}
.od .od-hd__social a,.od .od-pm__social a{color:#fff}
.od .od-hd__social a:hover,.od .od-pm__social a:hover{background:transparent;color:#fff}
.od .od-hd__social .soc-i,.od .od-pm__social .soc-i{width:32px;height:32px;padding:6.5px;transition:transform .15s ease}
.od .od-hd__social a:hover .soc-i,.od .od-pm__social a:hover .soc-i{transform:scale(1.08)}
.od .sd-ft .ft__social a{gap:10px;color:#fff}
.od .sd-ft .ft__social .soc-i{width:30px;height:30px;padding:6px}
.od .sd-ft .ft__social a:hover{color:var(--logo)}
@media (max-width:1240px){
  .sd-ft__cities{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (max-width:1100px){
  .sd-ft__top{grid-template-columns:1fr}
  .sd-ft__map{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sd-ft__trust{grid-template-columns:1fr}
  .sd-ft__tg--pay{border-left:0;border-top:1px solid rgba(255,255,255,.12)}
  .sd-ft__cities{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:560px){
  .sd-ft__cities{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sd-ft__badges{gap:16px 20px}
  .sd-ft__badge img,.sd-ft__hsa{height:62px}
}
@media (max-width:520px){
  .sd-ft__map{grid-template-columns:1fr 1fr;gap:8px 18px}
  .sd-ft__map li a{min-height:44px}
  .sd-ft__h{display:flex;align-items:center;min-height:44px;margin-bottom:0!important}
  .sd-ft__h a{display:inline-flex;align-items:center;min-height:44px}
}
/* launch prep 2026-11-15: on the narrowest phones (under 380 wide, and a laptop zoomed to 400%, 320 wide) a page
   headline whose last two words are kept together, or that has one long word ("(Diphenhydramine)"), no longer runs
   past the side of the screen. Phones 380 and wider, and computers, are unchanged. */
@media (max-width:379px){
  /* :root and :is() lift this above the page styles that load after this file */
  :root :is(.le-h1,.dr-dh__h,.ab-h1,.ab-art-head .ab-h1,.pe-evh .le-h1){font-size:clamp(27px,8.4vw,34px)}
}
/* a phone number or a time never breaks across two lines ("(833) 688-" / "1299", "8" / "PM"): build.mjs {{fact|keep}}
   (final read 2026-11-15) */
.nw{white-space:nowrap}

/* ===== Phones and tablets: drip, treatment, town and state pages centre their sections (Ian, 2026-11-15: "there's a
   lot of section that are formated to align left but would look much better centered"). DESIGN change.
   The rule: once a section stacks into one column, its heading block sits centred over it: the small label, the
   heading, a short line under it, a score line, the "see all" link, its buttons and chips. Reading stays left: lists,
   steps, cards, answers, and any paragraph over about six phone lines (build.mjs marks those data-long), so a long
   paragraph is never centred. A section's prose is centred only when it is one short paragraph. Openings are as they
   were. ":root main" lifts these over the page styles that load after this file. ===== */
@media (max-width:899px){
  /* drip and treatment pages: every section head */
  :root main .dr-head,
  :root main :is(.dr-in__words,.rd-in__intro,.dr-visit__words,.dr-voices__head,.dr-ask__head,.rn-px__head,.dr-add,.dr-more2>div,.dr-more) > :is(.od-kicker,h2,h3,.dr-in__p,.dr-voices__score,.dr-ask__note,.dr-add__lead,.dr-add__note):not([data-long]){text-align:center;margin-left:auto;margin-right:auto}
  :root main .dr-head > p{margin-left:auto;margin-right:auto}
  :root main .dr-head--row{justify-content:center}
  :root main .dr-head--row > *{flex:1 1 100%}
  :root main :is(.rn-px__head,.rn-px__top)::before{margin-left:auto;margin-right:auto}
  :root main .dr-add__prices{justify-content:center}
  :root main .dr-more > .dr-arrow{display:flex;justify-content:center}
  /* the price card */
  :root main .dr-price__card{align-items:center;text-align:center}
  :root main .dr-price__h{align-items:center}
  /* the treatment pages' closing band: heading, short lines, buttons */
  :root main .dr-close__in > div:first-child > :is(h2,p):not([data-long]){text-align:center;margin-left:auto;margin-right:auto}
  :root main .dr-close__in > div:first-child > .od-pills{justify-content:center}
  /* town and state pages */
  :root main :is(.rp-where .od-head,.p6-head--left){text-align:center;margin-left:auto;margin-right:auto}
  :root main :is(.rp-where,.p6-head--left) .od-head__p{margin-left:auto;margin-right:auto}
  :root main .rp-where__lbl{text-align:center}
  :root main .rp-areas,:root main .rp-where .pl-where__foot{justify-content:center}
  :root main :is(.pl-line__in>div,.pl-who__head,.pl-az>div:first-child,.pl-close>div,.pl-care>div:last-child) > :is(.od-kicker,h2,p,div):not([data-long]){text-align:center;margin-left:auto;margin-right:auto}
  :root main .pl-line__num{justify-self:center}
  :root main .pl-close__acts{justify-items:center}
  :root main .pl-close__link{justify-content:center}
  :root main .p6-prose:has(> p:only-child:not([data-long])) > p{text-align:center}
  :root main .p6-also > .p6-lbl{text-align:center}
  :root main .p6-also > .p6-chips{justify-content:center}
  /* reading stays left: a paragraph over about six phone lines (the rules above skip it; this catches the blocks
     that centre as a whole: section heads, the price card) */
  :root main :is(.dr-head,.dr-price__card,.rp-where .od-head,.p6-head--left) p[data-long]{text-align:left}
  /* paragraphs that read together stay together: when one in a heading's run is long, the whole run reads left (the
     small label above the heading is a paragraph too, but it travels with the heading: the alignment check found it
     sitting left under a centred heading on the compare sections, 2026-11-15) */
  :root main .dr-head:has(> p[data-long]) > p:not(.od-kicker),
  :root main .dr-close__in > div:first-child:has(> .rn-px__closep[data-long]) > .rn-px__closep{text-align:left}
}
/* the drip pages' last band sits beside its bag until 640 wide, so it centres below that */
@media (max-width:640px){
  :root main .dr-end__in{justify-items:center;text-align:center}
  :root main .dr-end .od-pills{justify-content:center}
  :root main .dr-close__card{text-align:center}
  :root main .dr-close__card .od-pills{justify-content:center}
}
