@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap'); /* Fonts: Inter (primary - headings, body, all UI) + Lora (italic quote/editorial accents only). Chosen 2026-05-24. */
/* Thrive Ministries — Component styles (ported from reference design tokens.css).
   Design tokens (var(--*)) come from Bricks global variables; global element
   defaults (body/headings/links/buttons) come from the "Thrive Global" theme style.
   This file holds the named component classes the theme style doesn't cover.
   Grows per-component as the rebuild progresses. */

/* ============================================================
   Root font-size - force 1rem = 16px
   ============================================================ */
/* Bricks' frontend-layer.css defaults to html{font-size:62.5%} (1rem=10px), and the
   Bricks Style Manager 'HTML font-size' setting does NOT persist reliably. The whole
   type scale is authored on a 16px root (px / 16 = rem), so pin it here. This file loads
   after frontend-layer, so it wins. DO NOT REMOVE - removing it makes all rem ~1.6x too small. */
html { font-size: 100%; overscroll-behavior-y: none; } /* font-size: see note above. overscroll-behavior-y: stop the native rubber-band bounce when scrolling past the footer. */

/* ============================================================
   Section vertical rhythm
   ============================================================ */
/* Bricks' "Section" theme-style padding targets .brxe-container.root, which this
   site's sections don't use (their inner wrapper is a div.container utility, not a
   Bricks container), so it never applies. Apply global section padding here instead,
   keyed to --section-py (Bricks global var-92fc27) with a matching fallback. Heroes
   and any band needing bespoke spacing override padding-block in their own rules. */
.brxe-section { padding-block: var(--section-py, clamp(72px, 9vw, 160px)); }

/* ============================================================
   Header / Navigation
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-m) 0;
  background: var(--color-bg); box-shadow: var(--shadow-sm);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.scrolled { background: var(--color-bg); box-shadow: var(--shadow-sm); padding: var(--space-m) 0; }
.nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: 0 auto; padding: 0 var(--space-xl);
}
.nav .logo {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-heading);
  font-size: var(--text-small);
  transition: color .3s ease;
  display: inline-flex; align-items: center;
}
.nav.scrolled .logo { color: var(--color-heading); }
.nav .logo-mark {
  display: inline-block; width: 10px; height: 10px; transform: rotate(45deg);
  background: var(--color-gold); margin-right: var(--space-s); vertical-align: middle;
}
.nav .logo-img {
  display: block; width: 168px; height: 56px; flex-shrink: 0;
  background: url('/wp-content/uploads/2024/10/cropped-thrive-GRNministry_logo.png') center / contain no-repeat;
}
.nav-links {
  display: flex; align-items: center; gap: var(--space-xl);
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-heading);
  position: relative;
  padding: var(--space-xs) 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav.scrolled .nav-links a { color: var(--color-heading); }
.nav-links .give-btn {
  background: var(--color-cta); color: #fff !important; padding: var(--space-m) var(--space-l); border-radius: var(--radius); font-size: var(--text-small); font-weight: 500; letter-spacing: 0.02em; line-height: 1; text-transform: none; display: inline-block; min-width: 7.5rem; text-align: center;
}
.nav-links .give-btn:hover { background: var(--color-cta-hover); }
.nav-links .give-btn::after { display: none; }

.dropdown { position: relative; }
.dropdown-caret { margin-left: var(--space-xs); font-size: 1rem; }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: -16px;
  background: #fff; box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  min-width: 260px; padding: 0; overflow: hidden;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
/* Hover bridge: fills the 12px gap between the trigger and the menu (top: calc(100% + 12px))
   so the dropdown stays open while the cursor crosses the gap. Invisible, no layout impact. */
.dropdown::after {
  content: ''; position: absolute; top: 100%; left: -16px;
  width: 280px; height: 16px;
}
.dropdown-menu a {
  display: block; padding: var(--space-s) var(--space-m);
  color: var(--color-heading) !important;
  font-size: var(--text-label); letter-spacing: 0.1em; text-transform: none;
}
.dropdown-menu a:hover { background: var(--color-cta); color: #fff !important; }
.dropdown-menu a::after { display: none; }
.dropdown-divider { height: 1px; background: var(--color-border); margin: var(--space-s) 0; }

.mobile-toggle { display: none; background: none; border: 0; color: var(--color-heading); cursor: pointer; padding: var(--space-xs); }
.nav.scrolled .mobile-toggle { color: var(--color-heading); }
.mobile-close {
  display: none; position: fixed; top: 22px; right: 22px; z-index: 210;
  background: none; border: 0; color: var(--color-heading); cursor: pointer; padding: var(--space-xs);
}
.menu-backdrop {
  position: fixed; inset: 0; background: rgba(26,26,46,0.5);
  opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 150;
}

/* ---- Mobile: off-canvas slide-in from the right (< 960px) ---- */
@media (max-width: 960px) {
  .mobile-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: 0;
    height: 100vh; height: 100dvh;
    width: min(82vw, 360px);
    background: var(--color-bg);
    box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: flex-start; gap: 2px;
    padding: var(--space-4xl) var(--space-l) var(--space-xl);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .32s ease;
    z-index: 200;
  }
  body.menu-open .nav-links { transform: translateX(0); }
  body.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
  body.menu-open .mobile-close { display: block; }
  body.menu-open { overflow: hidden; }
  .nav-links a,
  .nav.scrolled .nav-links a { color: var(--color-heading); width: 100%; font-size: var(--text-small); padding: var(--space-s) 0; }
  .nav-links a::after { display: none; }
  .dropdown { width: 100%; }
  .dropdown::after { display: none; } /* no hover bridge on touch; menu is static here */
  .dropdown-caret { display: none; }
  .dropdown-menu {
    position: static; opacity: 1; transform: none; pointer-events: auto;
    box-shadow: none; border: 0; min-width: 0; padding: 0 0 var(--space-s) var(--space-m); background: transparent;
  }
  .dropdown-menu a { color: var(--color-text-muted) !important; padding: var(--space-s) 0; font-size: var(--text-label); }
  .nav-links .give-btn {
    margin-top: var(--space-m); color: #fff !important; width: auto; padding: var(--space-s) var(--space-l); text-align: center;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-heading); color: #E5E0D8;
  padding: var(--space-3xl) 0 var(--space-l); font-size: var(--text-small);
}
.footer a { color: #E5E0D8; }
.footer a:hover { color: var(--color-gold); }

/* Who We Serve audience row (Decision 4) */
.footer-audience {
  padding-bottom: var(--space-xl); margin-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-audience h5 {
  font-family: var(--font-sans); font-size: var(--text-label); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-gold); margin-bottom: var(--space-m);
}
.footer-audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-m) var(--space-xl);
}
.footer-audience-grid a { font-family: var(--font-sans); font-size: var(--text-small); color: #E5E0D8; opacity: 0.9; }
.footer-audience-grid a:hover { color: var(--color-gold); opacity: 1; }

.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: var(--space-2xl);
}
.footer h5 {
  font-family: var(--font-sans); font-size: var(--text-label); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-gold); margin-bottom: var(--space-m);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-s); }
