/*
Theme Name: GeneratePress Child — Anabolic Health
Theme URI: https://www.anabolichealth.com
Description: AH www rebuild child theme. Branding matches the AH Mini Site
             ("Her Words v2" design system) per Alex 2026-07-12.
Template: generatepress
Version: 1.4.0
*/

/* ---- AH Mini Site brand tokens (source: promo mini-site theme) ---- */
:root {
  --cream: #F4EFE7;
  --cream-deep: #EBE3D6;
  --purple: #6B2A5F;
  --purple-deep: #52204A;
  --magenta: #810580;
  --ink: #2A2520;
  --ink-muted: #6B6259;
  --line: #E0D6C7;
  --gold: #D89A12;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .site-branding .main-title {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.25;
}

a { color: var(--purple); }
a:hover, a:focus { color: var(--purple-deep); }

.entry-content a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.entry-content a:hover { text-decoration-color: var(--purple); }

/* content width & bands */
.site-content { background: var(--cream); }
article .inside-article { background: transparent; }
.separate-containers .inside-article { background: transparent; }

hr, .wp-block-separator {
  border: 0; border-top: 1px solid var(--line);
  margin: 2.2em auto; max-width: 640px;
}

/* buttons */
button, .button, input[type="submit"],
.wp-block-button__link {
  background: var(--purple);
  color: var(--cream);
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
}
button:hover, .button:hover, input[type="submit"]:hover,
.wp-block-button__link:hover {
  background: var(--purple-deep);
  color: #fff;
}

/* callouts (converted Thrive content boxes) */
.ah-callout {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  border-radius: 8px;
  padding: 1.1em 1.4em;
  margin: 1.6em 0;
}
.ah-callout > :first-child { margin-top: 0; }
.ah-callout > :last-child { margin-bottom: 0; }

/* images & captions */
.entry-content img { max-width: 100%; height: auto; border-radius: 8px; }
figcaption, .wp-element-caption {
  color: var(--ink-muted); font-size: 0.88em; text-align: center;
}

/* tables */
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td {
  border: 1px solid var(--line); padding: 0.55em 0.8em;
}
.entry-content th { background: var(--cream-deep); font-weight: 600; }

/* product boxes (converted Thrive "Product Box" templates; Stage-3.5 swaps
   these to AH product CTAs). Card look, NOT the quote-style callout. */
.ah-product-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4em 1.6em;
  margin: 1.8em 0;
  box-shadow: 0 1px 4px rgba(42, 37, 32, 0.06);
  text-align: center;
}
.ah-product-box .ah-product-title {
  font-family: var(--font-display);
  font-size: 1.25em;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 0.35em;
}
/* Shop buttons — mini-site purple pill. Must outrank BOTH the .entry-content
   link styles AND GP's dynamic-CSS default
   `a.wp-block-button__link:not(.has-background)` (0,2,1 — regenerates on any
   GP settings save), hence the a element + :not() in our selector too. */
.entry-content a.wp-block-button__link:not(.has-background),
.entry-content .wp-block-button__link,
.entry-content .ah-product-box .wp-block-button__link {
  display: inline-block;
  background: var(--purple);
  color: var(--cream);
  text-decoration: none;
  border-radius: 8px;
  padding: 0.7em 1.6em;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0.4em;
  transition: background 0.15s ease;
}
.entry-content a.wp-block-button__link:not(.has-background):hover,
.entry-content a.wp-block-button__link:not(.has-background):focus,
.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus,
.entry-content .ah-product-box .wp-block-button__link:hover {
  background: var(--purple-deep);
  color: #fff;
  text-decoration: none;
}
.ah-product-box img {
  max-height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.8em;
}
.ah-product-box > :first-child { margin-top: 0; }
.ah-product-box > :last-child { margin-bottom: 0; }

/* normalize product/roundup imagery: uniform heights, never huge on mobile */
.entry-content table img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .entry-content img { max-height: 70vh; }
  .entry-content table img { max-height: 110px; }
  .ah-product-box img { max-height: 160px; }
}

