/* Kingdom Forth  Ministries — public site
   Palette: orange (--orange) + light blue (--blue) on deep navy ink. Colours and fonts are set from Admin → Settings → Branding. */

:root {
  --orange: #F26B1D;
  --blue: #7CC6EE;
  --ink: #10263B;
  /* Derived shades follow the admin-chosen colours */
  --orange-600: color-mix(in srgb, var(--orange) 74%, #3a1000);   /* AA contrast with white text */
  --orange-700: color-mix(in srgb, var(--orange) 62%, #3a1000);
  --orange-100: color-mix(in srgb, var(--orange) 16%, #fff);
  --orange-50: color-mix(in srgb, var(--orange) 7%, #fff);
  --blue-700: color-mix(in srgb, var(--blue) 45%, #0b3350);       /* readable blue text */
  --blue-200: color-mix(in srgb, var(--blue) 45%, #fff);
  --blue-100: color-mix(in srgb, var(--blue) 26%, #fff);
  --blue-50: color-mix(in srgb, var(--blue) 11%, #fff);
  --ink-2: color-mix(in srgb, var(--ink) 78%, #fff);
  --muted: color-mix(in srgb, var(--ink) 60%, #fff);
  --line: color-mix(in srgb, var(--blue) 18%, #e9eef3);
  --bg: #fff;
  --bg-soft: color-mix(in srgb, var(--blue) 7%, #fff);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 38, 59, .06), 0 2px 8px rgba(16, 38, 59, .05);
  --shadow: 0 10px 30px -10px rgba(16, 38, 59, .18), 0 4px 10px -4px rgba(16, 38, 59, .08);
  --shadow-lg: 0 30px 60px -20px rgba(16, 38, 59, .28);
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--orange-600); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--orange-700); }
h1, h2, h3, h4, .h3, .h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
h4, .h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--ink-2); line-height: 1.65; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.icon { flex-shrink: 0; vertical-align: middle; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.container.narrow { max-width: 860px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 12px; }
.eyebrow-pill { background: #fff; border: 1px solid var(--orange-100); padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); letter-spacing: .1em; }
.eyebrow-pill .icon { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-sm { padding: 7px 14px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange-600); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--orange) 70%, transparent); }
.btn-primary:hover { background: var(--orange-700); color: #fff; box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--orange) 70%, transparent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: color-mix(in srgb, var(--ink) 85%, #000); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--ink); background: var(--blue-50); }
.btn-outline { background: transparent; color: var(--orange-600); border-color: var(--orange-100); }
.btn-outline:hover { background: var(--orange-50); border-color: var(--orange); color: var(--orange-700); }
.btn-light { background: #fff; color: var(--orange-700); }
.btn-light:hover { background: var(--orange-50); color: var(--orange-700); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--orange-600); text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(4px); }

/* ---------- Header & responsive logo ---------- */
.adminbar { background: #fff3cd; color: #6b4e00; text-align: center; font-size: .875rem; padding: 6px 12px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(16, 38, 59, .25); border-bottom-color: var(--line); }
.topbar { background: var(--ink); color: #cfe3f1; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar-tag { display: inline-flex; align-items: center; gap: 6px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.topbar-tag .icon { color: var(--orange); }
.topbar-links { display: flex; align-items: center; gap: 14px; }
.topbar a { color: #cfe3f1; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.site-header.scrolled .topbar { display: none; }

.nav-row { display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 2.5vw, 36px); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: clamp(8px, 1.2vw, 12px); text-decoration: none; color: var(--ink); min-width: 0; flex-shrink: 1; }
.brand-mark { display: block; width: clamp(42px, 5vw, 56px); aspect-ratio: 1; flex-shrink: 0; transition: transform .3s ease; }
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.04); }
.brand-mark .logo-mark { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.45rem); letter-spacing: -.01em; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--orange); }
.brand-sub { font-size: clamp(.58rem, .9vw, .68rem); font-weight: 700; letter-spacing: .38em; text-transform: uppercase; color: var(--blue-700); margin-top: 5px; }
.brand-light { color: #fff; }
.brand-light .brand-sub { color: var(--blue); }
.brand-light .brand-mark { width: 60px; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: block; white-space: nowrap; padding: 10px 11px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.main-nav > ul > li > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li.active > a::after { transform: scaleX(1); }
.main-nav > ul > li.active > a { color: var(--orange-600); }
.main-nav .has-sub > a { padding-right: 4px; }
.sub-toggle { background: none; border: 0; padding: 6px 4px; color: var(--muted); cursor: pointer; display: inline-flex; vertical-align: middle; border-radius: 6px; }
.main-nav .has-sub { display: flex; align-items: center; }
.main-nav .sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; }
.main-nav .sub::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub, .main-nav .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav .sub a:hover { background: var(--orange-50); color: var(--orange-700); }
/* Search: an icon button opens a full-width panel under the header (desktop); the mobile menu has an inline box. */
.nav-search { display: none; }
.main-nav .nav-search { align-items: center; gap: 4px; background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 14px; padding: 4px 4px 4px 14px; }
.main-nav .nav-search input[type=search] { flex: 1; min-width: 0; width: auto; border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 10px 0; font: inherit; font-size: 1rem; color: var(--ink); }
.main-nav .nav-search input[type=search]:focus { outline: none; box-shadow: none; }
.main-nav .nav-search:focus-within { border-color: var(--blue-700); box-shadow: 0 0 0 3px var(--blue-100); }
.main-nav .nav-search button { flex-shrink: 0; width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--orange-600); color: #fff; cursor: pointer; display: grid; place-items: center; }
.search-toggle { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, color .2s, background .2s; }
.search-toggle:hover, .search-toggle[aria-expanded=true] { border-color: var(--orange); color: var(--orange-600); background: var(--orange-50); }
.search-panel { border-top: 1px solid var(--line); background: #fff; box-shadow: 0 16px 30px -18px rgba(16, 38, 59, .35); animation: panelIn .18s ease; }
.search-panel[hidden] { display: none; }
.search-panel-form { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; color: var(--muted); }
.search-panel-form input[type=search] { flex: 1; min-width: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 10px 0; font: 500 1.2rem var(--font-body); color: var(--ink); }
.search-panel-form input[type=search]:focus { outline: none; box-shadow: none; }
.search-panel-form input[type=search]::-webkit-search-cancel-button { display: none; }
.search-close { width: 42px; height: 42px; flex-shrink: 0; border: 0; border-radius: 10px; background: var(--bg-soft); color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.search-close:hover { background: var(--blue-50); }
@keyframes panelIn { from { opacity: 0; transform: translateY(-6px); } }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-give { padding: 10px 20px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s, top .25s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .search-toggle { display: none; }
  .search-panel { display: none !important; }
  .main-nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(380px, 88vw); height: 100dvh; flex-direction: column; align-items: stretch; gap: 16px; background: #fff; padding: 90px 22px 28px; box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .3s ease; overflow-y: auto; z-index: 90; }
  .nav-open .main-nav { transform: none; }
  .nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(16, 38, 59, .45); z-index: 80; }
  .nav-open .site-header { z-index: 120; }
  .nav-actions { position: relative; z-index: 95; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li > a { padding: 13px 12px; font-size: 1.05rem; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .main-nav .has-sub > a { flex: 1; }
  .sub-toggle { padding: 10px; }
  .main-nav .sub { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; }
  .main-nav .has-sub:hover .sub { display: none; }
  .main-nav .has-sub.open .sub { display: block; }
  .main-nav .has-sub.open .sub-toggle .icon { transform: rotate(180deg); }
  .main-nav .nav-search { display: flex; order: -1; }
}
@media (max-width: 640px) {
  .topbar-tag { display: none; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 420px) {
  :root { --header-h: 66px; }
  .btn-give span { display: none; }
  .btn-give { padding: 11px; width: 46px; height: 46px; }
  .brand-sub { letter-spacing: .28em; }
}
@media (max-width: 340px) {
  .brand-text { display: none; }
}

/* ---------- Alerts ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; margin: 18px 0 0; font-weight: 500; border: 1px solid; }
.alert-success { background: #ecfbf3; border-color: #b6ebcf; color: #0f5c35; }
.alert-error { background: #fff1f0; border-color: #ffccc7; color: #a8231b; }
.alert-info { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); }

/* ---------- Sections & grids ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sm { padding: clamp(36px, 5vw, 60px) 0; }
.section-tint { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; flex-wrap: wrap; }
.split-head h2 { margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .split { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob.b1 { width: 520px; height: 520px; background: var(--blue-200); top: -180px; right: -120px; }
.blob.b2 { width: 420px; height: 420px; background: var(--orange-100); bottom: -200px; left: -140px; }
.hero-grid { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--blue) 35%, transparent) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 60%); opacity: .6; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2rem, 3.8vw, 3.25rem); margin-bottom: 20px; }
.hero .lead { max-width: 600px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions.center { justify-content: center; }
.hero-trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .92rem; color: var(--ink-2); font-weight: 600; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--orange); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-emblem { position: relative; width: min(400px, 80vw); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--blue-50) 70%); box-shadow: var(--shadow-lg), inset 0 0 0 10px #fff; }
.hero-emblem .logo-mark { width: 66%; height: auto; filter: drop-shadow(0 18px 24px rgba(16, 38, 59, .18)); animation: float 6s ease-in-out infinite; }
.hero-emblem img.logo-mark { width: 82%; aspect-ratio: 1; object-fit: contain; }
.hero-emblem .ring { position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed var(--blue-200); animation: spin 60s linear infinite; }
.hero-emblem .ring.r2 { inset: -44px; border: 1px solid var(--orange-100); animation-duration: 90s; animation-direction: reverse; }
.hero-photo { width: min(440px, 86vw); aspect-ratio: 9/10; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow); line-height: 1.2; animation: float 7s ease-in-out infinite; }
.float-card b { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.float-card small { color: var(--muted); font-size: .8rem; }
.fc1 { left: -4%; bottom: 14%; }
.fc2 { right: -2%; top: 10%; animation-delay: -3s; }
.fc-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); }
.fc-icon.blue { background: var(--blue-50); color: var(--blue-700); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { min-height: 0; margin-top: 20px; }
  .hero-emblem { width: min(300px, 70vw); }
  .fc1 { left: 0; bottom: 4%; } .fc2 { right: 0; top: 0; }
}
@media (max-width: 480px) { .float-card { display: none; } .hero-actions .btn { width: 100%; } }

/* ---------- Stats ---------- */
.stats-strip { position: relative; margin-top: -48px; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); color: #fff; border-radius: 24px; padding: 30px clamp(16px, 3vw, 40px); box-shadow: var(--shadow-lg); gap: 16px; background-image: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--blue) 30%, transparent), transparent 45%), radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--orange) 28%, transparent), transparent 45%); }
.stat { text-align: center; padding: 6px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--orange); line-height: 1.1; }
.stat:nth-child(even) b { color: var(--blue); }
.stat span { font-size: .9rem; color: #cfe3f1; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } }

/* ---------- Cards ---------- */
.pillar, .mvh-card, .way, .section-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; }
.pillar:hover, .section-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pillar h3 { margin-top: 18px; }
.pillar p, .mvh-card p, .way p, .section-card p { color: var(--ink-2); }
.pillar-icon { width: 54px; height: 54px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--orange-50); color: var(--orange-600); flex-shrink: 0; }
.pillar-icon.blue { background: var(--blue-50); color: var(--blue-700); }
.mvh-card h2 { font-size: 1.45rem; margin: 18px 0 10px; }
.mvh-card { border-top: 4px solid var(--orange); }
.mvh-card:nth-child(2) { border-top-color: var(--blue); }
.section-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.section-card h2 { margin: 16px 0 8px; }
.section-card .count { margin-top: auto; font-weight: 700; font-size: .85rem; color: var(--orange-600); }
.way span { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), color-mix(in srgb, var(--orange) 60%, #ffb347)); color: #fff; margin-bottom: 16px; }
.way:nth-child(even) span { background: linear-gradient(135deg, var(--blue), var(--blue-700)); }
.way h3 { font-size: 1.15rem; }

.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--blue-100), var(--orange-50)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media-icon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--orange-600); }
.card-media-icon .icon { width: 64px; height: 64px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .8); box-shadow: var(--shadow-sm); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 6px 0 8px; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--orange-600); }
.card-body p { color: var(--ink-2); font-size: .97rem; }
.card-actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 8px; }
.card-body > .link-arrow { margin-top: auto; }
.meta { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.tag, .status { position: absolute; top: 14px; left: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.search-results .tag { position: static; display: inline-block; background: var(--blue-50); color: var(--blue-700); box-shadow: none; }
.status-active { background: #e7f8ef; color: #0f6b3b; }
.status-upcoming { background: var(--blue-50); color: var(--blue-700); }
.status-completed { background: #eef0f3; color: #4a5866; }
.progress { height: 8px; border-radius: 99px; background: var(--blue-50); overflow: hidden; margin: 10px 0 6px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), #ffb347); border-radius: 99px; }
.progress-label { color: var(--muted); font-size: .85rem; }

/* ---------- Story / verse / CTA ---------- */
.story-card { position: relative; background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow-lg); overflow: hidden; }
.story-card::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--orange) 45%, transparent), transparent 70%); right: -80px; top: -80px; }
.story-year { font-family: var(--font-head); font-size: clamp(3rem, 7vw, 5rem); color: var(--orange); line-height: 1; display: block; margin-bottom: 18px; }
.story-card p { font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; font-style: italic; position: relative; z-index: 1; }
.story-sign { color: var(--blue); font-weight: 700; }
.verse-band { background: linear-gradient(120deg, var(--blue-100), var(--blue-50) 50%, var(--orange-50)); padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.verse-icon { color: var(--orange); margin: 0 auto 12px; display: block; }
.verse-band blockquote { margin: 0 auto; max-width: 820px; }
.verse-band p { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.35; color: var(--ink); }
.verse-band cite { font-style: normal; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--orange-600); }
.actions-grid { counter-reset: a; }
.action-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; text-decoration: none; color: inherit; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.action-card::before { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.action-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.action-card:hover::before { transform: scaleX(1); }
.action-num { position: absolute; right: 22px; top: 14px; font-family: var(--font-head); font-size: 3.4rem; color: var(--blue-50); font-weight: 700; line-height: 1; }
.action-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--orange-600); color: #fff; margin-bottom: 20px; box-shadow: 0 10px 20px -10px var(--orange); }
.action-icon.blue { background: var(--blue-700); box-shadow: 0 10px 20px -10px var(--blue); }
.action-card p { color: var(--ink-2); }
.action-card .link-arrow { margin-top: auto; }
.cta-band { background: linear-gradient(120deg, var(--orange-600) 0%, var(--orange) 55%, #ff9a4d 100%); color: #fff; padding: clamp(48px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .08); right: -120px; top: -200px; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .92); margin: 0; max-width: 560px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.partners-row { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; text-align: center; }
.partners-row .eyebrow { margin: 0; }
.partner-logos { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; align-items: center; }
.partner-logos a { display: block; padding: 10px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); filter: grayscale(.4); opacity: .9; transition: all .2s; }
.partner-logos a:hover { filter: none; opacity: 1; box-shadow: var(--shadow-sm); }
.partner-logos img { height: 52px; width: auto; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--blue-50), #fff); border-bottom: 1px solid var(--line); }
.page-hero-art { position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, var(--orange-100), transparent 65%); pointer-events: none; }
.page-hero-art::after { content: ''; position: absolute; left: -260px; top: 220px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, var(--blue-100), transparent 65%); }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 720px; margin-bottom: 0; }
.page-hero .hero-actions, .page-hero .tabs, .page-hero .big-search, .page-hero .list-tools { margin-top: 26px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--blue-200); }
.breadcrumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--orange-600); }
.article-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.byline { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; color: var(--muted); font-size: .92rem; font-weight: 600; }
.byline span { display: inline-flex; align-items: center; gap: 6px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.tab:hover { border-color: var(--blue); color: var(--ink); }
.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.list-tools, .big-search { display: flex; gap: 10px; max-width: 640px; flex-wrap: wrap; }
.list-tools input, .big-search input { flex: 1 1 220px; }
.list-tools select { flex: 0 0 auto; width: auto; }

/* ---------- Prose ---------- */
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.8em; color: var(--ink); }
.prose h3 { margin-top: 1.5em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange); }
.prose blockquote { margin-left: 0; padding: 18px 24px; border-left: 4px solid var(--orange); background: var(--orange-50); border-radius: 0 14px 14px 0; font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.prose img { border-radius: 14px; }
.prose a { font-weight: 600; }
.story-prose > p:first-child::first-letter { float: left; font-family: var(--font-head); font-size: 4.2rem; line-height: .85; padding: 6px 10px 0 0; color: var(--orange); }
.belief-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.belief-list li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-weight: 600; }
.belief-list.compact li { padding: 10px 14px; background: transparent; border: 0; }
.belief-list span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); flex-shrink: 0; }
.belief-list li:nth-child(even) span { background: var(--blue-50); color: var(--blue-700); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 0; }
.faq-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); flex-shrink: 0; transition: transform .25s, background .2s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--orange-600); color: #fff; }
.faq-a { padding: 0 24px 22px; font-size: 1rem; }
.note-card { display: flex; gap: 16px; align-items: flex-start; margin-top: 36px; padding: 22px 24px; border-radius: 16px; background: var(--orange-50); border: 1px solid var(--orange-100); }
.note-card > .icon { color: var(--orange-600); margin-top: 3px; }
.note-card p { margin: 4px 0 0; color: var(--ink-2); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card > h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; display: flex; flex-direction: column; }
.field label { font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.req { color: var(--orange-600); }
.opt { color: var(--muted); font-weight: 400; font-size: .85em; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], input[type=url], input[type=password], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid color-mix(in srgb, var(--blue) 30%, #d5dee6); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2341566b' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 4px var(--blue-100); }
.has-error input, .has-error select, .has-error textarea { border-color: #d93025; }
.field-error { color: #c5221f; font-size: .85rem; margin: 6px 0 0; font-weight: 600; }
.hint { color: var(--muted); font-size: .82rem; margin-top: 5px; }
.checks { display: grid; gap: 8px; margin: 4px 0 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--orange-600); flex-shrink: 0; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { display: inline-flex; align-items: center; gap: 6px; }
.success-state { text-align: center; padding: 24px 8px; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: linear-gradient(135deg, var(--orange), #ffad5c); color: #fff; box-shadow: 0 16px 30px -12px var(--orange); }
.success-icon.pending { background: linear-gradient(135deg, var(--blue), var(--blue-700)); box-shadow: 0 16px 30px -12px var(--blue); }
.info-stack { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.info-card.soft { background: var(--blue-50); border-color: var(--blue-100); }
.info-card h2 { margin: 2px 0 4px; }
.info-card p, .info-card a { margin: 0; overflow-wrap: anywhere; }
.stat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.stat-pair.wide { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0 0 28px; }
.stat-pair div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.stat-pair b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--orange-600); line-height: 1.1; }
.stat-pair span { color: var(--muted); font-size: .9rem; }

/* ---------- Prayer wall ---------- */
.inline-filter select { min-width: 200px; }
.prayer-wall { columns: 3 300px; column-gap: 20px; }
.prayer-card { break-inside: avoid; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 20px; }
.prayer-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.prayer-card header small { display: block; color: var(--muted); font-size: .8rem; }
.prayer-card p { color: var(--ink-2); font-size: .98rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-100), var(--blue-200)); color: var(--blue-700); font-weight: 800; flex-shrink: 0; }
.badge-answered { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 700; color: #0f6b3b; background: #e7f8ef; padding: 4px 10px; border-radius: 99px; }
.pray-btn { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--orange-100); background: var(--orange-50); color: var(--orange-700); font: 600 .9rem var(--font-body); padding: 7px 14px; border-radius: 99px; cursor: pointer; transition: all .2s; }
.pray-btn:hover:not(:disabled) { background: var(--orange-600); border-color: var(--orange-600); color: #fff; }
.pray-btn:disabled { opacity: .75; cursor: default; background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); }

/* ---------- Give ---------- */
.give-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 960px) { .give-layout { grid-template-columns: 1fr; } .give-card { order: -1; } }
.impact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.impact-list li { display: flex; gap: 16px; }
.impact-list p { margin: 4px 0 0; color: var(--ink-2); font-size: .97rem; }
.trust-box { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 18px; padding: 18px 20px; margin-bottom: 18px; }
.trust-box p { display: flex; gap: 10px; margin: 0; padding: 6px 0; font-size: .93rem; }
.trust-box .icon { color: var(--blue-700); margin-top: 3px; }
.step { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; margin-bottom: 16px; padding: 0; }
.step-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 .9rem var(--font-body); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-soft); border: 1px solid var(--line); padding: 5px; border-radius: 14px; margin-bottom: 18px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border-radius: 10px; font-weight: 700; color: var(--ink-2); transition: all .2s; }
.segmented input:checked + span { background: #fff; color: var(--orange-700); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid var(--blue); }
.amount-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; }

