/* Alder: pSEO hub pages (themes/alder/seo-hub.tpl.php).
   Rides on alder-pages.css (the /providers list) and only adds the hub head,
   the hub-only blocks, and the no-rule overrides. Everything is scoped to
   .al-pg--hub. No horizontal rules anywhere: blocks part with space, a sand or
   paper panel, or a Lora italic label; pill and panel outlines stay. */

/* ---------- Head band ---------- */
.al-pg--hub .al-hubhead { padding: 22px 0 6px; }
.al-pg--hub .al-hubhead .al-label { margin-bottom: 8px; font-size: 16px; }
.al-hubhead__h {
  font: 800 clamp(1.85rem, 3.4vw, 2.9rem)/1.05 var(--al-display);
  letter-spacing: -.03em; color: var(--al-ink); text-wrap: balance; max-width: 22em;
}
.al-hubhead__lede { margin-top: 10px; max-width: 40em; font: italic 400 17px/1.55 var(--al-serif); color: var(--al-body); }

.al-hubintro { margin-top: 20px; padding: 20px; border-radius: var(--al-r); background: var(--al-sand); }
.al-hubintro__copy { font-size: 16px; line-height: 1.65; max-width: none; } /* fills the sand block (Eric, 10-15) */
.al-hubintro__copy p + p { margin-top: .8em; }

.al-hubtiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.al-hubtiles > div { padding: 10px 14px; border-radius: 12px; background: var(--al-page); }
.al-hubtiles dt { font: 700 16px/1.2 var(--al-display); letter-spacing: -.01em; color: var(--al-ink); }
.al-hubtiles dd { margin-top: 2px; font: 400 12.5px/1.35 var(--al-sans); color: var(--al-muted); }
.al-hubtiles--stats { margin-top: 14px; max-width: 760px; }
.al-hubtiles--stats > div { background: #fff; }
.al-hubtiles--stats dt { font-size: 18px; }

@media (min-width: 640px) {
  .al-hubtiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 921px) {
  .al-pg--hub .al-hubhead { padding-top: 30px; }
  .al-pg--hub .al-hubhead .al-label { font-size: 18px; }
  .al-hubhead__lede { font-size: 19px; }
  .al-hubintro { margin-top: 24px; padding: 26px 30px; }
  .al-hubintro__copy { font-size: 17px; }
}

/* The finder band follows the head band, so it starts tight */
.al-pg--hub .al-findband { padding-top: 14px; }
@media (min-width: 921px) { .al-pg--hub .al-findband { padding-top: 18px; } }

/* Chip-row toggles are tiny GET forms; they lay out as their buttons */
.al-chipform { display: contents; }
.al-chiprow__lbl { flex: none; align-self: center; font: italic 400 16px/1.2 var(--al-serif); color: var(--al-muted); }
.al-pg--hub button.al-seg__opt { border: 0; cursor: pointer; }
.al-pg--hub button.al-seg__opt:not([aria-current]) { background: transparent; }

/* ---------- No rules (Eric, 2026-10-14) ----------
   The list, card and filter rail come from alder-pages.css exactly as on
   /providers (Wren owns those rules, the desktop filter rail is an outlined
   panel). Only the hub-only blocks are handled here. */
.al-pg--hub .al-reshead { border-top: 0; padding-top: 0; }
.al-pg--hub .al-reshead__count { margin-top: 0; }
/* Base video and post grids keep their markup; only their rules go */
.al-pg--hub .al-results__tail > section { border-top-width: 0; padding-top: 0; margin-top: 48px; }
.al-pg--hub .al-results__tail > section:first-child { margin-top: 0; }
.al-pg--hub .ocd-rel-meta { border-top: 0; padding-top: 6px; }

/* ---------- Results ---------- */
.al-pg--hub .al-printbar { margin-top: 8px; }
.al-pg--hub button.al-resbar__print { border: 0; background: none; padding: 0; cursor: pointer; }
.al-pg--hub .al-backstop .al-resbar { margin-top: 0; }
.al-hubclinics { display: grid; gap: 16px; margin-top: 14px; }
@media (min-width: 640px) { .al-hubclinics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.al-pg--hub .al-empty .al-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.al-pg--hub .al-empty .al-more { margin-top: 0; }

/* Pager: the hub keeps every page link the base hub printed (7 or fewer);
   the narrow gap stands in for the ones a phone hides. */
@media (min-width: 430px) { .al-pg--hub .al-pager__gap--narrow { display: none; } }

/* ---------- Browse more (the base sidebar link lists) ---------- */
.al-hublinks { margin-top: 8px; padding: 36px 0 40px; background: var(--al-sand); }
.al-hublinks__grid { display: grid; gap: 28px; }
.al-hublinks .al-label { margin-bottom: 8px; }
.al-hublinks__list { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.al-hublinks__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--al-line); border-radius: 999px; background: var(--al-page);
  font: 500 14px/1.2 var(--al-sans); color: var(--al-ink);
  transition: border-color .18s;
}
@media (hover: hover) { .al-hublinks__list a:hover { border-color: var(--al-ink); } }
@media (min-width: 921px) {
  .al-hublinks { padding: 48px 0 52px; }
  .al-hublinks__grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); column-gap: 52px; }
  .al-hublinks__list a { min-height: 36px; }
}