.footer .footer-logo { display: inline-flex; align-items: center; }
.footer .footer-logo .logo-img {
  display: block; width: 52px; height: 52px;
  background: var(--site-logo) left center / contain no-repeat;
}
.footer .tagline { font-family: var(--font-serif); font-style: italic; color: #E5E0D8; opacity: 0.85; margin-top: var(--space-m); }
.footer .footer-blurb { margin-top: var(--space-m); font-size: var(--text-small); line-height: 1.7; color: rgba(229,224,216,0.75); }
.footer address { font-style: normal; line-height: 1.7; }
.footer-bottom {
  margin-top: var(--space-3xl); padding-top: var(--space-l);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-m);
  font-size: var(--text-label); color: rgba(229,224,216,0.6);
  font-family: var(--font-sans);
}
.footer-news {
  display: flex; gap: 0; border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius); overflow: hidden; margin-top: var(--space-s);
}
.footer-news input {
  flex: 1; background: transparent; border: 0; padding: var(--space-s) var(--space-m); color: #fff;
  font-family: var(--font-sans); font-size: var(--text-small); outline: none;
}
.footer-news input::placeholder { color: rgba(255,255,255,0.4); }
.footer-news button {
  background: var(--color-cta); color: #fff; border: 0; padding: 0 var(--space-m);
  font-family: var(--font-sans); font-weight: 500; font-size: var(--text-label); letter-spacing: 0.1em;
  text-transform: uppercase; cursor: pointer;
}
.footer-news button:hover { background: var(--color-cta-hover); }
.social-row { display: flex; gap: var(--space-m); margin-top: var(--space-m); }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  color: inherit;
}
.social-row a:hover { color: var(--color-cta); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-audience-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-audience-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Base utilities (ported from reference tokens.css)
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-xl); }
@media (max-width: 768px) { .container { padding: 0 var(--space-m); } }
.eyebrow {
  font-family: var(--font-sans); font-size: var(--text-label); font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-gold); display: inline-block;
}

/* ============================================================
   Single post / article template
   ============================================================ */
.post-hero {
  background: var(--color-heading); color: #fff; text-align: center;
  padding: 175px var(--space-m) var(--space-3xl);
}
.post-hero .eyebrow { color: var(--color-gold-light); margin-bottom: var(--space-m); }
.post-hero h1 { color: #fff; max-width: 820px; margin: 0 auto; }
.post-meta-line {
  font-family: var(--font-sans); font-size: var(--text-label); letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post-hero .post-meta-line { color: rgba(255,255,255,0.78); margin-top: var(--space-m); }
.post-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--space-m); }
.post-figure-wrap { padding: var(--space-2xl) 0 0; }
.post-figure {
  max-width: 920px; margin: 0 auto; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.post-figure img { width: 100%; height: auto; display: block; }
.post-body { padding: var(--space-3xl) 0; }
.post-author-sec { padding: var(--space-2xl) 0; background: var(--color-bg-alt); }
.post-related { padding: var(--space-3xl) 0; }
.post-related .section-title { text-align: center; margin-bottom: var(--space-xl); }

/* ============================================================
   Card (ported from reference tokens.css)
   ============================================================ */
.card {
  background: var(--color-surface); border-radius: var(--radius);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .card-img { overflow: hidden; aspect-ratio: 4/3; background: var(--color-bg-alt); display: block; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: var(--space-l); display: flex; flex-direction: column; gap: var(--space-s); flex: 1; }
.card-body .eyebrow { margin-bottom: 0; }
.card-meta { font-family: var(--font-sans); font-size: var(--text-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); }
.card-excerpt { font-size: var(--text-small); line-height: 1.65; color: var(--color-text); }
.inline-link {
  font-family: var(--font-sans); font-weight: 500; font-size: var(--text-small); letter-spacing: 0.02em;
  color: var(--color-primary); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: var(--space-xs); margin-top: auto;
}
.inline-link:hover { color: var(--color-primary-hover); }

/* ============================================================
   Blog archive
   ============================================================ */
.blog-archive-hero {
  background: var(--color-heading); color: #fff; text-align: center;
  padding: 175px var(--space-m) var(--space-3xl);
}
.blog-archive-hero h1 { color: #fff; }
.blog-archive-hero .lede {
  color: rgba(255,255,255,0.85); max-width: 600px; margin: var(--space-m) auto 0; font-size: var(--text-body); line-height: 1.6;
}

/* Section vertical rhythm is applied globally near the top of this file via
   .brxe-section { padding-block: var(--section-py) } (the Bricks theme-style
   container padding does NOT apply here — see that rule's note). Edit --section-py
   (Bricks global var-92fc27) to adjust spacing everywhere. Heroes and bespoke bands
   override padding-block in their own rules; .container supplies max-width +
   horizontal padding only. */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr !important; } }
.pagination-wrap { margin-top: var(--space-2xl); display: flex; justify-content: center; }

/* ============================================================
   404 / error page
   ============================================================ */
.error-hero {
  background: var(--color-heading); color: #fff; text-align: center;
  min-height: 72vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: var(--space-5xl) var(--space-m) var(--space-4xl);
}
.error-hero .eyebrow { color: var(--color-gold-light); margin-bottom: var(--space-m); }
.error-hero h1 { color: #fff; }
.error-hero .lede {
  color: rgba(255,255,255,0.85); max-width: 520px; margin: var(--space-s) auto var(--space-xl);
  font-size: var(--text-body); line-height: 1.6;
}
.error-actions { display: flex; gap: var(--space-m); flex-wrap: wrap; justify-content: center; }

/* ===== Phase 4 — Page hero (shared) ===== */
.page-hero {
  min-height: 48vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 180px var(--space-m) var(--space-4xl);
  background: var(--color-heading); background-size: cover; background-position: center;
}
.page-hero .inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--color-gold-light); }
.page-hero .lede { font-size: var(--text-body); color: rgba(255,255,255,0.92); line-height: 1.6; max-width: 640px; margin: var(--space-m) 0 0; text-align: left; }