/* readability: ONE consistent column for everything in the article —
   title, meta, content, tags footer, prev/next navigation */
body { font-size: 18px; }
.inside-article,
.post-navigation,
.paging-navigation,
nav.post-navigation {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.entry-content > p { margin-bottom: 1.25em; }
.entry-content ul, .entry-content ol {
  padding-left: 1.5em;
  margin-left: 0;
}

/* video embeds: full column width, 16:9 */
.entry-content iframe { max-width: 100%; }
.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="youtu.be"],
.entry-content iframe[src*="vimeo"] {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* Quick Answer box (F4-added quick-answer sections; mini-site look,
   sibling of the quote style Alex likes) */
.ah-quick-answer {
  background: var(--cream-deep);
  border-left: 4px solid var(--magenta);
  border-radius: 0 8px 8px 0;
  padding: 1.15em 1.4em;
  margin: 1.8em 0;
}
.ah-quick-answer .ah-qa-label {
  font-family: var(--font-display);
  color: var(--purple);
  font-weight: 700;
  font-size: 0.82em;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5em;
}
.ah-quick-answer > p:last-child { margin-bottom: 0; }

/* stars / rating accents (mini-site convention) */
.stars { color: var(--gold); letter-spacing: 2px; }

/* muted secondary text */
.entry-meta, .posted-on, .byline, .cat-links, .tags-links {
  color: var(--ink-muted);
}

blockquote {
  border-left: 4px solid var(--magenta);
  background: var(--cream-deep);
  padding: 0.8em 1.2em;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* ---- homepage (v1.4.0) ---- */
.home .ah-home-hero {
  text-align: center;
  padding: 3.5em 1em 2.5em;
}
.home .ah-home-hero h1 { font-size: 2.6em; margin-bottom: 0.4em; }
.ah-home-sub {
  color: var(--ink-muted);
  font-size: 1.1em;
  max-width: 620px;
  margin: 0 auto 1.5em;
}
.ah-home-band { padding: 2.2em 0; border-top: 1px solid var(--line); }
.ah-home-band h2 { margin-bottom: 1em; }
.ah-topic-pill {
  display: inline-block;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  color: var(--purple);
  border-radius: 999px;
  padding: 0.4em 1.1em;
  margin: 0.25em 0.15em;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
}
.ah-topic-pill:hover {
  background: var(--purple);
  color: var(--cream);
  border-color: var(--purple);
}
.wp-block-latest-posts.is-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1em;
}
.wp-block-latest-posts.is-grid li > a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05em;
  text-decoration: none;
}
.wp-block-latest-posts__featured-image img { border-radius: 8px; width: 100%; height: 160px; object-fit: cover; }
.wp-block-latest-posts__post-date { color: var(--ink-muted); font-size: 0.85em; }
/* outline button variant (homepage secondary CTA) */
.entry-content .is-style-outline a.wp-block-button__link:not(.has-background),
.entry-content .is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.entry-content .is-style-outline a.wp-block-button__link:not(.has-background):hover,
.entry-content .is-style-outline .wp-block-button__link:hover {
  background: var(--purple);
  color: var(--cream);
}
/* homepage uses the same single column shell but wider bands read fine */
.home .entry-header { display: none; } /* H1 lives in the hero, not GP's title */

/* ---- footer ---- */
.site-footer { background: var(--cream-deep); border-top: 1px solid var(--line); }
.footer-widgets { background: transparent; padding: 2.5em 0 1.5em; }
.footer-widgets h4 { font-size: 1.05em; margin-bottom: 0.7em; }
.footer-widgets ul { list-style: none; margin-left: 0; }
.footer-widgets li { margin-bottom: 0.35em; }
.footer-widgets a { text-decoration: none; }
.ah-footer-note { color: var(--ink-muted); font-size: 0.8em; margin-top: 1em; }
.site-info { background: var(--cream-deep); color: var(--ink-muted); font-size: 0.85em; }