/* ---------- Key facts and FAQ ---------- */
.al-hubsec { margin-top: 56px; }
.al-hubsec:last-child { margin-bottom: var(--al-rhythm); }
.al-hubsec__h { font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--al-display); letter-spacing: -.02em; color: var(--al-ink); }
.al-hubsec__note { margin-top: 6px; font: italic 400 16px/1.5 var(--al-serif); color: var(--al-muted); }

.al-hubfacts { display: grid; gap: 12px; margin-top: 20px; }
.al-hubfact { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: var(--al-r); background: var(--al-paper); }
.al-hubfact__scope { font: italic 400 15px/1.2 var(--al-serif); color: var(--al-moss); }
.al-hubfact__text { font: 400 16px/1.55 var(--al-sans); color: var(--al-ink); }
.al-hubfact__src { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; font: 500 13.5px/1.35 var(--al-sans); color: var(--al-muted); }
a.al-hubfact__src { text-decoration: underline; text-decoration-color: var(--al-line); text-underline-offset: 3px; }
@media (hover: hover) { a.al-hubfact__src:hover { color: var(--al-ink); } }
@media (min-width: 640px) { .al-hubfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 921px) { .al-hubfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

.al-hubfaq { display: grid; gap: 10px; margin-top: 20px; max-width: 860px; }
.al-hubfaq details { padding: 4px 20px 18px; border-radius: var(--al-r); background: var(--al-paper); }
.al-hubfaq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding-top: 10px; cursor: pointer; list-style: none;
  font: 700 17px/1.3 var(--al-display); letter-spacing: -.01em; color: var(--al-ink);
}
.al-hubfaq summary::-webkit-details-marker { display: none; }
.al-hubfaq summary::after { content: "+"; flex: none; font: 500 22px/1 var(--al-sans); color: var(--al-moss); }
.al-hubfaq details[open] summary::after { content: "\2212"; }
.al-hubfaq .faq-answer { margin-top: 6px; font-size: 16px; line-height: 1.65; max-width: 70ch; }
.al-hubfaq .faq-answer p + p { margin-top: .8em; }
/* Desktop: two columns (Eric, 10-15). CSS columns, not a grid, so the open
   answers pack densely and a toggled answer reflows its own column. */
@media (min-width: 921px) {
  .al-hubfaq { display: block; max-width: none; columns: 2; column-gap: 20px; }
  .al-hubfaq details { break-inside: avoid; margin-bottom: 10px; }
}

/* Base practice tiles (clinics block, /prescribers): bands and feet part
   with space, not a top rule */
.al-pg--hub .ocd-ed-tile__band, .al-pg--hub .ocd-ed-tile__foot { border-top: 0; }
.al-pg--hub .al-results__tail a.inline-flex { min-height: 44px; }

/* Card chip 44px tap areas now live with the card in alder-pages.css. */

/* ---------- /complementary-care (complementary-care.tpl.php) ---------- */
.al-hubhead__h em { font-family: var(--al-serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--al-brand); }
.al-hubhead__count { margin-top: 10px; font: 400 15px/1.4 var(--al-sans); color: var(--al-muted); }
.al-hubhead__count strong { font-weight: 700; color: var(--al-ink); }
.al-cc__intro .al-hubintro__copy a { color: var(--al-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--al-line); text-underline-offset: 3px; }
.al-pg--cc .al-hubhead { padding-bottom: 24px; }

.al-cc { display: grid; gap: 14px; padding-top: 20px; padding-bottom: var(--al-rhythm); }
.al-cc__rail { display: grid; gap: 12px; align-content: start; min-width: 0; }
.al-cc__panel { padding: 18px; border-radius: var(--al-r); background: var(--al-sand); }
.al-cc__lbl { margin-bottom: 10px; font: italic 400 16px/1.2 var(--al-serif); color: var(--al-muted); }
.al-cc__chips .al-chip { gap: 6px; }
.al-cc__chips .al-chip.is-on { background: var(--al-pill); border-color: var(--al-pill); color: #fff; }
.al-cc__n { font-weight: 400; color: var(--al-muted); }
.al-cc__chips .al-chip.is-on .al-cc__n { color: rgba(255, 255, 255, .78); }
.al-cc__soon { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font: 400 13px/1.4 var(--al-sans); color: var(--al-muted); }
.al-cc__soon .is-on { color: var(--al-ink); font-weight: 600; }
.al-cc__soontag { font: italic 400 12.5px/1 var(--al-serif); }
.al-cc__loc { display: grid; gap: 12px; }
.al-cc__loc .al-pill { justify-content: center; min-height: 48px; }
.al-cc__main { min-width: 0; }
.al-pg--cc .al-results { margin-top: 0; }
.al-pg--cc .al-reslist > li:first-child .al-res { padding-top: 12px; }
.al-cc__note { margin-top: 28px; padding: 18px 20px; border-radius: var(--al-r); background: var(--al-paper); font: italic 400 15.5px/1.55 var(--al-serif); color: var(--al-body); max-width: 46em; }
.al-pg--cc .al-empty a { color: var(--al-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 921px) {
  .al-cc { grid-template-columns: clamp(272px, 13.6vw + 147px, 320px) minmax(0, 1fr); column-gap: 44px; padding-top: 28px; }
  .al-cc__rail { position: sticky; top: calc(var(--al-hdr-h, 72px) + 20px); }
  .al-cc__panel { padding: 20px 22px; }
  .al-cc__loc .al-pill { min-height: 44px; }
}
