/* ==========================================================================
   New Life CNY — theme styles
   Clean black / white / orange system with extended display type.
   ========================================================================== */

:root {
	--nl-accent: #E0661F;          /* overridden by Customizer */
	--nl-orange: #F5843F;          /* logo ring */
	--nl-green: #0E9F4F;
	--nl-green-light: #6CCB3F;
	--nl-ink: #0B0B0C;
	--nl-charcoal: #2F3033;
	--nl-muted: #5D5F64;
	--nl-line: #E6E6E8;
	--nl-cream: #FBF4EC;
	--nl-mist: #F5F7FF;
	--nl-white: #FFFFFF;

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display-stretch: 125%;
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 14px;
	--header-h: 96px;
	--section: clamp(64px, 9vw, 120px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 18px;
	line-height: 1.6;
	color: var(--nl-ink);
	background: var(--nl-white);
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--nl-accent); text-underline-offset: 3px; }
a:hover { color: var(--nl-ink); }
:focus-visible { outline: 3px solid var(--nl-accent); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font);
	font-stretch: var(--display-stretch);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 .5em;
	color: inherit;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }

.display { font-stretch: var(--display-stretch); font-weight: 800; line-height: 1.05; }
.accent { color: var(--nl-accent); }
.eyebrow {
	display: block;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--nl-accent);
	margin: 0 0 .6rem;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.width-720 { max-width: calc(720px + 2 * var(--gutter)); }
