/* ========= Meaningful Lives — Brand Variables ========= */
:root{
  --ml-deep-green:#2C5F2D;
  --ml-soft-sage:#97BC62;
  --ml-golden-amber:#FFBA49;
  --ml-rust-red:#D64933;
  --ml-blue-teal:#2E86AB;
  --ml-light-gray:#F5F5F5;
  --ml-white:#FFFFFF;

  --ml-body-font:"Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ml-headings-font:"Playfair Display", serif;
  --ml-subhead-font:"Lato", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ========= Typography ========= */
body{
  font-family:var(--ml-body-font);
  line-height:1.5;
  color:#222;
  background:var(--ml-white);
}

h1,h2{ font-family:var(--ml-headings-font); }
h3,h4{ font-family:var(--ml-subhead-font); }

h1{ font-size:clamp(32px,4vw,42px); font-weight:700; color:var(--ml-deep-green); }
h2{ font-size:clamp(26px,3vw,32px); font-weight:600; color:var(--ml-deep-green); }
h3{ font-size:clamp(20px,2.2vw,24px); font-weight:500; color:#1a1a1a; }
h4{ font-size:clamp(18px,2vw,20px); font-weight:500; font-style:italic; color:#333; }

/* ========= Links ========= */
a, .entry-content a, .ast-single-post .entry-content a{
  color:var(--ml-blue-teal);
  text-decoration-thickness: 1px;
  text-underline-offset:3px;
}
a:hover, a:focus{
  color:var(--ml-deep-green);
}

/* ========= Buttons (Astra + Gutenberg) ========= */
.wp-element-button, .wp-block-button__link,
button, .button, .ast-button, .ast-custom-button{
  background:var(--ml-golden-amber);
  color:#000;
  border:none;
  border-radius:6px;
  padding:.7em 1.1em;
  font-weight:600;
}
.wp-element-button:hover, .wp-block-button__link:hover,
button:hover, .button:hover, .ast-button:hover, .ast-custom-button:hover{
  background:var(--ml-deep-green);
  color:#fff;
}

/* Secondary button option (Sage base) – add class "is-style-secondary" in Gutenberg */
.is-style-secondary .wp-block-button__link{
  background:var(--ml-soft-sage);
  color:#0b2a0f;
}
.is-style-secondary .wp-block-button__link:hover{
  background:var(--ml-deep-green);
  color:#fff;
}

/* ========= Section helpers ========= */
.section--calm{ background:var(--ml-soft-sage); }
.section--light{ background:var(--ml-light-gray); }
.section--white{ background:var(--ml-white); }

/* Dividers / Emphasis in Rust Red */
hr, .wp-block-separator{
  border:none;
  height:2px;
  background:var(--ml-rust-red);
  width:80px;
  margin:1.5rem 0;
}

/* Callouts (use Group block with class "ml-callout") */
.ml-callout{
  background:var(--ml-light-gray);
  border-left:5px solid var(--ml-deep-green);
  padding:1rem 1.25rem;
  border-radius:6px;
}

/* ========= Gutenberg tweaks ========= */
.wp-block-pullquote{ border-color:var(--ml-deep-green); color:#111; }
.wp-block-pullquote cite{ color:var(--ml-blue-teal); }

/* List checkmarks (optional) */
.ml-checklist li{
  list-style:none;
  position:relative;
  padding-left:1.5em;
}
.ml-checklist li::before{
  content:"✔";
  position:absolute; left:0; top:0;
  color:var(--ml-deep-green);
}

/* ========= Accessibility ========= */
:focus-visible{ outline:3px solid var(--ml-blue-teal); outline-offset:2px; }
