/*
 * Champion Faith International Ministries — theme styles
 * Colours follow the CFIM logo: forest green, lime, torch gold, flame red.
 */

/* ---------- Fonts (self-hosted Archivo, variable width and weight) ---------- */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
	src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2-variations');
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
	src: url(../fonts/archivo-latin-wdth-normal.woff2) format('woff2-variations');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
	src: url(../fonts/archivo-latin-ext-wdth-italic.woff2) format('woff2-variations');
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
	src: url(../fonts/archivo-latin-wdth-italic.woff2) format('woff2-variations');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Tokens ---------- */
:root {
	--night: #0B2E1C;
	--night2: #072014;
	--night3: #11402A;
	--lime: #8CC63F;
	--lime-hover: #A2D65A;
	--leaf: #0E6B33;
	--leaf-dark: #0A5126;
	--gold: #F2C230;
	--flame: #B3261E;
	--mint: #B4D3AB;
	--band: #E6EFDD;
	--paper: #F4F7F1;
	--white: #FFFFFF;
	--ink: #13231A;
	--muted: #4E5D53;
	--line: #D6E0D2;
	--on-dark: #D7E7D1;
	--on-dark-2: #C6DCC0;
	--radius: 12px;
	--radius-lg: 24px;
	--wrap: 1200px;
	--gutter: 48px;
	--shadow-pass: 0 30px 60px rgba(2, 14, 7, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; font-stretch: 100%;
	font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:where(h1, h2, h3, h4, h5, h6, p, dl, dd, figure, blockquote, ul, ol) { margin: 0; }
:where(ul.plain, ol.plain) { padding: 0; list-style: none; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--leaf); }
a:hover { color: var(--leaf-dark); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--night); }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--lime); color: var(--night); padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(760px + 2 * var(--gutter)); }

/* ---------- Icons, buttons, links ---------- */
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-fill { fill: currentColor; stroke: none; }
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
	border-radius: var(--radius); border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 17px; font-stretch: 104%;
	line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn .ic { width: 18px; height: 18px; }
