/* ──────────────────────────────────────────────────────────────
   BCB — Conditions hub / overview page CSS
   Loads automatically by the slug-match auto-loader on /conditions/.
   All selectors scoped to body.page-conditions so the shared utility
   names (.sec, .inner, .eyebrow, .h-title, .body-lg, .gs) cannot bleed
   into other pages that use the same names. Primitives mirror the
   sibling pages (tongue-tie / oral-function); net-new is page-scoped
   ch-*. Brand color resolved through var() tokens so the live re-tone
   flows through. Sections sit transparent over the sitewide ombré;
   .btn / .btn--primary and the --note-* tokens are sitewide, reused
   as-is.
   ────────────────────────────────────────────────────────────── */

/* ─── Section primitives (mirror service / condition pages) ─── */
body.page-conditions .sec { padding: var(--sec-pad-y) 24px; background: transparent; }
body.page-conditions .sec--sm { padding: var(--sec-pad-y-sm) 24px; }
body.page-conditions .inner { max-width: 1180px; margin: 0 auto; }
body.page-conditions .inner--prose { max-width: 760px; }

body.page-conditions .eyebrow {
  font-family: var(--font-accent);
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pink-600);
  margin: 0 0 14px;
}
body.page-conditions .h-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1; letter-spacing: -0.018em;
  color: var(--navy-700);
  margin: 0 0 18px;
  text-wrap: balance;
}
body.page-conditions .body-lg {
  font-size: clamp(16px, 1.15vw, 17.5px);
  line-height: 1.65;
  color: var(--navy-600);
  margin: 0 0 18px;
  text-wrap: pretty;
}
body.page-conditions .body-lg:last-child { margin-bottom: 0; }
body.page-conditions .body-lg + .body-lg { margin-top: 18px; }

/* ─── CONDITIONS GRID ─────────────────────────────────── */
body.page-conditions .ch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
body.page-conditions .ch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 56px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(62,80,104,0.10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
body.page-conditions a.ch-card:hover {
  transform: translateY(-2px);
  border-color: rgba(194,99,138,0.30);
}
body.page-conditions .ch-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.25;
  color: var(--navy-700);
  margin: 0 0 10px;
  text-wrap: balance;
}
body.page-conditions .ch-card__desc {
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.6;
  color: var(--navy-600);
  margin: 0;
  text-wrap: pretty;
}
body.page-conditions .ch-card__arrow {
  position: absolute;
  left: 26px; bottom: 22px;
  font-family: var(--font-accent);
  font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1;
  color: var(--pink-500);
  transition: transform .15s ease;
}
body.page-conditions a.ch-card:hover .ch-card__arrow { transform: translateX(4px); }

/* coming-soon variant: no link, muted, tag chip */
body.page-conditions .ch-card--soon {
  background: rgba(255,255,255,0.50);
  box-shadow: none;
  padding-bottom: 26px;
}
body.page-conditions .ch-card--soon .ch-card__name { color: var(--navy-600); }
body.page-conditions .ch-card__tag {
  align-self: flex-start;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--note-accent);
  background: var(--note-bg);
  border: 1px solid var(--note-border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin: 0 0 14px;
}

/* ─── SAFETY NOTE (--note-* terracotta tokens) ────────── */
body.page-conditions .ch-note {
  padding: 22px 24px;
  background: var(--note-bg);
  border: 1px solid var(--note-border);
  border-radius: var(--radius-md);
}
body.page-conditions .ch-note__lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.3;
  color: var(--note-accent);
  margin: 0 0 10px;
}
body.page-conditions .ch-note p {
  font-size: clamp(14.5px, 1.05vw, 16px);
  line-height: 1.6;
  color: var(--navy-600);
  margin: 0;
  text-wrap: pretty;
}
/* General-information disclaimer line + Medical Disclaimer link (appended
   to the safety note so every conditions page links the disclaimer). */
body.page-conditions .ch-note__fine {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px solid var(--note-border);
  font-size: clamp(13px, 1vw, 14px);
  font-style: italic;
  color: var(--navy-500);
}
body.page-conditions .ch-note__fine a {
  color: var(--pink-600); font-style: normal; font-weight: 600;
  text-decoration: none; border-bottom: 1px solid rgba(194, 99, 138, 0.4);
}
body.page-conditions .ch-note__fine a:hover { color: var(--pink-700); border-color: var(--pink-500); }

/* CLOSER → LIGHT frosted card + Case-A fade (enabled below). Was a flat navy CTA. */
body.page-conditions .gs {
  position: relative;
  color: var(--navy-500);
  padding: clamp(48px, 7vw, 80px) 24px;
  background: transparent;
}
body.page-conditions .footer-ombre-blend { display: block; }
body.page-conditions #ch-safety { position: relative; z-index: 1; }
body.page-conditions .gs__inner {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: var(--card-lift-bg); backdrop-filter: var(--card-lift-blur); -webkit-backdrop-filter: var(--card-lift-blur);
  border: 1px solid rgba(255,255,255,0.6); border-radius: var(--radius-xl);
  padding: clamp(40px,5.5vw,60px) clamp(28px,4vw,48px); box-shadow: 0 18px 50px -28px rgba(41,52,72,0.35);
}
body.page-conditions .gs .eyebrow { color: var(--pink-600); margin: 0 0 16px; }
body.page-conditions .gs__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--navy-700);
  margin: 0 0 18px;
  text-wrap: balance;
}
body.page-conditions .gs__body {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  margin: 0 0 28px;
  color: var(--navy-500);
  text-wrap: pretty;
}

/* ─── Mobile ──────────────────────────────────────────── */
@media (max-width: 600px) {
  body.page-conditions .ch-grid { grid-template-columns: 1fr; }
}