.width-960 { max-width: calc(960px + 2 * var(--gutter)); }
.width-1140 { max-width: calc(1140px + 2 * var(--gutter)); }
.section { padding: var(--section) 0; }
.section--tight-top { padding-top: 0; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 1.2em; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 10px 16px; }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link, .wp-element-button,
input[type="submit"], button[type="submit"], .wpforms-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 50px;
	padding: .8em 1.5em;
	font-family: var(--font);
	font-size: .9rem;
	font-weight: 800;
	font-stretch: 112%;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	border: 2px solid var(--nl-ink);
	border-radius: 8px;
	background: var(--nl-ink);
	color: #fff;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover, button[type="submit"]:hover, .wpforms-submit:hover {
	background: var(--nl-accent); border-color: var(--nl-accent); color: #fff; transform: translateY(-1px);
}
.btn .icon { width: 1em; height: 1em; }
.btn--accent { background: var(--nl-accent); border-color: var(--nl-accent); }
.btn--accent:hover { background: var(--nl-ink); border-color: var(--nl-ink); }
.btn--dark { background: var(--nl-ink); border-color: var(--nl-ink); color: #fff; }
.btn--outline { background: transparent; color: var(--nl-ink); }
.btn--outline:hover { background: var(--nl-ink); border-color: var(--nl-ink); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--nl-ink); }
.btn--light:hover { background: var(--nl-accent); border-color: var(--nl-accent); color: #fff; }
.btn--outline-light { background: rgba(0,0,0,.15); border-color: #fff; color: #fff; backdrop-filter: blur(2px); }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--nl-ink); }
.btn--sm { min-height: 42px; padding: .6em 1.1em; font-size: .8rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.icon { display: inline-flex; width: 1.2em; height: 1.2em; flex: none; }
.icon svg { width: 100%; height: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: #fff;
	box-shadow: 0 1px 0 var(--nl-line);
	transition: box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 var(--gutter);
	height: var(--header-h);
}
.site-logo { display: block; line-height: 0; }
.site-logo__img { height: 74px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav--left { justify-content: flex-end; }
.site-nav--right { justify-content: flex-start; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav-menu li { position: relative; }
.nav-menu > li > a {
	display: flex; align-items: center; gap: 6px;
	padding: 10px 12px;
	font-size: .8rem;
	font-weight: 800;
	font-stretch: 112%;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--nl-ink);
	text-decoration: none;
	white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > .current-menu-item > a,
body:not(.home) .nav-menu > .current-menu-ancestor > a { color: var(--nl-accent); }
.home .nav-menu > li:not(.menu-item-home).current-menu-item > a { color: var(--nl-ink); }
.nav-menu .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-left: 2px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}
.nav-menu .sub-menu {
	list-style: none; margin: 0; padding: 10px 0;
	position: absolute; top: 100%; left: 0; min-width: 250px;
	background: #fff; border-radius: 10px;
	box-shadow: 0 18px 50px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.04);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-menu .sub-menu .sub-menu { top: -10px; left: 100%; }
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu .sub-menu a {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 9px 20px; font-size: .95rem; font-weight: 500; color: var(--nl-ink); text-decoration: none;
}
.nav-menu .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); }
.nav-menu .sub-menu a:hover, .nav-menu .sub-menu .current-menu-item > a { color: var(--nl-accent); background: var(--nl-cream); }

.header-cta {
	margin-left: 10px; padding: 10px 12px;
	font-size: .8rem; font-weight: 800; font-stretch: 112%; letter-spacing: .05em; text-transform: uppercase;
	color: var(--nl-accent); text-decoration: none; white-space: nowrap;
}
.header-cta:hover { color: var(--nl-ink); }

.menu-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1180px) {
	:root { --header-h: 76px; }
	.site-header__inner { grid-template-columns: auto 1fr auto; }
	.site-nav { display: none; }
	.site-logo { grid-column: 1; }
	.site-logo__img { height: 58px; }
	.menu-toggle {
		grid-column: 3; display: inline-flex; align-items: center; justify-content: center;
		width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; color: var(--nl-ink);
	}
	.menu-toggle__bars { display: grid; gap: 5px; }
	.menu-toggle__bars span { display: block; width: 26px; height: 3px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

	.mobile-menu:not([hidden]) {
		display: block;
		position: fixed; inset: var(--header-h) 0 0 0; overflow-y: auto;
		background: #fff; padding: 12px var(--gutter) 40px; border-top: 1px solid var(--nl-line);
	}
	.admin-bar .mobile-menu:not([hidden]) { top: calc(var(--header-h) + 46px); }
	.mobile-nav, .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
	.mobile-nav > li { border-bottom: 1px solid var(--nl-line); }
	.mobile-nav li { position: relative; }
	.mobile-nav a {
		display: block; padding: 15px 52px 15px 0; text-decoration: none; color: var(--nl-ink);
		font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: .04em; font-size: 1rem;
	}
	.mobile-nav .sub-menu { display: none; padding: 0 0 12px 14px; }
	.mobile-nav .sub-menu a { text-transform: none; font-weight: 500; font-stretch: 100%; letter-spacing: 0; padding: 9px 52px 9px 0; }
	.mobile-nav li.is-open > .sub-menu { display: block; }
	.submenu-toggle {
		position: absolute; right: 0; top: 4px; width: 46px; height: 46px;
		border: 0; background: transparent; cursor: pointer; color: var(--nl-ink);
	}
	.submenu-toggle::before {
		content: ""; display: inline-block; width: 9px; height: 9px;
		border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
		transform: rotate(45deg); transition: transform .2s;
	}
	.is-open > .submenu-toggle::before { transform: rotate(-135deg); }
	.mobile-menu .btn { margin-top: 24px; }
	.mobile-menu .social { margin-top: 20px; justify-content: center; }
	body.menu-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: min(88vh, 820px);
	display: flex; align-items: flex-end;
	color: #fff;
	background: #111 var(--bg) center 78% / cover no-repeat;
	isolation: isolate;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.4) 40%, rgba(0,0,0,.82) 100%),
	            linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 65%);
}
.hero__inner { padding-top: 120px; padding-bottom: clamp(56px, 8vw, 96px); }
.hero__title {
	font-size: clamp(2.1rem, 7vw, 5.4rem);
	line-height: .98;
	text-transform: uppercase;
	letter-spacing: -0.015em;
	margin-bottom: .35em;
}
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); margin-bottom: 1.6em; opacity: .95; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; padding: 18px 0; }
.marquee--light { background: var(--nl-cream); color: var(--nl-ink); }
.marquee--dark { background: var(--nl-ink); color: #fff; padding: 24px 0; }
.marquee__track { display: inline-flex; animation: nl-marquee 40s linear infinite; }
.marquee__item, .marquee__sep {
	font-weight: 800; font-stretch: var(--display-stretch); text-transform: uppercase;
	letter-spacing: .04em; font-size: clamp(.95rem, 1.4vw, 1.15rem);
}
.marquee--dark .marquee__item { font-size: clamp(1.05rem, 1.8vw, 1.4rem); }
.marquee__sep { color: var(--nl-accent); padding: 0 28px; }
@keyframes nl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Quick actions ---------- */
.quick-actions { padding: 40px 0; border-bottom: 1px solid var(--nl-line); }
.quick-actions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick-action {
	position: relative; display: block; padding: 24px 64px 24px 26px;
	border: 2px solid var(--nl-ink); border-radius: var(--radius);
	color: var(--nl-ink); text-decoration: none; transition: background .2s, color .2s;
}
.quick-action strong { display: block; font-size: 1.15rem; font-stretch: 112%; font-weight: 800; line-height: 1.25; }
.quick-action .icon { position: absolute; right: 24px; top: 50%; width: 26px; height: 26px; transform: translateY(-50%); transition: transform .2s; }
.quick-action:hover { background: var(--nl-ink); color: #fff; }
.quick-action:hover .icon { transform: translate(4px, -50%); }

/* ---------- Invite ---------- */
.invite {
	position: relative; color: #fff; text-align: center;
	background: #222 var(--bg) center / cover no-repeat; isolation: isolate;
}
.invite::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.58); z-index: -1; }
.invite__inner { padding-top: clamp(90px, 12vw, 150px); padding-bottom: clamp(90px, 12vw, 150px); max-width: 860px; }
.invite h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.invite p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin: 0 auto 1.8em; max-width: 680px; }