/* ===== Phase 4 — Contact page ===== */
.ct-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-3xl); align-items: start; }
@media (max-width: 900px) { .ct-grid { grid-template-columns: 1fr !important; gap: var(--space-xl); } }
.ct-form { background: var(--color-surface); border: 1px solid var(--color-border); padding: var(--space-xl); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (max-width: 600px) { .ct-form { padding: var(--space-l) var(--space-l); } }
.ct-form h2 { margin-bottom: var(--space-l); }
.ct-info .info-block { border-left: 3px solid var(--color-gold); padding-left: var(--space-l); margin-bottom: var(--space-l); }
.ct-info .info-block .lbl { font-family: var(--font-sans); font-size: var(--text-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-xs); }
.ct-info .info-block .val { font-family: var(--font-sans); font-weight: 500; font-size: var(--text-body); color: var(--color-heading); }
.ct-info h2 { margin-bottom: var(--space-l); }
.redirect-note { max-width: 820px; margin: var(--space-3xl) auto 0; text-align: center; background: var(--color-primary-light); padding: var(--space-l) var(--space-xl); border-radius: var(--radius); border: 1px solid rgba(11,148,69,0.2); }
.redirect-note p { margin: 0; font-size: var(--text-body); line-height: 1.6; }

/* ===== Phase 4 — Intake / Get Care page ===== */
.confidential { max-width: 760px; margin: 0 auto; background: var(--color-primary-light); border: 1px solid rgba(11,148,69,0.25); padding: var(--space-l) var(--space-l); border-radius: var(--radius); display: flex; gap: var(--space-m); align-items: center; }
.confidential .ic { width: 40px; height: 40px; border-radius: var(--radius); background: var(--color-cta); color: #fff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.confidential p { margin: 0; font-size: var(--text-body); line-height: 1.55; color: var(--color-heading); }
.confidential b { font-family: var(--font-sans); font-weight: 600; }
.form-wrap { max-width: 760px; margin: 0 auto; background: var(--color-surface); border: 1px solid var(--color-border); padding: var(--space-2xl); border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (max-width: 600px) { .form-wrap { padding: var(--space-l) var(--space-m); } }
.next-steps { max-width: 720px; margin: var(--space-3xl) auto 0; text-align: center; }
.next-steps h3 { margin-bottom: var(--space-s); }
.next-steps p { font-size: var(--text-body); color: var(--color-text); }
.alt-contact { max-width: 720px; margin: var(--space-xl) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-m); }
@media (max-width: 600px) { .alt-contact { grid-template-columns: 1fr; } }
.alt-box { background: var(--color-surface); border: 1px solid var(--color-border); padding: var(--space-l); border-radius: var(--radius); text-align: center; }
.alt-box .lbl { font-family: var(--font-sans); font-size: var(--text-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-text-muted); }
.alt-box .val { font-family: var(--font-sans); font-weight: 600; font-size: var(--text-body); color: var(--color-heading); margin-top: var(--space-xs); }

/* ===== Phase 4 — Gravity Forms harmonization ===== */
.gform_wrapper .gform_title { display: none; }
.gform_wrapper .gfield_label { font-family: var(--font-sans); font-size: var(--text-label) !important; font-weight: 400 !important; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-heading); }
.gform_wrapper input[type=text], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=number], .gform_wrapper select, .gform_wrapper textarea { font-family: var(--font-sans) !important; font-size: var(--text-small) !important; padding: var(--space-m) var(--space-m) !important; background: var(--color-surface); border: 1px solid var(--color-border) !important; border-radius: var(--radius); color: var(--color-heading); width: 100%; }
.gform_wrapper input:focus, .gform_wrapper select:focus, .gform_wrapper textarea:focus { border-color: var(--color-primary) !important; box-shadow: 0 0 0 3px var(--color-primary-light); outline: none; }
.gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_footer button { font-family: var(--font-sans); font-weight: 500; font-size: var(--text-small); letter-spacing: 0.02em; padding: var(--space-m) var(--space-l); border-radius: var(--radius); border: 1px solid transparent; background: var(--color-cta); color: #fff; cursor: pointer; transition: background .25s ease; }
.gform_wrapper .gform_footer input[type=submit]:hover, .gform_wrapper .gform_footer button:hover { background: var(--color-cta-hover); }
/* ===== Phase 4.2 review — Gravity Forms spacing + consistency ===== */
.gform_wrapper .gform_fields { row-gap: var(--space-l) !important; }
.gform_wrapper .gfield_label, .gform_wrapper legend.gfield_label { margin-bottom: var(--space-s) !important; display: block; }
.gform_wrapper .ginput_container { margin-top: 0 !important; }
.gform_wrapper .ginput_complex label, .gform_wrapper .gfield_description { margin-top: var(--space-xs); color: var(--color-text-muted); font-family: var(--font-sans); }
.gform_wrapper input[type=text], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=number], .gform_wrapper input[type=url], .gform_wrapper input[type=password], .gform_wrapper select, .gform_wrapper textarea { background: var(--color-surface) !important; }
.gform_wrapper .gfield_radio .gchoice, .gform_wrapper .gfield_checkbox .gchoice { margin-bottom: var(--space-s) !important; display: flex; align-items: center; gap: var(--space-s); }

