/*
Theme Name: GCSMN
Theme URI: https://gcsmn.org
Author: Greater Cincinnati Stephen Ministry Network
Description: A calm, modern block theme for the Greater Cincinnati Stephen Ministry Network. Fraunces and Inter type, a navy, cream and amber palette, homepage patterns, and styling for the Newspack post carousel and the GCSMN Member Directory plugin.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.46.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gcsmn
*/

/* ---------- Base ---------- */
:root {
	--gcsmn-radius: var(--wp--custom--radius--card, 14px);
	--gcsmn-radius-media: var(--wp--custom--radius--media, 12px);
	--gcsmn-border: 1px solid var(--wp--preset--color--stone);
}
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-variation-settings: "opsz" 72, "SOFT" 50; text-wrap: balance; }
p { text-wrap: pretty; }
a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--wp--preset--color--amber);
	outline-offset: 2px;
	border-radius: 4px;
}
::selection { background: var(--wp--preset--color--amber-soft); }

.eyebrow,
.eyebrow a {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--amber);
	text-decoration: none;
}

/* Outline buttons */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--navy);
	border: 1.5px solid currentColor;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--navy);
}

/* ---------- Widths ----------
   Pages use the full 1200px column (text included) so content lines up with the header, map and
   graphics. Single posts (devotionals) keep a narrower reading column. */
.single .site-main { --wp--style--global--content-size: 780px; }
/* Post featured image: see "Post featured image banner" further down. */
/* Welcome band is full-bleed; its text uses the same 1200px column as everything else. */

/* Member Churches (inc/churches.php redraws each church twistdown as a card).
   Closed: pin, church name and town, chevron. Open: address, phone and website on the left,
   Directions / Show on map on the right (stacked on phones). */
.member-churches-page .church-intro {
	text-align: center; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--large);
	line-height: 1.55; max-width: 52rem !important; margin: 0 auto var(--wp--preset--spacing--40) !important;
}
.member-churches-page .gcsmn-church-map { margin-bottom: var(--wp--preset--spacing--50) !important; }
.member-churches-page .church-group + .church-group { margin-top: var(--wp--preset--spacing--40); }
.member-churches-page .church-area {
	display: flex; align-items: baseline; gap: .75rem; margin: 0 0 .75rem !important;
	font-size: clamp(1.25rem, 2.2vw, 1.5rem); color: var(--wp--preset--color--navy);
}
.member-churches-page .church-area::after { content: ""; flex: 1; height: 1px; align-self: center; background: var(--wp--preset--color--stone); }
.member-churches-page .church-area__count {
	font-family: var(--wp--preset--font-family--body); font-size: .75rem; font-weight: 700; letter-spacing: .06em;
	text-transform: uppercase; color: #8A5A1F; background: #F6EBDB; padding: .2rem .6rem; border-radius: 999px;
}
.member-churches-page .wp-block-details.church-row {
	padding: 0 !important; margin: 0 0 .75rem !important; border-radius: 14px; overflow: hidden;
	scroll-margin-top: 6rem; transition: box-shadow .2s ease, border-color .2s ease;
}
.member-churches-page .church-row:hover { box-shadow: var(--wp--preset--shadow--soft); }
.member-churches-page .church-row[open] { border-color: #E3D3BC !important; box-shadow: var(--wp--preset--shadow--soft); }
.member-churches-page .church-row > summary {
	display: flex; align-items: center; gap: 1rem; margin: 0 !important; padding: 1rem 1.25rem;
	list-style: none; font-size: 1rem;
}
.member-churches-page .church-row > summary::-webkit-details-marker { display: none; }
.member-churches-page .church-row > summary::after {
	content: ""; flex: none; margin-left: auto; width: .6rem; height: .6rem;
	border-right: 2px solid var(--wp--preset--color--amber); border-bottom: 2px solid var(--wp--preset--color--amber);
	transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease;
}
.member-churches-page .church-row[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.member-churches-page .church-row[open] > summary { border-bottom: 1px solid var(--wp--preset--color--stone); background: #FDFBF7; }
.member-churches-page .church-row > summary:focus-visible { outline: 3px solid var(--wp--preset--color--amber); outline-offset: -3px; }
.member-churches-page .church-row__pin {
	flex: none; display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
	background: var(--wp--preset--color--navy);
}
.member-churches-page .church-row summary .church-row__pin,
.member-churches-page .church-row summary .church-row__pin * { color: #E7B877 !important; }
.member-churches-page .church-row__main { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.member-churches-page .church-row__name { font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; line-height: 1.2; }
.member-churches-page .church-row summary .church-row__area { font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--small); font-weight: 400; color: var(--wp--preset--color--muted) !important; }
.member-churches-page .church-row__body {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem 2rem; align-items: center;
	padding: 1.25rem 1.25rem 1.4rem 4.85rem;
}
.member-churches-page .church-row__info { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 1rem 2.5rem; justify-content: start; }
.member-churches-page .church-row__item { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.member-churches-page .church-row .church-row__label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--muted) !important; }
.member-churches-page .church-row__value { line-height: 1.45; overflow-wrap: anywhere; }
.member-churches-page .church-row a.church-row__value { font-weight: 600; text-decoration: none; }
.member-churches-page .church-row a.church-row__value:hover { text-decoration: underline; }
.member-churches-page .church-row__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.member-churches-page .church-btn {
	display: inline-flex; align-items: center; justify-content: center; padding: .55rem 1.1rem; border-radius: 999px;
	border: 1px solid transparent; font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.member-churches-page .church-btn[hidden] { display: none; }
.member-churches-page .church-row .church-btn--solid,
.member-churches-page .church-row .church-btn--solid * { background: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink) !important; }
.member-churches-page .church-row .church-btn--solid:hover,
.member-churches-page .church-row .church-btn--solid:hover * { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white) !important; }
.member-churches-page .church-row .church-btn--ghost { background: var(--wp--preset--color--white); border-color: var(--wp--preset--color--stone); color: var(--wp--preset--color--navy) !important; }
.member-churches-page .church-row .church-btn--ghost:hover { border-color: var(--wp--preset--color--navy); }
.member-churches-page .church-btn .screen-reader-text { background: none !important; }
.member-churches-page .church-row__notes { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--wp--preset--color--stone); }
.member-churches-page .church-row__notes > * { margin: 0 0 .6rem; }
.member-churches-page .church-row__notes > :last-child { margin-bottom: 0; }
@media (max-width: 900px) {
	.member-churches-page .church-row__body { grid-template-columns: minmax(0, 1fr); padding-left: 1.25rem; }
	.member-churches-page .church-row__actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
	.member-churches-page .church-row > summary { padding: .9rem 1rem; gap: .8rem; }
	.member-churches-page .church-row__pin { width: 2.25rem; height: 2.25rem; }
	.member-churches-page .church-row__body { padding: 1rem; }
	.member-churches-page .church-row__info { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
	.member-churches-page .church-btn { flex: 1 1 0; padding-block: .7rem; }
}
.entry-content .wp-block-cover:has(.wp-block-details) { border-radius: var(--gcsmn-radius); padding: clamp(1rem, 3vw, 2rem) !important; }
.entry-content .wp-block-cover:has(.wp-block-details) .wp-block-cover__inner-container { width: 100% !important; max-width: none !important; }
.entry-content .wp-block-cover:has(.wp-block-details) .wp-block-details { max-width: none !important; }

/* ---------- Header ---------- */
/* Keep the header visible while scrolling. WordPress wraps the header in its own container
   (exactly as tall as the header), so that container is what has to stick. */
.wp-site-blocks > header.wp-block-template-part,
header.wp-block-template-part:has(> .site-header) {
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar .wp-site-blocks > header.wp-block-template-part,
.admin-bar header.wp-block-template-part:has(> .site-header) { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) {
	/* the WordPress admin bar scrolls away on phones */
	.admin-bar .wp-site-blocks > header.wp-block-template-part,
	.admin-bar header.wp-block-template-part:has(> .site-header) { top: 0; }
}
.site-header {
	position: relative;
	z-index: 50;
	transition: box-shadow .25s ease;
	border-bottom: var(--gcsmn-border);
	padding-block: 0.75rem;
}
/* The frosted background lives on its own layer. A backdrop-filter on the header itself would
   trap the phone menu (a full-screen fixed overlay) inside the header's 64px strip. */
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: color-mix(in srgb, var(--wp--preset--color--cream) 92%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
}
.site-header__inner { gap: 1.5rem; }
/* Brand (logo mark + wordmark, drawn by the theme) */
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; min-width: 0; }
.brand__mark { flex: none; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 650;
	font-size: 1.375rem;
	letter-spacing: .02em;
	color: var(--wp--preset--color--navy);
}
.brand__full { font-size: .75rem; font-weight: 500; color: var(--wp--preset--color--muted); margin-top: .2rem; white-space: nowrap; }
.brand:hover .brand__name { color: var(--wp--preset--color--amber); }
.brand--footer .brand__name { color: var(--wp--preset--color--white); }
.brand--footer .brand__full { color: rgba(255,255,255,.7); white-space: normal; }
.site-footer .brand--footer { margin-bottom: .5rem; }
.site-header__actions { gap: 1.25rem; }
.site-nav .wp-block-navigation-item__content { padding-block: 0.4rem; }
.site-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--amber); }
.site-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--amber); }
.site-nav .wp-block-navigation__submenu-container {
	border: var(--gcsmn-border) !important;
	border-radius: 10px;
	box-shadow: var(--wp--preset--shadow--soft);
	padding: 0.4rem !important;
	min-width: 14rem !important;
}
/* Phone menu (full-screen overlay) */
.site-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--cream) !important; color: var(--wp--preset--color--navy) !important;
	padding: 1rem 1.25rem 2rem !important;
}
.site-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; padding-top: 3rem !important; }
.site-nav .is-menu-open .wp-block-navigation__container { align-items: stretch !important; gap: 0 !important; width: 100%; }
.site-nav .is-menu-open .wp-block-navigation-item { align-items: stretch !important; width: 100%; border-bottom: var(--gcsmn-border); }
.site-nav .is-menu-open .wp-block-page-list { align-items: stretch !important; gap: 0 !important; width: 100%; }
.site-nav .is-menu-open .wp-block-navigation-item__content {
	padding-block: .85rem !important; font-family: var(--wp--preset--font-family--heading); font-size: 1.4rem; font-weight: 600;
	color: var(--wp--preset--color--navy);
}
.site-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--amber) !important; }
.site-nav .is-menu-open .wp-block-navigation__submenu-container {
	border: 0 !important; box-shadow: none !important; background: transparent !important;
	padding: 0 0 .75rem 1rem !important; min-width: 0 !important; gap: 0 !important;
}
.site-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border-bottom: 0; }
.site-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .45rem 0 !important; font-family: var(--wp--preset--font-family--body); font-size: 1.05rem; font-weight: 500; color: var(--wp--preset--color--ink); }
.site-nav .is-menu-open .wp-block-navigation__responsive-container-close { top: 1.1rem; right: 1.25rem; color: var(--wp--preset--color--navy); }
.site-nav .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
@media (max-width: 781px) {
	.brand__full { display: none; }
	.header-cta { display: none !important; }
}

/* ---------- Main ---------- */
.site-main { padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); }
.site-main--front,
.site-main--flush { padding-top: 0; }
.site-main--front { padding-bottom: 0; margin-top: 0 !important; }
.site-main--front > .gcsmn-welcome { margin-top: 0; }
.site-main--front > .gcsmn-welcome + .home-sections { margin-top: 0; }
.front-content > :first-child { margin-top: 0 !important; }
/* Old page content (e.g. a carousel set to a fixed width) fills the wide column */
.front-content > * { max-width: none !important; width: 100%; margin-inline: 0 !important; }
.page-heading { margin-bottom: var(--wp--preset--spacing--40); }
.page-hero-image img,
.post-hero-image img { border-radius: var(--gcsmn-radius-media); }
.post-header { margin-bottom: var(--wp--preset--spacing--40); }
.post-header .wp-block-post-title { margin-block: 0.5rem; }
.post-nav { margin-top: var(--wp--preset--spacing--50); padding-top: var(--wp--preset--spacing--40); border-top: var(--gcsmn-border); gap: 1rem; }
.post-comments { margin-top: var(--wp--preset--spacing--50); }
.section-heading { margin-bottom: 0; }
.single .section-heading { margin-top: var(--wp--preset--spacing--60); }
.page-search { max-width: 36rem; margin-bottom: var(--wp--preset--spacing--40); }

/* Embedded PDFs and maps stay inside the column */
.wp-block-embed iframe,
.entry-content iframe { max-width: 100%; border-radius: var(--gcsmn-radius-media); }

