/* Brand theme for this deployment: TheraCRM Academy (learn.theracrm.pro).
 * Colors are theracrm.pro's (php/assets/css/site.css and the page markup there), which since
 * 2026-11-07 are Aday Interactive's heritage palette with the teal accent of
 * adayinteractive.com/industry/medical-dental: ink #1F2E2A (the old forest #163327), teal text
 * #0C6B6B (the old gold #8A6D28), teal #0F7F7F, ivory #FBFAF6. Space-separated RGB channels so Tailwind opacity
 * modifiers work (e.g. bg-brand-primary/10). No rebuild needed for changes here. */
:root {
  --brand-primary: 31 46 42;        /* #1F2E2A forest: buttons, headings */
  --brand-primary-dark: 24 36 31;   /* #18241F hover */
  --brand-accent: 12 107 107;        /* #0C6B6B teal: links, badges */
  --brand-accent-dark: 10 85 85;    /* #0A5555 hover */
  --brand-accent-deep: 12 107 107;   /* italic headline accent */
  --brand-cream: 245 240 229;       /* #F5F0E5 soft panels */
  --brand-canvas: 251 250 246;      /* #FBFAF6 page background */
  --brand-ink: 31 46 42;            /* #1F2E2A body text */
  --brand-rule: 229 221 201;        /* #E5DDC9 hairlines */

  /* One sans for headlines since 2026-11-08, as on theracrm.pro's editorial layer (was Cormorant Garamond). */
  --font-display: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', system-ui, sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', system-ui, sans-serif;
  --radius-brand: 1rem;

  --display-weight: 500;
  --headline-weight: 500;
  --display-tracking: -0.03em;
  --headline-tracking: -0.035em;

  /* Buttons: pill, spaced capitals */
  --button-radius: 8px;            /* solid, 8px, sentence case, as on theracrm.pro since 2026-11-08 */
  --button-size: 0.875rem;
  --button-weight: 600;
  --button-tracking: 0.01em;
  --button-case: none;
  --button-ink: 251 250 246;

  /* Labels: small spaced gold capitals */
  --eyebrow-size: 0.6875rem;
  --eyebrow-tracking: 0.2em;
  --eyebrow-ink: 12 107 107;
  --eyebrow-dot: 15 127 127;        /* #0F7F7F */
  --eyebrow-dot-display: none;

  --card-shadow: 0 2px 10px rgb(31 46 42 / 0.06);

  /* Header: cream over the page, hairline */
  --header-bg: 251 250 246;
  --header-bg-alpha: 0.92;
  --header-blur: 16px;
  --header-rule: 229 221 201;

  /* Footer: forest, light text (brand.php footer.tone = 'dark') */
  --footer-bg: 20 32 25;            /* #142019 deep ink, as theracrm.pro's footer since 2026-11-08 */
  --footer-ink: 229 221 201;
  --footer-rule: 46 68 56;
  --footer-heading-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --footer-heading-size: 0.75rem;
  --footer-heading-weight: 700;
  --footer-heading-case: uppercase;
  --footer-heading-tracking: 0.12em;
  --footer-heading-ink: 143 211 207;   /* #8FD3CF */
  --footer-link-hover: 143 211 207;
  --footer-muted: 168 182 172;
  --footer-divider: 46 68 56;          /* #2E4438 */
  --footer-chip: 46 68 56;
}

/* Phone menu open (config/partials/nav.php): stop the page scrolling behind the drawer. */
.ada-nav-locked { overflow: hidden; }

/* Page scrollbar: the same 8px bar as theracrm.pro (its app.css). With the browser's default
   (about 15px) the centred layout sat a few pixels left of the main site's on any browser that
   always shows scrollbars, so the header looked like it shifted between the two (2026-11-07). */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F5F0E5; }
::-webkit-scrollbar-thumb { background: #CFC3AF; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #0F7F7F; }

/* ── Editorial layer (2026-11-08), matching theracrm.pro's site.css: one sans for headlines with the
   accent in gold (no italic), plain teal labels instead of pills, and the course catalog opening on a
   photo band in deep ink. Colors stay Aday's medical-dental teal. ── */
.headline em, .headline-accent { font-style: normal; }
.eyebrow-pill { padding: 0; border: 0; background: none; border-radius: 0; }
.lc-ed-hero { position: relative; overflow: hidden; background: #142019; color: #FBFAF6; }
.lc-ed-hero__photo { position: absolute; inset: 0 0 0 auto; width: min(60%, 940px); height: 100%; object-fit: cover; }
.lc-ed-hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #142019 36%, rgb(20 32 25 / 0.6) 66%, rgb(20 32 25 / 0.35) 100%), linear-gradient(0deg, rgb(20 32 25 / 0.6) 0%, transparent 40%); }
@media (max-width: 1023px) { .lc-ed-hero__photo { width: 100%; opacity: .35; } .lc-ed-hero__shade { background: linear-gradient(0deg, #142019 0%, rgb(20 32 25 / 0.7) 100%); } }
.lc-ed-hero h1 { color: #FBFAF6; }
.lc-ed-hero h1 em, .lc-ed-hero .headline-accent { color: #8FD3CF; }
.lc-ed-hero p { color: #D3D9D4; }
.lc-ed-kicker { font-size: 13px; font-weight: 600; color: #8FD3CF !important; }
