/*
 * World Church Finder: public site styles (v3).
 * Brand colours come from the client. To switch to option A (navy #20384F, sage #7FA9A2) change only the
 * variables in :root; nothing else in this file hard-codes a brand colour.
 */
:root {
    --navy: #102D43;
    --navy-2: #1A4160;
    --navy-deep: #0B2133;
    --aqua: #83D8D8;
    --aqua-2: #9AE3E3;
    --aqua-tint: #EAF7F7;
    --aqua-ink: #17707A;   /* darker aqua for small text on white (passes 4.5:1) */
    --white: #FFFFFF;
    --muted: #4D6275;
    --line: #D3E0E7;
    --sand: #F5F9FA;

    --serif: "Newsreader", Georgia, "Times New Roman", serif;
    --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --r-control: 12px;
    --r-card: 20px;
    --r-panel: 28px;
    --gutter: clamp(18px, 4vw, 56px);
    --wrap: 1240px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow-lift: 0 28px 50px -24px rgba(16, 45, 67, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, picture { max-width: 100%; }
img { display: block; }
a { color: var(--aqua-ink); text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--navy); letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
::selection { background: var(--aqua); color: var(--navy); }

/* ---------- focus: a clean ring for keyboard users, nothing on mouse clicks ---------- */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.wcf-footer :focus-visible, .wcf-visit :focus-visible, .wcf-cta :focus-visible, .wcf-herox :focus-visible, .wcf-banner :focus-visible, .wcf-section.dark :focus-visible, .wcf-chero :focus-visible, .wcf-marquee :focus-visible { outline-color: var(--aqua); }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; }

.wcf-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wcf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wcf-skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-control); z-index: 200; }
.wcf-skip:focus { left: 8px; }

/* ---------- header ---------- */
.wcf-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.wcf-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(16,45,67,.55); }
.wcf-header-in { display: flex; align-items: center; gap: 28px; min-height: 76px; transition: min-height .25s; }
.wcf-header.is-scrolled .wcf-header-in { min-height: 64px; }
.wcf-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; }
.wcf-brand svg { width: 44px; height: 44px; flex: none; transition: transform .4s var(--ease); }
.wcf-brand:hover svg { transform: rotate(-6deg) scale(1.06); }
.wcf-brand:hover { color: var(--navy); }
.wcf-brand-text { font: 700 20px/1.05 var(--sans); letter-spacing: -.01em; }
.wcf-brand-text small { display: block; font: 600 20px/1.05 var(--sans); color: var(--aqua-ink); }
.wcf-nav { display: flex; align-items: center; gap: 6px; }
.wcf-nav a:not(.wcf-btn) { position: relative; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 14px; border-radius: 10px; transition: background .2s, color .2s; }
.wcf-nav a:not(.wcf-btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--aqua); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.wcf-nav a:not(.wcf-btn):hover { background: var(--aqua-tint); color: var(--navy); }
.wcf-nav a:not(.wcf-btn):hover::after, .wcf-nav a[aria-current="page"]::after { transform: scaleX(1); }
.wcf-nav .wcf-btn { margin-left: 10px; min-height: 46px; padding: 0 22px; }
.wcf-menu-btn { display: none; background: none; border: 0; width: 48px; height: 48px; margin-right: -10px; cursor: pointer; color: var(--navy); border-radius: 12px; }
.wcf-menu-btn span, .wcf-menu-btn span::before, .wcf-menu-btn span::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; margin: auto; transition: transform .25s, background .25s; border-radius: 2px; }
.wcf-menu-btn span::before, .wcf-menu-btn span::after { content: ""; position: absolute; left: 0; }
.wcf-menu-btn span::before { top: -7px; } .wcf-menu-btn span::after { top: 7px; }
.wcf-menu-btn[aria-expanded="true"] span { background: transparent; }
.wcf-menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.wcf-menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons: the aqua fill sweeps in, and the text always stays readable ---------- */
.wcf-btn { --bg: var(--navy); --fg: #fff; --sweep: var(--aqua); --fg-hover: var(--navy);
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--r-control); border: 2px solid var(--bg);
    background: linear-gradient(var(--sweep), var(--sweep)) no-repeat 0 100% / 0 100%, var(--bg); color: var(--fg); font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-size .4s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.wcf-btn:hover { background-size: 100% 100%; color: var(--fg-hover); border-color: var(--sweep); transform: translateY(-2px); box-shadow: 0 16px 28px -16px rgba(16,45,67,.55); }