/* ---------- Homepage ---------- */
.gcsmn-welcome {
	background:
		radial-gradient(60rem 30rem at 85% -10%, var(--wp--preset--color--amber-soft), transparent 60%),
		var(--wp--preset--color--cream);
	padding-block: var(--wp--preset--spacing--60);
	border-bottom: var(--gcsmn-border);
}
.gcsmn-welcome .welcome__title { margin-top: 0.75rem; }
.gcsmn-welcome .welcome__lead {
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--muted);
}
.gcsmn-welcome .wp-block-buttons { margin-top: var(--wp--preset--spacing--40); }

.home-sections > * + * { margin-top: var(--wp--preset--spacing--60) !important; }
.home-sections { padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); }
.section-head { margin-bottom: var(--wp--preset--spacing--40); }
.section-link a { font-weight: 600; text-decoration: none; }
.gcsmn-carousel-section .section-heading { margin-bottom: var(--wp--preset--spacing--40); }

/* Cards */
.feature-card,
.post-card {
	background: var(--wp--preset--color--white);
	border: var(--gcsmn-border);
	border-radius: var(--gcsmn-radius);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card { padding: var(--wp--preset--spacing--40); }
.feature-card > * { margin-block: 0; }
.feature-card > * + * { margin-top: 0.75rem; }
.feature-card h3 { font-size: var(--wp--preset--font-size--large); }
.feature-card p { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.feature-card .card-link a { font-weight: 600; text-decoration: none; color: var(--wp--preset--color--navy); }
.feature-card:hover,
.post-card:hover { transform: translateY(-2px); box-shadow: var(--wp--preset--shadow--soft); }
.post-card .wp-block-post-featured-image { margin: 0; }
.post-card .wp-block-post-featured-image img { display: block; }
.post-card__body { padding: 1.1rem 1.25rem 1.35rem; }
.post-card > .post-card__body { margin-top: 0 !important; } /* no extra block gap under the picture */
.post-card__body > * { margin-block: 0; }
.post-card__body > * + * { margin-top: 0.4rem; }
.post-card .wp-block-post-title { font-size: 1.25rem; }
.post-grid .wp-block-post-template { gap: var(--wp--preset--spacing--40); }
.church-card__meta { color: var(--wp--preset--color--ink) !important; }
.team-hub__intro { color: var(--wp--preset--color--muted); }

/* Verse of the Day */
.verse-card {
	background: var(--wp--preset--color--white);
	border: var(--gcsmn-border);
	border-left: 4px solid var(--wp--preset--color--amber);
	border-radius: var(--gcsmn-radius);
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	max-width: 760px;
	margin-inline: auto !important;
}
.verse-card > * { margin-block: 0; }
.verse-card > * + * { margin-top: .5rem; }
.verse-card__title { font-size: var(--wp--preset--font-size--large); }
.gcsmn-verse { margin: 1rem 0 0; }
.gcsmn-verse__text { margin: 0; padding: 0; border: 0; }
.gcsmn-verse__text p {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-style: italic;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
	color: var(--wp--preset--color--ink);
}
.gcsmn-verse__text p::before { content: "\201C"; }
.gcsmn-verse__text p::after { content: "\201D"; }
.gcsmn-verse__ref { margin-top: .9rem; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--navy); }
.gcsmn-verse__ref a { text-decoration: none; }
.gcsmn-verse__version { font-weight: 400; color: var(--wp--preset--color--muted); margin-left: .35em; }

/* ---------- Newspack post carousel ----------
   Split layout: image left, title panel right. Keeps the carousel compact on wide screens
   and handles images of any shape (they range from nearly square to very wide). */
.wp-block-newspack-blocks-carousel,
.front-content > .wp-block-newspack-blocks-carousel {
	max-width: none !important;
	margin-inline: 0 !important;
	background: none !important;
}
.wp-block-newspack-blocks-carousel .swiper {
	border-radius: var(--gcsmn-radius);
	overflow: hidden;
	background: var(--wp--preset--color--navy-deep);
}
.wp-block-newspack-blocks-carousel .swiper-slide {
	display: grid !important;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	height: clamp(300px, 34vw, 400px) !important;
	background: var(--wp--preset--color--navy-deep);
}
.wp-block-newspack-blocks-carousel .post-thumbnail {
	position: relative !important;
	margin: 0;
	height: 100%;
	overflow: hidden;
	background: var(--wp--preset--color--navy);
}
.wp-block-newspack-blocks-carousel .post-thumbnail a,
.wp-block-newspack-blocks-carousel .post-thumbnail img {
	display: block;
	width: 100% !important;
	height: 100% !important;
}
.wp-block-newspack-blocks-carousel .post-thumbnail img {
	object-fit: cover !important;
	object-position: center 35%;
}
.wp-block-newspack-blocks-carousel .entry-wrapper {
	position: static !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: .75rem;
	padding: clamp(1.5rem, 3vw, 2.75rem) clamp(3.75rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.75rem);
	background: none !important;
	color: var(--wp--preset--color--white);
}
.wp-block-newspack-blocks-carousel .entry-title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.375rem, 2.4vw, 2rem);
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}
.wp-block-newspack-blocks-carousel .entry-title a { color: var(--wp--preset--color--white) !important; text-decoration: none; }
.wp-block-newspack-blocks-carousel .entry-title a:hover { color: var(--wp--preset--color--amber-soft) !important; }
.wp-block-newspack-blocks-carousel .entry-meta,
.wp-block-newspack-blocks-carousel .entry-meta a { color: rgba(255, 255, 255, .75); font-size: .875rem; margin: 0; }
.wp-block-newspack-blocks-carousel .swiper-button {
	background-color: rgba(20, 39, 64, .55) !important;
	border-radius: 999px;
	width: 2.5rem;
	height: 2.5rem;
	backdrop-filter: blur(4px);
	transition: background-color .2s ease;
}
.wp-block-newspack-blocks-carousel .swiper-button:hover,
.wp-block-newspack-blocks-carousel .swiper-button:focus-visible { background-color: var(--wp--preset--color--amber) !important; }
.wp-block-newspack-blocks-carousel .swiper-pagination-bullets { position: static !important; padding-top: 1rem; display: flex; justify-content: center; gap: .35rem; }
.wp-block-newspack-blocks-carousel .swiper-pagination-bullet {
	background: var(--wp--preset--color--stone);
	opacity: 1;
	width: 0.6rem;
	height: 0.6rem;
}
.wp-block-newspack-blocks-carousel .swiper-pagination-bullet-active {
	background: var(--wp--preset--color--amber);
	width: 1.75rem;
	border-radius: 999px;
}
@media (max-width: 781px) {
	.wp-block-newspack-blocks-carousel .swiper-slide {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr;
		height: auto !important;
	}
	.wp-block-newspack-blocks-carousel .post-thumbnail { aspect-ratio: 16 / 10; height: auto; }
	.wp-block-newspack-blocks-carousel .entry-wrapper { padding: 1.25rem 1.25rem 1.5rem !important; }
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-newspack-blocks-carousel .swiper-wrapper { transition-duration: 0ms !important; }
	.feature-card, .post-card { transition: none; }
}

/* ---------- Devotionals page: floating tiles ---------- */
.devotionals-intro { text-align: center; margin-bottom: var(--wp--preset--spacing--50); }
.devotionals-intro .page-heading { margin: .5rem 0 1rem; }
.devotionals-intro__text { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--large); }
.devotionals-intro__text > * { font-family: inherit !important; max-width: none !important; margin-inline: 0 !important; }
.devotionals-intro__text .wp-block-latest-posts { display: none !important; } /* replaced by the tiles below */
.devo-grid .wp-block-post-template { gap: clamp(1.25rem, 2.5vw, 2rem); grid-auto-flow: dense; perspective: 1200px; }
.devo-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--stone);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(20,39,64,.05), 0 10px 30px -12px rgba(20,39,64,.18);
	transform: translateY(0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transform-style: preserve-3d;
	transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s cubic-bezier(.2,.8,.2,1), border-color .3s ease;
	height: 100%;
}
.devo-tile.is-linked { cursor: pointer; }
.devo-tile:hover,
.devo-tile:focus-within {
	transform: translateY(-8px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	box-shadow: 0 2px 4px rgba(20,39,64,.06), 0 28px 50px -18px rgba(20,39,64,.35);
	border-color: var(--wp--preset--color--amber-soft);
}
.devo-tile > * { margin-block: 0 !important; }
.devo-tile__image { margin: 0 !important; overflow: hidden; background: var(--wp--preset--color--stone); }
.devo-tile__image img { display: block; width: 100%; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.devo-tile:hover .devo-tile__image img { transform: scale(1.06); }
.devo-tile__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 1.4rem 1.4rem; flex: 1; }
.devo-tile__body > * { margin: 0 !important; }
.devo-tile__date { font-size: .8125rem !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--amber) !important; }
.devo-tile__title { font-size: 1.375rem !important; line-height: 1.2; }
.devo-tile__title a { color: var(--wp--preset--color--navy) !important; text-decoration: none; }
.devo-tile__title a:focus-visible { outline: none; }
.devo-tile:focus-within { outline: 3px solid var(--wp--preset--color--amber); outline-offset: 3px; }
.devo-tile__excerpt { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.devo-tile__excerpt .wp-block-post-excerpt__more-text { display: none; }
.devo-tile__more { margin-top: auto !important; padding-top: .5rem; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--navy); }
.devo-tile__more span { display: inline-block; transition: transform .3s ease; }
.devo-tile:hover .devo-tile__more span { transform: translateX(5px); }
/* Newest devotional gets a wide featured tile: image left, text right */
@media (min-width: 900px) {
	.devo-grid .wp-block-post-template > li:first-child { grid-column: span 2; }
	.devo-grid .wp-block-post-template > li:first-child .devo-tile { flex-direction: row; }
	.devo-grid .wp-block-post-template > li:first-child .devo-tile__image { flex: 0 0 56%; position: relative; min-height: 300px; }
	.devo-grid .wp-block-post-template > li:first-child .devo-tile__image img {
		position: absolute; inset: 0; width: 100%; height: 100% !important; aspect-ratio: auto !important; object-fit: cover;
	}
	.devo-grid .wp-block-post-template > li:first-child .devo-tile__body { padding: 2rem 2.25rem; justify-content: center; }
	.devo-grid .wp-block-post-template > li:first-child .devo-tile__title { font-size: clamp(1.75rem, 2.4vw, 2.25rem) !important; }
	.devo-grid .wp-block-post-template > li:first-child .devo-tile__excerpt { font-size: var(--wp--preset--font-size--medium); }
	.devo-grid .wp-block-post-template > li:first-child .devo-tile__more { margin-top: .75rem !important; }
}
/* Gentle staggered reveal (only when JavaScript is on and motion is allowed) */
.devo-grid.js-reveal .devo-tile:not(.is-visible) { opacity: 0; transform: translateY(24px); }
.devo-grid.js-reveal .devo-tile.is-visible { animation: devo-in .7s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes devo-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.devo-grid .wp-block-query-pagination { margin-top: var(--wp--preset--spacing--50); }
@media (prefers-reduced-motion: reduce) {
	.devo-tile, .devo-tile__image img, .devo-tile__more span { transition: none; }
	.devo-tile:hover { transform: none; }
}

/* ---------- "What is a Stephen Minister?" page ---------- */
.afterpeople-page { padding-top: 0; }
.after-hero {
	text-align: center;
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
	margin-bottom: 0 !important;
}
.after-hero .page-heading { margin: .6rem 0 0; font-size: clamp(2.5rem, 6vw, 4.25rem); }
.after-content > * + * { margin-top: var(--wp--preset--spacing--50) !important; }
.after-content > .is-empty { display: none; }
.after-content > p { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--ink); }
.after-content .after-lead {
	text-align: center;
	font-family: var(--wp--preset--font-family--heading);
	font-style: italic;
	font-size: clamp(1.375rem, 2.6vw, 2rem) !important;
	line-height: 1.4;
	color: var(--wp--preset--color--navy) !important;
	max-width: 52rem !important;
	margin-inline: auto !important;
	margin-top: 0 !important;
}
/* "After" cards */
.after-section { margin-inline: auto; }
.after-section__title {
	text-align: center;
	font-size: var(--wp--preset--font-size--x-large);
	margin: 0 0 var(--wp--preset--spacing--40);
}
.after-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
.after-list { max-width: 1000px; margin-inline: auto !important; }
@media (min-width: 782px) { .after-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.after-list li {
	display: flex;
	align-items: baseline;
	gap: .9rem;
	padding: 1.25rem 1.4rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--stone);
	border-left: 4px solid var(--wp--preset--color--amber);
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(20,39,64,.04), 0 8px 24px -14px rgba(20,39,64,.2);
	transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.after-list li:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20,39,64,.05), 0 18px 34px -16px rgba(20,39,64,.3); }
