/* ==========================================================================
   Shared styles for every ministry site.
   Each site sets its own colors and heading font in site.json ("theme"),
   which fills in the variables below. Everything else is shared.
   Sections: 1 Fonts and variables, 2 Base, 3 Buttons, 4 Header, 5 Mobile menu,
   6 Page banner and layouts, 7 Home sections, 8 Cards and grids,
   9 Content pieces, 10 Stories and jobs, 11 Verse band, 12 Footer,
   13 Phone bar and search, 14 Motion and print
   ========================================================================== */

/* 1. Fonts and variables ------------------------------------------------ */
@font-face { font-family: "Cabin"; src: url("/assets/fonts/cabin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabin"; src: url("/assets/fonts/cabin-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Exo"; src: url("/assets/fonts/exo.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("/assets/fonts/bitter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("/assets/fonts/raleway.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Amaranth"; src: url("/assets/fonts/amaranth-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Amaranth"; src: url("/assets/fonts/amaranth-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Roboto Slab"; src: url("/assets/fonts/robotoslab.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --brand: #0a77bd;          /* buttons, links, accents */
  --brand-dark: #08629c;     /* button hover */
  --brand-soft: #e6f1f9;     /* light brand tint */
  --ink: #0c2537;            /* headings, dark sections, footer */
  --ink-2: #092239;
  --text: #3f505e;           /* body text */
  --muted: #5d6c78;
  --tint: #eef2f6;           /* light section background */
  --line: #e1e7ed;
  --white: #fff;
  --accent: var(--brand);    /* small labels */
  --on-dark-accent: #8fc8ee;
  --font-body: "Cabin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: var(--font-body);
  --head-weight: 600;
  --radius: 10px;
  --btn-radius: 6px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(12, 37, 55, .10), 0 2px 6px rgba(12, 37, 55, .06);
  --shadow-sm: 0 2px 10px rgba(12, 37, 55, .08);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 104px);
  --header-h: 96px;
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4 { font-family: var(--font-head); font-weight: var(--head-weight); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1, .h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2, .h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
h4, .h4 { font-size: 1.125rem; }
p, ul, ol, dl, blockquote, figure, table { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }
.nowrap { white-space: nowrap; }
.eyebrow { display: block; font-size: .92rem; font-weight: 600; color: var(--muted); margin: 0 0 .4em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink); }
.fine { font-size: .82rem; color: var(--muted); }
.center { text-align: center; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
svg { width: 1.25em; height: 1.25em; flex: none; }

/* 3. Buttons ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.5em; border-radius: var(--btn-radius); border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary, .btn-donate { background: var(--brand); color: #fff; }
.btn-primary:hover, .btn-donate:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-soft); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 38px; padding: .45em 1em; font-size: .92rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0; }
.text-link { font-weight: 600; color: var(--brand); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.text-link:hover, a:hover .text-link { text-decoration-color: currentColor; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--tint); }

/* 4. Header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(12,37,55,.08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
a.brand { display: inline-flex; align-items: center; }
a.brand img { width: auto; max-height: var(--logo-h, 58px); }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.header-top { display: flex; align-items: center; gap: 10px; order: -1; }
.header-top .btn-donate { order: -1; min-height: 34px; padding: .45em 1.2em; font-size: .72rem; }
.utility { display: flex; align-items: center; background: var(--tint); border-radius: 999px; padding: 2px 4px 2px 14px; }
.utility a { font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: .55em .7em; }
.utility a:hover { color: var(--brand); }
.utility .icon-btn { width: 34px; height: 34px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a { display: block; padding: .55em .8em; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current] { color: var(--brand); border-bottom-color: var(--brand); }
.menu-toggle { width: 22px; height: 30px; margin-left: -6px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.menu-toggle span { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span { transform: translateY(1px) rotate(-135deg); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 10px !important; display: block !important; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.dropdown a { display: block; padding: .55em .8em; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: .95rem; }
.dropdown a:hover, .dropdown a[aria-current] { background: var(--tint); color: var(--brand); }
.has-menu:hover > .dropdown, .has-menu:focus-within > .dropdown, .has-menu.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.main-nav li:last-child .dropdown { left: auto; right: 0; }
.header-phone { display: none; align-items: center; gap: 8px; }

@media (max-width: 1020px) {
  :root { --header-h: 72px; }
  .header-right { display: none; }
  .header-phone { display: flex; }
  a.brand img { max-height: var(--logo-h-sm, 46px); }
}

/* 5. Phone menu (drops down under the header, like the WordPress demo) -- */
.menu-open .i-close, .menu-open[aria-expanded="true"] .i-menu { display: none; }
.menu-open[aria-expanded="true"] .i-close { display: inline-grid; }
.menu-open svg { width: 26px; height: 26px; }
.menu-open, .menu-open:hover { background: none; }
.mobile-menu { position: fixed; inset: 0; z-index: 45; padding-top: var(--header-h); background: rgba(12,37,55,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: mm-fade .2s ease-out; }
.mobile-menu[hidden] { display: none; }
.mobile-panel { background: #fff; border-radius: 0 0 22px 22px; box-shadow: 0 18px 40px rgba(12,37,55,.18); max-height: calc(100dvh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 4px var(--gutter) 20px; animation: mm-drop .22s ease-out; }
.mm-list, .mm-sub { list-style: none; margin: 0; padding: 0; }
.mm-list > li { border-bottom: 1px solid var(--line); }
.mm-top { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 4px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; }
.mm-top::-webkit-details-marker { display: none; }
summary.mm-top::after { content: ""; width: 9px; height: 9px; margin-right: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.mm-group[open] > summary.mm-top::after { transform: rotate(-135deg) translate(-2px, -2px); }
.mm-sub { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; padding-bottom: 10px; }
.mm-sub a { display: block; padding: 8px 0; color: var(--text); text-decoration: none; font-size: .98rem; line-height: 1.3; }
/* The page you're on: a tinted box with bold brand text. Its section heading turns brand color. */
.mm-top.is-section { color: var(--brand); }
.mm-top[aria-current], .mm-sub a[aria-current] { color: var(--brand-dark, var(--brand)); background: var(--brand-soft, var(--tint)); font-weight: 700; border-radius: 6px; padding-inline: 10px; }
.mm-top[aria-current] { margin-block: 6px; min-height: 42px; }
.mm-search { position: relative; margin-top: 14px; }
.mm-search input { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 999px; background: var(--tint); padding: 0 48px 0 18px; font: inherit; font-size: 16px; color: var(--ink); }
.mm-search input:focus { outline: 2px solid var(--brand); outline-offset: 1px; background: #fff; }
.mm-search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 999px; background: none; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
@keyframes mm-fade { from { opacity: 0; } }
@keyframes mm-drop { from { transform: translateY(-10px); opacity: 0; } }
@media (max-width: 360px) { .mm-sub { grid-template-columns: 1fr; } }
body.menu-is-open { overflow: hidden; }

/* 6. Page banner and layouts -------------------------------------------- */
.page-banner { position: relative; isolation: isolate; color: #fff; background: var(--ink); min-height: clamp(240px, 30vw, 360px); display: flex; align-items: flex-end; }
.page-banner .banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,34,57,.25) 0%, rgba(9,34,57,.55) 55%, rgba(9,34,57,.85) 100%); }
.page-banner.no-photo { min-height: 0; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); }
.page-banner.no-photo::before { display: none; }
.banner-text { padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 44px); }
.page-banner h1 { color: #fff; margin: 0; max-width: 20ch; }
.banner-intro { max-width: 62ch; margin: .8em 0 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.92); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 14px; padding: 0; font-size: .85rem; }
.crumbs li { color: rgba(255,255,255,.85); }
.crumbs li + li::before { content: "/"; margin: 0 .55em; opacity: .6; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
main { display: block; }
.full-width, .with-sidebar { padding-block: clamp(40px, 6vw, 72px); }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.full-width > .prose { max-width: none; }
@media (max-width: 900px) { .with-sidebar { grid-template-columns: minmax(0, 1fr); } }

/* Readable text inside pages */
.prose { max-width: 78ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose h2 + h3 { margin-top: .6em; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--brand); }
.prose blockquote:not([class]) { margin: 1.6em 0; padding: 1.2em 1.4em; background: var(--tint); border-radius: var(--radius); color: var(--ink); font-size: 1.1rem; }
.prose blockquote cite { display: block; margin-top: .5em; font-style: normal; font-size: .95rem; color: var(--muted); }
.prose img { border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .6em .8em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); }
.page-body section + section { margin-top: clamp(40px, 6vw, 64px); }

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-nav { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.side-title { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 0 0 8px; padding: 0 .7em; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav li a { display: block; padding: .5em .7em; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.side-nav li a:hover { background: var(--tint); }
.side-nav li a[aria-current] { background: var(--brand-soft); color: var(--brand-dark); }
.side-nav ul ul { padding-left: 12px; }
.side-nav ul ul a { font-weight: 400; }
.side-callout { background: var(--ink); color: rgba(255,255,255,.9); border-radius: var(--radius); padding: 22px; }
.side-callout .eyebrow { color: var(--on-dark-accent); }
.side-callout-title { font-family: var(--font-head); font-size: 1.25rem; font-weight: var(--head-weight); color: #fff; margin: 0 0 .4em; }
.side-callout a:not(.btn) { color: #fff; }
.side-note { font-size: .95rem; }
.job-facts { background: var(--tint); color: var(--text); }
.job-facts .side-callout-title { color: var(--ink); }
.job-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .95rem; }
.job-facts dt { font-weight: 700; color: var(--ink); }
.job-facts dd { margin: 0; }
.job-facts a.text-link { display: inline-block; margin-top: 14px; color: var(--brand-dark); }
@media (max-width: 900px) { .sidebar { position: static; } }

/* 7. Home sections ------------------------------------------------------ */
.section { padding-block: var(--section); }
.section.tint { background: var(--tint); }
.section.dark { background: var(--ink); color: rgba(255,255,255,.86); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: var(--on-dark-accent); }
.section.dark a:not(.btn) { color: #fff; }
.section.tight-bottom { padding-bottom: 0; }
.section-head { max-width: 720px; margin-bottom: clamp(24px, 3.5vw, 36px); }
.section-head h2 { margin: 0; }
.section-head p { margin: .6em 0 0; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px 24px; flex-wrap: wrap; }
.section-head.center { display: block; text-align: center; max-width: 760px; margin-inline: auto; }

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--ink); min-height: clamp(460px, 62vh, 640px); display: flex; align-items: center; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-slides img.is-active { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9,34,57,.78) 0%, rgba(9,34,57,.45) 55%, rgba(9,34,57,.15) 100%); }
.hero-text { padding-block: clamp(48px, 8vw, 96px) clamp(110px, 12vw, 150px); max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: .35em; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.94); max-width: 54ch; }
.hero .btn-row { margin-bottom: 0; }
.hero-dots { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.hero-dots button { width: 8px; height: 18px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: height .3s, background .3s; }
.hero-dots button[aria-current="true"] { background: #fff; height: 30px; }
@media (max-width: 1300px) { .hero-dots { display: none; } }
@media (max-width: 700px) {
  .hero { min-height: 0; align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(9,34,57,.2) 0%, rgba(9,34,57,.6) 45%, rgba(9,34,57,.92) 100%); }
  .hero-text { padding-top: 180px; padding-bottom: 36px; }
  .hero .btn-row .btn { flex: 1; }
}

/* Count-up numbers */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 26px 22px; text-align: left; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 4.5vw, 3.2rem); line-height: 1.1; color: var(--brand); font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin: 6px 0 4px; font-size: 1rem; font-weight: 700; color: var(--ink); }
.stat p { margin: 0; font-size: .92rem; }
.stats-note { margin-top: 14px; font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .stat { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; } .stat:first-child { border-top: 0; } }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 0; border-bottom: 1px solid var(--line); }
.trust-strip > * { padding: 16px 18px 18px; text-align: left; border-left: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .85rem; }
.trust-strip > :first-child { border-left: 0; }
.trust-strip strong { display: block; font-size: 1rem; color: var(--ink); }
a.trust-item:hover strong { text-decoration: underline; }
@media (max-width: 760px) { .trust-strip { grid-template-columns: 1fr 1fr; } .trust-strip > :nth-child(3) { border-left: 0; } .trust-strip > :nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Give band */
.give-band { position: relative; isolation: isolate; color: #fff; background: var(--ink); padding-block: var(--section); overflow: hidden; }
.give-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.give-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--ink) 82%, transparent); }
.give-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.give-band h2 { color: #fff; }
.give-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.give-card h3 { margin-bottom: .3em; }
.give-card .list-links { margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.give-card .list-links li a { color: var(--ink); }
@media (max-width: 860px) { .give-grid { grid-template-columns: 1fr; } }

.list-links { list-style: none; padding: 0; }
.list-links li { border-bottom: 1px solid var(--line); }
.list-links li:last-child { border-bottom: 0; }
.list-links a { display: flex; justify-content: space-between; align-items: center; padding: .7em 0; font-weight: 600; text-decoration: none; }

/* 8. Cards and grids ---------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .card-grid, .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .card-grid, .card-grid.two, .card-grid.four { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-link:hover .card-title, a.card:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.card-link, a.card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); }
a.card:hover, .card-link:hover { color: var(--text); }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--tint); }
.card-img.placeholder { display: block; background: linear-gradient(135deg, var(--brand-soft), var(--tint)); }
.card-grid.two .card-img { aspect-ratio: 16 / 8; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; gap: 4px; }
.card-body .eyebrow { margin-bottom: .4em; }
.card-title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.2rem; line-height: 1.25; color: var(--ink); margin: 0 0 .25em; }
.card-text { font-size: .95rem; margin: 0 0 .6em; }
.card-body .text-link { margin-top: auto; padding-top: 6px; font-size: .95rem; }
.section.dark .card { border-color: transparent; }
.card.plain { padding: 24px; }
.card.plain h3 { margin-bottom: .35em; }
.card.outline { background: transparent; }

/* Ministry rows (Our Ministries page) */
.ministry { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.ministry:first-of-type { border-top: 0; }
.ministry-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ministry h2 { margin-top: 0; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 1.4em 0; }
.fact { background: var(--tint); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .95rem; }
.fact .eyebrow { margin-bottom: .3em; }
.fact p { margin: 0; color: var(--ink); }
.fact.wide { grid-column: 1 / -1; }
@media (max-width: 820px) { .ministry { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; } }

/* 9. Content pieces ----------------------------------------------------- */
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2em; padding: 0; list-style: none; }
.jump-links a { display: inline-block; padding: .45em 1em; border-radius: 999px; background: var(--tint); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.jump-links a:hover { background: var(--brand); color: #fff; }
.callout { background: var(--tint); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); margin: 2em 0; }
.callout > :last-child { margin-bottom: 0; }
.callout.brand { background: var(--brand-soft); }
.callout.dark { background: var(--ink); color: rgba(255,255,255,.88); }
.callout.dark h2, .callout.dark h3 { color: #fff; }
.callout.dark a:not(.btn) { color: #fff; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; }
.split.top { align-items: start; }
.split img { border-radius: var(--radius); width: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.statement { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 1.6em 0; }
.statement > div { border-radius: var(--radius); padding: 22px 24px; background: var(--ink); color: rgba(255,255,255,.9); }
.statement .eyebrow { color: var(--on-dark-accent); }
.statement a { color: #fff; }
.statement p:last-child { margin: 0; font-size: 1.1rem; color: #fff; }
@media (max-width: 700px) { .statement { grid-template-columns: 1fr; } }
.verse-quote { margin: 1.6em 0; text-align: center; font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink); }
.verse-quote cite { display: block; margin-top: .5em; font: 400 .95rem/1.3 var(--font-body); color: var(--muted); }

/* Questions and answers, and fold-out sections */
.accordion { border-top: 1px solid var(--line); margin: 1.2em 0 2em; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.1rem; color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 99px; background: var(--tint); color: var(--brand); font-size: 1.3rem; font-weight: 400; transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > :not(summary) { padding-inline: 4px; }
.accordion details > :last-child { padding-bottom: 14px; }

/* People (leadership) */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; margin: 1.4em 0 2.4em; padding: 0; list-style: none; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; }
.person-body { padding: 14px 16px 16px; }
.person-name { margin: 0; font-weight: 700; color: var(--ink); }
.person-role { margin: 0; font-size: .9rem; color: var(--muted); }
.person details { margin-top: 8px; font-size: .92rem; }
.person summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.name-list { columns: 2 220px; column-gap: 32px; padding: 0; list-style: none; }
.name-list li { break-inside: avoid; padding: .45em 0; border-bottom: 1px solid var(--line); }
.name-list span { display: block; font-size: .88rem; color: var(--muted); }

/* Documents (reports, brochures) */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; padding: 0; list-style: none; margin: 1.2em 0 2.4em; }
.doc a { display: block; text-decoration: none; color: var(--ink); font-weight: 600; }
.doc img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); margin-bottom: 10px; background: var(--tint); }
.doc a:hover { text-decoration: underline; }
.doc span { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); }

/* Partner logos */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; padding: 0; list-style: none; margin: 1.2em 0 2.4em; }
.logos li { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-height: 110px; text-align: center; font-weight: 600; color: var(--ink); font-size: .92rem; }
.logos img { max-height: 70px; width: auto; }

/* Giving pages: form gets the room; on phones it goes full width */
.give-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.give-side h2 { margin-top: 0; }
@media (max-width: 900px) { .give-layout { grid-template-columns: 1fr; } .give-main { order: -1; } }
@media (max-width: 700px) {
  .give-main, .split .embed-form { margin-inline: calc(-1 * var(--gutter)); }
  .give-main .give-form, .embed-form { border-radius: 0; border-left: 0; border-right: 0; }
}
kbd { font: 600 .85em var(--font-body); padding: .1em .45em; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: #fff; }

/* Embeds */
.embed-form { margin: 1.6em 0; }
.embed-form iframe.jotform { width: 100%; border: 0; display: block; }
.give-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(12px, 2vw, 24px); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); margin: 1.6em 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: var(--ink); color: #fff; cursor: pointer; }
.video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .2s; }
.video-play:hover img { opacity: .6; }
.play-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 99px; background: var(--brand); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.play-icon::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.video-title { position: absolute; left: 18px; bottom: 14px; right: 18px; text-align: left; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.map { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }

/* Forms on the site (search, filters) */
.field { display: grid; gap: 6px; font-size: .95rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .inline-search input { font: 400 1rem var(--font-body); color: var(--ink); min-height: 48px; padding: .6em .9em; border: 1px solid #c9d3db; border-radius: var(--radius-sm); background: #fff; width: 100%; letter-spacing: 0; text-transform: none; }
.field input:focus, .field select:focus, .inline-search input:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.inline-search { display: flex; gap: 10px; margin: 1.4em 0; max-width: 640px; }
.inline-search.big input { min-height: 56px; font-size: 1.1rem; }
.empty-state { text-align: center; background: var(--tint); border-radius: var(--radius); padding: 40px 24px; }

/* Site map page */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 32px; }
.sitemap-grid ul { list-style: none; padding: 0; }
.sitemap-grid li { padding: .25em 0; }

/* 10. Stories and jobs -------------------------------------------------- */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: .5em 1.1em; font: 600 .9rem var(--font-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.story-card[hidden], .story-card.is-extra { display: none; }
.prose .family, .page-body .family { background: var(--ink); color: rgba(255,255,255,.8); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); margin: 1.4em 0 2em; }
.prose .family a { text-decoration: none; }
.person-contact { margin: 6px 0 0; font-size: .88rem; }
@media (max-width: 620px) {
  .people { grid-template-columns: 1fr; gap: 10px; }
  .person { display: flex; align-items: center; gap: 14px; padding: 12px; }
  .person img { width: 84px; height: 84px; border-radius: 999px; flex: none; }
  .person-body { padding: 0; }
}
.article { padding-block: clamp(40px, 6vw, 72px); }
.story { margin-inline: auto; font-size: 1.1rem; }
.story-photo { float: right; width: min(42%, 380px); margin: .3em 0 1.2em 2em; }
.story-photo img { width: 100%; border-radius: var(--radius); }
@media (max-width: 700px) { .story-photo { float: none; width: 100%; margin: 0 0 1.4em; } }
.story-back { clear: both; padding-top: 1em; }
.load-more { display: flex; justify-content: center; margin-top: 28px; }

.jobs-board { margin-top: 1em; }
.job-filters { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 12px; align-items: end; padding: 18px; background: var(--tint); border-radius: var(--radius); }
.job-filters .field.grow { min-width: 0; }
@media (max-width: 860px) { .job-filters { grid-template-columns: 1fr 1fr; } .job-filters .grow { grid-column: 1 / -1; } }
.job-count { margin: 16px 0 10px; font-weight: 700; color: var(--ink); }
.job-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.job a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s; }
.job a:hover { border-color: var(--brand); }
.job-title { display: block; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.2rem; color: var(--ink); }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.job-meta span { font-size: .85rem; font-weight: 600; padding: .25em .7em; border-radius: 99px; background: var(--brand-soft); color: var(--brand-dark); }
.job-summary { display: block; font-size: .95rem; }
.job[hidden] { display: none; }

/* 11. Verse band -------------------------------------------------------- */
.verse-band { background: var(--tint); padding-block: clamp(44px, 6vw, 72px); text-align: center; }
.verse-rotator blockquote { margin: 0 auto; max-width: 820px; transition: opacity .6s; }
.verse-rotator.is-fading blockquote { opacity: 0; }
.verse-text { font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.4; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
.verse-rotator cite { font-style: normal; font-size: .95rem; color: var(--muted); }

/* 12. Footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding-top: clamp(48px, 6vw, 72px); font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px); padding-bottom: 36px; }
.footer-about .brand img { max-height: var(--logo-foot-h, 64px); margin-bottom: 18px; }
.footer-tag { color: #fff; font-size: 1.1rem; font-weight: 600; line-height: 1.4; margin-bottom: 14px; }
.site-footer address { font-style: normal; line-height: 1.9; }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 18px 0 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 99px; background: rgba(255,255,255,.1); }
.social a:hover { background: var(--brand); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.family .eyebrow, .family .fam-heading { color: #fff; font-weight: 700; font-size: 1rem; }
.fam-aff { margin: 0 0 14px; text-align: center; font-size: .9rem; }
.fam-chart { display: grid; gap: 22px; }
.fam-top { display: flex; justify-content: center; position: relative; }
.fam-top::after { content: ""; position: absolute; top: 100%; left: 50%; height: 22px; border-left: 1px solid rgba(255,255,255,.35); }
.fam-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; padding-top: 0; }
.fam-row::before { content: ""; position: absolute; top: -11px; left: 16.66%; right: 16.66%; border-top: 1px solid rgba(255,255,255,.35); }
.fam-tile { display: grid; place-items: center; text-align: center; padding: 14px 10px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.04); gap: 2px; min-height: 66px; position: relative; }
.fam-row .fam-tile::before { content: ""; position: absolute; bottom: 100%; left: 50%; height: 11px; border-left: 1px solid rgba(255,255,255,.35); }
.fam-top .fam-tile { min-width: min(100%, 260px); }
.fam-tile:hover { background: rgba(255,255,255,.1); text-decoration: none !important; }
.fam-tile.is-current { background: var(--brand); border-color: var(--brand); }
.fam-name { font-weight: 700; color: #fff; line-height: 1.25; }
.fam-city { font-size: .82rem; color: rgba(255,255,255,.75); }
.fam-tile.is-current .fam-city { color: #fff; }
.fam-note { margin: 18px auto 0; text-align: center; font-size: .85rem; max-width: 640px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0; margin: 0; font-weight: 600; font-size: .9rem; }
.copyright { margin: 0; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .fam-row { grid-template-columns: 1fr; gap: 8px; }
  .fam-row::before, .fam-row .fam-tile::before, .fam-top::after { display: none; }
  .fam-chart { gap: 8px; }
  .fam-tile { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; min-height: 0; padding: 12px 14px; }
  .fam-top .fam-tile { width: 100%; }
  .fam-city { white-space: nowrap; }
  .site-footer { padding-bottom: 72px; }
}

/* 13. Phone bar and search --------------------------------------------- */
.phone-bar { display: none; }
@media (max-width: 700px) {
  .phone-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(12,37,55,.08); padding-bottom: env(safe-area-inset-bottom); }
  .phone-bar a, .phone-bar button { display: grid; justify-items: center; gap: 2px; padding: 9px 4px 8px; font: 600 .72rem var(--font-body); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
  .phone-bar svg { width: 22px; height: 22px; }
  /* The page you're on is brand color with a line above it */
  .phone-bar [aria-current] { color: var(--brand); box-shadow: inset 0 3px 0 var(--brand); }
}
.search-dialog { width: min(100% - 24px, 720px); max-height: min(80vh, 720px); margin: 10vh auto auto; padding: 0; border: 0; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; }
.search-dialog::backdrop { background: rgba(9,34,57,.55); backdrop-filter: blur(2px); }
.search-form { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-form input { flex: 1; min-width: 0; border: 0; font: 400 1.15rem var(--font-body); color: var(--ink); padding: 12px 0; background: none; }
.search-form input:focus { outline: none; }
.search-results { overflow-y: auto; max-height: calc(min(80vh, 720px) - 80px); }
.search-results:empty { display: none; }
.search-dialog .search-results { padding: 8px; }
.search-results ol { list-style: none; margin: 0; padding: 0; }
.search-results a { display: block; padding: 12px 14px; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); }
.search-results a:hover, .search-results a:focus { background: var(--tint); outline: none; }
.result-kind { font-size: .82rem; font-weight: 600; color: var(--muted); }
.result-title { display: block; font-weight: 700; color: var(--ink); }
.result-text { display: block; font-size: .9rem; color: var(--muted); }
.search-results mark { background: #fff1b8; color: inherit; border-radius: 2px; }
.search-empty { padding: 18px; margin: 0; color: var(--muted); }
.page-results { margin-top: 1em; border-top: 1px solid var(--line); }
.page-results a { padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }

/* 14. Motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .phone-bar, .verse-band, .site-footer, .search-dialog, .mobile-menu { display: none !important; }
  .page-banner { min-height: 0; background: none; color: #000; }
  .page-banner h1 { color: #000; }
}

/* 16. Extra pieces used by the ministry home pages ------------------------ */
.eyebrow.on-dark { color: rgba(255,255,255,.88); }
.eyebrow.gold { color: var(--gold, #e8b05a); }
.split-media { margin: 0; }
.split-media img { max-height: 520px; object-fit: cover; }
.split-media figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.card-dark .card-link { background: var(--ink); }
.card-dark .card-title { color: #fff; }
.card-dark .card-text { color: rgba(255,255,255,.78); }
.card-dark .text-link { color: var(--gold, #e8b05a); }
.mini-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 0 4px; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); }
.mini-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.mini-card h3 { margin: 0; font-size: 1.2rem; }
.mini-card p { margin: 0 0 6px; flex: 1; }
.stats.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 1em 0 1.6em; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 1em 0 1.6em; }
.location { background: var(--tint); border-radius: var(--radius); padding: 18px 20px; font-size: .95rem; }
.location h4 { margin: 0 0 4px; font-size: 1.05rem; }
.location .eyebrow { margin-bottom: 6px; }
.location p { margin: 0 0 8px; }
.service-block { padding-top: 8px; scroll-margin-top: calc(var(--header-h) + 16px); }
.service-block + .service-block { border-top: 1px solid var(--line); margin-top: 2.4em; padding-top: 2.4em; }
.service-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; margin-bottom: 1.2em; }
.service-head img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .service-head { grid-template-columns: 1fr; } .service-head img { order: -1; aspect-ratio: 16 / 9; } }
.check-list { list-style: none; padding: 0; columns: 2 220px; column-gap: 24px; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: .45em; break-inside: avoid; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: .95rem; margin: 0 0 1em; }
.hours dt { font-weight: 700; color: var(--ink); }
.hours dd { margin: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.check-list.no li::before { content: "×"; border: 0; transform: none; top: -.05em; left: 3px; width: auto; height: auto; color: #b3261e; font-weight: 700; font-size: 1.1em; }
.check-list.one-col { columns: 1; }
.article-narrow { max-width: 760px; }
.float-photo { float: right; width: 220px; margin: 0 0 1em 1.6em; }
.float-photo img { border-radius: 10px; }
@media (max-width: 600px) { .float-photo { float: none; width: 160px; margin: 0 0 1em; } }
.signature { margin-top: 1.6em; }

/* Numbered steps (admissions and how-to lists) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.2em 0 1.6em; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 1em 2em; }
.steps > li::before { content: counter(step) "."; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--ink); }

/* Price list (capital needs) */
.needs-list { list-style: none; padding: 0; margin: 1.2em 0 2em; border-top: 1px solid var(--line); }
.needs-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.needs-list strong { color: var(--brand-dark); white-space: nowrap; font-family: var(--font-head); }

/* 17. Phone-first home page pieces ------------------------------------------ */
/* Card rows that swipe sideways on phones instead of stacking (add class "scroller").
   The next card peeks in so people can tell there is more. */
@media (max-width: 700px) {
  .scroller { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .scroller::-webkit-scrollbar { display: none; }
  .scroller > * { flex: 0 0 84%; scroll-snap-align: start; }
  .scroller .card-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
.swipe-hint { display: none; }
@media (max-width: 700px) { .swipe-hint { display: block; margin: 10px 0 0; font-size: .9rem; color: var(--muted); } }

/* A short help line under the hero buttons */
.hero-help { margin: 18px 0 0; font-size: 1rem; color: rgba(255,255,255,.92); }
.hero-help a { color: #fff; font-weight: 700; }

/* Get-involved links: four plain columns; two by two on phones, without the extra sentence */
.plain-cards { gap: 0 28px; }
@media (max-width: 700px) {
  .card-grid.plain-cards { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .plain-cards .mini-card { padding: 14px 0; }
  .plain-cards .mini-card h3 { font-size: 1.05rem; }
  .plain-cards .mini-card p { display: none; }
  .plain-cards .mini-card .text-link { font-size: .92rem; }
}

/* Count-up numbers sit in compact rows on phones */
@media (max-width: 700px) {
  .stat { display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 0 16px; align-items: baseline; padding: 14px 0; }
  .stat .stat-num { grid-row: span 2; font-size: 2.1rem; }
  .stat .stat-label { margin: 0; }
  .stat p { font-size: .9rem; }
}

/* Home page photo-and-text row */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.feature.flip > :first-child { order: 2; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } .feature img { aspect-ratio: 16 / 10; } }

/* A quote from a family, big and plain */
.pull-quote { margin: 0; max-width: 820px; font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--ink); }
.pull-quote p { margin: 0 0 .5em; }
.pull-quote cite { display: block; font: 400 1rem/1.4 var(--font-body); color: var(--muted); font-style: normal; }

/* Background video in the home page hero (Vimeo, muted, no controls).
   site.js adds the player only when motion is allowed and the connection is not on data saver;
   the photo underneath shows until the video is playing. */
.hero-video { position: absolute; inset: 0; z-index: -2; overflow: hidden; container-type: size; pointer-events: none; }
.hero-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); border: 0; opacity: 0; transition: opacity .8s ease; }
.hero-video.is-playing iframe { opacity: 1; }
.video-toggle { position: absolute; right: var(--gutter); top: 14px; z-index: 2; display: none; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.6); border-radius: var(--btn-radius); background: rgba(0,0,0,.35); color: #fff; font: 600 .85rem var(--font-body); cursor: pointer; }
.hero-video.is-playing ~ .video-toggle, .video-toggle.is-paused { display: inline-flex; }
.video-toggle svg { width: 14px; height: 14px; fill: currentColor; }

/* Headings that open a block sit flush with the top */
.service-head h2, .page-body > h2:first-child, .split > div > h2:first-child { margin-top: 0; }

/* Who a program is for, above its name */
.feature-for { margin: 0 0 4px; font-weight: 600; color: var(--muted); }
.feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 .4em; }
.feature + .feature { margin-top: clamp(36px, 5vw, 64px); }
/* A row of plain text links */
.link-row { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; }
/* A date or detail line on a card */
.card-meta { display: block; margin-bottom: 4px; font-size: .92rem; font-weight: 600; color: var(--muted); }
/* A centered button under a card row */
.section-foot { margin: 28px 0 0; text-align: center; }
/* Small label above the per-ministry giving links */
.give-sub { margin: 22px 0 0; font-size: .95rem; font-weight: 600; color: var(--muted); }
.give-sub + .list-links { margin-top: 6px; padding-top: 0; border-top: 0; }
/* Photo focus helpers for cards whose subject is off-center */
.img-right { object-position: 70% 30%; }
.img-top { object-position: 50% 30%; }
@media (max-width: 700px) { .stat { border-left: 0; } .stat + .stat { border-top: 1px solid var(--line); } }
/* A list with no outer margin */
.flush { margin: 0; }