/* GP core hides `.posted-on .updated` (it expects a second, duplicate
   published <time>). Our date filter emits ONE combined time element that
   carries the updated class — unhide it. */
.posted-on time.updated { display: inline; }

/* ---- nav: seamless with the AH Mini Site header (Alex 2026-07-12) ---- */
/* announcement top bar — purple band, cream uppercase microcopy */
.top-bar {
  background: var(--purple);
  color: var(--cream);
  padding: 0.45em 1em;
}
.top-bar .ah-topbar-msg {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.top-bar a { color: var(--cream); }

/* header: cream, hairline bottom border like the mini-site */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

/* menu links: small caps Inter, letter-spaced, ink -> purple hover */
.main-navigation .main-nav ul li a {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--ink);
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a {
  color: var(--purple);
  background: transparent;
}
.main-navigation .main-nav ul li:hover > a { background: transparent; }

/* dropdowns: cream card, line border, sentence-size still small caps */
.main-navigation ul ul {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(42, 37, 32, 0.08);
}
.main-navigation ul ul li a { font-size: 11.5px; }

/* "Shop Bestsellers" — outline pill CTA, same as the mini-site header */
.main-navigation .main-nav ul li.ah-nav-cta > a {
  border: 1.5px solid var(--purple);
  border-radius: 999px;
  color: var(--purple);
  padding-top: 8px;
  padding-bottom: 8px;
  margin: 14px 6px 0 10px;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-navigation .main-nav ul li.ah-nav-cta > a:hover {
  background: var(--purple);
  color: var(--cream);
}
@media (max-width: 768px) {
  .main-navigation .main-nav ul li.ah-nav-cta > a { margin: 0; border: 0; }
  .top-bar .ah-topbar-msg { font-size: 10px; letter-spacing: 0.6px; }
}
/* GP floats top-bar widgets right; the mini-site announcement is centered */
.top-bar .widget { float: none; width: 100%; text-align: center; }
.inside-top-bar { display: block; }

/* ---- hero v2: mini-site converting angle (text left, video right) ---- */
.ah-hero-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
  align-items: center;
  padding: 3em 0 3.5em;
}
.ah-hero-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.8em;
}
.ah-hero-kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1.5px;
  background: var(--magenta);
  vertical-align: middle;
  margin-right: 10px;
}
.ah-hero-v2 h1 {
  font-size: 2.7em;
  line-height: 1.15;
  margin-bottom: 0.45em;
}
.ah-hero-v2 h1 em { color: var(--purple); }
.ah-hero-quote {
  color: var(--ink-muted);
  font-size: 1.06em;
  margin-bottom: 1em;
}
.ah-hero-stars { font-size: 0.92em; color: var(--ink); margin-bottom: 1.3em; }
.ah-hero-ctas { display: flex; gap: 0.8em; flex-wrap: wrap; margin-bottom: 1.2em; }
.entry-content a.ah-hero-btn,
.entry-content a.ah-hero-btn-outline {
  display: inline-block;
  border-radius: 999px;
  padding: 0.85em 1.8em;
  font-weight: 700;
  font-size: 0.82em;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}
