/*
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.0.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; }

/* 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;
}