/* --- Custom checkbox: site-wide default for all Gravity Forms checkboxes (rounded square, brand-green when checked, green hover/focus). Promoted from the Outcome Evaluation form. --- */
.gform_wrapper .gfield-choice-input[type=checkbox] {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 auto; width: 24px; height: 24px; margin: 0; padding: 0;
  border: 2px solid var(--color-border); border-radius: 6px;
  background: var(--color-surface); cursor: pointer; position: relative;
  transition: background .15s ease, border-color .15s ease;
}
.gform_wrapper .gfield-choice-input[type=checkbox]:hover { border-color: var(--color-primary); }
.gform_wrapper .gfield-choice-input[type=checkbox]:checked { background: var(--color-primary); border-color: var(--color-primary); }
.gform_wrapper .gfield-choice-input[type=checkbox]:checked::after {
  content: ""; position: absolute; left: 7px; top: 3px;
  width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.gform_wrapper .gfield-choice-input[type=checkbox]:focus-visible { outline: 3px solid var(--color-primary-light); outline-offset: 2px; }
/* --- Custom radio: site-wide default for all Gravity Forms radios (circle, brand-green when checked with a white center dot, green hover/focus). Mirrors the checkbox treatment. --- */
.gform_wrapper .gfield-choice-input[type=radio] {
  appearance: none; -webkit-appearance: none;
  flex: 0 0 auto; width: 24px; height: 24px; margin: 0; padding: 0;
  border: 2px solid var(--color-border); border-radius: 50%;
  background: var(--color-surface); cursor: pointer; position: relative;
  transition: background .15s ease, border-color .15s ease;
}
.gform_wrapper .gfield-choice-input[type=radio]:hover { border-color: var(--color-primary); }
.gform_wrapper .gfield-choice-input[type=radio]:checked { background: var(--color-primary); border-color: var(--color-primary); }
.gform_wrapper .gfield-choice-input[type=radio]:checked::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  transform: translate(-50%, -50%);
}
.gform_wrapper .gfield-choice-input[type=radio]:focus-visible { outline: 3px solid var(--color-primary-light); outline-offset: 2px; }
/* --- Gravity Forms Styles Pro ("Kiwi") override --- Styles Pro hides the real
   choice input (position:absolute; opacity:0) and draws its own glyph (checkmark /
   cross, light-blue) via the choice label's ::before, which masked the brand
   checkbox/radio above. Restore the real input and suppress the Styles Pro glyph so
   every Gravity Forms checkbox/radio renders the brand style consistently. --- */
.gform_wrapper .ginput_container .gfield-choice-input,
.gform_wrapper .ginput_container_consent input[type=checkbox] {
  position: relative !important;
  opacity: 1 !important;
}
.gform_wrapper .gfield_checkbox .gchoice label::before,
.gform_wrapper .gfield_radio .gchoice label::before,
.gform_wrapper .ginput_container_consent label::before {
  content: none !important;
}
/* Styles Pro's "default" choice ornament (gfsp_default) forces the native control
   (-webkit-appearance:checkbox/radio, width:1em, position:initial), which beats the
   brand control above (e.g. the single E-Mail Sign Up checkbox). Force the brand
   appearance / size / positioning back so it matches every other choice input. */