.after-list__word {
	flex: none;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--wp--preset--color--amber);
}
.after-list__text { font-size: 1.0625rem; line-height: 1.5; color: var(--wp--preset--color--ink); }
.after-list.js-reveal li:not(.is-visible) { opacity: 0; transform: translateY(18px); }
.after-list.js-reveal li.is-visible { animation: devo-in .6s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
/* Statement band */
.after-content .after-statement {
	position: relative;
	max-width: none !important;
	padding-block: var(--wp--preset--spacing--60);
	/* paint navy to both screen edges without widening the page */
	border-image: linear-gradient(var(--wp--preset--color--navy-deep), var(--wp--preset--color--navy-deep)) fill 0 / 0 / 0 100vmax;
	color: var(--wp--preset--color--white) !important;
	text-align: center;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.5rem, 3vw, 2.375rem) !important;
	line-height: 1.35;
	text-wrap: balance;
}
.after-content .after-statement::before {
	content: "";
	display: block;
	width: 3rem;
	height: 3px;
	margin: 0 auto 1.5rem;
	background: var(--wp--preset--color--amber);
	border-radius: 3px;
}
/* Video */
.after-content .after-video-intro {
	text-align: center;
	color: var(--wp--preset--color--muted) !important;
	margin-bottom: -1rem !important;
}
.after-content .after-video { max-width: 960px !important; margin-inline: auto !important; }
.after-content .after-video iframe {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9;
	border-radius: var(--gcsmn-radius);
	box-shadow: 0 30px 60px -30px rgba(20,39,64,.45);
}
.after-content .after-video .embed-youtube { display: block !important; }
/* Fallback when JavaScript is off: the original cover block, restyled */
.after-content:not(.is-enhanced) .wp-block-cover { border-radius: var(--gcsmn-radius); min-height: 0 !important; padding: var(--wp--preset--spacing--50) !important; background: var(--wp--preset--color--navy-deep); }
.after-content:not(.is-enhanced) .wp-block-cover img { display: none; }
.after-content:not(.is-enhanced) .wp-block-cover p { color: var(--wp--preset--color--white) !important; line-height: 1.9; }
/* Calls to action */
.after-cta { margin-top: var(--wp--preset--spacing--60) !important; }
.after-cta__grid { gap: 1.25rem; }
.after-cta__card {
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
	border-radius: 18px;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--stone);
}
.after-cta__card.is-primary { background: var(--wp--preset--color--amber-soft); border-color: transparent; }
.after-cta__card > * { margin-block: 0 !important; }
.after-cta__card > * + * { margin-top: 1rem !important; }
.after-cta__card h2 { font-size: var(--wp--preset--font-size--large); }
.after-cta__card p { color: var(--wp--preset--color--muted); }
.after-cta__card .wp-block-buttons { margin-top: 1.5rem !important; gap: .6rem; }

/* ---------- About page ---------- */
.about-hero { text-align: center; padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30); }
.about-hero .page-heading { margin: .6rem 0 0; font-size: clamp(2.5rem, 6vw, 4.25rem); }
.about-content > * + * { margin-top: var(--wp--preset--spacing--60) !important; }
.about-intro .about-lead {
	text-align: center;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.375rem, 2.6vw, 2rem);
	line-height: 1.4;
	color: var(--wp--preset--color--navy);
	max-width: 56rem !important;
	margin-inline: auto !important;
	text-wrap: balance;
}
.about-content .eyebrow { margin: 0 0 .5rem !important; }
/* Pillars */

.about-pillar {
	padding: var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--stone);
	border-top: 4px solid var(--wp--preset--color--amber);
	border-radius: 16px;
}
.about-pillar > * { margin-block: 0 !important; }
.about-pillar > * + * { margin-top: .75rem !important; }
.about-pillar h3 { font-size: 1.375rem; }
.about-pillar p:not(.eyebrow) { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
/* Numbers band (full-bleed navy, no horizontal overflow) */
.about-stats {
	padding-block: var(--wp--preset--spacing--50);
	/* paint navy to both screen edges without widening the page */
	border-image: linear-gradient(var(--wp--preset--color--navy-deep), var(--wp--preset--color--navy-deep)) fill 0 / 0 / 0 100vmax;
}
.about-stat { text-align: center; }
.about-stat > * { margin: 0 !important; }
.about-stat__num {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(3rem, 6vw, 4.5rem);
	font-weight: 600;
	line-height: 1;
	color: var(--wp--preset--color--amber);
}
.about-stat__label { margin-top: .6rem !important; color: rgba(255,255,255,.85); font-size: var(--wp--preset--font-size--small); max-width: 18rem; margin-inline: auto !important; }
/* How it works */
.about-section-head { text-align: center; max-width: 46rem; margin-inline: auto !important; margin-bottom: var(--wp--preset--spacing--40) !important; }
.about-section-head h2 { margin: 0; text-wrap: balance; }
.about-steps { position: relative; }
.about-step {
	position: relative;
	padding: var(--wp--preset--spacing--40) 1.4rem 1.6rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--stone);
	border-radius: 16px;
}
.about-step > * { margin-block: 0 !important; }
.about-step > * + * { margin-top: .6rem !important; }
.about-step__num {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
	font-weight: 700;
	font-size: .95rem;
}
.about-step h3 { font-size: 1.2rem; margin-top: 1rem !important; }
.about-step p:not(.about-step__num) { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
@media (min-width: 1000px) {
	.about-step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: calc(var(--wp--preset--spacing--40) + 1.375rem);
		right: calc(-1.25rem - 1px);
		width: 1.25rem;
		height: 2px;
		background: var(--wp--preset--color--amber);
	}
}
/* Working together */
.about-together { align-items: center; }
@media (min-width: 900px) { .about-together__text { padding-right: var(--wp--preset--spacing--40); } }
.about-together__text > * { margin-block: 0 !important; }
.about-together__text > * + * { margin-top: 1rem !important; }
.about-together__text p:not(.eyebrow) { color: var(--wp--preset--color--muted); }
.about-together__grid { gap: 1rem; }
.about-mini { padding: 1.25rem 1.4rem; background: var(--wp--preset--color--amber-soft); border-radius: 14px; }
.about-mini > * { margin-block: 0 !important; }
.about-mini > * + * { margin-top: .4rem !important; }
.about-mini h3 { font-size: 1.1rem; }
.about-mini p { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--ink); }
/* Calls to action */

.about-cta__card { padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40); border-radius: 18px; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--stone); }
.about-cta__card.is-primary { background: var(--wp--preset--color--navy); border-color: transparent; }
.about-cta__card.is-primary h3, .about-cta__card.is-primary p { color: var(--wp--preset--color--white) !important; }
.about-cta__card > * { margin-block: 0 !important; }
.about-cta__card > * + * { margin-top: .9rem !important; }
.about-cta__card h3 { font-size: var(--wp--preset--font-size--large); }
.about-cta__card p { color: var(--wp--preset--color--muted); }
.about-cta__card .wp-block-buttons { margin-top: 1.4rem !important; }

/* ---------- Contact page ---------- */
.contact-hero { text-align: center; padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40); }
.contact-hero .page-heading { margin: .6rem 0 0; font-size: clamp(2.5rem, 6vw, 4.25rem); }
.contact-hero__lead { max-width: 44rem !important; margin: 1rem auto 0 !important; font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--muted); text-wrap: balance; }
/* Picture on the left, message + form on the right (stacked on small screens) */
.contact-content > * { max-width: none !important; }
.contact-content > .wp-block-image img { width: 100%; border-radius: 18px; display: block; }
.contact-content > .contact-panel img { box-shadow: 0 30px 60px -30px rgba(20,39,64,.55); }
.contact-content > p { color: var(--wp--preset--color--muted); }
@media (min-width: 900px) {
	.contact-content:has(> .wp-block-image:first-child) {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
		column-gap: clamp(2rem, 4vw, 3.5rem);
		align-items: start;
	}
	.contact-content:has(> .wp-block-image:first-child) > * { grid-column: 2; margin: 0 0 1.25rem !important; }
	.contact-content:has(> .wp-block-image:first-child) > .wp-block-image:first-child {
		grid-column: 1;
		grid-row: 1 / span 20;
		position: sticky;
		top: 6rem;
		margin: 0 !important;
	}
	.contact-content:has(> .wp-block-image:first-child) > .wp-block-image:first-child img { aspect-ratio: 4 / 5; object-fit: cover; }
}
/* The Jetpack form as a card, in the theme's style */
.contact-content .jetpack-contact-form-container {
	--jetpack--contact-form--border-radius: 10px !important;
	--jetpack--contact-form--border-color: var(--wp--preset--color--stone) !important;
	--jetpack--contact-form--border: 1px solid var(--wp--preset--color--stone) !important;
	--jetpack--contact-form--input-background: var(--wp--preset--color--cream) !important;
	--jetpack--contact-form--input-padding: 12px !important;
	--jetpack--contact-form--input-padding-top: 12px !important;
	--jetpack--contact-form--input-padding-left: 14px !important;
	--jetpack--contact-form--input-height: 52px !important;
	--jetpack--contact-form--font-size: 17px !important;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--stone);
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(20,39,64,.04), 0 18px 40px -24px rgba(20,39,64,.35);
	padding: clamp(.5rem, 2vw, 1.25rem);
}
.contact-content .jetpack-contact-form-container .wp-block-jetpack-contact-form { gap: 1rem !important; }
.contact-content .jetpack-contact-form-container,
.contact-content .jetpack-contact-form-container * { box-sizing: border-box; }
.contact-content .wp-block-jetpack-contact-form > * { min-width: 0; max-width: 100%; flex-basis: 100%; width: 100%; }
.contact-content .grunion-field-wrap .grunion-field { width: 100%; }
.contact-content .grunion-field { max-width: 100%; }
@media (max-width: 600px) { .contact-content .wp-block-jetpack-contact-form { padding: 10px !important; } }
.contact-content .grunion-field-label { display: block; font-weight: 600; color: var(--wp--preset--color--navy); margin-bottom: .35rem; overflow-wrap: anywhere; }
.contact-content .grunion-label-required { font-weight: 400; color: var(--wp--preset--color--muted); margin-left: .35em; font-size: .85em; }
.contact-content .grunion-field:focus,
.contact-content textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--amber) !important;
	box-shadow: 0 0 0 3px var(--wp--preset--color--amber-soft);
	background: var(--wp--preset--color--white);
}
.contact-content textarea { min-height: 10rem; }
.contact-content .jetpack-contact-form-container .wp-block-button__link,
.contact-content .jetpack-contact-form-container button[type="submit"] {
	border-radius: 999px !important;
	padding: .8rem 1.75rem !important;
	font-weight: 600;
	background: var(--wp--preset--color--amber) !important;
	color: var(--wp--preset--color--ink) !important;
	border: 0 !important;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.contact-content .jetpack-contact-form-container .wp-block-button__link:hover,
.contact-content .jetpack-contact-form-container button[type="submit"]:hover {
	background: var(--wp--preset--color--navy) !important;
	color: var(--wp--preset--color--white) !important;
}
/* Other ways to connect */
.contact-more { margin-top: var(--wp--preset--spacing--60) !important; }
.contact-more__title { text-align: center; font-size: var(--wp--preset--font-size--x-large); margin-bottom: var(--wp--preset--spacing--40) !important; }
.contact-link {
	position: relative;
	padding: 1.4rem 1.5rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--stone);
	border-radius: 14px;
	transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.contact-link:hover { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--soft); border-color: var(--wp--preset--color--amber-soft); }
.contact-link > * { margin-block: 0 !important; }
.contact-link > * + * { margin-top: .4rem !important; }
.contact-link h3 { font-size: 1.15rem; }
.contact-link h3 a { color: var(--wp--preset--color--navy); text-decoration: none; }
.contact-link h3 a::after { content: " →"; color: var(--wp--preset--color--amber); }
.contact-link h3 a::before { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.contact-link p { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }

/* ---------- Forms page ---------- */
.forms-hero { text-align: center; padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40); }
.forms-hero .page-heading { margin: .6rem 0 0; font-size: clamp(2.5rem, 6vw, 4.25rem); }
.forms-content > * + * { margin-top: var(--wp--preset--spacing--50) !important; }
.forms-section__head { margin-bottom: 1.25rem; }
.forms-section__head > * { margin-block: 0 !important; }
.forms-section__head > * + * { margin-top: .4rem !important; }
.forms-section__lead { color: var(--wp--preset--color--muted); }
.form-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	height: 100%;
	padding: 1.4rem 1.5rem 1.3rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--stone);
	border-radius: 16px;
	transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.form-card:hover { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--soft); border-color: var(--wp--preset--color--amber-soft); }