/* ---------- Ways to get involved ---------- */
.involved__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.involved__title { font-size: clamp(2.8rem, 6.5vw, 5.6rem); line-height: .98; position: sticky; top: calc(var(--header-h) + 40px); }
.involved__item { padding: 28px 0; border-bottom: 1px solid var(--nl-line); }
.involved__item:first-child { padding-top: 0; }
.involved__link {
	display: inline-block; margin-bottom: .6em;
	font-size: 1.15rem; font-weight: 800; font-stretch: var(--display-stretch); text-transform: uppercase;
	color: var(--nl-ink); text-decoration: none; border-bottom: 3px solid var(--nl-ink); padding-bottom: 3px;
	transition: color .2s, border-color .2s;
}
.involved__link:hover { color: var(--nl-accent); border-color: var(--nl-accent); }
.involved__item p { color: var(--nl-charcoal); margin: 0; }

/* ---------- Ministry cards ---------- */
.ministry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ministry-card {
	position: relative; display: flex; align-items: flex-end;
	aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
	color: #fff; text-decoration: none; isolation: isolate;
	background: #222 var(--bg) center / cover no-repeat;
}
.ministry-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82) 100%);
	transition: background .3s;
}
.ministry-card:hover { color: #fff; }
.ministry-card:hover::before { background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.88) 100%); }
.ministry-card__text { padding: 24px; }
.ministry-card__text strong { display: block; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-stretch: var(--display-stretch); font-weight: 800; line-height: 1.15; }
.ministry-card__text span:not(.accent) { font-size: .95rem; opacity: .9; }
.ministries__more { margin-top: 28px; color: var(--nl-muted); }
.ministries__more a { color: var(--nl-ink); font-weight: 600; }
.ministries__more a:hover { color: var(--nl-accent); }

/* ---------- Latest message ---------- */
.message-card {
	display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
	background: var(--nl-mist); border-radius: 22px; padding: clamp(28px, 5vw, 72px);
}
.video-embed {
	position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000;
	box-shadow: 18px 18px 0 var(--nl-orange);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.message-card__title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: .25em; }
.message-card__meta { color: var(--nl-muted); margin-bottom: 1.5em; }
.message-card .social { margin-top: 28px; }