.wcf-btn:active { transform: translateY(0); box-shadow: none; }
.wcf-btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); flex: none; }
.wcf-btn:hover svg { transform: translateX(4px); }
.wcf-btn-line { --bg: transparent; --fg: var(--navy); --sweep: var(--navy); --fg-hover: #fff; border-color: var(--navy); }
.wcf-btn-line:hover { border-color: var(--navy); }
.wcf-btn-aqua { --bg: var(--aqua); --fg: var(--navy); --sweep: #fff; --fg-hover: var(--navy); border-color: var(--aqua); }
.wcf-btn-aqua:hover { border-color: #fff; }
.wcf-btn-light { --bg: transparent; --fg: #fff; --sweep: #fff; --fg-hover: var(--navy); border-color: rgba(255,255,255,.6); }
.wcf-btn-light:hover { border-color: #fff; }
.wcf-block-btn { display: flex; width: 100%; }
.wcf-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--aqua-ink); }
.wcf-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.wcf-link:hover svg { transform: translateX(5px); }

/* ---------- form fields ---------- */
.wcf-field { display: block; margin-bottom: 18px; }
.wcf-field > span { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--navy); }
.wcf-input, .wcf-select, .wcf-textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid #C4D3DC; border-radius: var(--r-control); background: #fff; font: 400 16px/1.4 var(--sans); color: var(--navy); transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.wcf-input::placeholder, .wcf-textarea::placeholder { color: #6B8090; }
.wcf-textarea { min-height: 150px; resize: vertical; }
.wcf-input:hover, .wcf-textarea:hover, .wcf-select:hover, .wcf-dd-btn:hover { border-color: var(--navy-2); }
.wcf-input:focus, .wcf-textarea:focus, .wcf-select:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(131,216,216,.55); }
.wcf-select { padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23102D43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.wcf-hint { font-size: 14px; color: var(--muted); margin-top: 6px; display: block; }
.wcf-err { color: #A12C22; font-weight: 600; }
.wcf-alert { padding: 14px 18px; border-radius: var(--r-control); background: var(--aqua-tint); border: 1.5px solid var(--aqua); margin-bottom: 20px; }
.wcf-alert-error { background: #FDF1F0; border-color: #E4A7A1; }
.wcf-hp { position: absolute; left: -9999px; }
.wcf-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.wcf-check input { width: 20px; height: 20px; accent-color: var(--navy); }

/* custom dropdown (wcf.js builds one from every select.wcf-select) */
.wcf-dd { position: relative; width: 100%; }
.wcf-dd > select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wcf-dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid #C4D3DC; border-radius: var(--r-control); background: #fff; color: var(--navy); font: 400 16px/1.3 var(--sans); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.wcf-dd-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcf-dd-btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.wcf-dd.is-open .wcf-dd-btn { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(131,216,216,.55); }
.wcf-dd.is-open .wcf-dd-btn svg { transform: rotate(180deg); }
.wcf-dd-btn:focus-visible { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(131,216,216,.55); outline: none; }
.wcf-dd-list { position: absolute; left: 0; min-width: 100%; width: max-content; max-width: min(92vw, 360px); top: calc(100% + 8px); z-index: 80; max-height: 296px; overflow: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(16,45,67,.45); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top; transition: opacity .18s, transform .22s var(--ease), visibility 0s linear .22s; overscroll-behavior: contain; }
.wcf-dd.is-open .wcf-dd-list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.wcf-dd-opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; border-radius: 10px; color: var(--navy); cursor: pointer; font-size: 16px; transition: background .12s; }
.wcf-dd-opt.is-active { background: var(--aqua-tint); }
.wcf-dd-opt[aria-selected="true"] { font-weight: 700; }
.wcf-dd-opt svg { width: 18px; height: 18px; flex: none; color: var(--aqua-ink); opacity: 0; }
.wcf-dd-opt[aria-selected="true"] svg { opacity: 1; }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="up"], .js [data-reveal=""] { transform: translateY(32px); }
.js [data-reveal="left"] { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- hero: full-bleed image slider ---------- */
.wcf-herox { position: relative; width: 100%; max-width: 1920px; margin: 0 auto; aspect-ratio: 21 / 9; color: #fff; background: var(--navy); }
.wcf-herox-slides { position: absolute; inset: 0; overflow: hidden; }
.wcf-hslide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.wcf-hslide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease; }
.wcf-hslide picture, .wcf-hslide img { display: block; width: 100%; height: 100%; }
.wcf-hslide img { object-fit: cover; }
.wcf-hslide.is-active img { animation: wcf-kenburns 9s ease-out both; }
@keyframes wcf-kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
.wcf-herox-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,33,51,.9) 0%, rgba(11,33,51,.66) 38%, rgba(11,33,51,.14) 70%, rgba(11,33,51,0) 100%); pointer-events: none; }
.wcf-herox-in { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; }
.wcf-herox-text { max-width: 640px; }
.wcf-herox h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: 1.04; font-weight: 400; letter-spacing: -.025em; margin-bottom: 16px; }
.wcf-lead { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); margin: 0 0 24px; max-width: 46ch; }
.wcf-herox .wcf-lead { color: rgba(255,255,255,.92); margin-bottom: 26px; }
.wcf-herox-ctl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px; }
.wcf-herox-ctl .wcf-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wcf-hcap { font-size: 14px; color: #fff; background: rgba(11,33,51,.66); backdrop-filter: blur(8px); padding: 9px 16px; border-radius: 999px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcf-grp { display: flex; align-items: center; gap: 12px; }
.wcf-hdots { display: flex; align-items: center; gap: 12px; }
.wcf-hdots button { position: relative; width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.4); cursor: pointer; overflow: hidden; transition: background .2s, width .3s var(--ease); }
.wcf-hdots button::after { content: ""; position: absolute; inset: -14px -3px; }
.wcf-hdots button:hover { background: rgba(255,255,255,.75); }
.wcf-hdots button i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.wcf-hdots button[aria-current="true"] { width: 58px; background: rgba(255,255,255,.35); }
.wcf-hdots button[aria-current="true"] i { animation: wcf-progress var(--dur, 6.5s) linear both; }
.is-paused .wcf-hdots button[aria-current="true"] i { animation: none; transform: scaleX(1); }
@keyframes wcf-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.wcf-hbtn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); background: rgba(11,33,51,.4); color: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease); }
.wcf-hbtn:hover { background: #fff; color: var(--navy); border-color: #fff; transform: scale(1.06); }
.wcf-hbtn svg { width: 20px; height: 20px; }
.wcf-pause span { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.wcf-pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid currentColor; }

/* hero search */
.wcf-search { display: flex; align-items: stretch; background: #fff; border-radius: 18px; padding: 8px; max-width: 700px; box-shadow: 0 30px 60px -28px rgba(0,0,0,.7); transition: box-shadow .25s; }
.wcf-search:focus-within { box-shadow: 0 30px 60px -28px rgba(0,0,0,.7), 0 0 0 4px rgba(131,216,216,.9); }
.wcf-search .wcf-input, .wcf-search .wcf-dd-btn { border: 0; background: transparent; min-height: 54px; box-shadow: none; border-radius: 12px; }
.wcf-search .wcf-input { flex: 2 1 auto; min-width: 0; }
.wcf-search .wcf-dd { flex: 0 0 210px; min-width: 0; border-left: 1.5px solid var(--line); }
.wcf-search .wcf-input:focus, .wcf-search .wcf-dd-btn:focus-visible, .wcf-search .wcf-dd.is-open .wcf-dd-btn { box-shadow: none; background: var(--aqua-tint); }
.wcf-search .wcf-btn { flex: none; min-height: 54px; border-radius: 12px; }
.wcf-search .wcf-dd-list { left: auto; right: 0; }

/* ---------- section scaffolding ---------- */
.wcf-section { padding: clamp(44px, 6vw, 84px) 0; }
.wcf-section.tint { background: var(--sand); }
.wcf-section.dark { background: var(--navy); color: #fff; }
.wcf-section.dark h2, .wcf-section.dark h3 { color: #fff; }
.wcf-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 52px); }
.wcf-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; margin-bottom: 14px; }
.wcf-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.dark .wcf-head p { color: rgba(255,255,255,.82); }
.wcf-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(22px, 3vw, 38px); }
.wcf-head-row h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; }
.wcf-head-row p { color: var(--muted); margin: 8px 0 0; }