.form-card > * { margin: 0 !important; }
.form-card__badge {
	align-self: flex-start;
	padding: .2rem .55rem;
	border-radius: 6px;
	background: var(--wp--preset--color--amber-soft);
	color: #8a5a1f;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
}
.form-card__title { font-size: 1.2rem; }
.form-card__title a { color: var(--wp--preset--color--navy); text-decoration: none; }
.form-card__title a::before { content: ""; position: absolute; inset: 0; border-radius: 16px; } /* whole card clickable */
.form-card__title a:focus-visible { outline: none; }
.form-card:focus-within { outline: 3px solid var(--wp--preset--color--amber); outline-offset: 3px; }
.form-card__desc { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.form-card__open { margin-top: auto !important; padding-top: .5rem; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--navy); }
.form-card__open span { display: inline-block; transition: transform .25s ease; }
.form-card:hover .form-card__open span { transform: translate(2px, -2px); }
.forms-more {
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--navy);
	border-radius: 18px;
	gap: 1.25rem;
}
.forms-more__text > * { margin-block: 0 !important; }
.forms-more__text > * + * { margin-top: .35rem !important; }
.forms-more__text h3 { color: var(--wp--preset--color--white); font-size: var(--wp--preset--font-size--large); }
.forms-more__text p { color: rgba(255,255,255,.8); }
.forms-tip { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); text-align: center; }

/* ---------- Team Roles page ---------- */
.roles-hero { text-align: center; padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40); }
.roles-hero .page-heading { margin: .6rem 0 0; font-size: clamp(2.5rem, 6vw, 4.25rem); }
.roles-content > .is-empty { display: none; }
.roles-content > p:first-child {
	text-align: center;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
	line-height: 1.45;
	color: var(--wp--preset--color--navy);
	max-width: 52rem !important;
	margin: 0 auto var(--wp--preset--spacing--50) !important;
	text-wrap: balance;
}
/* At-a-glance cards (built by roles.js) */
.roles-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
	margin-bottom: var(--wp--preset--spacing--60) !important;
}
.roles-overview__card {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	padding: 1.4rem 1.4rem 1.3rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--stone);
	border-radius: 16px;
	text-decoration: none !important;
	color: inherit;
	transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.roles-overview__card:hover { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--soft); border-color: var(--wp--preset--color--amber-soft); }
.roles-overview__num { font-family: var(--wp--preset--font-family--heading); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--wp--preset--color--amber); }
.roles-overview__name { font-family: var(--wp--preset--font-family--heading); font-size: 1.3rem; font-weight: 600; color: var(--wp--preset--color--navy); line-height: 1.2; }
.roles-overview__lead { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.roles-overview__lead:empty { display: none; }
.roles-overview__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.roles-overview__tags span { padding: .15rem .55rem; border-radius: 999px; background: var(--wp--preset--color--cream); border: 1px solid var(--wp--preset--color--stone); font-size: .75rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.roles-overview__more { margin-top: auto; padding-top: .4rem; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--navy); }
.roles-details-title { font-size: var(--wp--preset--font-size--x-large); margin-bottom: 1rem !important; }
/* Role twistdowns */
.roles-content > .wp-block-details {
	position: relative;
	padding: 0 !important;
	margin: 0 0 .9rem !important;
	border-radius: 16px;
	overflow: hidden;
	scroll-margin-top: 6rem;
}
.roles-content > .wp-block-details > summary {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.15rem 1.4rem;
	font-size: 1.35rem !important;
	list-style: none;
}
.roles-content > .wp-block-details > summary::-webkit-details-marker { display: none; }
.roles-content > .wp-block-details[style] > summary::before {
	content: var(--n, "");
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--body);
	font-size: .85rem;
	font-weight: 700;
}
.roles-content > .wp-block-details > summary::after {
	content: "+";
	margin-left: auto;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.6rem;
	font-weight: 300;
	color: var(--wp--preset--color--amber);
	transition: transform .25s ease;
}
.roles-content > .wp-block-details[open] > summary::after { transform: rotate(45deg); }
.roles-content > .wp-block-details[open] > summary { border-bottom: 1px solid var(--wp--preset--color--stone); background: var(--wp--preset--color--cream); }
.roles-content > .wp-block-details > :not(summary) { margin-inline: 1.4rem !important; max-width: 60rem; }
.roles-content > .wp-block-details > :not(summary):first-of-type { margin-top: 1.25rem !important; }
.roles-content > .wp-block-details > :last-child { margin-bottom: 1.5rem !important; }
.roles-content .wp-block-details ul { list-style: none; padding-left: 0; display: grid; gap: .55rem; }
.roles-content .wp-block-details li { position: relative; padding-left: 1.9rem; line-height: 1.55; }
.roles-content .wp-block-details li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .3em;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	background: var(--wp--preset--color--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23a06a2a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat;
}
/* File download (e.g. the Secretary description) */
.roles-content .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.2rem;
	background: var(--wp--preset--color--cream);
	border: 1px dashed var(--wp--preset--color--stone);
	border-radius: 12px;
}
.roles-content .wp-block-file > a:first-child { font-weight: 600; color: var(--wp--preset--color--navy); text-decoration: none; }
.roles-content .wp-block-file object,
.roles-content .wp-block-file iframe { display: none; } /* skip the embedded PDF viewer; the download button is clearer */
.roles-content .wp-block-file__button {
	margin-left: auto;
	padding: .55rem 1.2rem !important;
	border-radius: 999px !important;
	background: var(--wp--preset--color--amber) !important;
	color: var(--wp--preset--color--ink) !important;
	font-weight: 600;
	text-decoration: none;
}

/* ---------- Member church map ---------- */
.gcsmn-church-map { margin: 0 auto var(--wp--preset--spacing--50) !important; max-width: 1200px; }
.gcsmn-church-map__canvas {
	height: clamp(340px, 52vh, 520px);
	border-radius: var(--gcsmn-radius);
	border: var(--gcsmn-border);
	overflow: hidden;
	background: var(--wp--preset--color--stone);
	z-index: 0;
}
.gcsmn-church-map__canvas:focus-visible { outline: 3px solid var(--wp--preset--color--amber); outline-offset: 3px; }
.gcsmn-church-map__caption { margin-top: .6rem; text-align: center; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.gcsmn-church-map .leaflet-tile-pane { filter: saturate(.45) sepia(.12) brightness(1.04) contrast(.95); }
.church-pin { background: none; border: 0; }
.church-pin__dot {
	position: absolute; left: 50%; top: 0;
	width: 26px; height: 26px; margin-left: -13px;
	background: var(--wp--preset--color--navy);
	border: 3px solid var(--wp--preset--color--white);
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	box-shadow: 0 2px 6px rgba(20,39,64,.35);
	transition: background-color .15s ease, transform .15s ease;
}
.church-pin__dot::after {
	content: ""; position: absolute; left: 50%; top: 50%;
	width: 8px; height: 8px; margin: -4px 0 0 -4px;
	background: var(--wp--preset--color--amber); border-radius: 50%;
}
.church-pin:hover .church-pin__dot,
.leaflet-marker-icon:focus .church-pin__dot { background: var(--wp--preset--color--amber); transform: rotate(-45deg) scale(1.12); }
.church-pin:hover .church-pin__dot::after { background: var(--wp--preset--color--white); }
.gcsmn-church-map .leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: var(--wp--preset--shadow--soft); }
.gcsmn-church-map .leaflet-popup-content { margin: 14px 16px; font-family: var(--wp--preset--font-family--body); font-size: .9rem; line-height: 1.45; }
.church-pop__name { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 1.05rem; color: var(--wp--preset--color--navy); margin-bottom: .25rem; }
.church-pop__addr { color: var(--wp--preset--color--muted); }
.church-pop__phone { display: inline-block; margin-top: .2rem; color: var(--wp--preset--color--ink) !important; }
.church-pop__links { display: flex; gap: .9rem; margin-top: .6rem; padding-top: .55rem; border-top: 1px solid var(--wp--preset--color--stone); }
.church-pop__links a { font-weight: 600; color: var(--wp--preset--color--navy) !important; text-decoration: none; }
.church-pop__links a:hover { color: var(--wp--preset--color--amber) !important; }
.gcsmn-church-map .leaflet-tooltip { font-family: var(--wp--preset--font-family--body); font-weight: 600; color: var(--wp--preset--color--navy); border-radius: 6px; }
.wp-block-details.is-highlighted { box-shadow: 0 0 0 3px var(--wp--preset--color--amber); transition: box-shadow .3s ease; }

/* ---------- Tables & details (Member Churches, Team Roles) ---------- */
.wp-block-table table { border-collapse: collapse; }
.wp-block-table th,
.wp-block-table td { border: 0; border-bottom: var(--gcsmn-border); padding: .6em .75em; text-align: left; }
.wp-block-table thead { border-bottom: 2px solid var(--wp--preset--color--navy); }
.wp-block-details {
	background: var(--wp--preset--color--white);
	border: var(--gcsmn-border);
	border-radius: 10px;
	padding: .9rem 1.1rem;
}
.wp-block-details + .wp-block-details { margin-top: .75rem; }
.wp-block-details summary { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.125rem; cursor: pointer; color: var(--wp--preset--color--navy); }
/* Content written for the old theme set white text on navy twistdowns. The new cards are white,
   so force readable colors inside every Details block regardless of old per-block color settings. */
.wp-block-details,
.wp-block-details :where(p, li, ol, ul, span, strong, em, b, i, div, td, th, h2, h3, h4, h5, h6, figcaption, cite) {
	color: var(--wp--preset--color--ink) !important;
}
.wp-block-details :where(a, a *) { color: var(--wp--preset--color--navy) !important; }
.wp-block-details a:hover { color: var(--wp--preset--color--amber) !important; }
.wp-block-details summary,
.wp-block-details summary * { color: var(--wp--preset--color--navy) !important; }
.wp-block-details :where(p, li, div, span)[style*="background"] { background: none !important; }
.wp-block-details[open] summary { margin-bottom: .5rem; }

/* Access badges: green "Network only" (password-protected) and amber "Public" */
.access-badge {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	margin-left: .6em;
	padding: .3em .75em .3em .65em;
	border-radius: 999px;
	background: #E4F2E9;
	border: 1px solid #B9DCC6;
	color: #2E6B45;
	font-family: var(--wp--preset--font-family--body);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.2;
	vertical-align: middle;
	white-space: nowrap;
	position: relative;
	top: -.15em;
}
.access-badge svg { flex: none; }
.public-badge { background: #FBEBD6; border-color: #EBC797; color: #8A5A1F; }
.page-heading .access-badge,
h1 .access-badge { font-size: clamp(.8125rem, 1.2vw, .9375rem); }
/* Centered page headers: put the badge on its own line above the title instead */
:where(.about-hero, .forms-hero, .roles-hero, .contact-hero, .after-hero, .devotionals-intro, .events-hero, .spotlight-hero, .minutes-hero) .page-heading .access-badge {
	display: flex;
	width: max-content;
	margin: 0 auto .75rem;
	top: 0;
}
:where(.about-hero, .forms-hero, .roles-hero, .contact-hero, .after-hero, .devotionals-intro, .events-hero, .spotlight-hero, .minutes-hero) .page-heading:has(.access-badge) { display: flex; flex-direction: column-reverse; align-items: center; }

/* Password-protected pages */
.post-password-form__lead { margin-top: 0; }
.post-password-form { max-width: 44rem !important; }
:where(.forms-page, .about-page, .roles-page, .contact-page, .afterpeople-page, .devotionals-page) .post-password-form { margin-inline: auto !important; }
.post-password-form {
	background: var(--wp--preset--color--white);
	border: var(--gcsmn-border);
	border-radius: var(--gcsmn-radius);
	padding: var(--wp--preset--spacing--40);
}
.post-password-form input[type=password] {
	padding: .6rem .8rem; border: 1px solid var(--wp--preset--color--stone); border-radius: 8px; font: inherit;
}
.post-password-form input[type=submit] {
	background: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink);
	border: 0; border-radius: 999px; padding: .6rem 1.3rem; font: inherit; font-weight: 600; cursor: pointer;
}

