/*
Theme Name: Revelation of His Grace
Theme URI: https://example.com/
Author: Revelation of His Grace Ministries
Description: A modern, contemporary church theme with a full-screen image slider (add as many slides as you like under "Slider Images"), a sermon library, and a Give page. Built for Revelation of His Grace Ministries.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: revelation-grace
Tags: church, one-column, custom-logo, custom-menu, featured-images, full-width-template
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #0e1020;
	--ink-2: #171a30;
	--ink-3: #23274a;
	--paper: #faf7f2;
	--paper-2: #f1ece3;
	--text: #1d1f2e;
	--muted: #62657a;
	--line: #e3ddd2;
	--gold: #e2a945;
	--gold-2: #f3c56b;
	--gold-ink: #7a5310;
	--white: #ffffff;
	--radius: 14px;
	--radius-lg: 24px;
	--shadow: 0 18px 50px -22px rgba(14, 16, 32, .45);
	--display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--serif: "Fraunces", Georgia, serif;
	--body: "Inter", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1180px;
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
h1, h2, h3, h4 {
	font-family: var(--display);
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin: 0 0 .5em;
	font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
em.accent, .accent-serif {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 500;
	color: var(--gold);
	letter-spacing: -0.01em;
}
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 10px; left: 10px;
	background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px;
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--dark { background: var(--ink); color: #e9e8f0; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--tint { background: var(--paper-2); }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	color: var(--gold-ink); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section--dark .eyebrow { color: var(--gold-2); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.section--dark .lede { color: #b8b9cc; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--body); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
	text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--ink); color: var(--white);
	transition: background .3s ease, box-shadow .3s ease;
}
.home-hero-header .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.home-hero-header .site-header.is-scrolled,
.site-header.is-scrolled { background: rgba(14, 16, 32, .94); backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-name span { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-2); margin-top: 3px; }
.custom-logo { max-height: 56px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav a {
	display: block; padding: 10px 16px; border-radius: 999px; text-decoration: none;
	font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.88);
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--white); background: rgba(255,255,255,.1); }
.main-nav .menu-give > a, .main-nav li:last-child > a[href*="give"] { background: var(--gold); color: var(--ink); }
.main-nav .menu-give > a:hover { background: var(--gold-2); }
.nav-toggle {
	display: none; background: none; border: 0; color: var(--white); cursor: pointer;
	width: 44px; height: 44px; padding: 10px; border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
	:root { --header-h: 72px; }
	.nav-toggle { display: block; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; background: var(--ink);
		padding: 16px 24px 28px; transform: translateY(-120%); transition: transform .3s ease;
		box-shadow: 0 20px 40px rgba(0,0,0,.35); z-index: -1;
	}
	.nav-open .main-nav { transform: none; }
	.main-nav ul { flex-direction: column; align-items: stretch; }
	.main-nav a { padding: 14px 16px; font-size: 1.05rem; }
	.brand-name strong { font-size: 1rem; }
}

/* ---------- Hero slider ---------- */
.hero {
	position: relative; height: 100vh; min-height: 600px; max-height: 1000px;
	background: var(--ink); color: var(--white); overflow: hidden;
}
.hero-slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden;
	transition: opacity 1.1s ease, visibility 0s linear 1.1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease; z-index: 1; }