.gform_wrapper .gfsp_default .gfield-choice-input[type=checkbox],
.gform_wrapper .gfsp_default .gfield-choice-input[type=radio] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 24px !important;
  height: 24px !important;
  position: relative !important;
  vertical-align: middle !important;
}
.gform_wrapper .gform_footer, .gform_wrapper .gform-footer { margin-top: var(--space-m) !important; padding-top: 0 !important; }
.gform_wrapper .gform_required_legend { display: none; }
/* Required-field indicator: a single red asterisk, never the bulky "(Required)" text (forced to asterisk site-wide via thrive-gf-required-asterisk.php) */
.gform_wrapper .gfield_required { color: #d63638 !important; font-style: normal !important; font-weight: 600; display: inline !important; }
/* Ministry Wives Group Sign up (form 15): GF only marks the hidden main label, so surface the red asterisk on the visible First name / Last name sub-labels. */
#field_15_1.gfield_contains_required .name_first > label::after,
#field_15_1.gfield_contains_required .name_last > label::after { content: "*"; color: #d63638; font-weight: 600; margin-left: 3px; }
/* ===== Phase 4.3 — Button family (ported from reference tokens for HTML-block CTAs) ===== */
.btn { display: inline-flex; align-items: center; gap: var(--space-s); font-family: var(--font-sans); font-weight: 500; font-size: var(--text-small); letter-spacing: 0.02em; padding: var(--space-m) var(--space-l); border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .1s ease; text-decoration: none; line-height: 1; white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--color-cta); color: #fff; }
.btn-primary:hover { background: var(--color-cta-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-heading); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-heading); color: #fff; border-color: var(--color-heading); }
.btn-invert { background: #fff; color: var(--color-primary); }
.btn-invert:hover { background: var(--color-heading); color: #fff; }

/* Phase 4.3 narrative — migrated to Bricks global class .narrative (single source); caption styling moved onto its element */
.pull-quote { font-family: var(--font-serif); font-style: italic; font-size: var(--text-quote); line-height: 1.45; color: var(--color-gold); border-top: 1px solid var(--color-gold); border-bottom: 1px solid var(--color-gold); padding: var(--space-xl) 0; margin: var(--space-2xl) auto; text-align: center; max-width: 640px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: start; }
@media (max-width: 900px) { .mv-grid { grid-template-columns: 1fr !important; gap: var(--space-xl); } }
.mv-item { border-left: 3px solid var(--color-gold); padding-left: var(--space-l); margin-bottom: var(--space-xl); }
.mv-item h3 { font-size: var(--text-body); margin-bottom: var(--space-s); }
.mv-item p { font-size: var(--text-body); line-height: 1.65; color: var(--color-text); margin: 0; }
.values-stack { display: flex; flex-direction: column; gap: var(--space-m); }
.value-card { background: var(--color-surface); border: 1px solid var(--color-border); padding: var(--space-m) var(--space-l); border-radius: var(--radius); display: flex; gap: var(--space-m); align-items: flex-start; transition: transform .3s ease, box-shadow .3s ease; }
.value-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.value-card .ic { width: 38px; height: 38px; flex-shrink: 0; background: var(--color-primary-light); color: var(--color-primary); display: flex; align-items: center; justify-content: center; border-radius: var(--radius); font-family: var(--font-sans); font-weight: 700; font-size: var(--text-small); }
.value-card h4 { font-size: var(--text-body); margin: 0 0 var(--space-xs); }
.value-card p { font-size: var(--text-small); line-height: 1.55; margin: 0; color: var(--color-text-muted); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--space-2xl); }
.crosslink-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-l); }
@media (max-width: 700px) { .crosslink-grid { grid-template-columns: 1fr !important; } }
.crosslink-card { display:block; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-l); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.crosslink-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.crosslink-card h4 { margin: 0 0 var(--space-xs); }
.crosslink-card span { font-family: var(--font-sans); font-size: var(--text-label); letter-spacing: 0.02em; color: var(--color-primary); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--space-xl) var(--space-xl); }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { display: flex; flex-direction: column; gap: var(--space-xs); }
.team-card .t-img { overflow: hidden; aspect-ratio: 4/5; border-radius: var(--radius); background: var(--color-bg-alt); }
.team-card .t-img img { width:100%; height:100%; object-fit: cover; transition: transform .8s ease; }
.team-card:hover .t-img img { transform: scale(1.04); }
.team-card h4 { font-size: var(--text-body); margin: var(--space-s) 0 0; }
.team-card .role { font-family: var(--font-sans); font-size: var(--text-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-gold); margin: var(--space-xs) 0 var(--space-s); }
.team-card p { font-size: var(--text-small); line-height: 1.6; color: var(--color-text); margin: 0; }
.join-section { background: var(--color-gold-light); text-align: center; }
.join-section h2 { margin-bottom: var(--space-m); }
.join-section p { max-width: 580px; margin: 0 auto var(--space-l); font-size: var(--text-body); }
.qa-block { max-width: 760px; margin: 0 auto var(--space-2xl); }
.qa-block .q { font-family: var(--font-sans); font-weight: 600; font-size: var(--text-body); color: var(--color-heading); margin-bottom: var(--space-m); }
.qa-block .a { font-size: var(--text-body); line-height: 1.8; margin: 0; }
.nl-list { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-m); }
@media (max-width: 640px) { .nl-list { grid-template-columns: 1fr; } }
.nl-item { display: flex; align-items: center; gap: var(--space-m); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-m) var(--space-l); transition: border-color .25s, box-shadow .25s, transform .25s; }
.nl-item:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.nl-item .ic { color: var(--color-primary); flex-shrink: 0; display:flex; }
.nl-item .nl-season { font-family: var(--font-sans); font-weight: 500; color: var(--color-heading); display:block; }
.nl-item .nl-badge { font-family: var(--font-sans); font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-gold); }
/* ===== Phase 4.3 — Stories / testimonial grid ===== */
.stories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-l); align-items: start; }
@media (max-width: 760px) { .stories-grid { grid-template-columns: 1fr; } }
.test-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-xl); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: var(--space-m); }
.test-card .svc-badge { align-self: flex-start; font-family: var(--font-sans); font-size: var(--text-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-primary); background: var(--color-primary-light); padding: var(--space-xs) var(--space-s); border-radius: 999px; }
.test-card .qmark { font-family: var(--font-serif); font-weight: 700; font-size: 3.25rem; line-height: 0.5; color: var(--color-gold); height: 22px; }
.test-card .quote { font-family: var(--font-serif); font-size: var(--text-body); line-height: 1.7; color: var(--color-text); flex: 1; }
.test-card .quote p { margin: 0; }
.test-card .attrib { display: flex; align-items: center; gap: var(--space-m); border-top: 1px solid var(--color-border); padding-top: var(--space-m); }
.test-card .attrib img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.test-card .attrib .who { font-family: var(--font-sans); font-weight: 600; font-size: var(--text-small); color: var(--color-heading); }
.test-card .attrib .role { font-family: var(--font-sans); font-size: var(--text-label); color: var(--color-text-muted); }
/* ===== Phase 4.4 — Service detail pages ===== */
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-l); align-items: stretch; }
@media (max-width: 900px) { .format-grid { grid-template-columns: 1fr !important; } }
.format-card { background: var(--color-surface); border: 1px solid var(--color-border); padding: var(--space-xl) var(--space-l); border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease; display:flex; flex-direction:column; }
.format-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.format-card .ic { width: 46px; height: 46px; border-radius: var(--radius); background: var(--color-primary-light); color: var(--color-primary); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-m); font-weight:700; font-family:var(--font-sans); font-size: var(--text-body); }
.format-card h4 { font-size: var(--text-body); margin-bottom: var(--space-s); }
.format-card p { font-size: var(--text-small); line-height: 1.6; margin-bottom: var(--space-m); color: var(--color-text); }
.format-card .detail { font-family: var(--font-sans); font-size: var(--text-label); color: var(--color-text-muted); margin: 3px 0; }
.cta-band { background: var(--color-cta); }
.cta-band .inner-c { text-align:center; max-width:640px; margin:0 auto; }
.cta-band .eyebrow { color: var(--color-gold-light); }
.cta-band h2 { color: #fff; margin-bottom: var(--space-m); }
.cta-band p { color: rgba(255,255,255,0.92); margin:0 auto var(--space-l); font-size: var(--text-body); }
.care-areas { display:flex; flex-wrap:wrap; gap:var(--space-s); justify-content:center; max-width:780px; margin:0 auto; }
.care-areas .chip { font-family:var(--font-sans); font-size: var(--text-small); background:var(--color-surface); border:1px solid var(--color-border); border-radius:999px; padding:var(--space-s) var(--space-m); color:var(--color-heading); }
.topic-cols { display:grid; grid-template-columns:1fr 1fr; gap:var(--space-xl); max-width:900px; margin:0 auto; }
@media(max-width:700px){ .topic-cols{ grid-template-columns:1fr !important; } }
.topic-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:var(--space-s); }
.topic-list li { padding-left:var(--space-l); position:relative; font-size: var(--text-body); line-height:1.5; }
.topic-list li::before { content:'✦'; position:absolute; left:0; color:var(--color-gold); }
.svc-hub-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-l); }
@media(max-width:900px){ .svc-hub-grid{ grid-template-columns:1fr 1fr !important; } }
@media(max-width:600px){ .svc-hub-grid{ grid-template-columns:1fr !important; } }
.svc-card { display:block; background:var(--color-surface); border:1px solid var(--color-border); border-radius:var(--radius); padding:var(--space-l); box-shadow:var(--shadow-sm); transition:transform .3s ease, box-shadow .3s ease; }
.svc-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.svc-card .num { font-family:var(--font-sans); font-size: var(--text-label); letter-spacing:0.15em; color:var(--color-gold); }
.svc-card h4 { margin:var(--space-s) 0 var(--space-s); }
.svc-card p { font-size: var(--text-small); line-height:1.6; color:var(--color-text-muted); margin:0 0 var(--space-m); }
/* Phase 4 — loop grid responsive collapse (base columns set via Bricks _gridTemplateColumns at element level) */
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { .team-grid, .nl-list, .stories-grid { grid-template-columns: 1fr !important; } }