.social { display: flex; gap: 14px; align-items: center; }
.social a { color: inherit; display: inline-flex; }
.social a:hover { color: var(--nl-accent); }
.social .icon { width: 30px; height: 30px; }

/* ---------- What's happening (home page content) ---------- */
.happening { background: #fff; padding-top: 0; }
.home-content { margin: 0 auto; padding: 0; }
.happening .section-title { text-align: center; }

/* ---------- Location ---------- */
.location { background: var(--nl-cream); }
.location__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.location__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.location__body { text-align: center; }
.location__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; }
.location__pin { display: inline-flex; color: var(--nl-accent); margin: 10px 0 8px; }
.location__pin .icon { width: 46px; height: 46px; }
.location__address { font-size: 1.1rem; line-height: 1.45; }
.location .btn-row { justify-content: center; }

/* ---------- App band ---------- */
.app-band {
	position: relative; color: #fff; isolation: isolate;
	background: #111 var(--bg) center / cover no-repeat;
}
.app-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.45)); }
.app-band__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 40px;
	padding-top: clamp(72px, 10vw, 120px); padding-bottom: clamp(72px, 10vw, 120px);
}
.app-band__inner > div { max-width: 600px; }
.app-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.app-band p { font-size: 1.15rem; opacity: .92; margin-bottom: 1.6em; }
.app-band__qr { width: 180px; height: 180px; border-radius: 12px; background: #fff; padding: 10px; flex: none; }

/* ---------- Page hero ---------- */
.page-hero {
	position: relative; background: var(--nl-ink); color: #fff; isolation: isolate;
	padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 88px);
	overflow: hidden;
}
.page-hero::after {
	content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; z-index: -1;
	border-radius: 50%; border: 56px solid var(--nl-orange); opacity: .9;
}
.page-hero--image { background: #111 var(--bg) center / cover no-repeat; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.6); }
.page-hero--image::after { display: none; }
.page-hero__title { font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1; text-transform: uppercase; max-width: 15ch; margin: 0; }

/* ---------- Page body / block content ---------- */
.page-body { padding: clamp(48px, 7vw, 96px) 0 var(--section); }
.page-body--flush { padding-top: 32px; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h1, .entry-content h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--nl-accent); }
.entry-content img { border-radius: 10px; }
.entry-content blockquote, .wp-block-quote {
	margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--nl-accent);
	font-size: 1.25rem; font-weight: 600;
}
.entry-content hr, .wp-block-separator { border: 0; border-top: 1px solid var(--nl-line); margin: 2.4em 0; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--nl-line); text-align: left; }

.wp-block-image { margin: 1.6em 0; }
.wp-block-image figcaption { font-size: .9rem; color: var(--nl-muted); text-align: center; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; display: block; }
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.alignwide { max-width: 1140px; }
.entry-content::after { content: ""; display: table; clear: both; }

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--nl-ink); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--nl-ink); color: #fff; }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 2em; align-items: normal; }
.wp-block-column { flex-grow: 1; min-width: 0; overflow-wrap: break-word; }
@media (min-width: 782px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) { flex-wrap: nowrap; }
	.wp-block-column { flex-basis: 0; }
	.wp-block-column[style*="flex-basis"] { flex-grow: 0; }
}
@media (max-width: 781px) { .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; } }
.wp-block-cover { border-radius: var(--radius); overflow: hidden; }
.wp-block-embed iframe, .wp-block-video video { width: 100%; border-radius: 10px; }
.wp-block-embed.is-type-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.wp-block-embed.is-type-video iframe { position: absolute; inset: 0; height: 100%; }
.wp-block-file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wp-block-file .wp-block-file__button { padding: .5em 1em; min-height: 0; font-size: .75rem; }

/* Staff / speaker style image+text rows found throughout the content */
.entry-content .wp-block-image.is-style-rounded img { border-radius: 50%; }