/* ---------- GCSMN Member Directory plugin ---------- */
.gcsmn-md h3 { margin-top: var(--wp--preset--spacing--50); padding-bottom: .4rem; border-bottom: 2px solid var(--wp--preset--color--amber); }
.gcsmn-md-filter {
	background: var(--wp--preset--color--white);
	border: var(--gcsmn-border);
	border-radius: var(--gcsmn-radius);
	padding: 1rem 1.25rem;
}
.gcsmn-md-filter label { color: var(--wp--preset--color--navy); font-family: var(--wp--preset--font-family--heading); font-size: 1.125rem; }
.gcsmn-md-filter select {
	appearance: none;
	-webkit-appearance: none;
	padding: .6rem 2.5rem .6rem .85rem !important;
	border: 1px solid var(--wp--preset--color--stone);
	border-radius: 8px;
	background: var(--wp--preset--color--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231F3A5F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .9rem center;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
}
.gcsmn-md-filter select:hover { border-color: var(--wp--preset--color--amber); }
.gcsmn-md-count { color: var(--wp--preset--color--muted); }
.gcsmn-md-table { background: var(--wp--preset--color--white); border-radius: 10px; overflow: hidden; font-size: var(--wp--preset--font-size--small); }
.gcsmn-md-table th { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); font-weight: 600; }
.gcsmn-md-table th,
.gcsmn-md-table td { border-bottom-color: var(--wp--preset--color--stone) !important; }
.gcsmn-md-form fieldset { background: var(--wp--preset--color--white); border: var(--gcsmn-border) !important; border-radius: var(--gcsmn-radius) !important; }
.gcsmn-md-form legend { font-family: var(--wp--preset--font-family--heading); font-size: 1.125rem; color: var(--wp--preset--color--navy); }
.gcsmn-md-form input[type=text],
.gcsmn-md-form input[type=email],
.gcsmn-md-form input[type=tel],
.gcsmn-md-form select,
.gcsmn-md-form textarea { padding: .6rem .75rem; border: 1px solid var(--wp--preset--color--stone); border-radius: 8px; font: inherit; background: var(--wp--preset--color--cream); }
.gcsmn-md-form button[type=submit] {
	background: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink); border: 0; border-radius: 999px;
	padding: .75rem 1.5rem; font: inherit; font-weight: 600; cursor: pointer;
}
.gcsmn-md-form button[type=submit]:hover { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--wp--preset--color--navy-deep);
	color: rgba(255, 255, 255, .82);
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
	font-size: var(--wp--preset--font-size--small);
}
.site-footer a { color: var(--wp--preset--color--white); text-decoration: none; }
.site-footer a:hover { color: var(--wp--preset--color--amber); }
.site-footer .site-footer__title a,
.site-footer .wp-block-site-title a { color: var(--wp--preset--color--white); font-size: 1.375rem; }
.site-footer__blurb { max-width: 34ch; }
.site-footer__heading {
	font-family: var(--wp--preset--font-family--body);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--amber);
}
.site-footer__links { list-style: none; padding: 0; }
.site-footer__links li + li { margin-top: .45rem; }
.site-footer__base {
	margin-top: var(--wp--preset--spacing--50) !important;
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid rgba(255, 255, 255, .15);
	font-size: .8125rem;
	color: rgba(255, 255, 255, .6);
}
.site-footer__base p { margin: 0; }

/* ---------- Events page: list of upcoming events ---------- */
.screen-reader-text {
	border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.events-hero { text-align: center; padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40); }
.events-hero .page-heading { margin: .6rem 0 0; font-size: clamp(2.5rem, 6vw, 4.25rem); }
.events-hero__text { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--large); }
.events-hero__text > * { max-width: none !important; margin-inline: 0 !important; }

.events-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: var(--wp--preset--spacing--60); }
.events-list > * { margin: 0; }
.events-month {
	display: flex; align-items: center; gap: 1rem;
	margin: var(--wp--preset--spacing--40) 0 0 !important;
	font-family: var(--wp--preset--font-family--body);
	font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--wp--preset--color--amber);
}
.events-month::after { content: ""; flex: 1; height: 1px; background: var(--wp--preset--color--stone); }
.events-month__items { display: flex; flex-direction: column; gap: 1rem; }

.event-card {
	display: grid; grid-template-columns: 6.5rem 1fr; gap: clamp(1rem, 2.5vw, 2rem);
	padding: clamp(1rem, 2.5vw, 1.75rem);
	background: var(--wp--preset--color--white);
	border: var(--gcsmn-border); border-radius: var(--gcsmn-radius);
	transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
	scroll-margin-top: 6rem;
}
.event-card:hover { box-shadow: var(--wp--preset--shadow--soft); transform: translateY(-2px); }
.event-card.is-today { border-color: var(--wp--preset--color--amber); box-shadow: 0 0 0 1px var(--wp--preset--color--amber) inset; }

.event-date {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	align-self: start; aspect-ratio: 1 / 1.05;
	background: var(--wp--preset--color--navy); color: var(--wp--preset--color--cream);
	border-radius: 12px; line-height: 1; padding: .75rem .5rem;
}
.event-date__month { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #E7B877; }
.event-date__day { font-family: var(--wp--preset--font-family--heading); font-size: 2.6rem; font-weight: 600; margin: .3rem 0 .25rem; }
.event-date__weekday { font-size: .8125rem; opacity: .8; }

.event-body { min-width: 0; display: flex; flex-direction: column; gap: .6rem; }
.event-body > * { margin: 0; }
.event-flag {
	align-self: flex-start; padding: .15rem .65rem; border-radius: 999px;
	background: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink);
	font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.event-title { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin: 0; }
.event-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.event-meta li { display: flex; align-items: flex-start; gap: .45rem; }
.event-meta .event-icon { flex: none; margin-top: .2em; color: var(--wp--preset--color--amber); }
.event-meta__sub { display: block; }
.event-meta__link { font-weight: 600; }
.event-desc { color: var(--wp--preset--color--ink); }
.event-desc > * { margin: 0; }
.event-desc > * + * { margin-top: .6rem; }
.event-access {
	padding: .65rem .9rem; border-radius: 10px; font-size: var(--wp--preset--font-size--small);
	background: #E4F2E9; border: 1px solid #B9DCC6; color: #24543A;
}

.event-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .35rem !important; }
.event-btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .6rem 1.15rem; border-radius: 999px;
	font-size: var(--wp--preset--font-size--small); font-weight: 600; line-height: 1.2;
	text-decoration: none; border: 1px solid transparent;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.event-btn .event-icon { flex: none; }