.hero-slide__bg {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	transform: scale(1.08);
	background-color: var(--ink-2);
	background-image: linear-gradient(135deg, var(--ink-3), var(--ink));
}
.hero-slide.is-active .hero-slide__bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero-slide::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(10,11,24,.86) 0%, rgba(10,11,24,.55) 45%, rgba(10,11,24,.15) 100%),
		linear-gradient(0deg, rgba(10,11,24,.75) 0%, rgba(10,11,24,0) 40%);
}
.hero-slide__content {
	position: relative; z-index: 2; height: 100%;
	display: flex; flex-direction: column; justify-content: center;
	padding-top: var(--header-h);
}
.hero-slide__content > * { max-width: 720px; }
.hero-kicker {
	display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
	padding: 7px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
	font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	margin-bottom: 24px; backdrop-filter: blur(6px); background: rgba(255,255,255,.06);
}
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1, .hero .hero-title { color: var(--white); font-size: clamp(2.6rem, 6.5vw, 5.4rem); margin-bottom: 20px; }
.hero-text { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.85); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.hero-slide.is-active .hero-slide__content > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-slide.is-active .hero-slide__content > *:nth-child(2) { animation-delay: .12s; }
.hero-slide.is-active .hero-slide__content > *:nth-child(3) { animation-delay: .24s; }
.hero-slide.is-active .hero-slide__content > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-controls {
	position: absolute; z-index: 5; left: 0; right: 0; bottom: 34px;
}
.hero-controls .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-dots { display: flex; gap: 10px; align-items: center; }
.hero-dot {
	position: relative; width: 44px; height: 4px; padding: 0; border: 0; border-radius: 4px;
	background: rgba(255,255,255,.3); cursor: pointer; overflow: hidden;
}
.hero-dot::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active::after { animation: progress var(--slide-time, 7s) linear forwards; }
.hero.is-paused .hero-dot.is-active::after { animation-play-state: paused; }
.hero-dot.is-done::after { transform: scaleX(1); }
@keyframes progress { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrow {
	width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
	background: rgba(255,255,255,.06); color: var(--white); cursor: pointer;
	display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s, color .2s;
}
.hero-arrow:hover { background: var(--white); color: var(--ink); }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-count { font-family: var(--display); font-size: .95rem; color: rgba(255,255,255,.7); min-width: 52px; }
.hero-count b { color: var(--white); }
@media (max-width: 600px) {
	.hero { min-height: 560px; }
	.hero-arrows { display: none; }
	.hero-dot { width: 28px; }
}

/* ---------- Service bar ---------- */
.service-bar { background: var(--gold); color: var(--ink); }
.service-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding-top: 22px; padding-bottom: 22px; }
.service-bar__times { display: flex; flex-wrap: wrap; gap: 10px 34px; }
.service-bar__item { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.service-bar__item small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; font-weight: 700; }
.service-bar svg { width: 22px; height: 22px; flex: none; }
.service-bar a.btn { padding: 12px 22px; }

/* ---------- Welcome ---------- */
.welcome-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.welcome-media { position: relative; }
.welcome-media img, .welcome-media .ph {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.welcome-media .badge {
	position: absolute; right: -18px; bottom: 34px; background: var(--ink); color: var(--white);
	padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 230px;
}
.welcome-media .badge strong { display: block; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold-2); font-weight: 500; }
.welcome-media .badge span { font-size: .85rem; opacity: .8; }
@media (max-width: 900px) {
	.welcome-grid { grid-template-columns: 1fr; }
	.welcome-media .badge { right: 14px; }
}