/* ---------- Forms (WPForms + core) ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"],
input[type="search"], input[type="password"], textarea, select {
	width: 100%; max-width: 100%; padding: 13px 15px;
	font: inherit; font-size: 1rem; color: var(--nl-ink);
	background: #fff; border: 1.5px solid #CFCFD3; border-radius: 8px;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--nl-accent); box-shadow: 0 0 0 4px rgba(224,102,31,.15); outline: none; }
label, .wpforms-field-label { font-weight: 700; font-size: .95rem; }
.wpforms-container { margin: 2em 0 !important; padding: clamp(20px, 4vw, 40px); background: var(--nl-cream); border-radius: var(--radius); }
.wpforms-container .wpforms-field { padding: 10px 0 !important; }
.wpforms-container .wpforms-field-sublabel { font-size: .8rem; color: var(--nl-muted); }
.wpforms-container .wpforms-submit-container { padding-top: 12px !important; }
.search-form { display: flex; gap: 10px; max-width: 520px; margin: 1.2em 0; }
.search-form label { flex: 1; }

/* ---------- Plugin compatibility: YotuWP (YouTube) + WP Carousel ---------- */
.yotu-playlist { max-width: 860px; margin: 1.6em auto !important; }
.yotu-wrapper-player { width: 100% !important; max-width: 100%; }
.yotu-player { border-radius: 10px; overflow: hidden; box-shadow: 14px 14px 0 var(--nl-orange); }
.yotu-videos ul { padding: 0 !important; }
.yotu-video-title { font-stretch: 112%; font-size: 1.05rem !important; color: var(--nl-ink); }
.yotu-pagination a { background: var(--nl-ink) !important; color: #fff !important; border-radius: 6px; }
.wpcp-carousel-wrapper { margin: 1.6em 0; }
.wpcp-single-item { border-radius: 10px; overflow: hidden; border-color: var(--nl-line) !important; }
.wpcp-single-item img { border-radius: 0; }
.wpcp-carousel-section .swiper-pagination-bullet-active { background-color: var(--nl-accent) !important; }
.wpcp-carousel-section .swiper-button-prev i:hover, .wpcp-carousel-section .swiper-button-next i:hover { color: var(--nl-accent) !important; }

/* ---------- Post list ---------- */
.post-list { display: grid; gap: 40px; }
.post-card { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.post-card__img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card__title a { color: var(--nl-ink); text-decoration: none; }
@media (max-width: 640px) { .post-card { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--nl-ink); color: #D9D9DC; padding: clamp(56px, 8vw, 96px) 0 28px; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--nl-orange); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__logo img { height: 64px; width: auto; }
.site-footer__mission { margin: 20px 0 22px; max-width: 34ch; font-size: 1.05rem; color: #fff; }
.site-footer h3 {
	font-size: .78rem; font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase;
	color: var(--nl-orange); margin: 0 0 .6em;
}
.site-footer h3:not(:first-child) { margin-top: 1.6em; }
.footer-links { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.site-footer .btn--accent { color: #fff; }
.site-footer .btn--accent:hover { background: #fff; border-color: #fff; color: var(--nl-ink); }
.site-footer__bottom {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
	font-size: .85rem; color: #9C9DA1;
}
.site-footer__bottom p { margin: 0; }
.footer-extra { margin-bottom: 48px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.ministry-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.message-card { grid-template-columns: 1fr; }
	.video-embed { box-shadow: 12px 12px 0 var(--nl-orange); }
}
@media (max-width: 820px) {
	.quick-actions__grid { grid-template-columns: 1fr; }
	.involved__grid { grid-template-columns: 1fr; }
	.involved__title { position: static; }
	.location__grid { grid-template-columns: 1fr; }
	.app-band__inner { flex-direction: column; align-items: flex-start; }
	.page-hero::after { width: 260px; height: 260px; border-width: 36px; right: -90px; bottom: -110px; }
}
@media (max-width: 560px) {
	body { font-size: 17px; }
	.ministry-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.ministry-card__text { padding: 14px; }
	.ministry-card__text strong { font-size: 1.05rem; }
	.ministry-card__text span:not(.accent) { font-size: .8rem; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.btn-row .btn { flex: 1 1 auto; }
	.alignleft, .alignright { float: none; margin: 1em auto; }
}