.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 16px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 16px; font: 700 1rem var(--font-body); color: var(--ink); cursor: pointer; transition: all .15s; min-width: 76px; }
.chip:hover { border-color: var(--orange); }
.chip.on { background: var(--orange-600); border-color: var(--orange-600); color: #fff; box-shadow: 0 8px 16px -8px var(--orange); }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span { display: grid; place-items: center; padding: 0 14px; background: var(--bg-soft); border: 1.5px solid color-mix(in srgb, var(--blue) 30%, #d5dee6); border-right: 0; border-radius: 12px 0 0 12px; font-weight: 700; color: var(--ink-2); min-width: 52px; white-space: nowrap; }
.input-prefix input { border-radius: 0 12px 12px 0; font-size: 1.15rem; font-weight: 700; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.pay-method { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: all .15s; background: #fff; }
.pay-method:hover { border-color: var(--blue); }
.pay-method input { position: absolute; opacity: 0; }
.pay-method[hidden] { display: none; }
.pay-method.is-off { cursor: not-allowed; opacity: .5; filter: grayscale(1); background: var(--bg-soft, #f5f6f8); border-style: dashed; }
.pay-method.is-off:hover { border-color: var(--line); }
.pay-method.is-off .pm-text small { font-style: italic; }
.pm-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); flex-shrink: 0; }
.pm-text b { display: block; font-size: .98rem; }
.pm-text small { color: var(--muted); font-size: .8rem; line-height: 1.3; display: block; }
.pm-check { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; flex-shrink: 0; }
.pay-method:has(input:checked) { border-color: var(--orange-600); background: var(--orange-50); box-shadow: 0 0 0 3px var(--orange-100); }
.pay-method:has(input:checked) .pm-check { background: var(--orange-600); border-color: var(--orange-600); color: #fff; }
.pay-method:has(input:focus-visible) { outline: 3px solid var(--blue); }
.give-submit { margin-top: 6px; }
.thanks-panel { text-align: center; }
.receipt { display: grid; gap: 0; margin: 26px 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-align: left; }
.receipt div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; }
.receipt div + div { border-top: 1px solid var(--line); }
.receipt dt { color: var(--muted); font-weight: 600; }
.receipt dd { margin: 0; font-weight: 700; text-align: right; }
.bank-box { text-align: left; background: var(--blue-50); border-radius: 16px; padding: 18px 22px; margin-top: 16px; font-size: 1rem; }
.donor-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.donor-list li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.donor-list small { display: block; color: var(--muted); }
.donor-list .amt { margin-left: auto; font-weight: 800; color: var(--orange-600); white-space: nowrap; }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.side-card h2 { margin: 8px 0 0; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.cover { margin: 0 0 32px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.cover img { width: 100%; }
.video { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 32px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.download-card { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; margin: 32px 0 16px; flex-wrap: wrap; }
.download-card small { display: block; color: var(--muted); }
.download-card .btn { margin-left: auto; }
.pdf-view { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: 16px; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.share > span { font-weight: 700; margin-right: 4px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--orange-600); color: #fff; border-color: var(--orange-600); }
.share button.copied { background: #0f6b3b; color: #fff; }

/* ---------- Misc ---------- */
.empty { text-align: center; padding: 48px 20px; color: var(--muted); background: var(--bg-soft); border: 1px dashed var(--line); border-radius: 20px; }
.empty .icon { color: var(--blue-700); margin-bottom: 8px; }
.search-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.search-results li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.search-results h2 { font-size: 1.2rem; margin: 8px 0 6px; }
.search-results h2 a { color: var(--ink); text-decoration: none; }
.search-results h2 a:hover { color: var(--orange-600); }
.search-results p { margin: 0; color: var(--ink-2); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.pagination a.on { background: var(--orange-600); border-color: var(--orange-600); color: #fff; }
.center-box { display: grid; place-items: center; }
.panel { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow); text-align: center; }
.panel h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.panel .big-search { margin: 22px auto; }
.error-code { display: block; font-family: var(--font-head); font-size: clamp(4rem, 12vw, 7rem); line-height: 1; font-weight: 700; background: linear-gradient(135deg, var(--orange), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
code { background: var(--bg-soft); padding: 2px 8px; border-radius: 6px; font-size: .95em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c3d6e5; font-size: .97rem; }
.footer-cta { background: linear-gradient(120deg, color-mix(in srgb, var(--ink) 85%, var(--blue)), var(--ink)); border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 40px 0; }
.footer-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 4px; }
.footer-cta p { margin: 0; }
.newsletter { display: flex; gap: 10px; flex: 1 1 380px; max-width: 520px; }
.newsletter input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; border-radius: 999px; padding: 13px 20px; }
.newsletter input::placeholder { color: #9fb6c9; }
.newsletter input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(124, 198, 238, .25); }
@media (max-width: 480px) { .newsletter { flex-direction: column; } }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(var(--cols, 2), 1fr) 1.3fr; gap: 36px; padding-top: 56px; padding-bottom: 48px; }
.footer-grid > * { min-width: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about p { margin: 18px 0; max-width: 380px; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #c3d6e5; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { color: var(--blue); margin-top: 4px; }
.contact-list a, .contact-list span { overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--orange-600); color: #fff; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: .85rem; color: #91a8bb; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: #91a8bb; display: inline-flex; align-items: center; gap: 4px; }
.footer-bottom a.footer-copy-link { display: inline; text-decoration: none; }
.footer-bottom a.footer-copy-link:hover, .footer-bottom a.footer-copy-link:focus-visible { color: #fff; text-decoration: underline; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-600); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .25s; z-index: 50; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: #fff; background: var(--orange-700); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .to-top, .share, .cta-band { display: none !important; }
}

/* ---------- Long words & links never overflow their container ----------
   Long URLs or words without spaces (common in pasted summaries and content) wrap inside
   cards, article bodies and headings instead of spilling past the edge. */
h1, h2, h3, h4, p, li, dd, td, th, blockquote, figcaption, .lead, .prose, .card-body, .page-hero, .faq-a, .prayer-card, .search-results li, .side-card, .info-card {
  overflow-wrap: break-word; word-wrap: break-word; }
.prose, .card-body p, .card-body h3, .lead, .search-results p, .prayer-card p, .faq-a { overflow-wrap: anywhere; }
.grid-3 > *, .grid-4 > *, .split > *, .form-layout > *, .give-layout > *, .article-layout > *, .hero-inner > * { min-width: 0; }
.prose a { word-break: break-word; }
.prose pre { overflow-x: auto; white-space: pre-wrap; max-width: 100%; }
.prose table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; }
.prose img, .prose iframe, .prose video, .prose figure { max-width: 100%; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; }
.prose figure { margin: 1.4em 0; }
/* Article pages: the summary and the body share one centred reading column */
.article-hero .lead, .article-hero h1 { max-width: none; }
.card-body p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Give: payment methods first, currency follows the method ---------- */
.method-group { margin: 14px 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.method-group:first-of-type { margin-top: 0; }
.pm-icon.pm-apple { background: #000; color: #fff; }
.pm-icon.pm-google { background: #fff; border: 1px solid var(--line); }
.pm-icon.pm-paypal { background: #eaf2ff; color: #003087; }
.pm-icon.pm-smartphone { background: #e9f8ef; color: #0f7a43; }
.pm-icon.pm-bank { background: var(--orange-50); color: var(--orange-700); }
.method-hint { margin-top: 12px; }
.method-hint p, .method-hint > div { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); color: var(--ink-2); font-size: .93rem; }
.method-hint > div { flex-direction: column; }
.method-hint > div > p { padding: 0; background: none; }
.method-hint .icon { color: var(--blue-700); margin-top: 3px; }
.method-hint [hidden] { display: none; }
.bank-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; width: 100%; }
.bank-list li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.bank-list small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.bank-list .tag { position: static; display: inline-block; padding: 2px 8px; font-size: .68rem; box-shadow: none; background: var(--blue-50); color: var(--blue-700); }
.mono { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; letter-spacing: .02em; }
select.fixed:disabled { opacity: 1; background-color: var(--bg-soft); color: var(--ink); background-image: none; cursor: default; }
.currency-note:empty { display: none; }
.currency-note { margin: -4px 0 10px; }
.monthly-check { margin-top: 4px; padding: 12px 14px; border: 1.5px dashed var(--line); border-radius: 12px; }
.monthly-check span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.phone-field.need label { color: var(--orange-700); }
.designation-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 20px; border-radius: 12px; background: var(--orange-50); border: 1px solid var(--orange-100); font-size: .95rem; }
.designation-note .icon { color: var(--orange-600); }
.give-verse { margin: 22px 0; padding: 16px 20px; border-left: 4px solid var(--orange); background: var(--orange-50); border-radius: 0 14px 14px 0; font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.give-verse cite { display: block; margin-top: 6px; font: 700 .8rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); font-style: normal; }
.captcha { margin: 6px 0 14px; }
.captcha-note { font-size: .78rem; color: var(--muted); margin: 6px 0 0; }
.grecaptcha-badge { visibility: hidden; }
/* Waiting for phone approval */
.phone-wait { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 28px; display: grid; place-items: center; background: #e9f8ef; color: #0f7a43; position: relative; }
.phone-wait::after { content: ''; position: absolute; inset: -8px; border-radius: 34px; border: 3px solid #0f7a43; opacity: .35; animation: ring 1.6s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: .5; } to { transform: scale(1.15); opacity: 0; } }
.wait-steps { text-align: left; margin: 22px auto; max-width: 420px; padding-left: 20px; display: grid; gap: 8px; }
.wait-status { font-weight: 700; color: var(--blue-700); }

/* ---- Languages (English / አማርኛ) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; }
.topbar .lang-switch a { padding: 2px 10px; border-radius: 999px; font-weight: 600; line-height: 1.6; }
.topbar .lang-switch a.on { background: var(--orange); color: #fff; }
.lang-toggle { display: none; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .85rem; text-decoration: none; }
.lang-toggle:hover { border-color: var(--orange); color: var(--orange-600); text-decoration: none; }
.lang-toggle:not(.when-no-topbar) { display: inline-flex; }
@media (max-width: 1060px) { .lang-toggle.when-no-topbar { display: inline-flex; } .topbar .lang-switch { display: none; } }
.site-header.scrolled .lang-toggle.when-no-topbar { display: inline-flex; }
.lang-suggest { background: var(--blue-50); border-bottom: 1px solid var(--line); font-size: .92rem; }
.lang-suggest .container { display: flex; align-items: center; gap: 8px; padding-block: 8px; }
.lang-suggest a { font-weight: 700; color: var(--blue-700); }
.lang-suggest button { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--muted); padding: 4px; }

/* Amharic typography: Ge'ez script has no capitals and taller glyphs — no uppercase/tracking, a little more line height. */
.lang-am body, [lang="am"] { font-family: var(--font-body); }
.lang-am body { line-height: 1.8; }
.lang-am h1, .lang-am h2, .lang-am h3, .lang-am h4 { line-height: 1.35; letter-spacing: 0; }
.lang-am .eyebrow, .lang-am .tag, .lang-am .status, .lang-am .topbar-tag, .lang-am .site-footer h3, .lang-am .verse-band cite,
.lang-am .method-group, .lang-am .give-verse cite, .lang-am .brand-sub { letter-spacing: .02em; text-transform: none; }
.lang-am .brand-sub { font-size: clamp(.66rem, 1vw, .78rem); }
.lang-am h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
@media (max-width: 420px) { .lang-toggle { padding: 6px 8px; } .lang-toggle .icon { display: none; } }

/* ---------- Where we work (About page map) ---------- */
.where-work { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.where-work .section-head h2 { color: #fff; }
.where-work .section-head .lead { color: color-mix(in srgb, #fff 78%, var(--ink)); }
.where-work .eyebrow { color: var(--blue); }
.ww-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 28px; }
.ww-tab { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: .95rem; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 7px 16px 7px 7px; cursor: pointer; transition: background .2s, border-color .2s; }
.ww-tab span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); font-size: .8rem; }
.ww-tab:hover { background: rgba(255, 255, 255, .13); }
.ww-tab[aria-selected="true"] { background: var(--orange); border-color: var(--orange); }
.ww-tab[aria-selected="true"] span { background: #fff; color: var(--orange-700); }
.ww-tab:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.ww-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.ww-map-wrap { margin: 0; position: sticky; top: calc(var(--header-h) + 16px); }
.ww-map { width: 100%; height: auto; display: block; border-radius: var(--radius); background: color-mix(in srgb, var(--blue) 14%, var(--ink)); }
.ww-land { fill: color-mix(in srgb, #fff 9%, var(--ink)); stroke: color-mix(in srgb, #fff 22%, var(--ink)); stroke-width: 1; stroke-linejoin: round; }
.ww-country-shape path { fill: color-mix(in srgb, var(--orange) 45%, var(--ink)); stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; cursor: pointer; transition: fill .2s; }
.ww-country-shape:hover path, .ww-country-shape:focus path { fill: color-mix(in srgb, var(--orange) 75%, var(--ink)); }
.ww-country-shape:focus { outline: none; }
.ww-country-shape:focus-visible path { stroke: var(--blue); stroke-width: 3; }
.ww-country-shape.active path { fill: var(--orange); }
.ww-sea { fill: color-mix(in srgb, var(--blue) 70%, var(--ink)); font-style: italic; font-size: 15px; letter-spacing: .06em; pointer-events: none; }
.ww-neighbour { fill: color-mix(in srgb, #fff 42%, var(--ink)); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.ww-pin { pointer-events: none; }
.ww-pin circle { fill: #fff; stroke: var(--ink); stroke-width: 2; transition: fill .2s; }
.ww-pin-num { fill: var(--ink); font-size: 14px; font-weight: 800; }
.ww-name { fill: #fff; font-size: 17px; font-weight: 700; paint-order: stroke; stroke: var(--ink); stroke-width: 4px; stroke-linejoin: round; }
.ww-pin.active circle { fill: var(--ink); stroke: #fff; }
.ww-pin.active .ww-pin-num { fill: #fff; }
.ww-hint { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .9rem; color: color-mix(in srgb, #fff 70%, var(--ink)); }
.ww-cards { display: grid; gap: 20px; }
.ww-country { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg); border-top: 4px solid var(--orange); scroll-margin-top: calc(var(--header-h) + 16px); }
.ww-country:focus { outline: none; }
[data-ww].ww-on .ww-country:not(.active) { display: none; }
.ww-on .ww-country.active { animation: ww-in .35s ease; }
@keyframes ww-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ww-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ww-head h3 { margin: 0; font-size: 1.7rem; }
.ww-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 800; flex-shrink: 0; }
.ww-pop { display: flex; align-items: center; gap: 12px; background: var(--blue-50); border-radius: 12px; padding: 12px 16px; margin: 0 0 20px; color: var(--blue-700); }
.ww-pop span { display: grid; line-height: 1.3; }
.ww-pop small { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.ww-pop b { color: var(--ink); font-size: 1.2rem; }
.ww-country h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 12px; font-family: var(--font-body); }
.ww-religions, .ww-subs, .ww-persecution { list-style: none; margin: 0; padding: 0; }
.ww-religions { display: grid; gap: 14px; margin-bottom: 22px; }
.ww-rel { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; line-height: 1.4; }
.ww-rel b { color: var(--orange-600); white-space: nowrap; }
.ww-bar { display: block; height: 8px; border-radius: 99px; background: var(--orange-50); margin-top: 6px; overflow: hidden; }
.ww-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--orange); }
.ww-bar.sub { height: 6px; background: var(--blue-50); }
.ww-bar.sub > span { background: var(--blue); }
.ww-note { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; line-height: 1.45; }
.ww-subs { display: grid; gap: 10px; margin: 12px 0 0 14px; padding-left: 14px; border-left: 2px solid var(--line); }
.ww-subs .ww-rel { font-weight: 500; font-size: .95rem; }
.ww-subs .ww-rel b { color: var(--blue-700); }
.ww-persecution { display: grid; gap: 10px; }
.ww-persecution li { display: flex; gap: 12px; align-items: flex-start; background: var(--orange-50); border-radius: 12px; padding: 12px 14px; line-height: 1.5; }
.ww-persecution svg { color: var(--orange-600); flex-shrink: 0; margin-top: 3px; }
.ww-source { text-align: center; font-size: .85rem; color: color-mix(in srgb, #fff 55%, var(--ink)); margin: 28px 0 0; }
@media (max-width: 900px) {
  .ww-layout { grid-template-columns: 1fr; }
  .ww-map-wrap { position: static; }
}
@media (max-width: 480px) {
  .ww-tab { font-size: .85rem; padding-right: 12px; }
  .ww-head h3 { font-size: 1.4rem; }
}