/* ---------- Next steps cards ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.step-card {
	position: relative; padding: 32px 28px 30px; border-radius: var(--radius-lg);
	background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); color: #d9d9e6;
	text-decoration: none; transition: transform .25s ease, border-color .25s ease, background .25s ease;
	display: flex; flex-direction: column;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(226,169,69,.6); color: #d9d9e6; background: var(--ink-3); }
.step-card .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; margin-bottom: 26px; }
.step-card h3 { color: var(--white); font-size: 1.5rem; }
.step-card p { color: #a9aac0; margin-bottom: 22px; }
.step-card .more { margin-top: auto; font-weight: 700; color: var(--gold-2); display: inline-flex; gap: 8px; align-items: center; }
.step-card .more svg, .section-head .btn svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Sermon cards ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; }
.sermon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 960px) { .sermon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .sermon-grid { grid-template-columns: 1fr; } }
.sermon-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.sermon-card:hover { color: var(--text); }
.sermon-thumb {
	position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
	background: linear-gradient(135deg, var(--ink-3), var(--ink)); margin-bottom: 18px;
}
.sermon-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sermon-card:hover .sermon-thumb img { transform: scale(1.06); }
.sermon-thumb .ph-title {
	position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center;
	font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-2); line-height: 1.2;
}
.sermon-thumb .play {
	position: absolute; left: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%;
	background: var(--gold); color: var(--ink); display: grid; place-items: center;
	box-shadow: 0 10px 25px rgba(0,0,0,.3); transition: transform .25s;
}
.sermon-card:hover .play { transform: scale(1.1); }
.sermon-thumb .play svg { width: 18px; height: 18px; margin-left: 3px; }
.sermon-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.sermon-meta .series { color: var(--gold-ink); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.sermon-card h3 { margin-bottom: 6px; }
.sermon-card .speaker { color: var(--muted); font-size: .95rem; }

/* Featured sermon */
.featured-sermon {
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
	background: var(--ink); color: var(--white); margin-bottom: 44px; box-shadow: var(--shadow);
}
.featured-sermon .media { position: relative; min-height: 320px; background: linear-gradient(135deg, var(--ink-3), var(--ink)); }
.featured-sermon .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-sermon .media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.featured-sermon .body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.featured-sermon .body h3 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.featured-sermon .sermon-meta { color: #a9aac0; }
.featured-sermon .sermon-meta .series { color: var(--gold-2); }
.featured-sermon p { color: #c3c4d6; }
@media (max-width: 860px) { .featured-sermon { grid-template-columns: 1fr; } .featured-sermon .media { aspect-ratio: 16/9; min-height: 0; } }

/* Series filter */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-bar a {
	padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
	text-decoration: none; font-weight: 600; font-size: .9rem;
}
.filter-bar a.is-active, .filter-bar a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.pagination .page-numbers {
	min-width: 46px; height: 46px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px;
	border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 700;
}
.pagination .current, .pagination a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	position: relative; background: var(--ink); color: var(--white);
	padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 8vw, 100px); overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.page-hero::before {
	content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -320px; border-radius: 50%;
	background: radial-gradient(circle, rgba(226,169,69,.35), rgba(226,169,69,0) 65%);
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,32,.2), rgba(14,16,32,.85)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: #c3c4d6; }

/* ---------- Visit / map ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.visit-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.visit-card dl { margin: 22px 0 0; display: grid; gap: 18px; }
.visit-card dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-ink); }
.visit-card dd { margin: 4px 0 0; font-size: 1.1rem; font-weight: 600; white-space: pre-line; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; background: var(--paper-2); border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- Give ---------- */
.give-cta {
	position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: var(--white);
	padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center;
}
.give-cta::before {
	content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -300px; border-radius: 50%;
	background: radial-gradient(circle, rgba(226,169,69,.4), rgba(226,169,69,0) 65%);
}
.give-cta > * { position: relative; }
.give-cta h2 { color: var(--white); }
.give-cta p { color: #c3c4d6; margin: 0; max-width: 560px; }
@media (max-width: 760px) { .give-cta { grid-template-columns: 1fr; } }

.give-panel {
	background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
	padding: clamp(28px, 5vw, 56px); margin-top: -70px; position: relative; z-index: 3;
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center;
}
.give-panel h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.give-panel .btn { padding: 18px 34px; font-size: 1.05rem; }
.give-embed { margin-top: 10px; }
.verse {
	border-left: 3px solid var(--gold); padding: 6px 0 6px 22px; margin: 0;
	font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--text);
}
.verse cite { display: block; margin-top: 10px; font-family: var(--body); font-style: normal; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
@media (max-width: 860px) { .give-panel { grid-template-columns: 1fr; } }

.ways-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.way-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; }
.way-card .icon { width: 50px; height: 50px; border-radius: 14px; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; margin-bottom: 20px; }
.way-card .icon svg { width: 24px; height: 24px; }
.way-card h3 { font-size: 1.2rem; }
.way-card p { color: var(--muted); font-size: .95rem; margin: 0; white-space: pre-line; }
@media (max-width: 1000px) { .ways-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ways-grid { grid-template-columns: 1fr; } }

.impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.impact div { border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; }
.impact strong { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--white); margin-bottom: 6px; }
.impact span { color: #a9aac0; font-size: .95rem; }
@media (max-width: 760px) { .impact { grid-template-columns: 1fr; } }

/* ---------- Single sermon ---------- */
.sermon-player { border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow); margin-top: -60px; position: relative; z-index: 3; }
.sermon-player .embed { position: relative; aspect-ratio: 16 / 9; }
.sermon-player .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sermon-audio { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 24px; }
.sermon-body { max-width: 760px; margin: 0 auto; }
.sermon-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0; }
.sermon-facts span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 600; }
.sermon-facts b { color: var(--gold-ink); font-weight: 700; margin-right: 6px; }

/* ---------- Generic content ---------- */
.entry-content { max-width: 760px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 2rem; margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { border-left: 3px solid var(--gold); margin-left: 0; padding-left: 22px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b8b9cc; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-family: var(--body); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #d9d9e6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer p { white-space: pre-line; }
.footer-brand p { margin-top: 18px; max-width: 320px; white-space: normal; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

.empty-state { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