.event-btn--join { background: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink); }
.event-btn--join:hover { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }
.event-btn--locked { background: #FBEBD6; border-color: #EBC797; color: #8A5A1F; }
.event-btn--locked:hover { background: #F6DDBA; color: #6F4815; }
.event-btn--ghost { border-color: var(--wp--preset--color--stone); color: var(--wp--preset--color--navy); }
.event-btn--ghost:hover { border-color: var(--wp--preset--color--navy); color: var(--wp--preset--color--navy); }
.event-edit { font-size: .8125rem; color: var(--wp--preset--color--muted); margin-left: auto; }
.event-edit a { color: inherit; }
.event-edit a:hover, .event-edit a:focus-visible { color: var(--wp--preset--color--navy, #1F3A5F); }

.events-unlock {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
	padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 2.5vw, 1.75rem);
	background: #FDF5EA; border: 1px solid #EBC797; border-radius: var(--gcsmn-radius);
	scroll-margin-top: 6rem;
}
.events-unlock:target { box-shadow: 0 0 0 3px var(--wp--preset--color--amber-soft); }
.events-unlock__text { display: flex; align-items: flex-start; gap: .75rem; flex: 1 1 22rem; color: #6F4815; }
.events-unlock__text p { margin: 0; }
.events-unlock__text .event-icon { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .15rem; color: #8A5A1F; }
.events-unlock__form { display: flex; gap: .5rem; flex: 0 1 24rem; min-width: 0; }
.events-unlock__form input[type=password] {
	flex: 1; min-width: 0; padding: .6rem 1rem; font: inherit; font-size: var(--wp--preset--font-size--small);
	border: 1px solid #EBC797; border-radius: 999px; background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink);
}
.events-unlock__form button {
	padding: .6rem 1.2rem; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
	font: inherit; font-size: var(--wp--preset--font-size--small); font-weight: 600;
	background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white);
}
.events-unlock__form button:hover { background: var(--wp--preset--color--navy-deep); }
.events-unlocked {
	display: flex; align-items: center; gap: .5rem; align-self: flex-start;
	padding: .45rem 1rem; border-radius: 999px; font-size: var(--wp--preset--font-size--small);
	background: #E4F2E9; border: 1px solid #B9DCC6; color: #2E6B45;
}

.events-empty {
	display: flex; align-items: center; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--wp--preset--color--white); border: 1px dashed var(--wp--preset--color--stone); border-radius: var(--gcsmn-radius);
	color: var(--wp--preset--color--muted);
}
.events-empty .event-icon { flex: none; width: 2rem; height: 2rem; color: var(--wp--preset--color--amber); }
.events-empty p { margin: 0; }
.events-empty strong { color: var(--wp--preset--color--navy); }
.events-admin { font-size: var(--wp--preset--font-size--small); }
.events-admin a { font-weight: 600; }
.events-admin span { color: var(--wp--preset--color--muted); }

.events-past { margin-top: var(--wp--preset--spacing--40) !important; border-top: var(--gcsmn-border); padding-top: 1rem; }
.events-past summary { cursor: pointer; font-weight: 600; color: var(--wp--preset--color--navy); }
.events-past ul { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .4rem; }
.events-past li { display: flex; gap: 1rem; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.events-past__date { flex: none; width: 7.5rem; font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
	.event-card { grid-template-columns: 4.25rem 1fr; }
	.event-date { padding: .55rem .25rem; }
	.event-date__day { font-size: 1.85rem; }
	.event-date__month, .event-date__weekday { font-size: .6875rem; }
	.events-unlock__form { flex-basis: 100%; }
	.event-edit { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .event-card { transition: none; } .event-card:hover { transform: none; } }

/* ---------- Document archive pages: Spotlight Reports, Meeting Minutes ---------- */
.minutes-hero { text-align: center; padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30); }
.minutes-hero .page-heading { margin: .6rem 0 0; font-size: clamp(2.5rem, 6vw, 4.25rem); }
.spotlight-hero { text-align: center; padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30); }
.spotlight-hero .page-heading { margin: .6rem 0 0; font-size: clamp(2.5rem, 6vw, 4.25rem); }
.archive-content { margin-bottom: var(--wp--preset--spacing--60); }
/* Intro sentence(s) before the first spotlight */
.archive-content > p:not(.archive-note):not(.archive-hidden) {
	text-align: center; color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--large); line-height: 1.55;
	max-width: 52rem !important; margin-inline: auto !important;
}
.archive-content > p:empty { display: none; }

.archive-year {
	display: flex; align-items: center; gap: 1rem;
	margin: var(--wp--preset--spacing--50) 0 1rem !important;
	font-family: var(--wp--preset--font-family--body);
	font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--wp--preset--color--amber);
}
.archive-content > h2.archive-year strong { font-weight: inherit; }
.archive-content > h2.archive-year { max-width: none !important; }
.archive-year::after { content: ""; flex: 1; height: 1px; background: var(--wp--preset--color--stone); }

.archive-content > .wp-block-details {
	padding: 0 !important;
	margin: 0 0 1rem !important;
	background: var(--wp--preset--color--white);
	border: var(--gcsmn-border) !important;
	border-radius: var(--gcsmn-radius);
	overflow: hidden;
	scroll-margin-top: 6rem;
	transition: box-shadow .2s ease, border-color .2s ease;
}
.archive-content > .wp-block-details:hover { box-shadow: var(--wp--preset--shadow--soft); }
.archive-content > .wp-block-details[open] { border-color: #E3D3BC !important; box-shadow: var(--wp--preset--shadow--soft); }
.archive-content > .wp-block-details > summary {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center;
	column-gap: clamp(1rem, 2.5vw, 1.75rem); row-gap: .5rem;
	padding: clamp(1rem, 2.2vw, 1.4rem) clamp(1rem, 2.5vw, 1.75rem);
	margin: 0 !important;
	list-style: none; cursor: pointer;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.3rem; font-weight: 600;
}
.archive-content > .wp-block-details > summary::-webkit-details-marker { display: none; }
.archive-content > .wp-block-details > summary::after {
	content: ""; justify-self: end;
	width: .7rem; height: .7rem;
	border-right: 2px solid var(--wp--preset--color--amber); border-bottom: 2px solid var(--wp--preset--color--amber);
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .25s ease;
}
.archive-content > .wp-block-details[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.archive-content > .wp-block-details[open] > summary { border-bottom: 1px solid var(--wp--preset--color--stone); background: #FDFBF7; }

.archive-date {
	flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 4.75rem; padding: .6rem .4rem; border-radius: 12px; line-height: 1;
	background: var(--wp--preset--color--navy); color: var(--wp--preset--color--cream);
	font-family: var(--wp--preset--font-family--body);
}
.archive-date__month { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #E7B877; }
.archive-date__day { font-family: var(--wp--preset--font-family--heading); font-size: 2rem; font-weight: 600; margin: .2rem 0 .15rem; }
.archive-date__year { font-size: .75rem; opacity: .8; }
.archive-main { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.archive-title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.2; }
.archive-sub { font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--small); font-weight: 400; color: var(--wp--preset--color--muted); }
.archive-chips { justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
.archive-chip {
	padding: .25rem .75rem; border-radius: 999px; white-space: nowrap;
	font-family: var(--wp--preset--font-family--body); font-size: .8125rem; font-weight: 600;
	background: var(--wp--preset--color--amber-soft);
}
.archive-chip--latest { background: var(--wp--preset--color--amber); }
.archive-chip--rec { background: #E3EAF3; }
.archive-chip--muted { background: #F0EDE8; }

/* Inside a spotlight */
.archive-content > .wp-block-details > :not(summary) { margin-inline: clamp(1rem, 2.5vw, 1.75rem) !important; }
.archive-content > .wp-block-details > :not(summary):first-of-type { margin-top: 1.25rem !important; }
.archive-content > .wp-block-details > :last-child { margin-bottom: 1.5rem !important; }
.archive-content > .wp-block-details > * + * { margin-top: .75rem !important; }
.archive-content .is-empty, .archive-content .archive-hidden { display: none !important; }
.archive-note {
	padding: .75rem 1rem; border-left: 3px solid var(--wp--preset--color--amber);
	background: #FDF8F0; border-radius: 0 10px 10px 0; color: var(--wp--preset--color--ink);
}
.archive-note strong { font-weight: 600; }

/* Document rows (built from File blocks) */
.archive-content.is-enhanced .archive-doc > a,
.archive-content.is-enhanced .archive-doc > .wp-block-file__embed { display: none !important; }
.archive-doc {
	border: var(--gcsmn-border); border-radius: 12px; background: var(--wp--preset--color--cream);
	padding: .85rem 1rem; display: block !important;
}
.archive-doc__row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.archive-doc__icon {
	flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 10px;
	background: var(--wp--preset--color--white); border: var(--gcsmn-border); color: var(--wp--preset--color--navy);
}
.archive-doc__info { display: flex; flex-direction: column; flex: 1 1 14rem; min-width: 0; }
.archive-doc__name { font-weight: 600; color: var(--wp--preset--color--navy); overflow-wrap: anywhere; }
.archive-doc__type { font-size: .75rem; font-weight: 600; letter-spacing: .06em; color: var(--wp--preset--color--muted); }
.archive-doc__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.archive-btn {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .5rem .95rem; border-radius: 999px; cursor: pointer;
	font: inherit; font-size: var(--wp--preset--font-size--small); font-weight: 600; line-height: 1.2;
	text-decoration: none; border: 1px solid transparent; background: none;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.archive-btn--ghost { border-color: var(--wp--preset--color--stone); background: var(--wp--preset--color--white); color: var(--wp--preset--color--navy); }
.archive-btn--ghost:hover { border-color: var(--wp--preset--color--navy); color: var(--wp--preset--color--navy); }
.archive-btn--solid { background: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink); }
.archive-btn--solid:hover { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }

@media (max-width: 600px) {
	.archive-content > .wp-block-details > summary { grid-template-columns: auto minmax(0, 1fr) auto; }
	.archive-date { width: 3.75rem; grid-row: span 2; align-self: start; }
	.archive-date__day { font-size: 1.6rem; }
	.archive-chips { grid-column: 2; grid-row: 2; justify-self: start; justify-content: flex-start; }
	.archive-content > .wp-block-details > summary::after { grid-column: 3; grid-row: 1; }
	.archive-doc__actions { width: 100%; }
}

/* Spotlight colors: beat the general "readable text inside Details" rules */
.archive-content .wp-block-details summary .archive-date,
.archive-content .wp-block-details summary .archive-date * { color: var(--wp--preset--color--cream) !important; }
.archive-content .wp-block-details summary .archive-date__month { color: #E7B877 !important; }
.archive-content .wp-block-details summary .archive-sub { color: var(--wp--preset--color--muted) !important; }
.archive-content .wp-block-details summary .archive-chip { color: #8A5A1F !important; }
.archive-content .wp-block-details summary .archive-chip--latest { color: var(--wp--preset--color--ink) !important; }
.archive-content .wp-block-details summary .archive-chip--rec { color: var(--wp--preset--color--navy) !important; }
.archive-content .wp-block-details summary .archive-chip--muted { color: var(--wp--preset--color--muted) !important; }
.archive-content .wp-block-details .archive-doc__type { color: var(--wp--preset--color--muted) !important; }
.archive-content .wp-block-details .archive-btn--solid,
.archive-content .wp-block-details .archive-btn--solid * { color: var(--wp--preset--color--ink) !important; }
.archive-content .wp-block-details .archive-btn--solid:hover,
.archive-content .wp-block-details .archive-btn--solid:hover * { color: var(--wp--preset--color--white) !important; }
.archive-content .wp-block-details .archive-btn--ghost:hover,
.archive-content .wp-block-details .archive-btn--ghost:hover * { color: var(--wp--preset--color--navy) !important; }

.archive-doc__preview { display: none; width: 100%; height: 75vh; min-height: 440px; margin-top: .85rem; border: 0; border-radius: 8px; background: var(--wp--preset--color--white); }
.archive-doc.is-previewing .archive-doc__preview { display: block; }

/* Recording row */
.archive-rec {
	display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem;
	padding: .85rem 1rem; border-radius: 12px;
	background: #EEF2F7; border: 1px solid #D5DEEA;
}
.archive-rec__icon {
	flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 10px;
	background: var(--wp--preset--color--navy);
}
.archive-content .wp-block-details .archive-rec__icon,
.archive-content .wp-block-details .archive-rec__icon * { color: var(--wp--preset--color--white) !important; }
.archive-rec__info { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; flex: 1 1 16rem; min-width: 0; }
.archive-rec__name { font-weight: 600; flex-basis: 100%; }
.archive-content .wp-block-details .archive-rec__name { color: var(--wp--preset--color--navy) !important; }
.archive-rec__code { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--wp--preset--font-size--small); }
.archive-content .wp-block-details .archive-rec__code-label { color: var(--wp--preset--color--muted) !important; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.archive-rec__code code {
	padding: .15rem .5rem; border-radius: 6px; background: var(--wp--preset--color--white); border: 1px solid #D5DEEA;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .875rem; letter-spacing: .03em;
}
.archive-copy {
	display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem; border-radius: 6px; cursor: pointer;
	font: inherit; font-size: .75rem; font-weight: 600; background: none; border: 1px solid transparent;
}
.archive-content .wp-block-details .archive-copy,
.archive-content .wp-block-details .archive-copy * { color: var(--wp--preset--color--navy) !important; }
.archive-copy:hover { border-color: #C3CFDF; background: var(--wp--preset--color--white); }
.archive-content .wp-block-details .archive-copy.is-done,
.archive-content .wp-block-details .archive-copy.is-done * { color: #2E6B45 !important; }

/* Notes inside a card: lists and images */
.archive-note--list { list-style: none; padding: .75rem 1rem .75rem 1rem !important; display: grid; gap: .4rem; }
.archive-note--list li { position: relative; padding-left: 1.1rem; }
.archive-note--list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--wp--preset--color--amber); }
.archive-content > .wp-block-details .wp-block-image img { border-radius: 10px; max-width: 100%; height: auto; }
@media (max-width: 600px) { .archive-rec__actions, .archive-rec .archive-doc__actions { width: 100%; } }

/* ---------- Homepage hub: For Everyone / For Network Members ---------- */
.hub-row__head { margin-bottom: var(--wp--preset--spacing--40); }
.hub-row__head > * { margin-block: 0; }
.hub-row__lead { margin-top: .4rem !important; color: var(--wp--preset--color--muted); }
.hub-card {
	--hub-icon: none;
	position: relative;
	display: flex; flex-direction: column;
	padding: clamp(1.25rem, 2.2vw, 1.75rem);
	padding-bottom: 3.75rem;
	background: var(--wp--preset--color--white);
	border: var(--gcsmn-border); border-radius: var(--gcsmn-radius);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hub-card > * { margin-block: 0; }
.hub-card > * + * { margin-top: .6rem; }
.hub-card::before {
	content: ""; display: block; width: 3rem; height: 3rem; margin-bottom: 1.1rem; border-radius: 12px;
	background: var(--hub-icon) center / 1.5rem 1.5rem no-repeat, var(--wp--preset--color--amber-soft);
}
.hub-row--members .hub-card::before { background: var(--hub-icon) center / 1.5rem 1.5rem no-repeat, var(--wp--preset--color--navy); }
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--soft); border-color: #E3D3BC; }
.hub-card:focus-within { outline: 3px solid var(--wp--preset--color--amber); outline-offset: 3px; }
.hub-card__title { font-size: var(--wp--preset--font-size--large); }
.hub-card__title a { color: var(--wp--preset--color--navy); text-decoration: none; }
.hub-card__title a:focus-visible { outline: none; }
/* The whole card is the link */
.hub-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.hub-card__text { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.hub-card__more { margin-top: auto !important; padding-top: .9rem; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--navy); }
.hub-card__more span { display: inline-block; transition: transform .2s ease; }
.hub-card:hover .hub-card__more span { transform: translateX(3px); }
.hub-card__badge { position: absolute; right: clamp(1.25rem, 2.2vw, 1.75rem); bottom: 1.15rem; margin: 0 !important; line-height: 1; }
.hub-card__badge .access-badge { margin-left: 0; font-size: .8125rem; }

/* Card icons: navy on amber for everyone, cream on navy for members */
.hub-card--about    { --hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A5F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 19.5c.6-3.3 3-5.3 6-5.3s5.4 2 6 5.3'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16.5 14.3c2.3.2 4 1.9 4.5 4.7'/%3E%3C/svg%3E"); }
.hub-card--minister { --hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A5F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z'/%3E%3C/svg%3E"); }
.hub-card--churches { --hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A5F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s6.5-5.8 6.5-11A6.5 6.5 0 0 0 5.5 10c0 5.2 6.5 11 6.5 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E"); }
.hub-card--roster   { --hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FAF7F2' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3.5' width='16' height='17' rx='2.5'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3Cpath d='M7.8 17c.8-1.9 2.3-3 4.2-3s3.4 1.1 4.2 3'/%3E%3C/svg%3E"); }
.hub-card--events   { --hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FAF7F2' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M8 14h2M14 14h2M8 17h2'/%3E%3C/svg%3E"); }
.hub-card--minutes  { --hub-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FAF7F2' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3.5H7a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8.5Z'/%3E%3Cpath d='M14 3.5v5h5M8.5 13h7M8.5 16.5h5'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) { .hub-card, .hub-card__more span { transition: none; } .hub-card:hover { transform: none; } }

/* ---------- Homepage: GCSMN News ---------- */
.news-card .post-card__body { display: flex; flex-direction: column; }
.news-card .post-card__body > * + * { margin-top: .4rem; }
.news-card__excerpt { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.news-card__excerpt .wp-block-post-excerpt__excerpt { margin: 0; }
.news-card__excerpt .wp-block-post-excerpt__more-text { display: none; }
/* News without a featured image: a slim amber accent instead of an empty space */
.news-card:not(:has(.wp-block-post-featured-image)) { border-top: 4px solid var(--wp--preset--color--amber); }

/* ---------- List style: Checkmarks (List block → Styles → Checkmarks) ---------- */
ul.is-style-checkmarks { list-style: none; padding-left: 0; display: grid; gap: .55rem; }
ul.is-style-checkmarks li { position: relative; padding-left: 1.9rem; line-height: 1.55; }
ul.is-style-checkmarks li::before {
	content: "";
	position: absolute; left: 0; top: .3em;
	width: 1.1rem; height: 1.1rem; border-radius: 50%;
	background: var(--wp--preset--color--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23a06a2a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat;
}
ul.is-style-checkmarks ul { margin-top: .55rem; }

/* ---------- Homepage: Next Network Meeting (network members only) ---------- */
.next-meeting__head {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: .5rem 1.5rem; margin-bottom: var(--wp--preset--spacing--40);
}
.next-meeting__head > * { margin: 0; }
.next-meeting__head .section-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; }
.next-meeting__head .access-badge { margin-left: 0; top: 0; font-size: .8125rem; font-family: var(--wp--preset--font-family--body); }
.next-meeting .event-card { border-color: var(--wp--preset--color--navy); box-shadow: 0 0 0 1px var(--wp--preset--color--navy) inset; }
.next-meeting .event-card.is-today { border-color: var(--wp--preset--color--amber); box-shadow: 0 0 0 1px var(--wp--preset--color--amber) inset; }

/* Phones: homepage hub cards stack one per row (WordPress 6.8 keeps a fixed 3-column grid otherwise). */
@media (max-width: 600px) {
	.hub-grid.is-layout-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ---------- Post featured image banner ----------
   A calm banner in the reading column instead of a huge cropped picture. The whole image always
   shows (never cropped); a soft blurred copy of the same image fills any space beside it, so
   square, wide and 16:9 graphics all sit in the same 2:1 frame. */
.single .post-hero-image {
	position: relative; isolation: isolate; overflow: hidden;
	aspect-ratio: 2 / 1; max-height: 26rem; width: 100%;
	margin-block: 0 var(--wp--preset--spacing--50) !important;
	border-radius: var(--gcsmn-radius-media);
	background: var(--wp--preset--color--navy);
	box-shadow: 0 1px 2px rgba(31, 58, 95, .08), 0 8px 24px -12px rgba(31, 58, 95, .35);
}
.single .post-hero-image::before {
	content: ""; position: absolute; inset: -2.5rem; z-index: -1;
	background: var(--gcsmn-hero, none) center / cover no-repeat;
	filter: blur(26px) saturate(1.15) brightness(.82);
}
.single .post-hero-image img {
	display: block; width: 100% !important; height: 100% !important;
	object-fit: contain !important; border-radius: 0;
}
@media (max-width: 600px) {
	.single .post-hero-image { aspect-ratio: 16 / 9; }
}

/* ---------- Post card images (GCSMN News, Network News list, blog lists) ----------
   Same idea as the banner: the whole picture shows (cut-out PNGs and odd shapes aren't cropped),
   over a soft blurred copy of itself on navy, so transparent or narrow images never leave white gaps. */
.post-card .card-image {
	position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 9;
	background: var(--wp--preset--color--navy);
}
.post-card .card-image::before {
	content: ""; position: absolute; inset: -2rem; z-index: -1;
	background: var(--gcsmn-hero, none) center / cover no-repeat;
	filter: blur(22px) saturate(1.15) brightness(.8);
}
.post-card .card-image a { display: block; height: 100%; }
.post-card .card-image img {
	display: block; width: 100% !important; height: 100% !important;
	object-fit: contain !important; transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.post-card:hover .card-image img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .post-card:hover .card-image img { transform: none; } }

/* ---------- PDF search on Meeting Minutes (assets/js/pdf-search.js) ---------- */
.archive-content > .pdf-search {
	max-width: none !important; margin-block: 0 var(--wp--preset--spacing--50) !important;
	padding: clamp(1.1rem, 2.5vw, 1.6rem); border: 1px solid var(--wp--preset--color--stone);
	border-radius: 14px; background: var(--wp--preset--color--white); box-shadow: var(--wp--preset--shadow--soft);
}
.pdf-search__label { display: block; margin-bottom: .6rem; font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 600; color: var(--wp--preset--color--navy); }
.pdf-search__field { position: relative; }
.pdf-search__field svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--wp--preset--color--muted); pointer-events: none; }
.pdf-search__field input {
	width: 100%; box-sizing: border-box; padding: .85rem 1rem .85rem 2.75rem; font: inherit; font-size: 1.05rem;
	border: 1px solid var(--wp--preset--color--stone); border-radius: 10px; background: var(--wp--preset--color--cream); color: var(--wp--preset--color--ink);
}
.pdf-search__field input:hover, .pdf-search__field input:focus { border-color: var(--wp--preset--color--amber); }
.pdf-search__field input:focus { outline: 2px solid var(--wp--preset--color--amber); outline-offset: 1px; background: var(--wp--preset--color--white); }
.pdf-search.is-loading .pdf-search__field::after {
	content: ""; position: absolute; right: 1rem; top: 50%; width: 1rem; height: 1rem; margin-top: -.5rem;
	border: 2px solid var(--wp--preset--color--stone); border-top-color: var(--wp--preset--color--amber); border-radius: 50%;
	animation: pdf-search-spin .7s linear infinite;
}
@keyframes pdf-search-spin { to { transform: rotate(360deg); } }
.pdf-search__meta { margin-top: .6rem; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.pdf-search__cant { margin-top: .4rem; }
.pdf-search__cant > summary { cursor: pointer; color: #8A5A1F; font-weight: 600; }
.pdf-search__cant ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.pdf-search__cant li { margin: .2rem 0; }
.pdf-search__cant a { color: var(--wp--preset--color--navy); }
.pdf-search__cant-note { margin: .4rem 0 0; font-style: italic; }
.pdf-search__status:empty { display: none; }
.pdf-search__status { margin: 1rem 0 0; font-weight: 600; color: var(--wp--preset--color--navy); }
.pdf-search__list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .9rem; }
.pdf-result { margin: 0; padding: 1rem; border: 1px solid var(--wp--preset--color--stone); border-radius: 12px; background: #FDFBF7; }
.pdf-result__head { display: flex; align-items: center; gap: .9rem; }
.pdf-result__date {
	flex: none; display: flex; flex-direction: column; align-items: center; width: 3.4rem; padding: .35rem 0;
	border-radius: 10px; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--cream); line-height: 1.05;
}
.pdf-result__mon { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #E7B877; }
.pdf-result__day { font-family: var(--wp--preset--font-family--heading); font-size: 1.35rem; font-weight: 600; margin: .1rem 0; }
.pdf-result__yr { font-size: .68rem; opacity: .8; }
.pdf-result__title { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pdf-result__name { font-family: var(--wp--preset--font-family--heading); font-size: 1.15rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.pdf-result__when { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.pdf-result__goto { flex: none; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--navy); }
.pdf-result__doc { margin-top: .8rem; }
.pdf-result__docname { display: flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--wp--preset--color--navy); overflow-wrap: anywhere; }
.pdf-result__docname svg { flex: none; color: var(--wp--preset--color--amber); }
.pdf-hit {
	display: flex; gap: .85rem; align-items: baseline; margin-top: .45rem; padding: .6rem .8rem;
	border: 1px solid transparent; border-radius: 8px; background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink); text-decoration: none;
}
.pdf-hit:hover, .pdf-hit:focus-visible { border-color: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink); }
.pdf-hit__page { flex: none; padding: .1rem .55rem; border-radius: 999px; background: #E3EAF3; font-size: .78rem; font-weight: 700; color: var(--wp--preset--color--navy); white-space: nowrap; }
.pdf-hit__of { font-weight: 500; opacity: .75; }
.pdf-hit__snippet { font-size: .95rem; line-height: 1.55; overflow-wrap: anywhere; }
.pdf-search__mark { background: #F6DDB5; color: inherit; padding: 0 .1em; border-radius: 3px; }
@media (max-width: 600px) {
	.pdf-hit { flex-direction: column; gap: .35rem; }
	.pdf-result__head { flex-wrap: wrap; }
	.pdf-result__goto { flex-basis: 100%; box-sizing: border-box; padding-left: 4.3rem; }
}

/* ---------- Ship's Log (inc/ships-log.php, templates/page-ships-log.html) ----------
   Dated twistdowns on the page are drawn as an open timeline: year dividers, a date badge on a
   vertical line, and one card per update with an icon per change. */
.log-hero {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36rem); gap: var(--wp--preset--spacing--50); align-items: center;
	padding-block: 0 var(--wp--preset--spacing--50);
}
.log-hero__text > * { margin-block: 0; }
.log-hero .page-heading { margin: .5rem 0 0 !important; font-size: clamp(2.5rem, 6vw, 4.25rem); }
.log-stats { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: 1rem !important; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); font-weight: 600; }
.log-stats span + span::before { content: "·"; margin-right: 1.25rem; color: var(--wp--preset--color--amber); }
/* Same as the post banners: 2:1 frame on navy, whole picture, blurred copy of it filling the sides. */
.log-hero-image {
	position: relative; isolation: isolate; aspect-ratio: 2 / 1; margin: 0 !important;
	border-radius: var(--gcsmn-radius); overflow: hidden; background: var(--wp--preset--color--navy);
	box-shadow: 0 1px 2px rgba(31,58,95,.08), 0 18px 40px -20px rgba(31,58,95,.45);
}
.log-hero-image::before {
	content: ""; position: absolute; inset: -2.5rem; z-index: -1;
	background: var(--gcsmn-hero, none) center / cover no-repeat;
	filter: blur(26px) saturate(1.15) brightness(.82);
}
.log-hero-image img { display: block; width: 100% !important; height: 100% !important; object-fit: contain !important; }
.log-content > p:first-child {
	max-width: none !important; margin: 0 0 var(--wp--preset--spacing--50) !important;
	padding: 1.1rem 1.4rem; border-left: 4px solid var(--wp--preset--color--amber); border-radius: 0 12px 12px 0;
	background: var(--wp--preset--color--white); font-size: var(--wp--preset--font-size--large); line-height: 1.55; color: var(--wp--preset--color--ink);
}
.log-content > p:empty { display: none; }
.log-year {
	display: flex; align-items: center; gap: 1rem; max-width: none !important;
	margin: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--30) !important;
	font-size: clamp(1.6rem, 3vw, 2rem); color: var(--wp--preset--color--navy);
}
.log-year::after { content: ""; flex: 1; height: 1px; background: var(--wp--preset--color--stone); }
.log-content > .log-year:first-of-type { margin-top: 0 !important; }
.log-entry {
	position: relative; display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: 1.5rem;
	max-width: none !important; margin: 0 !important; padding-bottom: 1.25rem; scroll-margin-top: 6rem;
}
/* The timeline line runs down the middle of the date column. */
.log-entry::before { content: ""; position: absolute; left: 2.125rem; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--wp--preset--color--stone); }
.log-entry:has(+ .log-year)::before, .log-entry:last-child::before { bottom: auto; height: 2rem; }
.log-entry__date {
	position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 4.25rem; height: 4.25rem; border-radius: 14px; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--cream); line-height: 1;
	box-shadow: 0 0 0 6px var(--wp--preset--color--cream);
}
.log-entry__mon { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #E7B877; }
.log-entry__day { margin-top: .2rem; font-family: var(--wp--preset--font-family--heading); font-size: 1.6rem; font-weight: 600; }
.log-entry__card {
	padding: 1.1rem 1.4rem 1.25rem; border: var(--gcsmn-border); border-radius: var(--gcsmn-radius);
	background: var(--wp--preset--color--white); transition: box-shadow .2s ease;
}
.log-entry__card:hover { box-shadow: var(--wp--preset--shadow--soft); }
.log-entry__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: .75rem; }
.log-entry__title { margin: 0 !important; font-size: 1.15rem; color: var(--wp--preset--color--navy); }
.log-chip { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: #F6EBDB; color: #8A5A1F; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.log-chip--latest { background: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink); }
.log-entry .log-list { list-style: none; margin: 0 !important; padding: 0; display: grid; gap: .55rem; }
.log-item { position: relative; padding-left: 2.1rem; line-height: 1.5; }
.log-item::before {
	content: ""; position: absolute; left: 0; top: -.05rem; width: 1.55rem; height: 1.55rem; border-radius: 8px;
	background: #E3EAF3 var(--log-icon) center / 1rem no-repeat;
}
.log-item--design::before, .log-item--removed::before { background-color: #F6EBDB; }
.log-item--devotional { --log-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A5F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20v15H6.5A2.5 2.5 0 0 0 4 20.5z'/%3E%3Cpath d='M4 20.5A2.5 2.5 0 0 0 6.5 23H20v-5'/%3E%3Cpath d='M12 7v6M9 10h6'/%3E%3C/svg%3E"); }
.log-item--video { --log-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A5F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='6' width='13' height='12' rx='2.5'/%3E%3Cpath d='m15.5 10.5 6-3.5v10l-6-3.5'/%3E%3C/svg%3E"); }
.log-item--minutes { --log-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A5F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2.5H6.5a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2.5V8h5.5M8 13h8M8 16.5h5'/%3E%3C/svg%3E"); }
.log-item--design { --log-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 4.7L18.5 9.5l-4.7 1.8L12 16l-1.8-4.7L5.5 9.5l4.7-1.8z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3C/svg%3E"); }
.log-item--removed { --log-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E"); }
.log-item--site { --log-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3A5F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3.5 17.5a2 2 0 0 0 2.8 2.8l5.8-5.8a4 4 0 0 0 5.4-5.4l-2.6 2.6-2.4-.4-.4-2.4z'/%3E%3C/svg%3E"); }
.log-note { margin-top: .75rem; color: var(--wp--preset--color--muted); }
.log-note > * { margin: 0; }
@media (max-width: 781px) {
	.log-hero { grid-template-columns: minmax(0, 1fr); }
	.log-hero-image { order: -1; }
}
@media (max-width: 600px) {
	.log-entry { grid-template-columns: 3.25rem minmax(0, 1fr); gap: .9rem; }
	.log-entry::before { left: 1.625rem; }
	.log-entry__date { width: 3.25rem; height: 3.25rem; border-radius: 11px; }
	.log-entry__day { font-size: 1.25rem; }
	.log-entry__card { padding: .95rem 1rem 1.05rem; }
	.log-content > p:first-child { font-size: 1.05rem; }
	.log-stats { flex-direction: column; }
	.log-stats span + span::before { content: none; }
}

/* ---------- Spotlight Reports: online form and reports (inc/spotlight.php) ---------- */
.spotlight-cta { text-align: center; margin: 0 0 var(--wp--preset--spacing--50) !important; }
.spotlight-btn {
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: .8rem 1.5rem; border: 0; border-radius: 999px;
	background: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink) !important; font: inherit; font-weight: 600;
	text-decoration: none !important; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.spotlight-btn:hover, .spotlight-btn:focus-visible { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white) !important; }
.archive-content > .spotlight-form-wrap {
	max-width: none !important; margin-top: var(--wp--preset--spacing--60) !important; scroll-margin-top: 6rem;
	padding: clamp(1.25rem, 3vw, 2.25rem); border: var(--gcsmn-border); border-radius: var(--gcsmn-radius); background: var(--wp--preset--color--white);
}
.spotlight-form-wrap > .eyebrow { margin: 0; }
.spotlight-form__title { margin: .4rem 0 .5rem !important; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.spotlight-form__lead { margin: 0 0 1.5rem; color: var(--wp--preset--color--muted); }
.spotlight-notice { margin: 0 0 1.5rem; padding: .9rem 1.1rem; border-radius: 10px; }
.spotlight-notice--ok { background: #E4F2E9; border: 1px solid #B9DCC6; color: #234F33; }
.spotlight-notice--err { background: #FBEAE7; border: 1px solid #F0C3BA; color: #7A2617; }
.spotlight-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spotlight-fs { margin: 0 0 1.5rem; padding: 0; border: 0; min-width: 0; }
.spotlight-fs > legend {
	width: 100%; margin-bottom: 1rem; padding: 0 0 .5rem; border-bottom: 1px solid var(--wp--preset--color--stone);
	font-family: var(--wp--preset--font-family--heading); font-size: 1.25rem; font-weight: 600; color: var(--wp--preset--color--navy);
}
.spotlight-private { font-family: var(--wp--preset--font-family--body); font-size: .85rem; font-weight: 400; color: var(--wp--preset--color--muted); }
.spotlight-grid { display: grid; gap: 1rem 1.25rem; }
.spotlight-grid--4 { grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); align-items: end; }
.spotlight-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spotlight-field { margin: 0 0 1.1rem !important; display: flex; flex-direction: column; gap: .35rem; }
.spotlight-grid .spotlight-field { margin: 0 !important; }
.spotlight-field--half { max-width: 36rem; }
.spotlight-field label { font-weight: 600; color: var(--wp--preset--color--navy); line-height: 1.35; }
.spotlight-optional { font-weight: 400; color: var(--wp--preset--color--muted); }
.spotlight-help, .spotlight-none { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.spotlight-none { color: #8A5A1F; }
.spotlight-field input, .spotlight-field select, .spotlight-field textarea {
	width: 100%; box-sizing: border-box; padding: .7rem .85rem; font: inherit; color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--stone); border-radius: 10px; background: var(--wp--preset--color--cream);
}
.spotlight-field textarea { min-height: 7rem; resize: vertical; line-height: 1.5; }
.spotlight-field select:disabled { opacity: .6; }
.spotlight-field :is(input, select, textarea):hover, .spotlight-field :is(input, select, textarea):focus { border-color: var(--wp--preset--color--amber); }
.spotlight-field :is(input, select, textarea):focus { outline: 2px solid var(--wp--preset--color--amber); outline-offset: 1px; background: var(--wp--preset--color--white); }
.spotlight-submit { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.spotlight-draft-note { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
@media (max-width: 781px) {
	.spotlight-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.spotlight-grid--4 .spotlight-field--wide { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.spotlight-grid--4, .spotlight-grid--2 { grid-template-columns: minmax(0, 1fr); }
	.spotlight-btn { width: 100%; }
}
/* A published online report inside its card */
.spotlight-report { margin-top: 1.25rem; }
.spotlight-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.5rem; }
.spotlight-stat { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: 1rem .75rem; border-radius: 12px; background: var(--wp--preset--color--cream); text-align: center; }
.archive-content .wp-block-details .spotlight-stat__num { font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; line-height: 1.1; color: var(--wp--preset--color--navy) !important; }
.archive-content .wp-block-details .spotlight-stat__label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--muted) !important; }
.spotlight-qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; }
.spotlight-qa__item { min-width: 0; }
.archive-content .wp-block-details .spotlight-qa__q { margin: 0 0 .35rem !important; font-size: 1.05rem; color: var(--wp--preset--color--navy) !important; }
.spotlight-qa__a p { margin: 0 0 .5rem; line-height: 1.55; }
.spotlight-qa__a p:last-child { margin-bottom: 0; }
@media (max-width: 781px) { .spotlight-qa { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .spotlight-stats { gap: .5rem; } .spotlight-stat { padding: .75rem .4rem; } }

/* ---------- Event RSVPs (inc/rsvp.php, assets/js/rsvp.js) ---------- */
.event-card.has-aside { grid-template-columns: 6.5rem minmax(0, 1fr) minmax(13rem, 17rem); }
.event-btn--rsvp { cursor: pointer; font-family: inherit; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }
.event-btn--rsvp:hover, .event-btn--rsvp:focus-visible { background: var(--wp--preset--color--amber); color: var(--wp--preset--color--ink); }
.event-rsvp {
	align-self: start; padding: 1rem 1.1rem; border-radius: 12px;
	background: var(--wp--preset--color--cream); border: 1px solid var(--wp--preset--color--stone);
}
.event-rsvp.is-updated { animation: rsvp-flash 1.2s ease; }
@keyframes rsvp-flash { 0% { box-shadow: 0 0 0 3px var(--wp--preset--color--amber); } 100% { box-shadow: 0 0 0 0 transparent; } }
.event-rsvp__title {
	display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem;
	font-family: var(--wp--preset--font-family--body); font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	color: var(--wp--preset--color--navy);
}
.event-rsvp__count {
	display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem; border-radius: 999px;
	background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); font-size: .8rem; letter-spacing: 0;
}
.event-rsvp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; max-height: 16rem; overflow-y: auto; }
.event-rsvp__list li { display: flex; flex-direction: column; line-height: 1.3; }
.event-rsvp__name { font-weight: 600; color: var(--wp--preset--color--ink); }
.event-rsvp__church { font-size: .8125rem; color: var(--wp--preset--color--muted); }
.event-rsvp__empty { margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.rsvp-dialog {
	width: min(28rem, calc(100vw - 2rem)); padding: 0; border: 0; border-radius: var(--gcsmn-radius);
	background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink); box-shadow: 0 30px 60px -20px rgba(20, 39, 64, .45);
}
.rsvp-dialog::backdrop { background: rgba(20, 39, 64, .45); }
.rsvp-form { display: flex; flex-direction: column; gap: .45rem; padding: 1.5rem; }
.rsvp-dialog__title { margin: 0; font-size: 1.6rem; }
.rsvp-dialog__event { margin: 0 0 .6rem; color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.rsvp-form label { margin-top: .4rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.rsvp-form select {
	width: 100%; padding: .65rem .8rem; font: inherit; border: 1px solid var(--wp--preset--color--stone); border-radius: 10px;
	background: var(--wp--preset--color--cream); color: var(--wp--preset--color--ink);
}
.rsvp-form select:focus { outline: 2px solid var(--wp--preset--color--amber); outline-offset: 1px; border-color: var(--wp--preset--color--amber); }
.rsvp-form select:disabled { opacity: .6; }
.rsvp-dialog__hint, .rsvp-dialog__msg { margin: .2rem 0 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.rsvp-dialog__hint:empty, .rsvp-dialog__msg:empty { display: none; }
.rsvp-dialog__msg.is-ok { color: #2E6B45; font-weight: 600; }
.rsvp-dialog__msg.is-err { color: #9A2C1A; font-weight: 600; }
.rsvp-dialog__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.rsvp-dialog__actions .event-btn { cursor: pointer; font-family: inherit; }
.rsvp-go:disabled { opacity: .5; cursor: not-allowed; }
.rsvp-go.is-remove { background: #FBEAE7; border-color: #F0C3BA; color: #7A2617; }
.rsvp-go.is-remove:hover { background: #F6D5CE; color: #7A2617; }
@media (max-width: 900px) {
	.event-card.has-aside { grid-template-columns: 6.5rem minmax(0, 1fr); }
	.event-card.has-aside .event-rsvp { grid-column: 2; }
}
@media (max-width: 600px) {
	.event-card.has-aside { grid-template-columns: 4.25rem minmax(0, 1fr); }
	.event-card.has-aside .event-rsvp { grid-column: 1 / -1; }
}

/* ---------- "I want to…" quick menu in the header (inc/quick-menu.php) ---------- */
.quick-menu { position: relative; flex: none; }
.quick-menu__toggle {
	display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; cursor: pointer;
	list-style: none; white-space: nowrap; font-size: var(--wp--preset--font-size--small); font-weight: 600;
	border: 1px solid var(--wp--preset--color--stone); background: var(--wp--preset--color--white); color: var(--wp--preset--color--navy);
	transition: border-color .15s ease, background-color .15s ease;
}
.quick-menu__toggle::-webkit-details-marker { display: none; }
.quick-menu__toggle:hover, .quick-menu[open] > .quick-menu__toggle { border-color: var(--wp--preset--color--navy); }
.quick-menu__toggle:focus-visible { outline: 3px solid var(--wp--preset--color--amber); outline-offset: 2px; }
.quick-menu__chev { flex: none; color: var(--wp--preset--color--amber); transition: transform .2s ease; }
.quick-menu[open] .quick-menu__chev { transform: rotate(180deg); }
.quick-menu__list {
	position: absolute; right: 0; top: calc(100% + .5rem); z-index: 60; width: max-content; max-width: min(24rem, calc(100vw - 2rem));
	margin: 0; padding: .4rem; list-style: none; border-radius: 14px;
	background: var(--wp--preset--color--white); border: var(--gcsmn-border);
	box-shadow: 0 2px 4px rgba(20,39,64,.06), 0 22px 44px -18px rgba(20,39,64,.4);
	animation: quick-menu-in .14s ease-out;
	max-height: calc(100vh - 7rem); overflow-y: auto; overscroll-behavior: contain;
}
@keyframes quick-menu-in { from { opacity: 0; transform: translateY(-4px); } }
.quick-menu__list a {
	display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: 10px;
	color: var(--wp--preset--color--ink); text-decoration: none; font-size: .95rem; line-height: 1.3;
}
.quick-menu__list a:hover, .quick-menu__list a:focus-visible { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--navy); outline: none; }
.quick-menu__list a[aria-current="page"] { background: #FBEBD6; color: #6F4815; }
.quick-menu__icon {
	flex: none; width: 2rem; height: 2rem; padding: .3rem; box-sizing: border-box; border-radius: 9px;
	background: #E3EAF3; color: var(--wp--preset--color--navy);
}
.quick-menu__label { flex: 1; }
/* Visitors see the visitor list, network members see theirs (one group at a time) */
.quick-menu__sublist { margin: 0; padding: 0; list-style: none; }
.quick-menu__group--visitors .quick-menu__icon { background: #F7E7D2; color: #8A5A1C; }
/* "Join today's Zoom call": only on a meeting day, for network members */
.quick-menu__guide { margin-bottom: .3rem; padding-bottom: .3rem; border-bottom: 1px solid var(--wp--preset--color--stone); }
.quick-menu__call { margin-bottom: .3rem; padding-bottom: .3rem; border-bottom: 1px solid var(--wp--preset--color--stone); }
.quick-menu__call a { font-weight: 600; color: var(--wp--preset--color--navy); }
.quick-menu__call .quick-menu__icon { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }
.quick-menu__sub { display: block; margin-top: .1rem; font-size: .8125rem; font-weight: 400; color: var(--wp--preset--color--muted); }
.quick-menu__live, .quick-menu__dot { flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: #2E8B57; box-shadow: 0 0 0 3px rgba(46,139,87,.18); }
.quick-menu__dot { margin-left: -.15rem; }
@media (prefers-reduced-motion: reduce) { .quick-menu__list { animation: none; } .quick-menu__chev { transition: none; } }
@media (max-width: 781px) {
	/* The list spans the header's width just below it, so it never runs off the screen. */
	.quick-menu { order: -1; position: static; }
	.quick-menu__toggle { padding: .45rem .8rem; }
	.quick-menu__list { left: 1rem; right: 1rem; top: calc(100% + .35rem); width: auto; max-width: none; }
}
@media (max-width: 380px) {
	.quick-menu__text { font-size: .8125rem; }
}

/* Footer: small "(PDF)" hint after a link */
.footer-link-note { opacity: .7; font-size: .85em; }