/* ===== Phase 4.5 — Guided Prayers + Triads ===== */
.prayer-narrow { max-width: 800px; margin: 0 auto; }
.prayer-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-xl); margin-bottom: var(--space-l); box-shadow: var(--shadow-sm); }
.prayer-card h3 { margin-bottom: var(--space-s); }
.prayer-card .desc { font-family: var(--font-serif); font-size: var(--text-body); line-height: 1.7; color: var(--color-text); font-style: italic; margin-bottom: var(--space-m); }
.prayer-card .focus-list { list-style:none; padding:0; margin:0 0 var(--space-m); display:flex; flex-direction:column; gap:var(--space-s); }
.prayer-card .focus-list li { padding-left:var(--space-l); position:relative; font-size: var(--text-small); }
.prayer-card .focus-list li::before { content:'\2192'; position:absolute; left:0; color:var(--color-gold); }
.prayer-card .src-note { font-size: var(--text-label); color: var(--color-text-muted); margin-top: var(--space-xs); }
.audio-row { margin-bottom: var(--space-m); }
.audio-row .audio-label { font-family: var(--font-sans); font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-xs); display:block; }
.audio-row audio { width: 100%; height: 40px; }
.mw-spotlight { display:grid; grid-template-columns: 280px 1fr; gap:var(--space-xl); align-items:center; max-width:900px; margin:0 auto; }
@media(max-width:700px){ .mw-spotlight{ grid-template-columns:1fr; } }
.mw-spotlight img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:var(--radius); border:2px solid var(--color-gold); }
/* ===== Phase 4.6 — Healing service pages ===== */
.safety { max-width:760px; margin:0 auto; background:var(--color-primary-light); border:1px solid rgba(11,148,69,0.25); padding:var(--space-l) var(--space-xl); border-radius:var(--radius); display:flex; gap:var(--space-m); align-items:flex-start; }
.safety .ic { width:44px;height:44px;border-radius:var(--radius);background:var(--color-cta);color:#fff;flex-shrink:0;display:flex;align-items:center;justify-content:center; }
.safety p { margin:0; font-size: var(--text-body); line-height:1.6; color:var(--color-heading); }
.safety b { font-family:var(--font-sans); font-weight:600; display:block; margin-bottom:var(--space-xs); }
.timeline { max-width:820px; margin:0 auto; position:relative; padding:0 0 0 var(--space-2xl); }
.timeline::before { content:''; position:absolute; left:18px; top:12px; bottom:12px; width:2px; background:var(--color-gold); opacity:0.4; }
.step { position:relative; padding:var(--space-m) 0 var(--space-l); }
.step::before { content:attr(data-num); position:absolute; left:-48px; top:14px; width:38px;height:38px; border-radius:var(--radius); background:var(--color-gold); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-sans); font-weight:700; font-size: var(--text-small); }
.step h4 { font-size: var(--text-body); margin-bottom:var(--space-xs); }
.step p { font-size: var(--text-small); line-height:1.6; color:var(--color-text); margin:0; max-width:620px; }
.testim-band { background:var(--color-heading); text-align:center; }
.testim-band .mark { font-family:var(--font-serif); font-size: 5.625rem; color:var(--color-gold); line-height:0.8; margin-bottom:var(--space-s); }
.testim-band blockquote { font-family:var(--font-serif); font-style:italic; font-size: var(--text-quote); line-height:1.5; max-width:760px; margin:0 auto var(--space-l); color:#fff; }
.testim-band cite { font-family:var(--font-sans); font-size: var(--text-label); letter-spacing:0.18em; text-transform:uppercase; color:rgba(255,255,255,0.8); font-style:normal; }
.facil-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-l); max-width:860px; margin:0 auto; }
@media(max-width:600px){ .facil-grid{ grid-template-columns:1fr 1fr !important; } }
.facil-card { text-align:center; }
.facil-card .f-img { aspect-ratio:1; overflow:hidden; border-radius:var(--radius); margin-bottom:var(--space-s); background:var(--color-bg-alt); }
.facil-card .f-img img { width:100%; height:100%; object-fit:cover; }
.facil-card h4 { font-size: var(--text-body); margin:0; }
.facil-card .role { font-family:var(--font-sans); font-size: var(--text-label); letter-spacing:0.16em; text-transform:uppercase; color:var(--color-gold); margin:var(--space-xs) 0 0; }
.logistics { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--space-m); max-width:920px; margin:0 auto; }
@media(max-width:760px){ .logistics{ grid-template-columns:1fr 1fr !important; } }
.log-item { background:var(--color-surface); border:1px solid var(--color-border); padding:var(--space-l) var(--space-m); border-radius:var(--radius); text-align:center; }
.log-item .lbl { font-family:var(--font-sans); font-size: var(--text-label); letter-spacing:0.18em; text-transform:uppercase; color:var(--color-text-muted); }
.log-item .val { font-family:var(--font-sans); font-weight:700; font-size: var(--text-body); color:var(--color-heading); margin-top:var(--space-s); }
.log-item .sub { font-family:var(--font-serif); font-size: var(--text-label); color:var(--color-text-muted); margin-top:var(--space-xs); font-style:italic; }
.counter-band { text-align:center; margin-bottom:var(--space-2xl); }
.counter-band .num { font-family:var(--font-sans); font-weight:700; font-size: var(--text-stat); color:var(--color-primary); line-height:1; }
.counter-band .lbl { font-size: var(--text-body); color:var(--color-text-muted); max-width:440px; margin:var(--space-s) auto 0; }
.advisory { max-width:760px; margin:var(--space-xl) auto 0; text-align:center; }
.advisory .adv-name { font-family:var(--font-sans); font-weight:600; color:var(--color-heading); }
/* ===== Phase 4.7 — Resources ===== */
.download-list { max-width:780px; margin:0 auto; display:flex; flex-direction:column; gap:var(--space-s); }
.dl-item { display:flex; align-items:center; gap:var(--space-m); background:var(--color-surface); border:1px solid var(--color-border); border-radius:var(--radius); padding:var(--space-m) var(--space-l); transition:border-color .25s, box-shadow .25s; text-decoration:none; }
.dl-item:hover { border-color:var(--color-primary); box-shadow:var(--shadow-sm); }
.dl-item .ic { color:var(--color-primary); flex-shrink:0; display:flex; }
.dl-item .dl-body { flex:1; }
.dl-item .dl-title { font-family:var(--font-sans); font-weight:600; color:var(--color-heading); }
.dl-item .dl-desc { font-size: var(--text-small); color:var(--color-text-muted); margin-top:2px; line-height:1.5; }
.dl-item .dl-go { font-family:var(--font-sans); font-size: var(--text-label); color:var(--color-primary); white-space:nowrap; }
.res-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-l); }
@media(max-width:900px){ .res-cards{ grid-template-columns:1fr 1fr !important; } }
@media(max-width:600px){ .res-cards{ grid-template-columns:1fr !important; } }
.book-cat { margin-bottom:var(--space-2xl); }
.book-cat .cat-h { border-bottom:1px solid var(--color-border); padding-bottom:var(--space-s); margin-bottom:var(--space-l); color:var(--color-gold); font-family:var(--font-sans); font-size: var(--text-label); letter-spacing:0.16em; text-transform:uppercase; }
.book-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:var(--space-m); }
@media(max-width:760px){ .book-grid{ grid-template-columns:1fr !important; } }
.book-item { background:var(--color-surface); border:1px solid var(--color-border); border-left:3px solid var(--color-gold); border-radius:var(--radius); padding:var(--space-m) var(--space-l); }
.book-item h4 { font-size: var(--text-body); margin:0 0 var(--space-xs); }
.book-item p { font-size: var(--text-small); line-height:1.55; color:var(--color-text-muted); margin:0; }
.stat-row { display:flex; flex-wrap:wrap; gap:var(--space-xl); justify-content:center; max-width:760px; margin:0 auto var(--space-s); }
.stat-box { text-align:center; }
.stat-box .n { font-family:var(--font-sans); font-weight:700; font-size: var(--text-stat); color:var(--color-primary); line-height:1; }
.stat-box .t { font-size: var(--text-small); color:var(--color-text-muted); margin-top:var(--space-s); max-width:240px; }
/* ===== Phase 4.9 — Donate ===== */
.impact-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-l); max-width:960px; margin:0 auto var(--space-2xl); }
@media(max-width:800px){ .impact-grid{ grid-template-columns:1fr !important; } }
.impact-card { background:var(--color-surface); border:1px solid var(--color-border); padding:var(--space-xl) var(--space-l); border-radius:var(--radius); text-align:center; transition:transform .3s,box-shadow .3s; }
.impact-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.impact-card .amt { font-family:var(--font-sans); font-weight:700; font-size: var(--text-stat); color:var(--color-primary); line-height:1; }
.impact-card p { font-size: var(--text-small); line-height:1.55; margin:var(--space-m) 0 0; color:var(--color-text); }
.donate-wrap { max-width:760px; margin:0 auto; background:var(--color-surface); border:1px solid var(--color-border); padding:var(--space-2xl); border-radius:var(--radius); box-shadow:var(--shadow-md); }
@media(max-width:600px){ .donate-wrap{ padding:var(--space-l) var(--space-l); } }
.give-methods { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-m); max-width:920px; margin:0 auto; }
@media(max-width:760px){ .give-methods{ grid-template-columns:1fr !important; } }
.give-method { background:var(--color-gold-light); border:1px solid rgba(201,162,39,0.3); border-radius:var(--radius); padding:var(--space-l); }
.give-method h4 { margin:0 0 var(--space-s); font-size: var(--text-body); }
.give-method p { font-size: var(--text-small); line-height:1.55; margin:0; color:var(--color-text); }
.give-method .email-box { font-family:var(--font-sans); font-weight:600; background:#fff; padding:var(--space-s) var(--space-m); border:1px solid var(--color-border); border-radius:var(--radius); display:inline-block; margin-top:var(--space-s); font-size: var(--text-small); word-break:break-all; }
.fund-list { max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:var(--space-m); }
.fund-item { background:var(--color-surface); border:1px solid var(--color-border); border-left:3px solid var(--color-gold); border-radius:var(--radius); padding:var(--space-m) var(--space-l); }
.fund-item h4 { margin:0 0 var(--space-xs); font-size: var(--text-body); }
.fund-item p { margin:0; font-size: var(--text-small); line-height:1.6; color:var(--color-text-muted); }
.fund-item .under { font-family:var(--font-sans); font-weight:600; color:var(--color-primary); font-size: var(--text-small); margin-top:var(--space-s); display:block; }
.charity-note { text-align:center; font-size: var(--text-small); color:var(--color-text-muted); max-width:640px; margin:0 auto; }
.charity-note strong { color:var(--color-heading); font-family:var(--font-sans); }
/* Phase 4.10 — alt background section (class, no pipeline) */
.sec-alt { background: var(--color-bg-alt); }

/* ===== Phase 4.11 — Homepage ===== */
.btn-secondary { background:transparent; color:#fff; border-color:rgba(255,255,255,0.7); }
.btn-secondary:hover { background:#fff; color:var(--color-heading); }
.home-hero { min-height:80vh; position:relative; display:flex; align-items:center; color:#fff; padding:var(--space-5xl) 0 var(--space-4xl); background-size:cover; background-position:center top; background-image:linear-gradient(180deg, rgba(26,26,46,0.35) 0%, rgba(26,26,46,0.5) 50%, rgba(26,26,46,0.8) 100%), url('/wp-content/uploads/2025/07/frontcircle1-2-1-scaled.jpg'); }
.home-hero .home-hero-inner { position:relative; z-index:1; max-width:840px; }
.home-hero h1 { color:#fff; font-size: clamp(2.5rem,5vw,4.25rem); margin-bottom:var(--space-l); line-height:1.07; }
.home-hero .sub { font-size: var(--text-body); line-height:1.6; color:rgba(255,255,255,0.92); max-width:660px; margin-bottom:var(--space-xl); }
.hero-ctas { display:flex; gap:var(--space-m); flex-wrap:wrap; }
.audience-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-l); }
@media(max-width:900px){ .audience-grid{ grid-template-columns:1fr 1fr !important; } }
@media(max-width:600px){ .audience-grid{ grid-template-columns:1fr !important; } }
.aud-card .card-body .aud-name { font-family:var(--font-sans); font-size: var(--text-label); letter-spacing:0.16em; text-transform:uppercase; color:var(--color-gold); }
.aud-card .card-body h4 { margin:var(--space-xs) 0 var(--space-xs); }
.aud-card .card-body p { font-size: var(--text-small); color:var(--color-text-muted); margin:0 0 var(--space-s); }
.mission-band { text-align:center; max-width:880px; margin:0 auto; }
.mission-band p { font-family:var(--font-serif); font-style:italic; font-size: var(--text-quote); line-height:1.5; color:var(--color-heading); margin:0; }
.heart-grid { display:grid; grid-template-columns:340px 1fr; gap:var(--space-2xl); align-items:center; max-width:980px; margin:0 auto; }
@media(max-width:900px){ .heart-grid{ grid-template-columns:1fr !important; gap:var(--space-xl); } }
.heart-img { aspect-ratio:4/5; overflow:hidden; border-radius:var(--radius); border:2px solid var(--color-gold); }
.heart-img img { width:100%; height:100%; object-fit:cover; }
.heart-text h2 { margin-bottom:var(--space-m); }
.heart-text h2::before { content:''; display:block; width:40px; height:2px; background:var(--color-gold); margin-bottom:var(--space-m); }
.heart-text p { font-size: var(--text-body); line-height:1.75; }
.testim-band .mark { font-family:var(--font-serif); font-size: 5.625rem; color:var(--color-gold); line-height:0.7; }
.testim-band blockquote { font-family:var(--font-serif); font-style:italic; font-size: var(--text-quote); line-height:1.5; max-width:780px; margin:var(--space-s) auto var(--space-l); color:#fff; }

/* Contact/GF: shorter single-line input height on desktop (2026-05-24) */
@media (min-width:601px){
  .gform_wrapper input[type=text],
  .gform_wrapper input[type=email],
  .gform_wrapper input[type=tel],
  .gform_wrapper input[type=number],
  .gform_wrapper input[type=url],
  .gform_wrapper select {
    min-height:42px !important;
    height:auto !important;
    padding-top:var(--space-s) !important;
    padding-bottom:var(--space-s) !important;
    line-height:1.4 !important;
  }
}