/* marquee */
.wcf-marquee { overflow: hidden; background: var(--navy); color: #fff; padding: 18px 0; }
.wcf-marquee-track { display: flex; width: max-content; animation: wcf-scroll 52s linear infinite; }
.wcf-marquee:hover .wcf-marquee-track { animation-play-state: paused; }
.wcf-marquee-set { display: flex; align-items: center; flex: none; }
.wcf-marquee-set span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: 400 clamp(1.1rem, 1.8vw, 1.5rem)/1 var(--serif); white-space: nowrap; }
.wcf-marquee-set span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); }
@keyframes wcf-scroll { to { transform: translateX(-50%); } }

/* stats */
.wcf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.wcf-stat { text-align: center; padding: 8px; }
.wcf-stat b { display: block; font: 400 clamp(2.6rem, 5vw, 4.4rem)/1 var(--serif); letter-spacing: -.03em; color: #fff; }
.wcf-stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.84); font-weight: 600; }

/* steps */
.wcf-steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); }
.wcf-step { position: relative; padding: 34px 30px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.wcf-step:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: var(--aqua); }
.wcf-step .ico { width: 58px; height: 58px; border-radius: 16px; background: var(--aqua-tint); color: var(--navy); display: grid; place-items: center; margin-bottom: 20px; transition: background .3s, color .3s, transform .4s var(--ease); }
.wcf-step:hover .ico { background: var(--navy); color: var(--aqua); transform: rotate(-6deg); }
.wcf-step .ico svg { width: 28px; height: 28px; }
.wcf-step h3 { font-size: 1.5rem; margin-bottom: 8px; }
.wcf-step p { color: var(--muted); margin: 0; }

/* photo frames: each frame has the same shape as its photo, so nothing is cropped */
.wcf-fr { display: block; position: relative; overflow: hidden; margin: 0; background: var(--navy); }
.wcf-fr picture, .wcf-fr img { display: block; width: 100%; height: 100%; }
.wcf-fr img { object-fit: cover; transition: transform .9s var(--ease); }
.wcf-fr-tall { aspect-ratio: 4 / 5; }
.wcf-fr-wide { aspect-ratio: 16 / 10; }
.wcf-fr-banner { aspect-ratio: 21 / 9; }
.wcf-arch { border-radius: 999px 999px 0 0; }
.wcf-round { border-radius: var(--r-panel); }
a:hover .wcf-fr img, .wcf-hoverzoom:hover img { transform: scale(1.05); }
.wcf-fr .wcf-fill { position: absolute; inset: 0; object-fit: cover; filter: blur(22px) brightness(.92); transform: scale(1.25); }
.wcf-fr .wcf-fit { position: relative; object-fit: contain; }

/* bento gallery: exact shapes (4:5 tall tiles beside stacked 16:10 tiles), so no tile crops its photo */
.wcf-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; border-radius: var(--r-panel); overflow: hidden; }
.wcf-bento > a { position: relative; display: block; overflow: hidden; outline: 5px solid #fff; outline-offset: -5px; text-decoration: none; color: #fff; background: var(--navy); }
.wcf-bento > a:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.wcf-bento > a:nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }
.wcf-bento .wcf-fr { height: 100%; }
.wcf-bento .cap { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: rgba(11,33,51,.86); backdrop-filter: blur(8px); transform: translateY(12px); opacity: 0; transition: transform .4s var(--ease), opacity .3s; z-index: 2; }
.wcf-bento .cap b { font: 500 1.2rem/1.2 var(--serif); }
.wcf-bento .cap small { color: rgba(255,255,255,.82); font-size: 14px; }
.wcf-bento a:hover .cap, .wcf-bento a:focus-visible .cap { transform: none; opacity: 1; }

/* zig-zag rows */
.wcf-zig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.wcf-zig + .wcf-zig { margin-top: clamp(40px, 6vw, 88px); }
.wcf-zig.is-flip .wcf-zig-media { order: 2; }
.wcf-zig-media { position: relative; }
.wcf-zig-media::before { content: ""; position: absolute; z-index: 0; inset: 18px -18px -18px 18px; border: 2px solid var(--aqua); border-radius: var(--r-panel); pointer-events: none; transition: transform .5s var(--ease); }
.wcf-zig.is-flip .wcf-zig-media::before { inset: 18px 18px -18px -18px; }
.wcf-zig-media:hover::before { transform: translate(6px, 6px); }
.wcf-zig-media .wcf-fr { position: relative; z-index: 1; }
.wcf-zig-text h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.1; margin-bottom: 16px; }
.wcf-zig-text p { color: var(--muted); font-size: 1.08rem; }
.wcf-ticks { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 12px; }
.wcf-ticks li { position: relative; padding-left: 36px; }
.wcf-ticks li::before, .wcf-featlist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23102D43' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* church cards */
.wcf-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.wcf-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--navy); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.wcf-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: var(--aqua); color: var(--navy); }
.wcf-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.wcf-card h3 { font-size: 1.3rem; line-height: 1.2; }
.wcf-meta { color: var(--muted); font-size: 15px; margin: 0; }
.wcf-tag { position: absolute; left: 14px; top: 14px; z-index: 2; background: var(--aqua); color: var(--navy); font: 700 12.5px/1 var(--sans); padding: 7px 11px; border-radius: 8px; }
.wcf-card .wcf-time { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 15px; color: var(--aqua-ink); }