.btn-lime { background: var(--lime); color: var(--night); }
.btn-lime:hover { background: var(--lime-hover); color: var(--night); }
.btn-ghost { border-color: rgba(185, 217, 176, .55); color: #FFFFFF; background: transparent; }
.btn-ghost:hover { border-color: #FFFFFF; color: #FFFFFF; }
.btn-night { background: var(--night); color: #FFFFFF; }
.btn-night:hover { background: #154A2E; color: #FFFFFF; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #FFFFFF; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15.5px; }
.textlink { font-weight: 700; color: var(--leaf); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.textlink:hover { color: var(--leaf-dark); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Masthead: top bar and header ---------- */
.masthead { background: var(--night); color: #FFFFFF; position: relative; z-index: 20; }
.topbar { background: var(--night2); color: var(--mint); font-size: 14.5px; line-height: 1.4; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; flex-wrap: wrap; }
.topbar a { color: #DCEBD6; text-decoration: none; }
.topbar a:hover { color: #FFFFFF; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; }
.tb-item .ic { width: 16px; height: 16px; }
.tb-right { display: flex; align-items: center; gap: 20px; }
.socials { display: inline-flex; gap: 4px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; }
.social .ic { width: 16px; height: 16px; }
.social:hover { background: rgba(255, 255, 255, .08); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 22px; padding-bottom: 22px; }
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #FFFFFF; line-height: 1; }
.logo:hover { color: #FFFFFF; }
.logo-badge { width: 64px; height: 64px; border-radius: 50%; flex: none; display: block; box-shadow: 0 0 0 3px rgba(140, 198, 63, .38); }
.logo-text { display: flex; flex-direction: column; }
.logo-word { font-size: 25px; font-weight: 800; font-stretch: 122%; letter-spacing: -.01em; white-space: nowrap; }
.logo-sub { font-size: 12.5px; font-weight: 600; font-stretch: 80%; color: var(--mint); margin-top: 6px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 30px; }
.navlinks { display: flex; gap: 26px; font-size: 16.5px; font-weight: 600; margin: 0; padding: 0; list-style: none; }
.navlinks a { color: #E4EFE0; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.navlinks a:hover, .navlinks .current-menu-item > a, .navlinks .current_page_item > a, .navlinks .current-menu-ancestor > a { color: #FFFFFF; border-bottom-color: var(--lime); }
.navlinks .sub-menu { display: none; }
.nav-cta { display: flex; align-items: center; gap: 22px; }
.give-link { color: #FFFFFF; font-weight: 700; text-decoration: none; font-size: 16.5px; }
.give-link:hover { color: var(--lime); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border-radius: 10px; border: 2px solid rgba(185, 217, 176, .45); background: transparent; color: #FFFFFF; cursor: pointer; }
.menu-btn .ic { width: 22px; height: 22px; }

/* Mobile menu (full-screen panel) */
.mobile-menu { position: fixed; inset: 0; z-index: 100; background: var(--night); color: #FFFFFF; display: flex; flex-direction: column; padding: 18px 22px 32px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mobile-menu .menu-close { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; border: 2px solid rgba(185, 217, 176, .45); background: transparent; color: #FFFFFF; cursor: pointer; }
.mobile-links { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; }
.mobile-links a { display: block; padding: 14px 0; color: #FFFFFF; text-decoration: none; font-size: 30px; line-height: 1.15; font-weight: 800; font-stretch: 112%; border-bottom: 1px solid rgba(185, 217, 176, .16); }
.mobile-links .sub-menu { list-style: none; padding: 0 0 8px 0; margin: 0; }
.mobile-links .sub-menu a { font-size: 19px; font-weight: 600; font-stretch: 100%; padding: 10px 0 10px 16px; border-bottom: 0; color: var(--on-dark); }
.mobile-menu .actions { margin-top: 32px; }
.mobile-menu .actions .btn { flex: 1 1 100%; }
.mobile-contact { margin-top: 28px; color: var(--mint); font-size: 16px; display: flex; flex-direction: column; gap: 8px; }
.mobile-contact a { color: #DCEBD6; }
body.menu-open { overflow: hidden; }

/* ---------- Home hero ---------- */
.hero { background: var(--night); color: #FFFFFF; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; padding-top: 40px; padding-bottom: 112px; }
.hero h1 { font-size: 76px; line-height: .98; font-weight: 800; font-stretch: 116%; letter-spacing: -.018em; text-wrap: balance; }
.lead { font-size: 21px; line-height: 1.55; color: var(--on-dark); max-width: 33em; margin-top: 28px; text-wrap: pretty; }
.hero .actions { margin-top: 40px; }
.horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--lime); }
.visual { position: relative; height: 600px; }
.window { position: absolute; right: 8px; top: 0; width: 360px; height: 520px; border-radius: 180px; overflow: hidden; background: var(--night3); box-shadow: 0 0 0 12px rgba(185, 217, 176, .10), 0 0 0 13px rgba(185, 217, 176, .22); }
.window img, .arch img, .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Photo fallback (shown until a photo is chosen) */
.photo-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-color: #DCE8D5; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .55) 0 2px, transparent 2px 14px); }
.photo-fallback img { width: 34% !important; max-width: 120px; height: auto !important; opacity: .55; object-fit: contain !important; }
.photo-fallback--dark { background-color: #164A2D; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 14px); }

/* ---------- Boarding pass ---------- */
.pass { position: absolute; left: 0; bottom: 6px; width: 420px; background: #FFFFFF; color: var(--ink); border-radius: 18px; overflow: hidden; transform: rotate(-3deg); box-shadow: var(--shadow-pass); }
.pass-top { display: flex; justify-content: space-between; align-items: center; background: var(--lime); color: var(--night); padding: 14px 22px; }
.pass-brand { font-size: 18px; font-weight: 800; font-stretch: 118%; letter-spacing: -.005em; }
.pass-top .ic { width: 24px; height: 24px; stroke-width: 1.9; }
.pass-route { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); align-items: end; gap: 8px; padding: 20px 22px 6px; }
.lbl, .pass dt { display: block; font-size: 11px; font-weight: 700; font-stretch: 78%; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.pass-route strong { display: block; font-size: 18.5px; line-height: 1.18; font-weight: 800; font-stretch: 106%; margin-top: 6px; text-wrap: balance; }
.pass-route .to { text-align: right; }
.pass-line { height: 2px; margin-bottom: 12px; background-image: repeating-linear-gradient(90deg, var(--muted) 0 5px, transparent 5px 10px); }
.pass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; padding: 16px 22px 20px; margin: 0; }
.pass dd { font-size: 16.5px; font-weight: 700; line-height: 1.3; margin: 4px 0 0; }
.span2 { grid-column: span 2; }
.pass-tear { position: relative; height: 2px; margin: 0 22px; background-image: repeating-linear-gradient(90deg, #B9C8B5 0 7px, transparent 7px 13px); }
.pass-tear::before, .pass-tear::after { content: ""; position: absolute; top: -13px; width: 28px; height: 28px; border-radius: 50%; background: var(--night); }
.pass-tear::before { left: -37px; }
.pass-tear::after { right: -37px; }
.pass-stub { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px 20px; flex-wrap: wrap; }
.pass-stub .btn { min-height: 46px; padding: 0 20px; font-size: 16px; }
.stub-call { font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; }
.stub-call:hover { color: var(--leaf); }
.pass--static { position: relative; left: auto; bottom: auto; transform: none; width: 100%; max-width: 460px; }
.pass--static .pass-tear::before, .pass--static .pass-tear::after { background: var(--paper); }

/* ---------- Sections ---------- */
.sec { padding: 120px 0; }
.sec--white { background: #FFFFFF; }
.sec--band { background: var(--band); }
.sec--tight { padding: 88px 0; }
.sec h2, .h2 { font-size: 52px; line-height: 1.02; font-weight: 800; font-stretch: 114%; letter-spacing: -.016em; text-wrap: balance; }
.intro { font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 34em; margin-top: 22px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

/* Who we are */
.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.who .body { font-size: 19px; color: var(--muted); margin-top: 24px; max-width: 31em; }
.who .textlink { display: inline-block; margin-top: 28px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.arch { border-radius: 999px 999px 28px 28px; overflow: hidden; height: 440px; background: #DCE8D5; }
.duo .arch:last-child { margin-top: 72px; }
.facets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 96px; border-top: 2px solid var(--ink); }
.facet { padding: 34px 36px 0 0; }
.facet + .facet { padding-left: 36px; border-left: 1px solid var(--line); }
.facet .ic { width: 30px; height: 30px; color: var(--leaf); stroke-width: 1.6; }
.facet h3 { font-size: 25px; line-height: 1.2; font-weight: 800; font-stretch: 108%; margin-top: 18px; }
.facet p { font-size: 17.5px; color: var(--muted); margin-top: 10px; }

/* Sermons block (home) */
.sermons-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.sermons-block .actions { margin-top: 36px; }

/* Player card */
.player { background: var(--night); color: #FFFFFF; border-radius: var(--radius-lg); padding: 32px 34px; }
.player .lbl { color: var(--mint); }
.player h3 { font-size: 30px; line-height: 1.15; font-weight: 800; font-stretch: 110%; margin-top: 12px; }
.player h3 a { color: inherit; text-decoration: none; }
.player h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.player .who-when { color: #CFE2C9; font-size: 16.5px; margin-top: 8px; }
.play-row { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.player > .lbl + .play-row { margin-top: 18px; }
.play { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--night); border: 0; flex: none; cursor: pointer; }
.play:hover { background: var(--lime-hover); }
.play .ic { width: 24px; height: 24px; }
.play .i-play { margin-left: 3px; }
.play .i-pause { display: none; }
.is-playing .play .i-play { display: none; }
.is-playing .play .i-pause { display: block; }
.track { flex: 1; min-width: 0; }
.seek { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; cursor: pointer; }
.seek::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--lime) var(--pct, 0%), rgba(185, 217, 176, .22) var(--pct, 0%)); }
.seek::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(185, 217, 176, .22); }
.seek::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--lime); }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; margin-top: -5px; border: 0; }
.seek::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; border: 0; }
.times { display: flex; justify-content: space-between; font-size: 14px; color: #AFCBA8; margin-top: 2px; font-variant-numeric: tabular-nums; }
.speed { min-width: 48px; height: 32px; border-radius: 8px; border: 1px solid rgba(185, 217, 176, .35); background: transparent; color: #FFFFFF; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.dl { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 2px solid rgba(185, 217, 176, .35); color: #FFFFFF; flex: none; }
.dl:hover { border-color: #FFFFFF; color: #FFFFFF; }
.player-empty p { color: var(--on-dark); margin-top: 12px; }
.recent { margin-top: 12px; padding: 0; list-style: none; }
.recent li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.recent .t { font-weight: 700; font-size: 18px; line-height: 1.3; }
.recent .t a { color: var(--ink); text-decoration: none; }
.recent .t a:hover { color: var(--leaf); text-decoration: underline; }
.recent .m { font-size: 15px; color: var(--muted); margin-top: 2px; }
.listen { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15.5px; text-decoration: none; color: var(--leaf); min-height: 44px; background: none; border: 0; padding: 0 4px; cursor: pointer; }
.listen .ic { width: 18px; height: 18px; }
.listen:hover { color: var(--leaf-dark); }
.video-card { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video-card iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Scripture */
.scripture { background: var(--night); color: #FFFFFF; padding: 112px 0; }
.scripture blockquote { font-size: 40px; line-height: 1.3; font-style: italic; font-weight: 500; font-stretch: 96%; max-width: 26em; text-wrap: pretty; }
.scripture cite { display: block; margin-top: 28px; font-style: normal; font-weight: 800; font-stretch: 112%; font-size: 19px; color: var(--gold); }

/* Pastors */
.pastors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 64px; }
.pastor { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: start; }
.portrait { width: 240px; height: 320px; border-radius: 120px; overflow: hidden; background: #DCE8D5; }
.pastor h3 { font-size: 28px; line-height: 1.15; font-weight: 800; font-stretch: 108%; }
.role { font-size: 16px; font-weight: 700; color: var(--leaf); margin-top: 8px; }
.pastor p:not(.role) { font-size: 17.5px; color: var(--muted); margin-top: 16px; }

/* Events list */
.events { margin-top: 56px; border-top: 2px solid var(--ink); }
.event { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.date { display: flex; flex-direction: column; line-height: 1; }
.date b { font-size: 56px; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; }
.date span { font-size: 15px; font-weight: 700; color: var(--muted); margin-top: 8px; }
.event h3 { font-size: 25px; line-height: 1.2; font-weight: 800; font-stretch: 106%; }
.event h3 a { color: var(--ink); text-decoration: none; }
.event h3 a:hover { color: var(--leaf); text-decoration: underline; }
.event .m { font-size: 16.5px; color: var(--muted); margin-top: 6px; }
.event .actions { gap: 10px; justify-content: flex-end; }
.events-empty { padding: 28px 0; color: var(--muted); border-bottom: 1px solid var(--line); }

/* Visit */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: stretch; }
.addr { font-size: 21px; line-height: 1.5; font-weight: 600; margin-top: 28px; max-width: 22em; }
.contact-list { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 12px; font-size: 17.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--leaf); }
.contact-list .ic { color: var(--leaf); }
.visit-grid .actions { margin-top: 36px; }
.mapcard { border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; position: relative; background: #D3E4CB; }
.mapcard iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.way { background: #FFFFFF; border-radius: 18px; padding: 28px 30px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; row-gap: 4px; align-items: start; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.way:hover { border-color: var(--leaf); color: var(--ink); }
.way .ic { color: var(--leaf); width: 26px; height: 26px; grid-row: span 2; }
.way b { font-size: 20px; font-weight: 800; font-stretch: 106%; }
.way span { font-size: 15.5px; color: var(--muted); line-height: 1.45; }
.during-week { font-size: 22px; line-height: 1.2; font-weight: 800; font-stretch: 106%; margin-top: 36px; }
.contact-list--tight { margin-top: 14px; }
.also-at { display: flex; gap: 10px; align-items: flex-start; margin-top: 30px; font-size: 16.5px; line-height: 1.5; color: var(--muted); }
.also-at .ic { color: var(--leaf); margin-top: 2px; }
.also-at a { font-weight: 700; margin-left: 4px; }
/* Other branches */
.branches { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.branch { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 32px; }
.branch-pin { width: 56px; height: 56px; border-radius: 50%; background: var(--band); color: var(--leaf); display: grid; place-items: center; }
.branch-pin .ic { width: 26px; height: 26px; }
.branch h3 { font-size: 26px; line-height: 1.2; font-weight: 800; font-stretch: 106%; }
.branch p { color: var(--muted); margin-top: 6px; font-size: 17px; line-height: 1.5; }
.sec--branches { padding-bottom: 0; }
.branch-links { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.branch-call { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16.5px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.branch-call:hover { color: var(--leaf); }
.branch-call .ic { width: 18px; height: 18px; color: var(--leaf); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night2); color: var(--on-dark-2); padding: 88px 0 40px; font-size: 16px; }
.f-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.site-footer .logo-badge { width: 76px; height: 76px; }
.site-footer .logo-word { font-size: 23px; }
.f-tag { font-size: 19px; line-height: 1.45; color: #FFFFFF; font-weight: 600; margin-top: 22px; max-width: 16em; }
.site-footer h2 { margin: 0; font-size: 15px; font-weight: 800; font-stretch: 108%; color: #FFFFFF; }
.site-footer ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer .logo, .site-footer .logo:hover { color: #FFFFFF; text-decoration: none; }
.f-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(185, 217, 176, .16); font-size: 14.5px; color: #94AE8E; }

/* ---------- Inner page header ---------- */
.page-hero { background: var(--night); color: #FFFFFF; position: relative; padding: 48px 0 96px; }
.page-hero .kicker { display: inline-flex; gap: 10px; align-items: center; color: var(--mint); font-weight: 600; font-size: 16px; text-decoration: none; }
.page-hero .kicker:hover { color: #FFFFFF; }
.page-hero h1 { font-size: 64px; line-height: 1; font-weight: 800; font-stretch: 114%; letter-spacing: -.016em; max-width: 16em; text-wrap: balance; margin-top: 16px; }
.page-hero .lead { margin-top: 22px; }
.page-hero .meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; color: var(--on-dark); font-size: 17px; }
.page-hero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero .meta .ic { width: 18px; height: 18px; color: var(--lime); }
.page-hero .meta a { color: #FFFFFF; }

/* ---------- Content (pages, posts, sermon notes) ---------- */
.content { padding: 80px 0 112px; }
.prose { font-size: 19px; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 36px; line-height: 1.1; font-weight: 800; font-stretch: 110%; margin-top: 1.6em; }
.prose h3 { font-size: 26px; line-height: 1.2; font-weight: 800; font-stretch: 106%; margin-top: 1.4em; }
.prose h4 { font-size: 21px; font-weight: 800; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--leaf); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose blockquote, .prose .wp-block-quote { border-left: 4px solid var(--lime); padding: 4px 0 4px 24px; font-size: 22px; font-style: italic; color: var(--ink); }
.prose blockquote cite, .prose .wp-block-quote cite { display: block; margin-top: 10px; font-size: 16px; font-style: normal; font-weight: 700; color: var(--muted); }
.prose img { border-radius: 14px; }
.prose figure { margin-top: 1.6em; margin-bottom: 1.6em; }
.prose figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 17px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose .wp-block-button__link { background: var(--night); color: #FFFFFF; border-radius: var(--radius); padding: 14px 24px; font-weight: 700; text-decoration: none; }
.prose .wp-block-button__link:hover { background: #154A2E; }
.prose .wp-block-embed iframe, .prose iframe { width: 100%; border: 0; border-radius: 14px; }
.prose .alignwide { margin-left: -120px; margin-right: -120px; max-width: none; }
.prose .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.prose .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.prose .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.4em; }
.prose::after { content: ""; display: table; clear: both; }
.lead-image { margin: 0 0 48px; border-radius: var(--radius-lg); overflow: hidden; }
.lead-image img { display: block; width: 100%; height: auto; }

/* ---------- Sermon library ---------- */
.library { padding: 72px 0 112px; }
.library-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.featured-sermon { margin-top: -160px; position: relative; z-index: 2; }
.search-box { position: relative; }
.search-box .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 22px; height: 22px; }
.search-box input { width: 100%; min-height: 60px; border-radius: 14px; border: 2px solid var(--line); background: #FFFFFF; padding: 0 18px 0 52px; font: inherit; font-size: 18px; color: var(--ink); }
.search-box input:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(14, 107, 51, .12); }
.library-side { display: flex; flex-direction: column; gap: 20px; }
.yt-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.yt-card:hover { border-color: var(--leaf); box-shadow: 0 10px 28px rgba(8, 40, 22, .08); }
.yt-card:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.yt-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--night); color: var(--lime); display: grid; place-items: center; flex: none; }
.yt-icon .ic { width: 26px; height: 26px; }
.yt-text { flex: 1; min-width: 0; }
.yt-text strong { display: block; font-size: 18px; line-height: 1.3; }
.yt-text small { display: block; color: var(--muted); font-size: 15px; line-height: 1.4; margin-top: 3px; }
.yt-card > .ic { flex: none; color: var(--leaf); width: 20px; height: 20px; }
.filters { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips .chips-label { font-size: 14.5px; font-weight: 700; color: var(--muted); margin-right: 6px; min-width: 70px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #FFFFFF; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--leaf); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-current { background: var(--night); border-color: var(--night); color: #FFFFFF; }
.result-count { margin-top: 36px; font-size: 15.5px; color: var(--muted); font-weight: 600; }
.sermon-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.sermon-row { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sermon-row .d { font-size: 15px; font-weight: 700; color: var(--muted); line-height: 1.3; }
.sermon-row .t { font-size: 20px; font-weight: 800; font-stretch: 104%; line-height: 1.25; }
.sermon-row .t a { color: var(--ink); text-decoration: none; }
.sermon-row .t a:hover { color: var(--leaf); text-decoration: underline; }
.sermon-row .m { font-size: 15.5px; color: var(--muted); margin-top: 4px; }
.sermon-row .row-actions { display: flex; gap: 6px; align-items: center; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: #FFFFFF; color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn:hover { border-color: var(--leaf); color: var(--leaf); }
.icon-btn .ic { width: 18px; height: 18px; }
.more-wrap { margin-top: 32px; display: flex; justify-content: center; }
.empty { padding: 48px 0; text-align: left; color: var(--muted); font-size: 18px; }
.empty strong { display: block; color: var(--ink); font-size: 22px; margin-bottom: 6px; }

/* Single sermon */
.sermon-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.sermon-main .player { margin-top: -150px; position: relative; z-index: 2; }
.sermon-side { display: flex; flex-direction: column; gap: 28px; }
.side-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; }
.side-card h2 { font-size: 18px; font-weight: 800; font-stretch: 106%; }
.side-card dl { margin-top: 12px; display: grid; gap: 12px; }
.side-card dt { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.side-card dd { font-size: 17px; font-weight: 600; margin: 2px 0 0; }
.share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.more-list { list-style: none; padding: 0; margin: 12px 0 0; }
.more-list li + li { border-top: 1px solid var(--line); }
.more-list a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.3; }
.more-list a span { display: block; font-weight: 500; font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.more-list a:hover { color: var(--leaf); }

/* ---------- Events pages ---------- */
.weekly { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 34px; }
.weekly h2 { font-size: 28px; font-weight: 800; font-stretch: 108%; }
.weekly p { color: var(--muted); margin-top: 6px; }
.weekly--more { margin-top: 16px; }
.event-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.past { margin-top: 72px; }
.past h2 { font-size: 30px; font-weight: 800; font-stretch: 108%; }
.past ul { list-style: none; padding: 0; margin: 16px 0 0; }
.past li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.past a { color: var(--ink); font-weight: 700; text-decoration: none; }
.past a:hover { color: var(--leaf); text-decoration: underline; }
.past span { color: var(--muted); white-space: nowrap; }

/* ---------- People page ---------- */
.people-group + .people-group { margin-top: 96px; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 48px 32px; margin-top: 40px; }
.person .portrait { width: 100%; max-width: 240px; }
.person h3 { font-size: 22px; font-weight: 800; font-stretch: 106%; margin-top: 18px; line-height: 1.2; }
.person p { font-size: 16.5px; color: var(--muted); margin-top: 8px; }
.pastor-full { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
.pastor-full + .pastor-full { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.pastor-full .portrait { width: 300px; height: 400px; border-radius: 150px; }
.pastor-full h2 { font-size: 40px; }
.pastor-full .portrait a { display: block; height: 100%; }
.name-link { color: inherit; text-decoration: none; }
.name-link:hover { color: var(--leaf); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.read-more { display: inline-block; margin-top: 22px; }
/* Cards that open a person's page: the whole card is the link. */
.person--link { position: relative; }
.person--link h3 a { color: inherit; text-decoration: none; }
.person--link h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.person--link h3 a:focus-visible { outline: none; }
.person--link h3 a:focus-visible::after { outline: 3px solid var(--leaf); outline-offset: 6px; }
.person--link:hover h3 a { color: var(--leaf); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.person--link .portrait img { transition: transform .35s ease; }
.person--link:hover .portrait img { transform: scale(1.04); }
/* A person's own page */
.profile { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; align-items: start; }
.profile-portrait { width: 320px; height: 420px; border-radius: 160px; position: sticky; top: 32px; }
.profile-body .prose { max-width: 720px; }
.profile-actions { margin-top: 40px; }
.profile-share { display: flex; align-items: center; gap: 16px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; font-weight: 600; max-width: 720px; }
.profile-share .share { margin-top: 0; }
.people-more { margin-top: 112px; }
.people-more .head-row { padding-top: 72px; border-top: 1px solid var(--line); }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 15.5px; color: var(--leaf); }
.card-more .ic { width: 16px; height: 16px; transition: transform .2s ease; }
.person--link:hover .card-more .ic { transform: translateX(3px); }
.people-more .h2 { font-size: 40px; }

/* ---------- Ministries ---------- */
.ministry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.ministry-card { position: relative; display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 30px 28px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.ministry-card:hover { border-color: var(--leaf); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11, 46, 28, .10); }
.ministry-card h3 { font-size: 23px; line-height: 1.2; font-weight: 800; font-stretch: 106%; margin-top: 22px; }
.ministry-card h3 a { color: var(--ink); text-decoration: none; }
.ministry-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.ministry-card h3 a:focus-visible { outline: none; }
.ministry-card h3 a:focus-visible::after { outline: 3px solid var(--leaf); outline-offset: 4px; }
.ministry-card p { color: var(--muted); font-size: 16.5px; line-height: 1.55; margin-top: 10px; flex: 1; }
.ministry-card:hover .card-more .ic { transform: translateX(3px); }
.ministry-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--band); color: var(--leaf); display: grid; place-items: center; }
.ministry-icon .ic { width: 26px; height: 26px; }
.ministry-card:nth-child(4n+2) .ministry-icon { background: #FBF0CF; color: #8A6A05; }
.ministry-card:nth-child(4n+3) .ministry-icon { background: #F6DCD9; color: var(--flame); }
.ministry-card:nth-child(4n+4) .ministry-icon { background: var(--night); color: var(--lime); }
.ministry-icon--lg { width: 88px; height: 88px; border-radius: 24px; }
.ministry-icon--lg .ic { width: 40px; height: 40px; }
.ministry-main { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 48px; align-items: start; }
.ministry-main .prose { max-width: 720px; }
.join-band { margin-top: 80px; background: var(--night); color: var(--on-dark); border-radius: var(--radius-lg); padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.join-band h2 { color: #FFFFFF; font-size: 32px; font-weight: 800; font-stretch: 108%; line-height: 1.1; }
.join-band p { margin-top: 10px; max-width: 34em; }

/* ---------- Words from the pastor ---------- */
.quotes-title { font-size: 40px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.quotes--1 { grid-template-columns: minmax(0, 760px); }
.quotes--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote-card { margin: 0; background: #FFFFFF; border-radius: var(--radius-lg); padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 22px; border: 1px solid var(--line); }
.quote-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--night); display: grid; place-items: center; }
.quote-mark .ic { width: 20px; height: 20px; }
.quote-card blockquote { margin: 0; flex: 1; }
.quote-card blockquote p { font-size: 21px; line-height: 1.45; font-weight: 600; font-style: italic; color: var(--ink); }
.quote-by { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; line-height: 1.3; }
.quote-by a { color: var(--ink); text-decoration: none; }
.quote-by a:hover { color: var(--leaf); text-decoration: underline; }
.quote-by small { display: block; font-weight: 600; color: var(--leaf); font-size: 14px; margin-top: 2px; }
.quotes-head { align-items: center; }
.quotes-head .quote-by { font-size: 17px; }
.quotes-head .quote-face { width: 52px; height: 52px; }
.quote-face { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; background: var(--band); }
.quote-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-quotes { margin-top: 48px; max-width: 720px; }
.profile-quotes h2 { font-size: 26px; font-weight: 800; font-stretch: 106%; }
.profile-quotes .quotes { grid-template-columns: 1fr; gap: 16px; margin-top: 18px; }
.profile-quotes .quote-card { flex-direction: row; align-items: flex-start; padding: 24px 26px; background: var(--band); border: 0; }
.profile-quotes .quote-card blockquote p { font-size: 19px; }

/* ---------- Gallery ---------- */
.gallery-page .gallery { column-count: 3; column-gap: 18px; margin: 0; }
.gallery-page .gallery + .gallery { margin-top: 18px; }
.gallery .gallery-item { break-inside: avoid; margin: 0 0 18px; display: block; width: auto !important; }
.gallery .gallery-icon a { display: block; border-radius: 16px; overflow: hidden; background: var(--band); }
.gallery .gallery-icon img { display: block; width: 100%; height: auto; transition: transform .35s ease; border: 0 !important; }
.gallery .gallery-icon a:hover img { transform: scale(1.03); }
.gallery .gallery-icon a:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.gallery .gallery-caption { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.gallery br { display: none; }
.prose .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.prose .gallery .gallery-item { margin: 0; }
/* The floating WhatsApp button. */
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 28px; background: #25D366; color: #FFFFFF; font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; box-shadow: 0 14px 34px rgba(4, 34, 16, .30); transition: transform .15s ease, box-shadow .15s ease; }
.chat-fab .ic { width: 26px; height: 26px; }
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(4, 34, 16, .36); color: #FFFFFF; }
.chat-fab:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; }
body.has-chat .site-footer { padding-bottom: 112px; }
body.has-dock .chat-fab { bottom: 112px; }
body.menu-open .chat-fab, body.lightbox-open .chat-fab { display: none; }
/* A floating chat button from a plugin (Chaty) keeps out of the way of the open menu and photo viewer. */
body.menu-open [id^="chaty-widget"], body.menu-open .chaty,
body.lightbox-open [id^="chaty-widget"], body.lightbox-open .chaty { display: none !important; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(4, 18, 10, .94); display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: 64px minmax(0, 1fr) 48px; align-items: center; justify-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { grid-column: 2; grid-row: 2; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox button { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #FFFFFF; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .18); }
.lightbox button:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.lightbox .lb-close { grid-column: 3; grid-row: 1; }
.lightbox .lb-prev { grid-column: 1; grid-row: 2; }
.lightbox .lb-next { grid-column: 3; grid-row: 2; }
.lightbox .lb-count { grid-column: 2; grid-row: 3; color: var(--on-dark-2); font-size: 15px; font-weight: 600; }
body.lightbox-open { overflow: hidden; }

/* Sermon videos in the player card */
.player-video { position: relative; aspect-ratio: 16 / 9; margin-top: 20px; border-radius: 14px; overflow: hidden; background: #000; }
.player-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Give page ---------- */
.accounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.account { background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px; display: flex; flex-direction: column; gap: 6px; }
.account .purpose { font-size: 14.5px; font-weight: 700; color: var(--leaf); }
.account .bank { font-size: 21px; font-weight: 800; font-stretch: 106%; margin-top: 4px; }
.account .name { color: var(--muted); }
.account .number { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; background: var(--paper); border-radius: 12px; font-size: 24px; font-weight: 800; font-stretch: 104%; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #FFFFFF; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; letter-spacing: 0; }
.copy-btn:hover { border-color: var(--leaf); }
.copy-btn.is-copied { background: var(--night); border-color: var(--night); color: #FFFFFF; }

/* ---------- Forms ---------- */
.form-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 38px; }
.form-card h2 { font-size: 30px; font-weight: 800; font-stretch: 108%; }
.form-card .intro { margin-top: 10px; font-size: 17.5px; }
.cf-form { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.cf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cf-field label { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.cf-field input, .cf-field textarea { width: 100%; border: 2px solid var(--line); border-radius: 12px; background: #FFFFFF; padding: 13px 15px; font: inherit; font-size: 17px; color: var(--ink); }
.cf-field textarea { min-height: 150px; resize: vertical; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(14, 107, 51, .12); }
.cf-check { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.cf-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--leaf); flex: none; }
.cf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cf-notice { padding: 18px 20px; border-radius: 14px; margin-bottom: 8px; font-size: 16.5px; display: flex; flex-direction: column; gap: 4px; }
.cf-notice--ok { background: #E3F2D6; color: #173A1F; border: 1px solid #BEDBA6; }
.cf-notice--error { background: #FBE9E7; color: #7A1A12; border: 1px solid #F2C5BF; }

/* Two-column page body (visit, prayer) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }

/* ---------- Blog ---------- */
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.post-card .thumb { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #DCE8D5; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .d { font-size: 14.5px; font-weight: 700; color: var(--muted); margin-top: 18px; }
.post-card h2 { font-size: 23px; line-height: 1.22; font-weight: 800; font-stretch: 104%; margin-top: 6px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--leaf); text-decoration: underline; }
.post-card p { color: var(--muted); font-size: 16.5px; margin-top: 8px; }
.pagination { margin-top: 64px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #FFFFFF; color: var(--ink); text-decoration: none; font-weight: 700; }
.pagination .page-numbers.current { background: var(--night); border-color: var(--night); color: #FFFFFF; }
.pagination a.page-numbers:hover { border-color: var(--leaf); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-nav a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; line-height: 1.3; }
.post-nav a span { display: block; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.post-nav .next { text-align: right; }

/* Search and 404 */
.results-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.results-list li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.results-list .type { font-size: 14px; font-weight: 700; color: var(--leaf); }
.results-list h2 { font-size: 23px; font-weight: 800; font-stretch: 104%; margin-top: 4px; }
.results-list h2 a { color: var(--ink); text-decoration: none; }
.results-list h2 a:hover { color: var(--leaf); text-decoration: underline; }
.results-list p { color: var(--muted); margin-top: 6px; }
.page-hero .search-box { max-width: 560px; margin-top: 28px; }
.page-hero .search-box input { border-color: transparent; }

/* ---------- Mini player dock ---------- */
.dock { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 860px; margin: 0 auto; background: var(--night); color: #FFFFFF; border-radius: 18px; padding: 12px 14px 12px 12px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; box-shadow: 0 20px 50px rgba(2, 14, 7, .45); }
.dock[hidden] { display: none; }
.dock .play { width: 52px; height: 52px; }
.dock .dock-title { font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .dock-title a { color: #FFFFFF; text-decoration: none; }
.dock .dock-meta { font-size: 13.5px; color: var(--mint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .times { font-size: 12.5px; }
.dock-close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--mint); cursor: pointer; }
.dock-close:hover { color: #FFFFFF; background: rgba(255, 255, 255, .08); }
body.has-dock { padding-bottom: 96px; }

/* Staging note */
.cf-staging { background: var(--gold); color: var(--night); text-align: center; font-size: 14px; font-weight: 700; padding: 6px 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
	.site-header { gap: 24px; }
	.nav { gap: 26px; }
	.navlinks { gap: 24px; }
	.nav-cta { gap: 18px; }
}
@media (max-width: 1100px) {
	.hero h1 { font-size: 60px; }
	.navlinks { gap: 22px; }
	.nav { gap: 24px; }
	.pastor { grid-template-columns: 1fr; }
	.prose .alignwide { margin-left: 0; margin-right: 0; }
	.sermon-main, .event-main { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
}
@media (max-width: 1180px) {
	.navlinks, .give-link, .nav-cta .btn { display: none; }
	.menu-btn { display: inline-flex; }
}
@media (max-width: 900px) {
	:root { --gutter: 22px; }
	body { font-size: 17px; }
	.site-header { gap: 16px; padding-top: 16px; padding-bottom: 16px; }
	.logo { gap: 12px; }
	.logo-badge { width: 48px; height: 48px; }
	.logo-word { font-size: 18px; }
	.topbar .tb-loc { display: none; }
	.hero-grid, .who, .sermons-block, .visit-grid, .pastors, .split, .library-top, .sermon-main, .event-main { grid-template-columns: 1fr; gap: 48px; }
	.hero-grid { padding-top: 16px; padding-bottom: 72px; }
	.hero h1 { font-size: 44px; }
	.lead { font-size: 19px; }
	.visual { height: auto; display: flex; flex-direction: column; align-items: center; }
	.window { position: relative; right: auto; width: 100%; max-width: 330px; height: 420px; }
	.pass { position: relative; left: auto; bottom: auto; width: 100%; max-width: 420px; margin-top: -90px; transform: rotate(-2deg); }
	.pass--static { margin-top: 0; transform: none; }
	.sec { padding: 80px 0; }
	.sec--tight { padding: 64px 0; }
	.sec h2, .h2 { font-size: 38px; }
	.facets { grid-template-columns: 1fr; margin-top: 64px; }
	.facet, .facet + .facet { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
	.arch { height: 300px; }
	.scripture { padding: 80px 0; }
	.scripture blockquote { font-size: 28px; }
	.event { grid-template-columns: 92px minmax(0, 1fr); gap: 18px; }
	.event .actions { grid-column: 2; justify-content: flex-start; }
	.date b { font-size: 40px; }
	.f-grid { grid-template-columns: 1fr 1fr; }
	.f-grid > div:first-child { grid-column: 1 / -1; }
	.site-footer .logo-word { font-size: 20px; }
	.site-footer .logo-badge { width: 60px; height: 60px; }
	.ways { grid-template-columns: 1fr; }
	.way { padding: 22px; }
	.page-hero { padding: 28px 0 72px; }
	.page-hero h1 { font-size: 42px; }
	.content { padding: 56px 0 80px; }
	.prose { font-size: 18px; }
	.prose h2 { font-size: 30px; }
	.featured-sermon, .sermon-main .player { margin-top: -100px; }
	.sermon-row { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
	.sermon-row .d { grid-column: 1 / -1; }
	.pastor-full { grid-template-columns: 1fr; gap: 28px; }
	.pastor-full .portrait { width: 240px; height: 320px; border-radius: 120px; }
	.profile { grid-template-columns: 1fr; gap: 32px; }
	.profile-portrait { width: 240px; height: 320px; border-radius: 120px; position: static; }
	.people-more { margin-top: 72px; }
	.people-more .head-row { padding-top: 56px; }
	.people-more .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
	.people-more .portrait { height: 220px; }
	.people-more .person h3 { font-size: 18px; }
	.people-more .person p:not(.role) { display: none; }
	.people-more .h2 { font-size: 32px; }
	.profile-share { flex-wrap: wrap; }
	.post-list { grid-template-columns: 1fr; }
	.cf-field-row { grid-template-columns: 1fr; }
	.form-card { padding: 26px 22px; }
	.weekly { grid-template-columns: 1fr; padding: 24px; }
	.quotes, .quotes--2 { grid-template-columns: 1fr; }
	.quote-card blockquote p { font-size: 19px; }
	.quote-card { padding: 26px 24px 24px; gap: 18px; }
	.chat-fab { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; }
	.chat-fab-label { display: none; }
	body.has-dock .chat-fab { bottom: 104px; }
	.profile-quotes .quote-card { padding: 20px; gap: 14px; }
	.profile-quotes .quote-mark { width: 36px; height: 36px; }
	.profile-quotes .quote-mark .ic { width: 16px; height: 16px; }
	.profile-quotes .quote-card blockquote p { font-size: 18px; }
	.ministry-main { grid-template-columns: 1fr; gap: 24px; }
	.ministry-icon--lg { width: 64px; height: 64px; border-radius: 18px; }
	.ministry-icon--lg .ic { width: 30px; height: 30px; }
	.join-band { padding: 30px 24px; }
	.join-band h2 { font-size: 26px; }
	.gallery-page .gallery { column-count: 2; column-gap: 10px; }
	.gallery .gallery-item { margin-bottom: 10px; }
	.gallery .gallery-icon a { border-radius: 10px; }
	.lightbox { grid-template-columns: 0 minmax(0, 1fr) 0; grid-template-rows: 64px minmax(0, 1fr) 72px; }
	.lightbox .lb-prev, .lightbox .lb-next { grid-row: 3; }
	.lightbox .lb-prev { grid-column: 2; justify-self: start; margin-left: 16px; }
	.lightbox .lb-next { grid-column: 2; justify-self: end; margin-right: 16px; }
	.lightbox .lb-close { grid-column: 2; justify-self: end; margin-right: 16px; }
	.lightbox img { border-radius: 0; }
	.branch { grid-template-columns: auto minmax(0, 1fr); padding: 22px; gap: 16px; align-items: start; }
	.branch-pin { width: 44px; height: 44px; }
	.branch-pin .ic { width: 22px; height: 22px; }
	.branch h3 { font-size: 23px; }
	.branch-links { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
	.player { padding: 26px 24px; }
	.player h3 { font-size: 25px; }
	.mapcard { min-height: 320px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { text-align: left; }
}
@media (min-width: 901px) and (max-width: 1100px) {
	.post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.masthead, .site-footer, .dock, .mobile-menu, .actions, .cf-staging, .chat-fab { display: none !important; }
	.page-hero, .hero, .scripture { background: none !important; color: #000 !important; }
}

/* Playing state on list buttons */
.icon-btn.is-on, .listen.is-on { background: var(--night); border-color: var(--night); color: #FFFFFF; }
.listen.is-on { border-radius: 10px; padding: 0 12px; }
.icon-btn.is-copied { background: var(--night); border-color: var(--night); color: #FFFFFF; }