.entry-content a.ah-hero-btn { background: var(--purple); color: #fff; }
.entry-content a.ah-hero-btn:hover { background: var(--purple-deep); color: #fff; }
.entry-content a.ah-hero-btn-outline {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--purple);
}
.entry-content a.ah-hero-btn-outline:hover { background: var(--purple); color: var(--cream); }
.ah-hero-trust {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0;
}
.ah-hero-media video {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
@media (max-width: 860px) {
  .ah-hero-v2 { grid-template-columns: 1fr; gap: 1.6em; padding-top: 1.6em; }
  .ah-hero-v2 h1 { font-size: 2em; }
  .ah-hero-media video { min-height: 240px; }
  .ah-hero-media { order: -1; } /* video on top on mobile, like the mini-site */
}
/* homepage: let hero + bands use the full container (posts keep 780px) */
.home .inside-article { max-width: 1080px; }

/* ---- footer v2: mirrors mini-site footer v3 (newsletter + 3 cols + trust) ---- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); }
.footer-widgets { background: transparent; padding: 3.5em 0 0; }
.ah-footer { max-width: 1080px; margin: 0 auto; padding: 0 1em; }
.ah-footer-news { max-width: 560px; margin: 0 auto 3em; text-align: center; }
.ah-footer-news h3 { font-size: 1.7em; margin-bottom: 0.3em; }
.ah-footer-sub { color: var(--ink-muted); font-size: 0.9em; margin-bottom: 1.2em; }
.ah-footer-form { display: flex; gap: 0.7em; max-width: 430px; margin: 0 auto; }
.ah-footer-form input[type="email"] {
  flex: 1;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0.85em 1.3em;
  font-size: 0.9em;
  color: var(--ink);
}
.ah-footer-form input[type="email"]:focus { outline: none; border-color: var(--purple); }
.ah-footer-form button {
  background: var(--purple);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.85em 1.7em;
  font-weight: 700;
  font-size: 0.78em;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
.ah-footer-form button:hover { background: var(--purple-deep); }
.ah-footer-formmsg { font-size: 0.85em; color: var(--purple); margin-top: 0.8em; min-height: 1.2em; }
.ah-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  margin-bottom: 2.5em;
}
.ah-footer-cols h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.9em;
}
.ah-footer-cols ul { list-style: none; margin: 0; padding: 0; }
.ah-footer-cols li { margin: 0; }
.ah-footer-cols a {
  display: block;
  padding: 0.34em 0;
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.92em;
}
.ah-footer-cols a:hover { color: var(--purple); }
.ah-footer-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6em 1.5em;
  border-top: 1px solid var(--line);
  padding-top: 1.4em;
  margin-bottom: 1.4em;
  font-size: 0.78em;
  color: var(--ink-muted);
}
.ah-footer-badge {
  color: var(--purple);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.9em;
}
.ah-footer-fine p {
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  opacity: 0.75;
  margin-bottom: 0.8em;
}
.ah-footer-legal a {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 10.5px;
  margin-right: 1.6em;
  text-decoration: none;
}
.ah-footer-legal a:hover { color: var(--purple); }
.site-info { background: transparent; border-top: 0; padding-bottom: 1.5em; }
.site-info .copyright { display: none; } /* fine print carries the © line */
@media (max-width: 720px) {
  .ah-footer-cols { grid-template-columns: 1fr; gap: 1.4em; }
  .ah-footer-form { flex-direction: column; }
  .ah-footer-trust { flex-direction: column; }
}

/* YouTube facade */
.ah-yt {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  margin: 1.6em 0;
}
.ah-yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; border-radius: 0; }
.ah-yt-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 48px;
  background: var(--purple);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.ah-yt-play::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.ah-yt:hover .ah-yt-play { background: var(--purple-deep); }
iframe.ah-yt-live { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; margin: 1.6em 0; }

/* =====================================================================
   LEGACY FUNNEL PAGES (Alex 2026-07-13: rebuild the old landers close to
   the original rather than drop them, so no ad/email URL 404s and we can
   see which ones still pull traffic on the new site).

   These keep the ORIGINAL 2018-2021 lander look (AH yellow/black), not the
   new mini-site palette — colours sampled from the archived screenshots:
   yellow #FFCB00 · gold band #DBB139 · red CTA #D20001 · orange CTA #F16335
   · lavender disclaimer #E8E6F1 · grey submit #848C8F.
   ===================================================================== */

/* --- chrome-free lander shell (page-lander.php) --- */
body.ah-lander-page { background: #fff; }
.ah-lander { max-width: 100%; margin: 0; padding: 0; }
.ah-lander img { max-width: 100%; height: auto; }
.ah-lgy-wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* --- opt-in form ([ah_optin]) --- */
.ah-optin {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch;
  justify-content: center; margin: 0;
}
.ah-optin input {
  flex: 1 1 200px; min-width: 0; padding: 14px 16px;
  border: 1px solid #d9d9d9; border-radius: 3px;
  font-family: var(--font-body); font-size: 16px; background: #fff; color: #222;
}
.ah-optin button {
  flex: 0 0 auto; padding: 14px 28px; border: 0; border-radius: 3px;
  background: #848C8F; color: #fff; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.ah-optin button:hover { background: #6d7477; }
.ah-optin button[disabled] { opacity: .6; cursor: default; }
.ah-optin-msg { flex: 1 0 100%; margin: 6px 0 0; font-size: 14px; color: #444; text-align: center; }

/* --- advertorial (thai-herb / thailand-blackginger) --- */
.ah-adv { max-width: 760px; margin: 0 auto; padding: 24px 20px 0; }
.ah-adv-label {
  text-align: center; color: #8b8b8b; font-size: 13px;
  letter-spacing: .08em; margin: 0 0 22px;
}
.ah-adv h1 {
  font-family: var(--font-display); font-weight: 700; text-align: center;
  font-size: clamp(28px, 4.4vw, 40px); line-height: 1.22; margin: 0 0 16px; color: #1a1a1a;
}
.ah-adv-sub {
  text-align: center; font-weight: 700; font-size: 17px; line-height: 1.45;
  margin: 0 auto 26px; max-width: 640px; color: #2b2b2b;
}
.ah-adv figure { margin: 0 0 8px; }
.ah-adv figcaption {
  font-size: 13.5px; color: #6a6a6a; text-align: center; padding: 8px 4px 0; line-height: 1.5;
}
.ah-adv-byline { margin: 26px 0 22px; }
.ah-adv-date {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; color: #8b8b8b; display: block; margin-bottom: 4px;
}
.ah-adv-author { font-weight: 700; font-size: 15px; color: #222; }
.ah-adv-body p { font-size: 18px; line-height: 1.62; margin: 0 0 20px; color: #262626; }
.ah-adv-body a { color: #2b4bdd; text-decoration: underline; }
.ah-adv-cta {
  display: block; width: 100%; max-width: 620px; margin: 34px auto 40px;
  background: #F16335; color: #fff !important; text-align: center;
  padding: 18px 24px; border-radius: 6px; text-decoration: none !important;
  font-size: 22px; font-weight: 700;
}
.ah-adv-cta:hover { background: #d95526; }
.ah-adv-disclaimer {
  background: #E8E6F1; margin-top: 30px; padding: 26px 0;
}
.ah-adv-disclaimer p {
  max-width: 860px; margin: 0 auto; padding: 0 20px;
  font-size: 13.5px; line-height: 1.6; color: #3a3a3a;
}
.ah-adv-footer {
  text-align: center; padding: 26px 20px 40px; color: #8b8b8b; font-size: 14px; line-height: 1.9;
}
.ah-adv-footer a { color: #2b4bdd; }

/* --- book lander (free-book family) --- */
.ah-book-hero { background: #DBB139; padding: 40px 20px 0; }
.ah-book-hero-in {
  max-width: 1000px; margin: 0 auto; display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%); gap: 34px; align-items: center;
}
.ah-book-cover { margin: 0; }
.ah-book-cover img { display: block; width: 100%; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.ah-book-logo { max-width: 190px; margin: 0 0 18px; }
.ah-book-hero h1 {
  font-family: var(--font-body); font-weight: 700; color: #1b1b1b;
  font-size: clamp(24px, 3.2vw, 32px); line-height: 1.25; margin: 0 0 14px;
}
.ah-book-lede { font-size: 16px; line-height: 1.5; color: #2a2a2a; margin: 0 0 16px; }
.ah-book-bullets { list-style: none; margin: 0 0 22px; padding: 0; }
.ah-book-bullets li {
  position: relative; padding-left: 22px; margin-bottom: 9px;
  font-size: 15.5px; line-height: 1.45; color: #1f1f1f;
}
.ah-book-bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: #D20001;
}
.ah-book-cta {
  display: inline-block; background: #D20001; color: #fff !important;
  padding: 15px 30px; border-radius: 4px; font-weight: 700; font-size: 17px;
  text-decoration: none !important; box-shadow: 0 6px 16px rgba(210,0,1,.28);
}
.ah-book-cta:hover { background: #b30001; }
.ah-book-offer { background: #FECB34; padding: 18px 20px; text-align: center; }
.ah-book-offer p { margin: 0; font-size: 15px; font-weight: 600; color: #1b1b1b; }
.ah-book-offer s { color: #6b5b1f; }
.ah-book-proof {
  background: #1b1b1b; color: #fff; padding: 16px 20px;
  display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; align-items: center;
}
.ah-book-rating { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.ah-book-rating b { font-size: 20px; }
.ah-book-stars { color: #FECB34; letter-spacing: 2px; font-size: 17px; }
.ah-book-section { max-width: 800px; margin: 0 auto; padding: 46px 20px; }
.ah-book-section h2 {
  font-family: var(--font-body); text-align: center; font-weight: 700;
  font-size: clamp(22px, 3vw, 28px); line-height: 1.3; margin: 0 0 18px; color: #1b1b1b;
}
.ah-book-section .accent { color: #E0A800; }
.ah-book-section p { font-size: 17px; line-height: 1.6; color: #2b2b2b; margin: 0 0 16px; }
.ah-book-band { background: #111; color: #fff; padding: 0; }
.ah-book-band img { display: block; width: 100%; }
.ah-book-signup { text-align: center; padding: 44px 20px; background: #fafafa; }
.ah-book-signup h2 { margin: 0 0 8px; font-size: 26px; font-weight: 700; color: #1b1b1b; }
.ah-book-signup .accent { color: #E0A800; }
.ah-testimonials {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px; max-width: 1000px; margin: 0 auto; padding: 10px 20px 44px;
}
.ah-testimonial { background: #FECE00; padding: 22px 20px; border-radius: 3px; }
.ah-testimonial p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; color: #1b1b1b; }
.ah-testimonial cite { font-style: normal; font-weight: 700; font-size: 14px; color: #1b1b1b; }
.ah-fine {
  max-width: 900px; margin: 0 auto; padding: 0 20px 30px;
  font-size: 12px; line-height: 1.6; color: #8a8a8a; text-align: center;
}
.ah-lgy-copyright { text-align: center; padding: 0 20px 36px; font-size: 13px; color: #9a9a9a; }

/* --- lead-magnet box (volume-guide, hormone-imbalances-ebook) --- */
.ah-magnet { margin: 0 0 30px; }
.ah-magnet-box { background: #FFCB00; padding: 34px 30px; }
.ah-magnet-box h2 {
  font-family: var(--font-body); font-weight: 800; color: #141414;
  font-size: clamp(24px, 3.4vw, 33px); line-height: 1.2; margin: 0 0 22px; text-align: center;
}
.ah-magnet-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px; align-items: center;
}
.ah-magnet-bullets { margin: 0; padding-left: 22px; }
.ah-magnet-bullets li { font-size: 17px; line-height: 1.55; margin-bottom: 6px; color: #141414; }
.ah-magnet-art { margin: 0; }
.ah-magnet-form { background: #B6B0A5; padding: 20px; }
.ah-magnet-form .ah-optin-msg { color: #2b2b2b; }

/* --- thank-you / interstitial pages --- */
.ah-thanks { max-width: 720px; margin: 0 auto; padding: 10px 20px 40px; text-align: center; }
.ah-thanks h1, .ah-thanks h2 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.28;
  font-size: clamp(24px, 3.6vw, 33px); margin: 0 0 18px; color: var(--ink);
}
.ah-thanks p { font-size: 17px; line-height: 1.6; margin: 0 0 18px; }
.ah-dl-btn {
  display: inline-block; background: var(--purple); color: #fff !important;
  padding: 16px 34px; border-radius: 999px; font-weight: 700; font-size: 17px;
  text-decoration: none !important; margin: 12px 0 8px;
}
.ah-dl-btn:hover { background: var(--purple-deep); }
.ah-interstitial { max-width: 640px; margin: 0 auto; padding: 40px 20px; text-align: center; }
.ah-interstitial-msg { font-size: 19px; font-weight: 600; }

@media (max-width: 780px) {
  .ah-book-hero-in, .ah-magnet-grid { grid-template-columns: 1fr; }
  .ah-book-hero { padding-top: 28px; }
  .ah-book-cover { max-width: 300px; margin: 0 auto; }
  .ah-optin { flex-direction: column; }
  .ah-optin button { width: 100%; }
}

/* magnet: dark variant (hormone-imbalances-ebook rendered on a black panel) */
.ah-magnet--dark .ah-magnet-box { background: #111; }
.ah-magnet--dark .ah-magnet-box h2 { color: #fff; text-align: left; }
.ah-magnet--dark .ah-magnet-bullets li,
.ah-magnet--dark .ah-magnet-lede { color: #e8e8e8; }
.ah-magnet--dark .ah-magnet-form { background: #1b1b1b; }
.ah-magnet--dark .ah-magnet-form .ah-optin-msg { color: #ddd; }
.ah-magnet--dark .ah-optin button { background: #F3DFA0; color: #2b2b2b; }
.ah-magnet--dark .ah-optin button:hover { background: #e8cf82; }
.ah-magnet-box h2 .accent { color: #F5C400; }
.ah-magnet--dark .ah-magnet-grid { align-items: center; }
.ah-magnet-lede { font-size: 16px; margin: 0 0 14px; color: #222; }
.ah-magnet-art img { display: block; width: 100%; }
.ah-magnet-art { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ah-magnet-art:has(img + img) { grid-template-columns: 1fr 1fr; align-items: center; }

/* advertorial: the page's own disclaimer + Content References block is the
   lavender band on live www — style it in place rather than duplicating it */
.ah-adv .ah-callout {
  background: #E8E6F1; border: 0; border-left: 4px solid var(--purple);
  padding: 22px 24px; margin: 30px 0 0; border-radius: 4px;
}
.ah-adv .ah-callout p { font-size: 13.5px; line-height: 1.6; color: #3a3a3a; }
.ah-adv .ah-callout h2, .ah-adv .ah-callout h3 { font-size: 20px; margin: 14px 0 8px; }
.ah-adv .ah-callout li { font-size: 13.5px; }
.ah-adv figure img { width: 100%; height: auto; display: block; }

/* book lander: hero copy column + body mockup */
.ah-book-hero-copy { min-width: 0; }
.ah-book-hero .ah-optin { justify-content: flex-start; }
.ah-book-mock { margin: 26px 0 0; }
.ah-book-mock img { width: 100%; height: auto; display: block; border-radius: 4px; }
.ah-book-band img { max-height: 520px; object-fit: cover; }
.ah-book-section p:first-child { margin-top: 0; }

/* confirmation-page steps (replaces the original's un-filled {Sender Name} /
   {Your Subject Line} Thrive placeholders — Alex 2026-07-13) */
.ah-step {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--purple);
  border-radius: 4px; padding: 16px 20px; margin: 0 0 14px; text-align: left;
}
.ah-step-label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 6px;
}
.ah-step p { margin: 0; font-size: 16px; line-height: 1.55; }
.ah-thanks-note { font-size: 15px; color: var(--ink-muted); margin-top: 20px; }