/* country tiles */
.wcf-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 22px); }
.wcf-tile { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: #fff; }
.wcf-tile .lab { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(11,33,51,.86); backdrop-filter: blur(8px); transition: background .3s, color .3s; }
.wcf-tile .lab b { font: 500 1.25rem/1.1 var(--serif); }
.wcf-tile .lab small { font-weight: 700; font-size: 14px; color: var(--aqua); transition: color .3s; white-space: nowrap; }
.wcf-tile:hover .lab { background: var(--aqua); color: var(--navy); }
.wcf-tile:hover .lab small { color: var(--navy); }

/* tabs */
.wcf-tabs-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.wcf-tabs-nav button { min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: 600 16px/1 var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.wcf-tabs-nav button:hover { border-color: var(--navy); background: var(--aqua-tint); }
.wcf-tabs-nav button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.wcf-tabpanel { display: none; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(20px, 3vw, 36px); }
.wcf-tabpanel.is-on { display: grid; animation: wcf-fade .5s var(--ease) both; }
@keyframes wcf-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wcf-tabpanel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.wcf-tabpanel p { color: var(--muted); }

/* horizontal carousel */
.wcf-rail-track { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 24px; margin: 0 -2px; scrollbar-width: none; }
.wcf-rail-track::-webkit-scrollbar { display: none; }
.wcf-rail-track > * { flex: 0 0 min(370px, 82%); scroll-snap-align: start; }
.wcf-rail-ctl { display: flex; gap: 10px; }
.wcf-rbtn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, transform .25s var(--ease); }
.wcf-rbtn:hover { background: var(--navy); color: #fff; transform: scale(1.06); }
.wcf-rbtn:disabled { opacity: .35; cursor: default; transform: none; background: #fff; color: var(--navy); }
.wcf-rbtn svg { width: 20px; height: 20px; }
.wcf-ev { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--navy); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.wcf-ev:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--aqua); color: var(--navy); }
.wcf-ev .date { position: absolute; left: 14px; top: 14px; z-index: 2; background: #fff; color: var(--navy); border-radius: 12px; padding: 8px 12px; text-align: center; line-height: 1; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.wcf-ev .date b { display: block; font: 500 1.6rem/1 var(--serif); }
.wcf-ev .date small { font: 700 12px/1.3 var(--sans); color: var(--aqua-ink); }
.wcf-ev-body { padding: 18px 20px 22px; }
.wcf-ev-type { font: 700 14px var(--sans); color: var(--aqua-ink); }
.wcf-ev h3 { font-size: 1.35rem; line-height: 1.2; margin: 4px 0 6px; }

/* accordion */
.wcf-acc { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.wcf-acc-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, box-shadow .25s; }
.wcf-acc-item:hover { border-color: var(--navy-2); }
.wcf-acc-item.is-open { border-color: var(--aqua); box-shadow: 0 20px 40px -26px rgba(16,45,67,.5); }
.wcf-acc-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; background: none; border: 0; text-align: left; font: 600 1.1rem/1.35 var(--sans); color: var(--navy); cursor: pointer; border-radius: 18px; }
.wcf-acc-q svg { width: 22px; height: 22px; flex: none; transition: transform .3s var(--ease); color: var(--aqua-ink); }
.wcf-acc-item.is-open .wcf-acc-q svg { transform: rotate(45deg); }
.wcf-acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.wcf-acc-item.is-open .wcf-acc-a { grid-template-rows: 1fr; }
.wcf-acc-a > div { overflow: hidden; }
.wcf-acc-a p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* blog cards */
.wcf-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.wcf-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--navy); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.wcf-post:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: var(--aqua); color: var(--navy); }
.wcf-post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.wcf-post .cat { font: 700 14px var(--sans); color: var(--aqua-ink); }
.wcf-post h3 { font-size: 1.45rem; line-height: 1.2; }
.wcf-post p { color: var(--muted); margin: 0; font-size: 16px; }
.wcf-post .more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.wcf-post:hover .more { color: var(--aqua-ink); }
.wcf-post-feature { grid-column: 1 / -1; flex-direction: row; }
.wcf-post-feature .wcf-fr { flex: 0 0 56%; }
.wcf-post-feature .wcf-post-body { justify-content: center; padding: clamp(22px, 4vw, 48px); }
.wcf-post-feature h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }

/* call to action with a photo behind it */
.wcf-cta { position: relative; border-radius: var(--r-panel); overflow: hidden; color: #fff; background: var(--navy); }
.wcf-cta .wcf-fr { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.wcf-cta-shade { position: absolute; inset: 0; background: rgba(11,33,51,.8); }
.wcf-cta-in { position: relative; z-index: 1; text-align: center; padding: clamp(48px, 8vw, 104px) clamp(20px, 6vw, 80px); max-width: 840px; margin: 0 auto; }
.wcf-cta h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.06; margin-bottom: 16px; }
.wcf-cta p { color: rgba(255,255,255,.9); font-size: 1.12rem; margin-bottom: 28px; }
.wcf-cta .acts { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- page headers and content pages ---------- */
.wcf-banner-wrap { margin-top: 16px; }
.wcf-banner { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--navy); color: #fff; }
.wcf-banner .wcf-fr { border-radius: 0; }
.wcf-fr-strip { aspect-ratio: 3 / 1; }
.wcf-banner-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,33,51,.9), rgba(11,33,51,.52) 58%, rgba(11,33,51,.08)); pointer-events: none; }
.wcf-banner-in { position: absolute; left: 0; top: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(24px, 5vw, 64px); max-width: 780px; }
.wcf-banner h1 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: 1.05; font-weight: 400; letter-spacing: -.025em; margin-bottom: 12px; }
.wcf-banner p { color: rgba(255,255,255,.92); font-size: 1.12rem; max-width: 52ch; margin: 0; }
.wcf-crumbs { font-size: 15px; margin-bottom: 14px; color: rgba(255,255,255,.82); }
.wcf-crumbs a { color: #fff; }
.wcf-crumbs a:hover { color: var(--aqua); }
.wcf-prose { max-width: 70ch; }
.wcf-prose.center { margin-inline: auto; }
.wcf-page { padding: clamp(32px, 5vw, 64px) 0 clamp(44px, 6vw, 80px); }
.wcf-prose h2 { font-size: 1.8rem; margin: 36px 0 10px; }
.wcf-prose h3 { font: 700 1.2rem/1.3 var(--sans); margin: 24px 0 6px; }
.wcf-pagehead { padding: clamp(28px, 4vw, 52px) 0 clamp(18px, 2.4vw, 28px); }
.wcf-pagehead h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.05; font-weight: 400; margin-bottom: 20px; }
.wcf-filter { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px; align-items: stretch; }
.wcf-panel { background: var(--sand); border-radius: var(--r-panel); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); }
.wcf-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.wcf-contact-cards { display: grid; gap: 14px; margin: 24px 0; }
.wcf-contact-cards > * { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--navy); background: #fff; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.wcf-contact-cards a:hover { transform: translateX(6px); border-color: var(--aqua); box-shadow: 0 16px 30px -22px rgba(16,45,67,.6); }
.wcf-contact-cards .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--aqua-tint); display: grid; place-items: center; flex: none; }
.wcf-contact-cards .ico svg { width: 22px; height: 22px; }
.wcf-contact-cards small { display: block; color: var(--muted); font-size: 14px; }

/* tiers */
.wcf-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); align-items: stretch; }
.wcf-tier { position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-card); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.wcf-tier:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: var(--aqua); }
.wcf-tier.hot { background: var(--navy); color: #fff; border-color: var(--navy); }
.wcf-tier.hot h3 { color: #fff; }
.wcf-tier h3 { font-size: 1.7rem; margin-bottom: 6px; }
.wcf-tier .sub { color: var(--muted); margin-bottom: 18px; }
.wcf-tier.hot .sub { color: rgba(255,255,255,.82); }
.wcf-tier .wcf-ticks { margin-bottom: 26px; }
.wcf-tier .wcf-btn { margin-top: auto; }
.wcf-tier .badge { position: absolute; top: -13px; left: 28px; background: var(--aqua); color: var(--navy); font: 700 13px/1 var(--sans); padding: 8px 12px; border-radius: 8px; }

/* ---------- search results ---------- */
.wcf-found { margin: 0 0 14px; color: var(--muted); }
.wcf-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.wcf-row { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 32px); align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; text-decoration: none; color: var(--navy); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.wcf-row:hover { transform: translateX(6px); box-shadow: var(--shadow-lift); border-color: var(--aqua); color: var(--navy); }
.wcf-row.is-featured { background: var(--aqua-tint); border-color: #BFE8E8; }
.wcf-row .wcf-fr { border-radius: 14px; }
.wcf-row h2 { font-size: 1.55rem; line-height: 1.15; margin-bottom: 4px; }
.wcf-row p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; font-size: 16px; }
.wcf-row-side { text-align: right; font-size: 15px; color: var(--muted); }
.wcf-row-side strong { display: block; color: var(--navy); }
.wcf-pager { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 36px 0 0; flex-wrap: wrap; }
.wcf-pager a, .wcf-pager > span:not(.wcf-pager-now) { min-height: 46px; display: inline-flex; align-items: center; padding: 0 22px; border-radius: var(--r-control); font-weight: 600; }
.wcf-pager a { border: 2px solid var(--navy); color: var(--navy); text-decoration: none; transition: background .2s, color .2s; }
.wcf-pager a:hover { background: var(--navy); color: #fff; }
.wcf-pager > span:not(.wcf-pager-now) { color: var(--muted); border: 2px solid var(--line); }
.wcf-pager-now { color: var(--muted); }
.wcf-empty { padding: 40px 0; max-width: 60ch; }

/* ---------- events list ---------- */
.wcf-schedule { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.wcf-sched-row { display: grid; grid-template-columns: 84px 150px minmax(0, 1fr) auto; gap: clamp(14px, 2.4vw, 28px); align-items: center; padding: 14px 20px 14px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; text-decoration: none; color: var(--navy); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.wcf-sched-row:hover { transform: translateX(6px); box-shadow: var(--shadow-lift); border-color: var(--aqua); color: var(--navy); }
.wcf-date { line-height: 1; }
.wcf-date b { display: block; font: 400 2.8rem/1 var(--serif); letter-spacing: -.03em; }
.wcf-date span { font: 600 15px var(--sans); color: var(--muted); }
.wcf-sched-row .wcf-fr { border-radius: 12px; }
.wcf-sched-row h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 4px; }
.wcf-sched-row p { margin: 0; }
.wcf-sched-type { font: 700 14px var(--sans); color: var(--aqua-ink); white-space: nowrap; }

/* ---------- church page ---------- */
.wcf-chero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.wcf-chero-bg { position: absolute; inset: 0; }
.wcf-chero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(36px) brightness(.5); transform: scale(1.3); }
.wcf-chero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 5vw, 72px); align-items: end; padding-top: clamp(22px, 3vw, 36px); }
.wcf-chero h1 { color: #fff; font-size: clamp(2.3rem, 4.8vw, 4.2rem); line-height: 1.04; font-weight: 400; letter-spacing: -.025em; margin-bottom: 16px; }
.wcf-facts { margin: 0 0 26px; color: rgba(255,255,255,.9); font-size: 18px; max-width: 56ch; }
.wcf-facts b { color: #fff; }
.wcf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wcf-chero-pad { padding-bottom: clamp(26px, 4vw, 44px); }
.wcf-cbody { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(28px, 5vw, 80px); align-items: start; padding: clamp(30px, 4vw, 54px) 0 clamp(40px, 5vw, 72px); }
.wcf-csec { padding: 0 0 clamp(26px, 3.4vw, 40px); }
.wcf-csec h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.wcf-quote { font: 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.4 var(--serif); margin: 0 0 16px; border-left: 4px solid var(--aqua); padding-left: 22px; }
.wcf-by { margin: 0; padding-left: 26px; color: var(--muted); }
.wcf-by b { color: var(--navy); }
.wcf-featlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 30px; }
.wcf-featlist li { position: relative; padding-left: 34px; }
.wcf-visit { position: sticky; top: 92px; background: var(--navy); color: #fff; border-radius: var(--r-panel); padding: 30px; }
.wcf-visit h2 { color: #fff; font-size: 1.7rem; margin-bottom: 14px; }
.wcf-visit h2:not(:first-child) { margin-top: 28px; font-size: 1.35rem; }
.wcf-times { list-style: none; margin: 0; padding: 0; }
.wcf-times li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.18); }
.wcf-times li:first-child { border-top: 0; padding-top: 0; }
.wcf-when { display: block; font: 500 1.35rem/1.2 var(--serif); color: var(--aqua); }
.wcf-what { display: block; font-weight: 600; }
.wcf-note { display: block; color: rgba(255,255,255,.76); font-size: 15px; }
.wcf-visit address { font-style: normal; color: rgba(255,255,255,.9); margin-bottom: 14px; }
.wcf-visit a:not(.wcf-btn) { color: var(--aqua); }
.wcf-visit a:not(.wcf-btn):hover { color: #fff; }
.wcf-contact { list-style: none; margin: 0 0 6px; padding: 0; }
.wcf-contact li { margin-bottom: 6px; word-break: break-word; }
.wcf-social { list-style: none; margin: 12px 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.wcf-visit .wcf-btn + .wcf-btn { margin-top: 10px; }

/* ---------- article ---------- */
.wcf-article { max-width: 760px; margin: 0 auto; }
.wcf-article .lede { font: 400 1.35rem/1.55 var(--serif); color: var(--muted); }
.wcf-article h2 { font-size: 2rem; margin: 40px 0 12px; }
.wcf-article h3 { font-size: 1.4rem; margin: 28px 0 8px; }
.wcf-article p, .wcf-article li { font-size: 1.1rem; line-height: 1.75; }
.wcf-article img { border-radius: var(--r-card); margin: 24px 0; height: auto; }
.wcf-article blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--aqua); font: 400 1.4rem/1.5 var(--serif); }
.wcf-byline { display: flex; flex-wrap: wrap; gap: 6px 18px; color: rgba(255,255,255,.9); font-size: 15px; margin-top: 14px; }

/* ---------- footer ---------- */
.wcf-footer { background: var(--navy-deep); color: rgba(255,255,255,.82); padding: clamp(40px, 5vw, 70px) 0 24px; }
.wcf-footer a { color: rgba(255,255,255,.88); text-decoration: none; transition: color .2s, padding .2s; }
.wcf-footer a:hover { color: var(--aqua); }
.wcf-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.wcf-footer .wcf-brand { color: #fff; }
.wcf-footer .wcf-brand-text small { color: var(--aqua); }
.wcf-footer .wcf-brand svg .ink { fill: #fff; }
.wcf-footer p { margin: 16px 0 0; max-width: 34ch; font-size: 15.5px; }
.wcf-footer h2 { font: 700 15px var(--sans); letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.wcf-footer ul { list-style: none; margin: 0; padding: 0; }
.wcf-footer li { margin-bottom: 9px; font-size: 15.5px; }
.wcf-footer li a:hover { padding-left: 6px; }
.wcf-copy { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: 14px; color: rgba(255,255,255,.62); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- sign-in pages ---------- */
.wcf-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.wcf-auth-side { position: relative; background: var(--navy); color: #fff; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.wcf-auth-side .wcf-brand { color: #fff; margin: 0; position: relative; z-index: 2; }
.wcf-auth-side .wcf-brand-text small { color: var(--aqua); }
.wcf-auth-side .ink { fill: #fff; }
.wcf-auth-photo { width: min(70%, 340px); margin: 28px auto; }
.wcf-auth-quote { position: relative; z-index: 2; }
.wcf-auth-quote p { font: 400 clamp(2rem, 3.4vw, 3rem)/1.1 var(--serif); letter-spacing: -.02em; max-width: 12ch; margin: 0; color: #fff; }
.wcf-auth-main { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: clamp(24px, 4vw, 56px); position: relative; }
.wcf-auth-back { position: absolute; top: 28px; left: clamp(24px, 4vw, 56px); font-weight: 600; font-size: 15px; }
.wcf-auth-card { width: 100%; max-width: 430px; }
.wcf-auth-card h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 400; margin-bottom: 10px; }
.wcf-auth-sub { color: var(--muted); margin-bottom: 26px; }
.wcf-auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: -4px 0 22px; font-size: 15px; }
.wcf-auth-foot { margin: 26px 0 0; font-size: 15.5px; color: var(--muted); }

/* ---------- page load: hero text rises in ---------- */
@keyframes wcf-rise { from { opacity: .01; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.wcf-herox-text > *, .wcf-banner-in .wcf-wrap > * { animation: wcf-rise .8s var(--ease) both; }
.wcf-herox-text > *:nth-child(2), .wcf-banner-in .wcf-wrap > *:nth-child(2) { animation-delay: .1s; }
.wcf-herox-text > *:nth-child(3) { animation-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .wcf-herox { aspect-ratio: auto; display: flex; flex-direction: column; }
    .wcf-herox-slides { position: relative; inset: auto; aspect-ratio: 16 / 10; }
    .wcf-herox-shade { display: none; }
    .wcf-herox-in { position: relative; inset: auto; padding: 30px 0 40px; background: var(--navy); }
    .wcf-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wcf-cards.is-limited .wcf-card:nth-child(n+7) { display: none; }
    .wcf-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wcf-chero-in, .wcf-cbody { grid-template-columns: 1fr; }
    .wcf-chero .wcf-fr { max-width: 280px; }
    .wcf-visit { position: static; order: -1; }
    .wcf-footer-grid { grid-template-columns: 1fr 1fr; }
    .wcf-filter { grid-template-columns: 1fr 1fr; }
    .wcf-filter .wcf-btn { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .wcf-zig, .wcf-two, .wcf-tabpanel { grid-template-columns: 1fr; }
    .wcf-zig.is-flip .wcf-zig-media { order: 0; }
    .wcf-zig-media::before, .wcf-zig.is-flip .wcf-zig-media::before { inset: 12px -10px -12px 12px; }
    .wcf-steps3, .wcf-tiers, .wcf-posts { grid-template-columns: 1fr 1fr; }
    .wcf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .wcf-post-feature { flex-direction: column; }
    .wcf-post-feature .wcf-fr { flex: none; width: 100%; }
    .wcf-sched-row { grid-template-columns: 70px 120px minmax(0, 1fr); }
    .wcf-sched-row .wcf-sched-type { grid-column: 3; }
}
@media (max-width: 760px) {
    .wcf-menu-btn { display: block; }
    .wcf-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px var(--gutter) 22px; border-bottom: 1px solid var(--line); box-shadow: 0 22px 34px -22px rgba(16,45,67,.45); }
    .wcf-nav.is-open { display: flex; animation: wcf-fade .3s var(--ease) both; }
    .wcf-nav a:not(.wcf-btn) { padding: 15px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 18px; }
    .wcf-nav a:not(.wcf-btn)::after { display: none; }
    .wcf-nav .wcf-btn { margin: 18px 0 0; }
    .wcf-herox-ctl [data-prev], .wcf-herox-ctl [data-next] { display: none; }
    .wcf-herox-ctl { bottom: 12px; }
    .wcf-search .wcf-dd { flex: 0 0 auto; }
    .wcf-hcap { max-width: 70%; font-size: 13px; }
    .wcf-search { flex-direction: column; padding: 8px; }
    .wcf-search .wcf-dd { border-left: 0; border-top: 1.5px solid var(--line); }
    .wcf-search .wcf-btn { width: 100%; }
    .wcf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .wcf-card-body { padding: 14px 14px 18px; }
    .wcf-card h3 { font-size: 1.1rem; }
    .wcf-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wcf-bento > a:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
    .wcf-bento > a:nth-child(4) { display: none; }
    .wcf-bento .cap { opacity: 1; transform: none; left: 8px; right: 8px; bottom: 8px; padding: 8px 10px; }
    .wcf-bento .cap small { display: none; }
    .wcf-bento .cap b { font-size: 1rem; }
    .wcf-steps3, .wcf-tiers, .wcf-posts, .wcf-footer-grid { grid-template-columns: 1fr; }
    .wcf-row { grid-template-columns: 88px minmax(0, 1fr); padding: 10px; gap: 14px; }
    .wcf-row-side { grid-column: 2; text-align: left; }
    .wcf-row h2 { font-size: 1.25rem; }
    .wcf-row p { display: none; }
    .wcf-sched-row { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 12px; }
    .wcf-sched-row .wcf-fr { display: none; }
    .wcf-sched-row .wcf-sched-type { grid-column: 2; }
    .wcf-date b { font-size: 2.1rem; }
    .wcf-featlist { grid-template-columns: 1fr; }
    .wcf-filter { grid-template-columns: 1fr; }
    .wcf-head-row { flex-direction: column; align-items: flex-start; gap: 14px; }
    .wcf-auth { grid-template-columns: 1fr; }
    .wcf-auth-side { min-height: 170px; padding: 22px var(--gutter); }
    .wcf-auth-quote { display: none; }
    .wcf-auth-main { justify-content: flex-start; padding-top: 70px; }
    .wcf-tabs-nav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
    .wcf-tabs-nav button { flex: none; }
    .wcf-copy { flex-direction: column; }
}

/* photo placeholder (a church with no photo yet) */
.wcf-ph { display: grid; place-items: center; width: 100%; height: 100%; font: 400 clamp(3rem, 8vw, 6rem)/1 var(--serif); color: var(--aqua); background: var(--navy); }
.wcf-fr .wcf-fit { z-index: 1; }

@media (max-width: 900px) {
    .wcf-banner { display: flex; flex-direction: column; }
    .wcf-fr-strip { aspect-ratio: 16 / 10; }
    .wcf-banner-shade { display: none; }
    .wcf-banner-in { position: relative; max-width: none; padding: 24px clamp(20px, 5vw, 40px) 30px; }
}
/* every inline icon has a size, so none can balloon */
.wcf-post .more svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.wcf-post:hover .more svg { transform: translateX(5px); }
.wcf-acc-q svg, .wcf-link svg, .wcf-btn svg, .wcf-rbtn svg, .wcf-hbtn svg { flex: none; }

@media (max-width: 760px) {
    .wcf-hcap { display: none; }
    .wcf-herox-ctl .wcf-wrap { justify-content: flex-end; }
    .wcf-hdots { gap: 8px; }
    .wcf-hdots button { width: 18px; }
    .wcf-hdots button[aria-current="true"] { width: 36px; }
    .wcf-hbtn { width: 40px; height: 40px; }
}

/* ---------- audit fixes ---------- */
.wcf-hp input { font-size: 16px; }
.wcf-filter-3 { grid-template-columns: 1fr 1fr auto; }
.wcf-section { overflow-x: clip; }
.wcf-cta { aspect-ratio: 21 / 9; display: grid; place-items: center; }
.wcf-cta .wcf-fr { aspect-ratio: auto; }
.wcf-cta-in { padding: 24px clamp(20px, 6vw, 80px); }
@media (max-width: 1100px) { .wcf-filter-3 { grid-template-columns: 1fr 1fr; } .wcf-filter-3 .wcf-btn { grid-column: 1 / -1; } }
@media (max-width: 900px) {
    .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(32px); }
    .wcf-cta { aspect-ratio: auto; display: flex; flex-direction: column; }
    .wcf-cta .wcf-fr { position: relative; aspect-ratio: 16 / 10; }
    .wcf-cta-shade { display: none; }
    .wcf-cta-in { padding: 30px clamp(20px, 6vw, 40px) 40px; background: var(--navy); width: 100%; }
}
@media (max-width: 760px) {
    .wcf-filter-3 { grid-template-columns: 1fr; }
    .wcf-hbtn { width: 44px; height: 44px; }
}
/* marquee: a light strip that separates the hero from the dark stats block */
.wcf-marquee { background: var(--aqua-tint); color: var(--navy); padding: 16px 0; border-bottom: 1px solid #BFE8E8; }
.wcf-marquee-set span::after { background: var(--aqua-ink); }
.wcf-section.dark.stats { padding: clamp(32px, 4vw, 52px) 0; }
.wcf-stat b { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.wcf-post-feature .wcf-fr { align-self: flex-start; aspect-ratio: 16 / 10; }
.wcf-chero-bg img { aria-hidden: true; }

/* ======================================================================
   v4: full-width banners, no underline hovers, icon lists, grids, detail pages, legal pages
   ====================================================================== */

/* no lines under text on hover, anywhere */
.wcf-nav a:not(.wcf-btn)::after { display: none; }
.wcf-nav a[aria-current="page"] { background: var(--aqua-tint); }
.wcf-link:hover, .wcf-footer a:hover { text-decoration: none; }

/* one rhythm for every section */
.wcf-section { padding: clamp(56px, 7vw, 96px) 0; }
.wcf-head { margin-bottom: clamp(32px, 4vw, 52px); }
.wcf-head-row { margin-bottom: clamp(28px, 3.4vw, 44px); }
.wcf-page { padding-block: clamp(56px, 7vw, 96px); }

/* full-width banners */
.wcf-banner { position: relative; width: 100%; max-width: none; margin: 0; border-radius: 0; background: var(--navy); color: #fff; overflow: hidden; display: block; aspect-ratio: auto; }
.wcf-banner .wcf-fr-strip { aspect-ratio: 3 / 1; border-radius: 0; width: 100%; }
.wcf-banner-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,33,51,.92), rgba(11,33,51,.6) 55%, rgba(11,33,51,.1)); pointer-events: none; display: block; }
.wcf-banner-in { position: absolute; inset: 0; max-width: none; padding: 0; display: flex; align-items: center; z-index: 1; background: none; }
.wcf-banner-text { max-width: 860px; }
.wcf-banner h1 { max-width: none; font-size: clamp(2.1rem, 4vw, 3.6rem); margin-bottom: 12px; }
.wcf-banner p { max-width: 56ch; }
.wcf-banner .wcf-search { margin-top: 26px; max-width: 860px; }
.wcf-search .wcf-grow { flex: 1 1 0; }
.wcf-search .wcf-grow + .wcf-grow, .wcf-search .wcf-dd.wcf-grow + .wcf-dd.wcf-grow { border-left: 1.5px solid var(--line); }
.wcf-search .wcf-dd { flex: 1 1 0; min-width: 0; }
.wcf-search .wcf-input { flex: 2 1 0; }

/* title band for article and event pages */
.wcf-titleband { background: var(--navy); color: #fff; padding: clamp(48px, 6vw, 84px) 0; }
.wcf-titleband h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.06; font-weight: 400; letter-spacing: -.025em; max-width: 22ch; margin-bottom: 14px; }
.wcf-titleband .kicker, .wcf-chero .kicker { color: var(--aqua); font: 700 15px var(--sans); margin-bottom: 10px; }
.wcf-titleband .meta { color: rgba(255,255,255,.86); margin: 0; }

/* icon lists */
.wcf-ticks li, .wcf-featlist li { display: flex; align-items: flex-start; gap: 14px; padding-left: 0; }
.wcf-ticks li::before, .wcf-featlist li::before { display: none; }
.ti { flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--aqua-tint); color: var(--navy); display: grid; place-items: center; transition: background .3s, color .3s; }
.ti svg { width: 20px; height: 20px; }
.wcf-ticks li:hover .ti, .wcf-featlist li:hover .ti { background: var(--navy); color: var(--aqua); }
.wcf-ticks li > span:last-child, .wcf-featlist li > span:last-child { padding-top: 6px; }
.wcf-tier.hot .ti { background: rgba(131,216,216,.18); color: var(--aqua); }
.wcf-tier.hot .wcf-ticks li:hover .ti { background: var(--aqua); color: var(--navy); }
.wcf-featlist { gap: 14px 30px; }

/* meta lines with icons */
.wcf-meta svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; color: var(--aqua-ink); }
.wcf-ev-body { display: flex; flex-direction: column; gap: 4px; }

/* grids */
.wcf-evgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.wcf-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 22px); }
.wcf-btn-sm { min-height: 46px; padding: 0 22px; }

/* country tiles: name and count never wrap awkwardly */
.wcf-tile .lab { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; }
.wcf-tile .lab b { font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* FAQ with a picture */
.wcf-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.wcf-faq.no-pic { grid-template-columns: 1fr; }
.wcf-faq-pic { position: sticky; top: 110px; }
.wcf-faq .wcf-acc { max-width: none; margin: 0; }
.wcf-acc-q span { flex: 1; }

/* detail pages: content two thirds, sidebar one third */
.wcf-detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.wcf-detail-main .wcf-fr { margin-bottom: 32px; }
.wcf-detail-side { display: grid; gap: 22px; position: sticky; top: 100px; }
.wcf-side-card { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.wcf-side-card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.wcf-side-card p { color: var(--muted); }
.wcf-side-cta { background: var(--navy); border-color: var(--navy); color: #fff; }
.wcf-side-cta h3 { color: #fff; }
.wcf-side-cta p { color: rgba(255,255,255,.85); }
.wcf-side-search .row { display: flex; gap: 8px; }
.wcf-side-search .wcf-input, .wcf-side-search .wcf-select { margin-bottom: 12px; }
.wcf-side-search .row .wcf-input { margin: 0; }
.wcf-btn-icon { min-height: 52px; width: 52px; padding: 0; flex: none; }
.wcf-btn-icon svg { width: 20px; height: 20px; }
.wcf-btn-icon:hover svg { transform: none; }
.wcf-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.wcf-mini a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; text-decoration: none; color: var(--navy); }
.wcf-mini .wcf-fr { border-radius: 12px; }
.wcf-mini b { display: block; font: 500 1.05rem/1.25 var(--serif); margin-bottom: 2px; }
.wcf-mini small { color: var(--muted); font-size: 14px; }
.wcf-mini a:hover b { color: var(--aqua-ink); }
.wcf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wcf-chips a { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s, border-color .2s; }
.wcf-chips a:hover { background: var(--aqua-tint); border-color: var(--aqua); }
.wcf-article { max-width: none; margin: 0; }
.wcf-article .wcf-ticks { margin: 22px 0; }

/* share row */
.wcf-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.wcf-share .lab { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-right: 8px; }
.wcf-share .lab svg { width: 20px; height: 20px; }
.wcf-share a, .wcf-share button { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease); }
.wcf-share a:hover, .wcf-share button:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-3px); }
.wcf-share svg { width: 20px; height: 20px; }
.wcf-share .msg { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 4px 10px; border-radius: 8px; font-size: 13px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.wcf-share .msg.on { opacity: 1; }

/* church page: solid full-width banner, no blur */
.wcf-chero { background: var(--navy); color: #fff; overflow: hidden; }
.wcf-chero-bg { display: none; }
.wcf-chero-in { padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 72px); align-items: center; }
.wcf-cbody { padding: 0; }

/* legal pages: centred reading column */
.wcf-legal { max-width: 820px; margin: 0 auto; background: #fff; }
.wcf-legal h2 { font-size: 1.7rem; margin: 44px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.wcf-legal h2:first-child, .wcf-legal p:first-child + h2 { border-top: 0; }
.wcf-legal h3 { font: 700 1.15rem/1.3 var(--sans); margin: 22px 0 6px; }
.wcf-legal p, .wcf-legal li { font-size: 1.06rem; line-height: 1.75; color: #27435A; }
.wcf-legal ul { padding-left: 22px; }
.wcf-legal > p:first-child { font-size: 1.2rem; color: var(--muted); }

@media (max-width: 1100px) {
    .wcf-banner { display: flex; flex-direction: column; }
    .wcf-banner .wcf-fr-strip { aspect-ratio: 16 / 10; }
    .wcf-banner-shade { display: none; }
    .wcf-banner-in { position: relative; inset: auto; padding: 32px 0 40px; background: var(--navy); }
    .wcf-evgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wcf-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wcf-detail { grid-template-columns: 1fr; }
    .wcf-detail-side { position: static; }
    .wcf-faq { grid-template-columns: 1fr; }
    .wcf-faq-pic { display: none; }
}
@media (max-width: 760px) {
    .wcf-evgrid { grid-template-columns: 1fr; }
    .wcf-search .wcf-dd, .wcf-search .wcf-grow { border-left: 0 !important; border-top: 1.5px solid var(--line); flex: none; }
    .wcf-search .wcf-input { flex: none; }
    .wcf-featlist { grid-template-columns: 1fr; }
}
@media (min-width: 761px) { .wcf-search .wcf-dd { flex: 1 1 0; min-width: 190px; } .wcf-search .wcf-input { min-width: 180px; } }
