/* =============================================================
   ST. JOHN'S CHURCH — CONSOLIDATED STYLESHEET
   All page-specific CSS merged here. Pages link only site.css.
   Sections are marked with the blocks/pages they serve.
   ============================================================= */

/* ===== CSS VARIABLES ===== */
:root {
	--background: 40 33% 96%;
	--foreground: 220 20% 18%;
	--primary: 345 45% 30%;
	--primary-foreground: 40 33% 96%;
	--secondary: 40 25% 88%;
	--secondary-foreground: 220 20% 18%;
	--muted: 40 20% 90%;
	/* 40%, not 45%: at 45% this text measures 3.96:1 on the secondary
	   background, below the 4.5 required. 40% clears every ground used. */
	--muted-foreground: 220 10% 40%;
	--accent: 43 55% 45%;
	/* The same gold, dark enough to read. At 45% the eyebrows and labels
	   measure 2.85:1 on cream; 31% clears 4.5 on every ground the design uses,
	   the tinted sections included. Decoration (dividers, pill backgrounds,
	   icons) keeps --accent; anything that is text uses this. */
	--accent-text: 43 55% 31%;
	--accent-foreground: 220 20% 12%;
	--border: 40 20% 85%;
	--ring: 345 45% 30%;
	--container-max: 1200px;
	--header-height: 4rem;
	--admin-bar-h: 0px; /* raised to the WP toolbar height on body.admin-bar */
	--shadow-sm: 0 1px 3px hsl(0 0% 0% / 0.06);
	--shadow-md: 0 4px 12px hsl(0 0% 0% / 0.1);
	--shadow-lg: 0 12px 28px hsl(0 0% 0% / 0.12);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { min-height: 100vh; background: hsl(var(--background)); font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif; color: hsl(var(--foreground)); }

/* ===== LAYOUT ===== */
.container {
	width: 100%;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

/* ===== ADMIN BAR OFFSET =====
   The WP toolbar is position:fixed over the viewport for logged-in users, so
   anything we pin to the top of the screen has to start below it. Core bumps
   the document itself (html { margin-top }), which fixed/sticky elements don't
   see. Below 601px core switches the bar to position:absolute (it scrolls away
   with the page), so the offset goes back to 0 there. */
body.admin-bar { --admin-bar-h: 32px; }
@media screen and (max-width: 782px) { body.admin-bar { --admin-bar-h: 46px; } }
@media screen and (max-width: 600px) {
	body.admin-bar { --admin-bar-h: 0px; }
	/* The bar scrolls away with the page here, so the header pins to the top and
	   main only has to clear what's left of the header below core's html bump. */
	body.admin-bar main { padding-top: calc(4rem - 46px); }
}

/* ===== HEADER ===== */
header {
	position: fixed;
	top: var(--admin-bar-h); left: 0; right: 0;
	z-index: 50;
	background: hsl(var(--background) / 0.95);
	backdrop-filter: blur(4px);
	border-bottom: 1px solid hsl(var(--border));
	transition: height 0.3s ease, box-shadow 0.3s ease;
	height: 4rem;
}
header.scrolled {
	height: 3rem;
	box-shadow: var(--shadow-sm);
}
header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}
.site-logo {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-weight: 600;
	color: hsl(var(--foreground));
	letter-spacing: 0.05em;
	text-decoration: none;
	font-size: 1.25rem;
	transition: all 0.3s;
	white-space: nowrap;
	flex-shrink: 0;
	padding-right: 2rem;
}

/* ===== NAV ===== */
.main-nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}
@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.nav-social {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: 0.5rem;
	padding-left: 1rem;
	border-left: 1px solid hsl(var(--border));
}
.nav-social a {
	color: hsl(var(--muted-foreground));
	transition: color 0.2s;
	display: flex;
}
.nav-social a:hover { color: hsl(var(--primary)); }

/* ===== MAIN ===== */
main { padding-top: 4rem; }
/* Anchor targets (e.g. /ministries#outreach) must clear the fixed header. */
[id] { scroll-margin-top: calc(4rem + var(--admin-bar-h) + 1.5rem); }

/* ===== SECTION BACKGROUNDS ===== */
.section-bg-white     { background: hsl(var(--background)); }
.section-bg-secondary { background: hsl(var(--secondary) / 0.3); }
.section-bg-secondary-50 { background: hsl(var(--secondary) / 0.5); }

/* ===== SECTION SPACING ===== */
.section-padded    { padding: 5rem 0; }
.section-padded-sm { padding: 4rem 0; }

/* ===== INNER-WIDTH CENTERING =====
   Apply to inner wrapper divs to constrain content width.
   .inner--sm  48rem  — prose, forms, timelines
   .inner--lg  64rem  — card grids, two-col layouts
   ================================= */
.inner--sm { max-width: 48rem; margin: 0 auto; }
.inner--lg { max-width: 64rem; margin: 0 auto; }

/* ===== SECTION HEADER (centered heading + divider + intro) ===== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header--lg { margin-bottom: 3.5rem; }
.section-header p {
	font-size: 0.9375rem;
	color: hsl(var(--muted-foreground));
	max-width: 36rem;
	margin: 0 auto;
}
.section-title {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 300;
	color: hsl(var(--foreground));
	margin-bottom: 0.75rem;
	line-height: 1.25;
}
.section-divider {
	width: 4rem;
	height: 1px;
	background: hsl(var(--accent));
	margin: 0 auto;
}
.section-divider-mb { margin-bottom: 1rem; }
.section-divider-light {
	width: 4rem;
	height: 1px;
	background: hsl(var(--primary-foreground) / 0.3);
	margin: 0 auto 1.5rem;
}
.section-intro {
	color: hsl(var(--muted-foreground));
	max-width: 36rem;
	margin: 0 auto;
}
.section-eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--accent-text));
	font-weight: 500;
	margin-bottom: 1rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
	display: inline-block;
	padding: 0.75rem 2rem;
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-size: 0.8125rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s;
	border: none;
	cursor: pointer;
	font-family: inherit;
}
.btn-primary:hover { background: hsl(var(--primary) / 0.9); }
/* Full-width block variant — for form submit buttons */
.btn--full { display: block; width: 100%; text-align: center; margin-bottom: 0.75rem; }
.btn-outline {
	display: inline-block;
	padding: 0.75rem 2rem;
	border: 1px solid hsl(var(--primary-foreground) / 0.4);
	color: hsl(var(--primary-foreground));
	font-size: 0.8125rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s;
}
.btn-outline:hover { background: hsl(var(--primary-foreground) / 0.1); }
/* Inverted button for use on primary-bg sections */
.btn-light {
	display: inline-block;
	background: hsl(var(--primary-foreground));
	color: hsl(var(--primary));
	padding: 0.625rem 1.5rem;
	font-size: 0.8125rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s ease;
}
.btn-light:hover { background: hsl(var(--primary-foreground) / 0.9); }

/* ===== FOCUS =====
   Keyboard focus was only ever the browser's default ring, which is faint on
   the maroon hero and the navy footer. Two rings — dark outline, light halo —
   so one of them is always visible whatever is behind it. */
:focus-visible {
	outline: 2px solid hsl(var(--foreground));
	outline-offset: 2px;
	box-shadow: 0 0 0 4px hsl(var(--background));
}
/* On the dark panels the roles swap round. */
.solid-hero :focus-visible,
.img-hero :focus-visible,
.page-cta :focus-visible,
.photo-cta-band :focus-visible,
footer :focus-visible {
	outline-color: hsl(var(--primary-foreground));
	box-shadow: 0 0 0 4px hsl(var(--foreground));
}

/* ===== FORM FEEDBACK =====
   Result message shown after a form posts, plus the off-screen honeypot the
   spam check relies on (it must stay reachable in the DOM, just not visible). */
.form-notice {
	padding: 0.75rem 1rem;
	margin-bottom: 1.25rem;
	border-radius: 0.375rem;
	font-size: 0.9375rem;
	border: 1px solid transparent;
}
.form-notice--ok {
	background: hsl(var(--secondary) / 0.6);
	border-color: hsl(var(--accent) / 0.4);
	color: hsl(var(--foreground));
}
.form-notice--error {
	background: hsl(var(--primary) / 0.08);
	border-color: hsl(var(--primary) / 0.35);
	color: hsl(var(--primary));
}
.stjohns-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ===== ICON CIRCLE ===== */
/* Used by: ministry cards, staff cards, contact icons, faculty avatars */
.icon-circle {
	border-radius: 50%;
	background: hsl(var(--primary) / 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: hsl(var(--primary));
	transition: background-color 0.3s ease; 
}
.icon-circle:hover {
	background: hsl(var(--primary) / 0.25);
}
.icon-circle--sm { width: 2.5rem; height: 2.5rem; }
.icon-circle--md { width: 3.5rem; height: 3.5rem; }
.icon-circle--lg { width: 4rem;   height: 4rem;   }
/* Staff photograph at the top of a person card — or, on .icon-circle, the
   initial standing in for one, so a card without a photo stays the same size.
   Two classes deep to outrank core's .wp-block-image margin. */
.person-card .person-avatar {
	width: 5rem;
	height: 5rem;
	margin: 0;
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
}
.person-card .person-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.icon-circle.person-avatar span { font-size: 1.75rem; }
/* Editor only: an empty photo slot (Vestry Member block) is WordPress's
   image placeholder. Let it out of the 5rem circle so it reads as a box to
   click (then Add image), whatever WordPress puts inside it. */
.person-card .person-avatar:has(> .components-placeholder) {
	width: 100%;
	height: auto;
	border-radius: 0;
	overflow: visible;
}
/* Initial letter inside icon circles */
.icon-circle span {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.25rem;
	color: hsl(var(--primary));
	font-weight: 600;
}

/* ===== PERSON CARD (person/role display component) =====
   Unified component for displaying people with roles/descriptions and icons.
   Variants: --centered (centered layout), --boxed (with background/padding)
   Used by: About (leadership), Academy (faculty), Ministries/Index (beliefs) */
.person-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	text-align: left;
}
.person-card.person-card--centered {
	text-align: center;
	align-items: center;
}
.person-card.person-card--boxed {
	background: hsl(var(--card, var(--secondary)));
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem;
	padding: 1.5rem;
	align-items: flex-start;
	text-align: left;
}
/* "Send Lisa a message" under a staff bio: links to the contact form with
   that person's role already chosen. */
.person-card .person-contact { margin-top: 1rem; }
.person-card.person-card--boxed.person-card--centered {
	align-items: center;
	text-align: center;
}
/* h2 where the cards are the page's top level (Clergy & Staff), h3 under a
   section heading (The Vestry): the heading order stays unbroken either way. */
.person-card :is(h2, h3) {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.125rem;
	color: hsl(var(--foreground));
	margin-bottom: 0;
	font-weight: 400;
}
.person-card .role {
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	font-weight: 500;
	margin-bottom: 0.25rem;
}
.person-card > p {
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	line-height: 1.7;
	margin: 0;
}

/* ===== BADGE (small pill label) =====
   Used in card headers to indicate category/type.
   .badge         — primary color (default)
   .badge--accent — accent color (e.g. "new", "featured")
   ======================================= */
.badge {
	font-size: 0.625rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.125rem 0.5rem;
	border-radius: 0.25rem;
	border: 1px solid transparent;
	flex-shrink: 0;
	white-space: nowrap;
	background: hsl(var(--primary) / 0.1);
	color: hsl(var(--primary));
	border-color: hsl(var(--primary) / 0.2);
}
.badge--accent {
	background: hsl(var(--accent) / 0.15);
	color: hsl(var(--accent-text));
	border-color: hsl(var(--accent) / 0.3);
}

/* ===== DOT LIST ===== */
/* Flex column list with accent bullet dots */
.dot-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.dot-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}
.dot-list li::before {
	content: '';
	display: block;
	width: 0.3125rem;
	height: 0.3125rem;
	border-radius: 50%;
	background: hsl(var(--accent));
	flex-shrink: 0;
	margin-top: 0.4rem;
}

/* ===== TWO-COLUMN GRID (text + image) ===== */
/* Used by: Index, About, History, Worship, Music, Academy, Cemetery */
/* The multi-column tracks below are minmax(0, 1fr), not 1fr: a bare 1fr floors
   at the item's min-content width, and a figure holding a photo reports a
   min-content wide enough to blow the track past the container (the image
   column grabbed 886px of a 1024px grid on I'm New). Same trap as .cal-grid. */
.two-col-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
	max-width: 64rem;
	margin: 0 auto;
}
.two-col-grid img {
	width: 100%;
	object-fit: cover;
}
.col-title {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 300;
	color: hsl(var(--foreground));
	margin-bottom: 1.5rem;
	line-height: 1.25;
}
.col-title span { font-style: italic; }

/* Column order utilities for image-left / image-right variants */
.col-order-first  { order: 1; }
.col-order-second { order: 2; }

/* ===== GRID-2COL (generic responsive 2-col grid) ===== */
/* Used by: sermons, ministries, giving, academy programs */
.grid-2col {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.grid-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.grid-2col--gap-lg { gap: 3rem; }
.grid-2col--max-64 { max-width: 64rem; margin: 0 auto; }

/* ===== IMAGE ASPECT RATIO UTILITIES =====
   Images with aspect ratios will crop/zoom to fill their containers.
   Uses object-fit: cover to maintain aspect ratio while filling space. */
.img-ratio-4-3,
.img-ratio-4-5,
.img-ratio-1-1 {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.img-ratio-4-3 { aspect-ratio: 4 / 3; }
.img-ratio-4-5 { aspect-ratio: 4 / 5; }
.img-ratio-1-1 { aspect-ratio: 1 / 1; }

/* ===== BODY TEXT ===== */
.body-text {
	color: hsl(var(--muted-foreground));
	line-height: 1.7;
	margin-bottom: 1rem;
}
.body-text-mb-lg { margin-bottom: 1.5rem; }

/* ===== INLINE TEXT LINK ===== */
.text-link {
	font-size: 0.8125rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--primary));
	text-decoration: none;
	border-bottom: 1px solid hsl(var(--primary) / 0.3);
	padding-bottom: 0.25rem;
	transition: color 0.2s;
}
.text-link:hover { color: hsl(var(--primary) / 0.8); }

/* ===== DETAIL CARD (information card component) =====
   Base card component for displaying information/details.
   Variants: --horizontal (flex layout with icon + content)
   Used by: Academy programs, info sections, Cemetery details */
.detail-card {
	border: 1px solid hsl(var(--border));
	border-radius: 0.25rem;
	background: hsl(var(--card, var(--background)));
	color: hsl(var(--card-foreground, var(--foreground)));
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.2s;
}
.detail-card:hover {
	box-shadow: var(--shadow-md);
}
.detail-card__body {
	padding: 1.5rem;
}
@media (min-width: 768px) {
	.detail-card__body {
		padding: 2rem;
	}
}
/* Horizontal layout variant: icon on left, content on right */
.detail-card--horizontal .detail-card__body {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}
.detail-card--horizontal svg {
	color: hsl(var(--primary));
	flex-shrink: 0;
	margin-top: 0.125rem;
}
.detail-card h3 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.25rem;
	color: hsl(var(--foreground));
	font-weight: 400;
	margin-bottom: 0.5rem;
}
.detail-card__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}
.detail-card__body p {
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	line-height: 1.625;
	margin-bottom: 1rem;
	margin: 0;
}
.detail-card__body p:first-child {
	font-weight: 500;
	color: hsl(var(--foreground));
	margin-bottom: 0.25rem;
}
.detail-card__body p:last-child {
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

/* ===== RULED ITEM (accent left-border list entry) =====
   Used by: service lists, holy days, concert listings, interment entries
   .ruled-item     — accent border
   .ruled-list     — the containing flex-column list
   ======================================================= */
.ruled-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.ruled-item {
	border-left: 2px solid hsl(var(--accent));
	padding-left: 1.25rem;
	padding-top: 0.125rem;
	padding-bottom: 0.125rem;
}
.ruled-item h3 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.125rem;
	color: hsl(var(--foreground));
	font-weight: 400;
	margin-bottom: 0.25rem;
}
.ruled-item p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.65; }

/* ===== FORM FIELDS ===== */
/* Used by: Contact, Giving */
.form-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
@media (min-width: 640px) {
	.form-row { grid-template-columns: 1fr 1fr; }
}
.form-field {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	margin-bottom: 1.25rem;
}
.form-field label {
	font-size: 0.875rem;
	font-weight: 500;
	color: hsl(var(--foreground));
}
.form-field input,
.form-field textarea,
.form-field select {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid hsl(var(--border));
	border-radius: 0.375rem;
	background: hsl(var(--background));
	font-family: inherit;
	font-size: 0.875rem;
	color: hsl(var(--foreground));
	box-sizing: border-box;
	transition: border-color 0.15s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
	outline: none;
	border-color: hsl(var(--ring));
	box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}
.form-field textarea {
	resize: none;
	min-height: 8rem;
}
.form-hint { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin: 0; }

/* Grouped sections — the Charitable Trust grant application (inc/forms.php).
   A section is headed like a card title; a sub-group (the contact's name, each
   fiscal year) is labelled like a field, with its own field labels quieter. */
.form-section,
.form-subgroup { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-section { margin-bottom: 1.5rem; }
.form-section > legend {
	width: 100%;
	padding: 0 0 0.5rem;
	margin-bottom: 1.25rem;
	border-bottom: 1px solid hsl(var(--border));
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.3;
	color: hsl(var(--foreground));
}
.form-subgroup > legend {
	padding: 0;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: hsl(var(--foreground));
}
.form-subgroup .form-field label { font-weight: 400; color: hsl(var(--muted-foreground)); }
.form-subgroup .form-field select { height: 2.375rem; }   /* level with the inputs beside it */
@media (min-width: 640px) {
	.form-row--3 { grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) minmax(0, 1fr); }
}
.grant-calendar { margin: 2rem 0 2.5rem; }

/* Choice groups and consents — the Music Camp registration (inc/forms.php).
   Radios and checkboxes must shed the text-input box .form-field gives inputs. */
.form-choice,
.form-consent { border: 0; padding: 0; min-width: 0; }
.form-choice > legend,
.form-consent > legend {
	padding: 0;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: hsl(var(--foreground));
}
.form-choice__options { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.form-choice__options label,
.form-consent__agree {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: hsl(var(--foreground));
	cursor: pointer;
}
.form-choice input,
.form-consent input {
	width: 1rem;
	height: 1rem;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	accent-color: hsl(var(--primary));
}
.form-consent__text {
	margin: 0 0 0.625rem;
	padding: 0.75rem 1rem;
	border-radius: 0.375rem;
	background: hsl(var(--secondary) / 0.4);
	font-size: 0.8125rem;
	line-height: 1.6;
	color: hsl(var(--muted-foreground));
}
.camp-details { margin: 2rem 0 2.5rem; }

/* ===== ANNOUNCEMENTS ===== */
.announcements-container { max-width: 56rem; margin: 0 auto; }
.announcement {
	border-bottom: 1px solid hsl(var(--border));
	padding-bottom: 2rem;
	margin-bottom: 2rem;
}
.announcement:last-child { border-bottom: none; margin-bottom: 0; }
.announcement-date {
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--accent-text));
	font-weight: 500;
	margin-bottom: 0.5rem;
}
.announcement-title {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(1.125rem, 2.5vw, 1.5rem);
	color: hsl(var(--foreground));
	margin-bottom: 0.5rem;
	font-weight: 400;
}
.announcement-body {
	color: hsl(var(--muted-foreground));
	line-height: 1.7;
}
/* The body is the announcement's own content (inc/cpt.php), so it may hold
   several paragraphs or a list. */
.announcement-body > * { margin: 0; }
.announcement-body > * + * { margin-top: 0.75rem; }

/* ===== NEWSLETTER ===== */
.newsletter-section { max-width: 48rem; margin: 0 auto; text-align: center; }
.newsletter-section svg { margin: 0 auto 1rem; display: block; color: hsl(var(--accent)); }
.newsletter-section h2 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 300;
	color: hsl(var(--foreground));
	margin-bottom: 0.75rem;
}
.newsletter-section h2 span { font-style: italic; }
.newsletter-section p {
	color: hsl(var(--muted-foreground));
	margin-bottom: 2rem;
	max-width: 32rem;
	margin-left: auto;
	margin-right: auto;
}
.newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-width: 28rem;
	margin: 0 auto;
}
/* Not bare `flex: 1`: its 0% basis overrides the height while the form is a
   column (under 640px) and squashed the box to 18px. */
.newsletter-form input {
	flex: 1 1 auto;
	min-width: 0;
	height: 3rem;
	padding: 0 1rem;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--background));
	color: hsl(var(--foreground));
	font-size: 0.875rem;
	outline: none;
}
.newsletter-form input:focus { box-shadow: 0 0 0 2px hsl(var(--accent) / 0.5); }
.newsletter-form input::placeholder { color: hsl(var(--muted-foreground)); }
.newsletter-form button {
	height: 3rem;
	padding: 0 2rem;
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-size: 0.8125rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
}
.newsletter-form button:hover { background: hsl(var(--primary) / 0.9); }
/* On the maroon CTA band (Newsletter page) a maroon button vanishes into the
   band. Invert it the way .btn-light does — the static design had a .btn-light
   "Sign Up" link here before the real form replaced it. */
.page-cta .newsletter-form button { background: hsl(var(--primary-foreground)); color: hsl(var(--primary)); }
.page-cta .newsletter-form button:hover { background: hsl(var(--primary-foreground) / 0.9); }

/* ===== FOOTER ===== */
footer {
	background: hsl(var(--foreground));
	color: hsl(var(--primary-foreground) / 0.8);
	padding: 4rem 0;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	max-width: 64rem;
	margin: 0 auto;
}
.footer-col :is(h2, h3) {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.25rem;
	color: hsl(var(--primary-foreground));
	margin-bottom: 1rem;
	font-weight: 400;
}
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.5rem; }
/* The phone/email items are anchors; without this they take the global link
   colour (maroon) and sit at ~1.4:1 against the dark footer. */
a.footer-contact-item {
	color: hsl(var(--primary-foreground) / 0.8);
	text-decoration: none;
	transition: color 0.2s;
}
a.footer-contact-item:hover { color: hsl(var(--primary-foreground)); }
.footer-contact-item svg { opacity: 0.6; flex-shrink: 0; margin-top: 2px; }
/* A long address or link wraps inside its column rather than spilling out of it. */
.footer-contact-item span, .footer-links a { min-width: 0; overflow-wrap: anywhere; }
.footer-times { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-links a {
	color: hsl(var(--primary-foreground) / 0.8);
	text-decoration: none;
	display: block;
	transition: color 0.2s;
}
.footer-links a:hover { color: hsl(var(--primary-foreground)); }
.footer-bottom {
	border-top: 1px solid hsl(var(--primary-foreground) / 0.15);
	margin-top: 3rem;
	padding-top: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.75rem;
	color: hsl(var(--primary-foreground) / 0.6);
}
.footer-bottom p { margin-bottom: 0.25rem; }
/* Diocese · Episcopal Church · Anglican Communion. Each name stays whole when
   the line wraps; the links keep the strip's colour, not the global maroon. */
.footer-affiliation a { color: inherit; text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.footer-affiliation a:hover { color: hsl(var(--primary-foreground)); text-decoration: underline; }
.footer-affiliation span { margin: 0 0.25rem; }
.footer-social { display: flex; align-items: center; gap: 1rem; }
.footer-social a {
	color: hsl(var(--primary-foreground) / 0.5);
	transition: color 0.2s;
	display: flex;
}
.footer-social a:hover { color: hsl(var(--primary-foreground)); }

/* ===== ANIMATIONS ===== */
@keyframes kenBurns {
	from { transform: scale(1); }
	to { transform: scale(1.08); }
}
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(1.5rem); }
	to { opacity: 1; transform: translateY(0); }
}

/* ===== LIGHT RAYS (hero decoration) ===== */
.light-ray {
	position: absolute;
	top: 0;
	width: 120px;
	height: 120%;
	background: radial-gradient(ellipse at center, hsl(var(--primary-foreground) / 0.25) 0%, hsl(var(--primary-foreground) / 0.15) 30%, transparent 70%);
	filter: blur(40px);
	transform-origin: top center;
	opacity: 0.8;
}
.light-ray-1 { left: 15%; transform: rotate(25deg) skewY(-5deg); }
.light-ray-2 { left: 45%; transform: rotate(-10deg) skewY(5deg); }
.light-ray-3 { right: 20%; transform: rotate(-25deg) skewY(-5deg); }

/* =============================================================
   BLOCK: HERO-FULL (full-bleed photo hero — Index only)
   ============================================================= */
.hero-section {
	position: relative;
	min-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
	width: 100%; height: 100%;
	object-fit: cover;
	animation: kenBurns 20s ease-in-out infinite alternate;
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background: hsl(var(--foreground) / 0.55);
}
.hero-rays { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-content {
	position: relative;
	z-index: 10;
	text-align: center;
	padding: 0 1.5rem;
	max-width: 48rem;
	margin: 0 auto;
}
.hero-eyebrow {
	color: hsl(var(--primary-foreground) / 0.8);
	font-size: 0.875rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin-bottom: 1rem;
	animation: fadeInUp 0.8s ease forwards;
	opacity: 0;
}
.hero-title {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(2.25rem, 6vw, 4.5rem);
	font-weight: 300;
	color: hsl(var(--primary-foreground));
	margin-bottom: 1.5rem;
	animation: fadeInUp 0.8s 0.2s ease forwards;
	opacity: 0;
	line-height: 1.2;
}
.hero-title span { display: block; font-style: italic; font-weight: 400; }
.hero-subtitle {
	color: hsl(var(--primary-foreground) / 0.9);
	font-size: 1.125rem;
	font-weight: 300;
	margin-bottom: 1rem;
	animation: fadeInUp 0.8s 0.4s ease forwards;
	opacity: 0;
}
.hero-cta {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: center;
	margin-top: 2rem;
	animation: fadeInUp 0.8s 0.6s ease forwards;
	opacity: 0;
}

/* =============================================================
   BLOCK: INFO-BAR (sticky contact strip — Index)
   ============================================================= */
.info-bar {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border-bottom: 1px solid hsl(var(--primary) / 0.2);
	box-shadow: var(--shadow-md);
	padding: 0.875rem 0;
	transition: padding 0.3s ease;
}
.info-bar.scrolled { padding: 0.35rem 0; }
.info-bar-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	text-align: center;
}
.info-bar-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	text-decoration: none;
	color: inherit;
	transition: font-size 0.3s ease, gap 0.3s ease;
}
.info-bar.scrolled .info-bar-item { font-size: 0.72rem; gap: 0.35rem; }
.info-bar-item svg { opacity: 0.8; flex-shrink: 0; width: 16px; height: 16px; transition: width 0.3s ease, height 0.3s ease; }
.info-bar.scrolled .info-bar-item svg { width: 12px; height: 12px; }
.info-bar-item span { opacity: 0.9; }

/* =============================================================
   BLOCK: HERO-SOLID (primary-bg page hero — most inner pages)
   Replaces: .solid-hero, .page-hero (About), worship-hero
   ============================================================= */
.solid-hero {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	padding: 3rem 0;
	text-align: center;
}
.solid-hero--tall { padding: 6rem 0; }
.solid-hero-icon {
	margin: 0 auto 1rem;
	display: block;
	opacity: 0.8;
}
.solid-hero h1 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 600;
	margin-bottom: 0.5rem;
	line-height: 1.15;
}
.solid-hero p {
	color: hsl(var(--primary-foreground) / 0.8);
	font-size: 1.125rem;
	max-width: 40rem;
	margin: 0 auto;
	line-height: 1.7;
}
.hero-citation {
	font-size: 0.875rem;
	color: hsl(var(--primary-foreground) / 0.6);
	margin-top: 0.5rem;
}
/* Eyebrow variant inside solid-hero */
.solid-hero .section-eyebrow {
	color: hsl(var(--primary-foreground) / 0.8);
	margin-bottom: 0.5rem;
}
/* z-index fix so content sits above any decorative pseudo-elements */
.solid-hero .container { position: relative; z-index: 1; }

/* Worship page uses full-bleed photo hero: reuse .img-hero */
.img-hero {
	position: relative;
	overflow: hidden;
}
.img-hero-bg { position: absolute; inset: 0; }
.img-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.img-hero-overlay {
	position: absolute;
	inset: 0;
	background: hsl(var(--foreground) / 0.65);
}
.img-hero-content {
	position: relative;
	z-index: 10;
	text-align: center;
	padding: 5rem 0;
	color: hsl(var(--primary-foreground));
}
@media (min-width: 768px) { .img-hero-content { padding: 8rem 0; } }
.img-hero-icon { margin: 0 auto 1rem; display: block; opacity: 0.8; }
.img-hero-content h1 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(2.25rem, 6vw, 3.75rem);
	font-weight: 600;
	margin-bottom: 1rem;
	line-height: 1.15;
}
.img-hero-content p {
	color: hsl(var(--primary-foreground) / 0.8);
	font-size: 1.125rem;
	max-width: 42rem;
	margin: 0 auto;
}

/* =============================================================
   BLOCK: MINISTRIES-GRID (icon + heading + text cards)
   Used by: Index preview, About pillars, Worship pillars
   ============================================================= */
.ministries-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	max-width: 64rem;
	margin: 0 auto;
}
/* Photograph heading each ministry card; the centered card would otherwise
   shrink the figure to nothing. */
.ministries-grid .ministry-photo {
	width: 100%;
	border-radius: 0.5rem;
	overflow: hidden;
}

/* =============================================================
   BLOCK: PHOTO-CTA-BAND (full-bleed image with overlay CTA)
   Used by: About, History, Music, Academy, Ministries, Cemetery
   ============================================================= */
.photo-cta-band {
	position: relative;
	height: 16rem;
	overflow: hidden;
}
@media (min-width: 768px) { .photo-cta-band { height: 20rem; } }
.photo-cta-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-cta-band-overlay {
	position: absolute;
	inset: 0;
	background: hsl(var(--foreground) / 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
}
.photo-cta-band-content {
	text-align: center;
	color: hsl(var(--primary-foreground));
	padding: 0 1rem;
}
.photo-cta-band-content h2 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 600;
	margin-bottom: 0.75rem;
}
.photo-cta-band-content p {
	color: hsl(var(--primary-foreground) / 0.8);
	margin-bottom: 1.25rem;
	max-width: 28rem;
	margin-left: auto;
	margin-right: auto;
}

/* =============================================================
   BLOCK: PAGE-CTA (primary-bg centered CTA band)
   Used by: Index giving strip, Music join band, Academy enroll,
            Worship plan-your-visit
   --wide: 5rem padding (Index); default: 4rem (inner pages)
   ============================================================= */
.page-cta {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}
/* .page-cta--wide: wider padding variant — use section-padded on the element */
.page-cta-inner {
	text-align: center;
	max-width: 40rem;
	margin: 0 auto;
}
.page-cta-icon { margin: 0 auto 1rem; display: block; opacity: 0.7; }
.page-cta h2 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 300;
	margin-bottom: 1rem;
}
.page-cta p {
	color: hsl(var(--primary-foreground) / 0.85);
	line-height: 1.7;
	max-width: 32rem;
	margin: 0 auto 1.5rem;
}
/* Links inside the CTA band inherit the light text colour — the global link
   colour is the same maroon as the band and would be invisible here. */
.page-cta a:not(.wp-block-button__link):not(.btn-primary):not(.btn-outline) {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
.page-cta a:not(.wp-block-button__link):not(.btn-primary):not(.btn-outline):hover {
	color: hsl(var(--primary-foreground) / 0.8);
}
/* Inverted btn used inside .page-cta */

/* =============================================================
   BLOCK: FAQ
   ============================================================= */
.faq-section {
	max-width: 48rem;
	margin: 0 auto;
	padding: 5rem 0;
}
.faq-group { margin-bottom: 3rem; }
.faq-group-title {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.5rem;
	color: hsl(var(--foreground));
	font-weight: 400;
	margin-bottom: 1.25rem;
}
.faq-item {
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem;
	overflow: hidden;
	margin-bottom: 0.5rem;
}
.faq-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	text-align: left;
	background: none;
	border: none;
	cursor: pointer;
	transition: background 0.15s;
	font-family: inherit;
}
.faq-btn:hover { background: hsl(var(--secondary) / 0.4); }
.faq-btn span { font-size: 0.875rem; font-weight: 500; color: hsl(var(--foreground)); }
.faq-btn svg { flex-shrink: 0; color: hsl(var(--muted-foreground)); transition: transform 0.2s; }
.faq-item.open .faq-btn svg { transform: rotate(180deg); }
.faq-body { display: none; padding: 0 1.25rem 1rem; }
.faq-item.open .faq-body { display: block; }
.faq-body p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }

/* =============================================================
   BLOCK: HISTORY TIMELINE
   ============================================================= */
/* Timeline width constrained by inner--sm wrapper */
.hist-entry { display: flex; gap: 1.5rem; margin-bottom: 0; }
.hist-year { flex-shrink: 0; width: 6rem; text-align: right; padding-top: 0.125rem; }
.hist-year span {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.125rem;
	font-weight: 600;
	color: hsl(var(--primary));
}
.hist-connector { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.hist-dot {
	width: 0.75rem; height: 0.75rem;
	border-radius: 50%;
	background: hsl(var(--primary));
	flex-shrink: 0;
	margin-top: 0.375rem;
}
.hist-line { width: 1px; flex: 1; background: hsl(var(--border)); }
.hist-body { padding-bottom: 2.5rem; padding-top: 0.125rem; flex: 1; }
.hist-body :is(h2, h3) {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.125rem;
	font-weight: 400;
	color: hsl(var(--foreground));
	margin-bottom: 0.25rem;
}
.hist-body p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }
.hist-entry:last-child .hist-line { display: none; }
.hist-entry:last-child .hist-body { padding-bottom: 0; }

/* Timeline variant for the organ project: its left column holds date ranges
   ("Oct 2026 – Aug 31, 2027") rather than a single year, and each entry leads
   with a one-line summary above its detail. */
.hist-timeline--dates .hist-year { width: 9.5rem; }
@media (max-width: 639px) { .hist-timeline--dates .hist-year { width: 6.5rem; } }
.hist-body .hist-lead {
	font-size: 0.9375rem;
	color: hsl(var(--foreground));
	margin-bottom: 0.5rem;
}

/* =============================================================
   BLOCK: CALENDAR
   ============================================================= */
.cal-wrapper { padding: 2.5rem 0; }
.cal-toolbar {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2rem;
}
@media (min-width: 640px) { .cal-toolbar { flex-direction: row; } }
.cal-nav { display: flex; align-items: center; gap: 0.75rem; }
.cal-nav-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--background));
	border-radius: 0.25rem;
	cursor: pointer;
	color: hsl(var(--foreground));
	transition: background 0.15s, color 0.15s;
}
.cal-nav-btn:hover { background: hsl(var(--secondary)); }
.cal-month-title {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 600;
	color: hsl(var(--foreground));
	min-width: 13rem;
	text-align: center;
}
.cal-view-toggle { display: flex; align-items: center; gap: 0.5rem; }
.cal-view-btn {
	display: inline-flex; align-items: center; gap: 0.25rem;
	height: 2.25rem; padding: 0 0.75rem;
	font-size: 0.875rem; font-weight: 500;
	border-radius: 0.25rem; cursor: pointer;
	transition: background 0.15s, color 0.15s;
	border: 1px solid transparent;
}
.cal-view-btn--active { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.cal-view-btn--inactive { background: hsl(var(--background)); color: hsl(var(--foreground)); border-color: hsl(var(--border)); }
.cal-view-btn--inactive:hover { background: hsl(var(--secondary)); }
.cal-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.cal-filter-pill { font-size: 0.75rem; padding: 0.25rem 0.625rem; border-radius: 0.25rem; border: 1px solid transparent; }
/* Each pill wears its category's chip colours (--cat-* below), so the key
   above the grid matches the grid. */
.cal-filter-pill--worship     { background: hsl(var(--cat-worship) / 0.12);    color: hsl(345 45% 28%); border-color: hsl(var(--cat-worship) / 0.32); }
.cal-filter-pill--music       { background: hsl(var(--cat-music) / 0.12);      color: hsl(280 35% 28%); border-color: hsl(var(--cat-music) / 0.32); }
.cal-filter-pill--formation   { background: hsl(var(--cat-formation) / 0.12);  color: hsl(210 60% 28%); border-color: hsl(var(--cat-formation) / 0.32); }
.cal-filter-pill--parish-life { background: hsl(var(--cat-parish) / 0.12);     color: hsl(140 40% 24%); border-color: hsl(var(--cat-parish) / 0.32); }
.cal-filter-pill--community   { background: hsl(var(--cat-community) / 0.12);  color: hsl(25 55% 28%);  border-color: hsl(var(--cat-community) / 0.32); }
.cal-filter-pill--committees  { background: hsl(var(--cat-committees) / 0.12); color: hsl(220 15% 32%); border-color: hsl(var(--cat-committees) / 0.32); }
.cal-filter-pill--private     { background: transparent; color: hsl(var(--muted-foreground)); border-style: dashed; border-color: hsl(var(--border)); }
.cal-layout { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) { .cal-layout { flex-direction: row; } }
.cal-grid-wrap { flex: 1; min-width: 0; }
.cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 1px;
	background: hsl(var(--border));
	border-radius: 0.25rem;
	overflow: hidden;
}
.cal-dow {
	background: hsl(var(--muted));
	padding: 0.5rem 0;
	text-align: center;
	font-size: 0.75rem; font-weight: 500;
	color: hsl(var(--muted-foreground));
	text-transform: uppercase; letter-spacing: 0.05em;
}
.cal-day {
	background: hsl(var(--card, var(--background)));
	min-height: 80px; padding: 0.375rem;
	text-align: left; cursor: pointer;
	transition: background 0.15s;
	position: relative; border: none; width: 100%;
}
@media (min-width: 768px) { .cal-day { min-height: 100px; } }
.cal-day:hover { background: hsl(var(--secondary) / 0.5); }
.cal-day--outside { opacity: 0.6; }
.cal-day-num {
	font-size: 0.75rem; font-weight: 500;
	display: inline-flex; align-items: center; justify-content: center;
	width: 1.5rem; height: 1.5rem; border-radius: 50%;
}
.cal-day-num--today { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.cal-events { margin-top: 0.25rem; display: flex; flex-direction: column; gap: 0.125rem; }
.cal-chip {
	font-size: 10px; line-height: 1.3;
	padding: 0.125rem 0.25rem; border-radius: 0.25rem;
	overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
	border: 1px solid transparent;
}
@media (min-width: 768px) { .cal-chip { font-size: 0.75rem; } }
/* Category hues. Six categories need six chips that stay apart at the size a
   month grid renders them, which the old three-tints-of-burgundy set could not
   do. These reuse the liturgical hues already defined for the church-year page
   (.color-dot--*), so nothing new enters the palette.

   Each chip is a 12% wash of its hue with the same hue at 28% lightness for
   the text. 28% is the number that clears 4.5:1 on the wash for all six —
   worth keeping if these are ever retuned, since the chips carry 12px text. */
:root {
	--cat-worship:    345 45% 30%;   /* burgundy, as the primary */
	--cat-music:      280 35% 35%;   /* purple */
	--cat-formation:  210 60% 40%;   /* blue */
	--cat-parish:     140 40% 35%;   /* green */
	--cat-community:  25 55% 38%;    /* amber-brown */
	--cat-committees: 220 15% 38%;   /* slate */
}
.cal-chip--worship     { background: hsl(var(--cat-worship) / 0.12);    color: hsl(345 45% 28%); border-color: hsl(var(--cat-worship) / 0.32); }
.cal-chip--music       { background: hsl(var(--cat-music) / 0.12);      color: hsl(280 35% 28%); border-color: hsl(var(--cat-music) / 0.32); }
.cal-chip--formation   { background: hsl(var(--cat-formation) / 0.12);  color: hsl(210 60% 28%); border-color: hsl(var(--cat-formation) / 0.32); }
.cal-chip--parish-life { background: hsl(var(--cat-parish) / 0.12);     color: hsl(140 40% 24%); border-color: hsl(var(--cat-parish) / 0.32); }
.cal-chip--community   { background: hsl(var(--cat-community) / 0.12);  color: hsl(25 55% 28%);  border-color: hsl(var(--cat-community) / 0.32); }
.cal-chip--committees  { background: hsl(var(--cat-committees) / 0.12); color: hsl(220 15% 32%); border-color: hsl(var(--cat-committees) / 0.32); }
.cal-chip--private   { background: transparent; color: hsl(var(--muted-foreground)); border-style: dashed; border-color: hsl(var(--border)); }
.cal-sidebar { width: 100%; }
@media (min-width: 1024px) { .cal-sidebar { width: 20rem; flex-shrink: 0; } }
.cal-detail-card {
	border: 1px solid hsl(var(--border));
	border-radius: 0.25rem;
	background: hsl(var(--card, var(--background)));
	padding: 1.25rem;
}
.cal-detail-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* =============================================================
   BLOCK: SERMONS
   ============================================================= */
/* =============================================================
   BLOCK: SERMONS
   ============================================================= */

/* .promo-band — secondary-tinted section strip for calls-to-action / promos
   --flush:    adds a bottom separator border
   --padded:   4rem padding (default is 3rem)
   --centered: centered text layout (no split inner)
   ============================================================= */
.promo-band {
	background: hsl(var(--secondary) / 0.5);
	padding: 3rem 0;
}
.promo-band--flush   { border-bottom: 1px solid hsl(var(--border)); }
.promo-band--padded  { padding: 4rem 0; }
.promo-band--centered { text-align: center; }

/* Split layout: heading + action side-by-side on desktop */
.promo-band__inner {
	display: flex; flex-direction: column;
	align-items: center; gap: 1.5rem;
	max-width: 52rem; margin: 0 auto;
	text-align: center;
}
@media (min-width: 768px) {
	.promo-band__inner { flex-direction: row; justify-content: space-between; text-align: left; }
	.promo-band--centered .promo-band__inner { justify-content: center; text-align: center; }
}
.promo-band h2 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.5rem; font-weight: 400;
	color: hsl(var(--foreground)); margin-bottom: 0.375rem;
}
.promo-band p {
	font-size: 0.9375rem; color: hsl(var(--muted-foreground));
}
.promo-band--centered .promo-band p { margin: 0 auto; }

.ser-card {
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem;
	background: hsl(var(--background));
	padding: 1.5rem;
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.2s;
}
.ser-card:hover { box-shadow: var(--shadow-md); }
.ser-card-meta {
	display: flex; align-items: center; gap: 1rem;
	font-size: 0.75rem; color: hsl(var(--muted-foreground));
	margin-bottom: 0.75rem; flex-wrap: wrap;
}
.ser-card-meta span { display: flex; align-items: center; gap: 0.375rem; }
.ser-card :is(h2, h3),
.ser-card .wp-block-post-title {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.125rem; font-weight: 400;
	color: hsl(var(--foreground)); margin-bottom: 0.375rem;
}
.ser-card-scripture {
	font-size: 0.75rem; font-weight: 500; color: hsl(var(--accent-text));
	margin-bottom: 0.5rem; display: block;
}
.ser-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.65; }
.ser-archive-wrap { text-align: center; margin-top: 3rem; }
.ser-archive-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 0.875rem; font-weight: 500;
	color: hsl(var(--primary)); text-decoration: none; transition: color 0.15s;
}
.ser-archive-link:hover { color: hsl(var(--primary) / 0.8); }
/* "Show more sermons": the maroon outline button used on light grounds
   (blocks.css .is-style-outline-light). */
.ser-more-wrap { text-align: center; margin-top: 2.5rem; }
.ser-more {
	display: inline-block; padding: 0.75rem 2rem;
	border: 1px solid hsl(var(--primary) / 0.5);
	color: hsl(var(--primary)); font-size: 0.875rem; font-weight: 600;
	text-decoration: none; transition: background 0.15s, border-color 0.15s;
}
.ser-more:hover { background: hsl(var(--primary) / 0.06); border-color: hsl(var(--primary)); }
/* The Sermons page list: one column, narrow enough to read. The title link is
   stretched over the whole card, so anywhere on it opens the sermon, while
   keyboard users still get a single tab stop per sermon. */
.ser-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; max-width: 48rem; margin: 0 auto; }
.ser-list .ser-card { position: relative; }
.ser-card-link { color: inherit; text-decoration: none; }
.ser-card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ser-list .ser-card:hover .ser-card-link,
.ser-card-link:focus-visible { color: hsl(var(--primary)); }
.ser-list .ser-card:focus-within { box-shadow: var(--shadow-md); }

/* =============================================================
   BLOCK: WORSHIP PAGE
   ============================================================= */
/* Photo hero: uses .img-hero / .img-hero-overlay / .img-hero-content (defined above).
   Worship-specific overrides for the deeper padding and blockquote styling. */
.img-hero--worship .img-hero-content { padding: 5rem 0 8rem; }
@media (min-width: 768px) { .img-hero--worship .img-hero-content { padding: 8rem 0 10rem; } }
.img-hero--worship img {
	width: 100%; height: 100%;
	object-fit: cover;
	position: absolute; inset: 0;
}
/* .section-eyebrow inside a dark photo hero needs light color */
.img-hero .section-eyebrow {
	color: hsl(var(--primary-foreground) / 0.7);
}
.img-hero h1 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 600; margin-bottom: 1rem; line-height: 1.15;
}
.img-hero blockquote {
	font-style: italic; font-size: 1.125rem;
	color: hsl(var(--primary-foreground) / 0.8);
	max-width: 36rem; margin: 0 auto 0.5rem;
}
.img-hero cite {
	font-size: 0.875rem;
	color: hsl(var(--primary-foreground) / 0.6);
	font-style: normal;
}
.schedule-grid {
	display: grid; grid-template-columns: 1fr;
	gap: 1.5rem; max-width: 52rem; margin: 0 auto;
}
@media (min-width: 768px) { .schedule-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card {
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem; padding: 1.5rem;
	background: hsl(var(--background));
	display: flex; gap: 1rem; align-items: flex-start;
}
.service-card.featured { border-color: hsl(var(--primary) / 0.35); }
.service-card-day { flex-shrink: 0; text-align: center; min-width: 4rem; }
.service-card-day .day-label {
	font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
	color: hsl(var(--accent-text)); font-weight: 500; display: block; margin-bottom: 0.25rem;
}
.service-card-day .time {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.25rem; font-weight: 600; color: hsl(var(--foreground)); line-height: 1.2;
}
.service-card-body { border-left: 1px solid hsl(var(--border)); padding-left: 1rem; flex: 1; }
.service-card-body h3 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.125rem; color: hsl(var(--foreground)); font-weight: 400; margin-bottom: 0.35rem;
}
.service-card-body p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.65; margin-bottom: 0.6rem; }
.service-location { font-size: 0.75rem; color: hsl(var(--accent-text)); display: flex; align-items: center; gap: 0.375rem; }
/* Icon/pillar grid: 1 → 2 → 4 columns */
/* Flex rather than grid, so a short last row is centred instead of leaving
   empty columns on the right (I'm New's Next Steps went from four cards to
   three). Card widths are the old 1 / 2 / 4-column grid's, to the pixel. */
.icon-grid--4 {
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: 2rem; max-width: 64rem; margin: 0 auto;
}
.icon-grid--4 > * { flex: 0 0 100%; min-width: 0; }
@media (min-width: 640px)  { .icon-grid--4 > * { flex-basis: calc((100% - 2rem) / 2); } }
@media (min-width: 1024px) { .icon-grid--4 > * { flex-basis: calc((100% - 6rem) / 4); } }
/* holy-days list uses .ruled-list (already defined above) */
.schedule-intro { color: hsl(var(--muted-foreground)); max-width: 36rem; margin: 0 auto; }

/* =============================================================
   BLOCK: MUSIC PAGE
   ============================================================= */

/* Intro title (reusable col-title variant with lighter weight) */
.content-intro-title {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 300;
	color: hsl(var(--foreground)); line-height: 1.2; margin-bottom: 1.5rem;
}
.content-intro-title em { font-style: italic; }
.content-intro-body p {
	font-size: 0.9375rem; color: hsl(var(--muted-foreground));
	line-height: 1.7; margin-bottom: 1rem;
}

/* Callout row — icon + label + sub-label in a horizontal strip */
.callout-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.callout-row__icon { color: hsl(var(--accent)); flex-shrink: 0; }
.callout-row__label { font-size: 0.875rem; font-weight: 500; color: hsl(var(--foreground)); }
.callout-row__sub { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* Content grid — generic 2-col grid capped at 52rem */
/* Used by: ensemble cards, concert items */
.content-grid--2col {
	display: grid; grid-template-columns: 1fr;
	gap: 1.5rem; max-width: 52rem; margin: 0 auto;
}
@media (min-width: 640px) { .content-grid--2col { grid-template-columns: 1fr 1fr; } }

/* Ensemble card */
.ensemble-card {
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem; background: hsl(var(--background));
	padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.ensemble-card__inner { display: flex; align-items: flex-start; gap: 1rem; }
.ensemble-card__body { flex: 1; }
.ensemble-card__header {
	display: flex; align-items: flex-start; justify-content: space-between;
	gap: 0.5rem; margin-bottom: 0.25rem;
}
.ensemble-card__header h3 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.125rem; font-weight: 400; color: hsl(var(--foreground));
}
.ensemble-card__director { font-size: 0.75rem; color: hsl(var(--accent-text)); margin-bottom: 0.5rem; }
.ensemble-card__desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.65; margin-bottom: 0.5rem; }
.ensemble-card__rehearsal { font-size: 0.75rem; color: hsl(var(--muted-foreground)); display: flex; align-items: center; gap: 0.375rem; }

/* Event date label (concerts, schedule items) */
.event-when { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: hsl(var(--accent-text)); font-weight: 500; margin-bottom: 0.5rem; display: block; }

/* =============================================================
   BLOCK: ACADEMY OF MUSIC / PROSE SECTIONS
   ============================================================= */
/* .prose-section — narrow centered editorial text block
   --centered: applies text-align center to the inner container
   ================================================================= */
.prose-section--centered .prose-section__inner { text-align: center; }
.prose-section h2 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 300;
	color: hsl(var(--foreground)); margin-bottom: 1.5rem; line-height: 1.375;
}
.prose-section h2 span { font-style: italic; }
.prose-section p { color: hsl(var(--muted-foreground)); line-height: 1.625; margin-bottom: 1rem; }

/* Program grid — 1→2 col card grid, max 64rem
   Used by: programs/courses listing pages */
.program-grid {
	display: grid; gap: 1.5rem;
	max-width: 64rem; margin: 0 auto;
}
@media (min-width: 768px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }

/* Person grid — 1→2→4 col, max 64rem. For faculty, staff photo grids */
.person-grid {
	display: grid; gap: 1.5rem;
	max-width: 64rem; margin: 0 auto;
}
@media (min-width: 640px) { .person-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .person-grid { grid-template-columns: repeat(4, 1fr); } }

/* Two-person variant: without this the 4-column track leaves a pair of cards
   stranded against the left edge. */
.person-grid--pair { max-width: 34rem; }
@media (min-width: 1024px) { .person-grid--pair { grid-template-columns: repeat(2, 1fr); } }

/* Info grid — 1→2 col grid for info/detail cards, max constrained by parent inner--sm */
/* Flex, like .icon-grid--4, so an odd card out is centred under the others
   rather than left in the first column. Same widths as the old 2-column grid. */
.info-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.info-grid > * { flex: 0 0 100%; min-width: 0; }
@media (min-width: 640px) { .info-grid > * { flex-basis: calc((100% - 1rem) / 2); } }
.info-grid--spaced { margin-bottom: 2.5rem; }

/* =============================================================
   BLOCK: MINISTRIES
   ============================================================= */
/* Feature grid — 1→2 col card grid with larger gap */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: 1fr 1fr; } }

/* Feature card — bordered card with hover shadow */
.feature-card {
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem; background: hsl(var(--background));
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.2s; padding: 1.5rem;
}
@media (min-width: 768px) { .feature-card { padding: 2rem; } }
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-card__inner { display: flex; align-items: flex-start; gap: 1rem; }
.feature-card__body { flex: 1; }
.feature-card__body :is(h2, h3) {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.25rem; font-weight: 400; color: hsl(var(--foreground)); margin-bottom: 0.5rem;
}
.feature-card__body p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.65; margin-bottom: 1rem; }

/* Tag list + tag pill */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
	font-size: 0.75rem; background: hsl(var(--secondary));
	color: hsl(var(--secondary-foreground));
	border: 1px solid hsl(var(--border));
	padding: 0.25rem 0.625rem; border-radius: 0.25rem;
	text-decoration: none; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tag:hover { background: hsl(var(--primary) / 0.1); border-color: hsl(var(--primary) / 0.3); color: hsl(var(--primary)); }

/* Ministry / content single page */
/* .solid-hero handles the hero band; use it directly on single pages */
.back-link {
	display: inline-flex; align-items: center; gap: 0.375rem;
	font-size: 0.875rem; color: hsl(var(--primary-foreground) / 0.7);
	text-decoration: none; margin-bottom: 1rem; transition: color 0.15s;
}
.back-link:hover { color: hsl(var(--primary-foreground)); }
.prose-body { padding: 4rem 0; max-width: 48rem; margin: 0 auto; }
.lead-text { font-size: 1.125rem; color: hsl(var(--muted-foreground)); line-height: 1.75; margin-bottom: 2.5rem; }
.subsection-title,
.subsection h2 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.25rem; font-weight: 400; color: hsl(var(--foreground)); margin-bottom: 1rem;
}
.inline-cta {
	border-top: 1px solid hsl(var(--border)); padding-top: 2rem; margin-top: 2rem;
	display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
}
@media (min-width: 640px) { .inline-cta { flex-direction: row; align-items: center; } }
.inline-cta p { flex: 1; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* =============================================================
   BLOCK: CONTACT PAGE
   ============================================================= */
.contact-layout {
	display: grid; grid-template-columns: 1fr;
	gap: 3rem; max-width: 64rem; margin: 0 auto;
}
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 2fr 3fr; } }
/* .col-heading — small serif block heading used above column content */
.col-heading {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	font-weight: 400;
	color: hsl(var(--foreground));
	margin-bottom: 1rem;
	line-height: 1.3;
}
.contact-info-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-info-label { font-size: 0.875rem; font-weight: 500; color: hsl(var(--foreground)); }
.contact-info-value { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.map-placeholder {
	background: hsl(var(--muted)); border-radius: 0.5rem;
	height: 400px;
	overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	text-align: center; color: hsl(var(--muted-foreground));
}
.map-placeholder .mapouter,
.map-placeholder .gmap_canvas,
.map-placeholder iframe {
	width: 100% !important;
	height: 100% !important;
	display: block;
}
.map-placeholder svg { opacity: 0.4; display: block; margin: 0 auto 0.5rem; }
.map-placeholder p:first-of-type { font-size: 0.875rem; }
.map-placeholder p:last-of-type { font-size: 0.75rem; opacity: 0.6; }
.contact-form-card {
	background: hsl(var(--background));
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem; padding: 2rem;
}
.contact-form-intro { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }

/* =============================================================
   BLOCK: GIVING PAGE
   ============================================================= */
.giving-col-subhead { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }
/* Flex, not a fixed grid: the tiles share the row evenly whatever their
   number, so adding or removing a preset amount is a content change and never
   a CSS one. */
.giving-amounts {
	display: flex; flex-wrap: wrap;
	gap: 0.75rem; margin-bottom: 1.25rem;
}
.giving-amounts > * { flex: 1 1 4.5rem; }
.giving-amount-btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 2.5rem;
	/* padding lives on the anchor, so the whole tile is the click target */
	padding: 0;
	font-size: 0.875rem; font-weight: 500;
	border: 1px solid hsl(var(--border)); border-radius: 0.375rem;
	background: hsl(var(--background)); color: hsl(var(--foreground));
	cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
/* The presets are links to Tithe.ly now, not form controls: let the anchor
   fill its tile so the whole box is the click target, and light the tile up
   on keyboard focus as well as hover. */
.giving-amount-btn a {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%; padding: 0 1rem;
	color: inherit; text-decoration: none;
}
.giving-amount-btn:hover,
.giving-amount-btn:focus-within,
.giving-amount-btn.active { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); border-color: hsl(var(--accent)); }
.giving-other-ways { margin-top: 2.5rem; }
.giving-other-ways h3 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.25rem; color: hsl(var(--foreground)); font-weight: 400; margin-bottom: 1rem;
}
.giving-other-list { display: flex; flex-direction: column; gap: 0.75rem; }
.giving-other-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.giving-other-item svg { color: hsl(var(--primary)); flex-shrink: 0; margin-top: 0.125rem; }
.giving-other-item p:first-child { font-size: 0.875rem; font-weight: 500; color: hsl(var(--foreground)); }
.giving-other-item p:last-child { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.giving-pledge-card {
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem; background: hsl(var(--card, var(--background))); padding: 1.5rem;
}
@media (min-width: 768px) { .giving-pledge-card { padding: 2rem; } }
.giving-pledge-card h2 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.5rem; font-weight: 400; color: hsl(var(--foreground)); margin-bottom: 0.375rem;
}
.giving-pledge-card > p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }
.giving-pledge-card .form-field { margin-bottom: 1rem; }
.giving-pledge-card .form-field label { display: block; margin-bottom: 0.375rem; }
.giving-pledge-card .form-field select { height: 2.5rem; }
.giving-pledge-card .form-field textarea { min-height: 5rem; }
.giving-disclaimer { font-size: 0.6875rem; color: hsl(var(--muted-foreground)); text-align: center; }

/* =============================================================
   BLOCK: CEMETERY PAGE
   ============================================================= */
/* Section heading variant: smaller serif, centered */
.section-heading--sm {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 300;
	color: hsl(var(--foreground)); margin-bottom: 2rem; text-align: center;
}
/* info-grid is defined above in the Academy block */
/* .ruled-list / .ruled-item used for interment entries — already defined */
.interments-header { text-align: center; margin-bottom: 2.5rem; }
.interments-header h2 {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 300;
	color: hsl(var(--foreground)); margin-bottom: 0.75rem;
}

/* =============================================================
   ABOUT PAGE (pillars + leadership grids)
   ============================================================= */

.leadership-grid {
	display: grid; grid-template-columns: 1fr;
	gap: 2rem; max-width: 48rem; margin: 0 auto;
}
@media (min-width: 640px) { .leadership-grid { grid-template-columns: repeat(2, 1fr); } }
/* Vestry page: one row per class, stacked; its members' cards run across the
   row in an .icon-grid--4, which centres a row of fewer than four. */
.vestry-class + .vestry-class { margin-top: 3rem; }
.vestry-class > .section-eyebrow { text-align: center; margin-bottom: 1.25rem; }

/* =============================================================
   BLOCK: VESTRY MINUTES (inc/vestry-minutes.php)
   ============================================================= */
.min-sr {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.min-recent + .wp-block-buttons { margin-top: 2.5rem; }
.min-archive { max-width: 48rem; margin: 0 auto; }
.min-empty { text-align: center; }

/* Count + decade timeline: one bar per decade, as tall as its meetings. */
.min-overview { text-align: center; margin-bottom: 2.5rem; }
.min-stats {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.25rem; color: hsl(var(--foreground)); margin-bottom: 1.25rem;
}
.min-stats strong { font-size: 1.75rem; font-weight: 600; color: hsl(var(--primary)); }
.min-timeline { overflow-x: auto; padding: 0 0.25rem 0.25rem; }
.min-timeline__bars {
	list-style: none; margin: 0; padding: 0;
	/* Narrow enough that 1820s-2020s (21 bars) fit a phone without scrolling. */
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0.75rem, 1fr);
	gap: 2px; align-items: end; height: 8rem;
}
.min-timeline__bars li { height: 100%; }
.min-bar {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	height: 100%; padding-bottom: 1.5rem; text-decoration: none;
}
.min-bar__fill {
	display: block; width: 100%; border-radius: 2px 2px 0 0;
	background: hsl(var(--primary) / 0.7); transition: background 0.15s;
}
a.min-bar:hover .min-bar__fill,
a.min-bar:focus-visible .min-bar__fill { background: hsl(var(--primary)); }
.min-bar.is-empty .min-bar__fill {
	height: 100%; background: transparent;
	border: 1px dashed hsl(var(--muted-foreground) / 0.4); border-bottom: 0;
}
.min-bar__label {
	position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
	font-size: 0.6875rem; white-space: nowrap; color: hsl(var(--muted-foreground));
	font-variant-numeric: tabular-nums;
}
.min-timeline__bars li:first-child .min-bar__label { left: 0; transform: none; }
.min-timeline__bars li:last-child .min-bar__label { left: auto; right: 0; transform: none; }
.min-legend { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-top: 0.75rem; }

/* The minutes' own search. */
.min-search { max-width: 32rem; margin: 0 auto 3rem; }
.min-search__row { display: flex; gap: 0.5rem; }
.min-search input {
	padding: 0.5rem 0.75rem; border: 1px solid hsl(var(--border)); border-radius: 0.375rem;
	background: hsl(var(--background)); font-family: inherit; font-size: 0.9375rem;
	color: hsl(var(--foreground));
}
.min-search input:focus { border-color: hsl(var(--ring)); }
.min-search input[type="search"] { flex: 1; min-width: 0; }
.min-search button {
	background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border: 0;
	padding: 0.5rem 1.5rem; font-size: 0.8125rem; letter-spacing: 0.12em;
	text-transform: uppercase; font-weight: 600; cursor: pointer;
}
.min-search button:hover { background: hsl(var(--primary) / 0.9); }
.min-search__years {
	display: flex; align-items: center; justify-content: center; gap: 0.5rem;
	margin-top: 0.75rem; font-size: 0.8125rem; color: hsl(var(--muted-foreground));
}
.min-search__years input { width: 6rem; padding: 0.375rem 0.5rem; }

/* Decades (styled as the site's accordion by .wp-block-details in blocks.css). */
.min-heading {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.5rem; font-weight: 400; text-align: center;
	color: hsl(var(--foreground)); margin-bottom: 1.25rem;
}
.min-decade__name {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif; font-size: 1.25rem;
}
.min-decade__count { margin-left: auto; font-size: 0.8125rem; font-weight: 400; color: hsl(var(--muted-foreground)); }
.min-year {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-size: 1.125rem; font-weight: 600; color: hsl(var(--foreground));
	margin: 1.25rem 0 0.5rem; padding-bottom: 0.25rem; border-bottom: 1px solid hsl(var(--border));
}
.min-decade__body > .min-year:first-child { margin-top: 0.25rem; }
.min-rows {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap: 0.25rem 1rem;
}
/* Underlined: next to a plain-text type label, colour alone doesn't mark the
   date as a link (axe link-in-text-block). */
.min-rows a {
	color: hsl(var(--primary));
	text-decoration: underline; text-decoration-color: hsl(var(--primary) / 0.35); text-underline-offset: 2px;
}
.min-rows a:hover { text-decoration-color: currentColor; }
.min-type { font-size: 0.75rem; color: hsl(var(--accent-text)); }

/* Search results. */
.min-results-head { text-align: center; margin-bottom: 1.5rem; }
.min-count { color: hsl(var(--muted-foreground)); margin-bottom: 0.5rem; }
/* Full-strength text on a pale wash: the card's muted grey fails contrast on gold. */
.min-results mark { background: hsl(var(--accent) / 0.2); color: hsl(var(--foreground)); padding: 0 0.1em; border-radius: 2px; }
.min-pages {
	display: flex; justify-content: space-between; align-items: center; max-width: 48rem;
	margin: 2rem auto 0; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}
.min-pages a { color: hsl(var(--primary)); text-decoration: none; }

/* A sermon's, meeting's, ministry's or blog post's own page: 3rem between
   the hero and the text. The section around it is already padded, so
   .prose-body's own 4rem would double the gap. */
:is(.single-sermon, .single-vestry_minutes, .single-ministry, .single-post) .solid-hero + .section-padded { padding-top: 3rem; }
:is(.single-sermon, .single-vestry_minutes, .single-ministry, .single-post) .solid-hero + .section-padded .prose-body { padding: 0; }

/* A meeting's own page. */
.min-body .wp-block-post-content > p { color: hsl(var(--foreground)); line-height: 1.75; margin-bottom: 1rem; }
/* The sections the minutes name (Treasurer's Report, New Business…) and their lists. */
.min-body .wp-block-post-content > :is(h2, h3) {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-weight: 400;
	line-height: 1.25;
	color: hsl(var(--foreground));
	margin: 2.25rem 0 0.75rem;
}
.min-body .wp-block-post-content > h2 { font-size: 1.625rem; }
.min-body .wp-block-post-content > h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.min-body .wp-block-post-content :is(ul, ol) { padding-left: 1.5rem; margin-bottom: 1rem; }
.min-body .wp-block-post-content ul { list-style: disc; }
.min-body .wp-block-post-content ul ul { list-style: circle; }
.min-body .wp-block-post-content ol { list-style: decimal; }
.min-body .wp-block-post-content li { color: hsl(var(--foreground)); line-height: 1.75; }
.min-body .wp-block-post-content li + li,
.min-body .wp-block-post-content li > :is(ul, ol) { margin-top: 0.375rem; margin-bottom: 0; }
.min-credit { margin-top: 2rem; font-size: 0.875rem; font-style: italic; color: hsl(var(--muted-foreground)); }
.min-pager {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: center;
	margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid hsl(var(--border));
}
.min-pager a { text-decoration: none; color: hsl(var(--foreground)); }
.min-pager a:hover .min-pager__title { color: hsl(var(--primary)); }
.min-pager__prev { text-align: left; }
.min-pager__next { text-align: right; }
.min-pager a.min-pager__all {
	text-align: center; font-size: 0.8125rem; letter-spacing: 0.15em;
	text-transform: uppercase; color: hsl(var(--primary));
}
.min-pager__dir {
	display: block; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
	color: hsl(var(--muted-foreground)); margin-bottom: 0.125rem;
}
.min-pager__title { display: block; font-family: "Cormorant Garamond", Garamond, Georgia, serif; font-size: 1rem; }
@media (max-width: 40rem) {
	.min-pager { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.min-pager a.min-pager__all { grid-column: 1 / -1; order: -1; }
}

/* =============================================================
   RESPONSIVE OVERRIDES
   ============================================================= */
@media (min-width: 640px) {
	.hero-cta { flex-direction: row; }
	.newsletter-form { flex-direction: row; }
	.footer-bottom { flex-direction: row; }
	.info-bar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
	header { height: 4rem; }
	.site-logo { font-size: 1.5rem; }
	.two-col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.info-bar-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
	.ministries-grid { grid-template-columns: repeat(3, 1fr); }
	.info-bar { position: sticky; top: calc(4rem + var(--admin-bar-h)); z-index: 40; }
}

/* =============================================================
   UTILITIES SECTION
   Systematic layout, color, alignment, and interaction utilities
   Naming Convention:
   - Base classes: .property-value (e.g., .flex-col, .text-center)
   - Variants: .property--variant (e.g., .btn--primary, .flex--col)
   - States: .element:state (e.g., button:hover, input:focus)
   - Responsive: @media with .sm\:class, .md\:class, .lg\:class, .xl\:class
   ============================================================= */

/* ===== FLEXBOX UTILITIES ===== */
.flex { display: flex; }
.flex--row { flex-direction: row; }
.flex--col { flex-direction: column; }
.flex--wrap { flex-wrap: wrap; }
.flex--nowrap { flex-wrap: nowrap; }
.flex--grow { flex-grow: 1; }
.flex--shrink { flex-shrink: 1; }
.flex--shrink-0 { flex-shrink: 0; }

/* Flex alignment */
.items--start { align-items: flex-start; }
.items--center { align-items: center; }
.items--end { align-items: flex-end; }
.items--stretch { align-items: stretch; }
.items--baseline { align-items: baseline; }

/* Flex justification */
.justify--start { justify-content: flex-start; }
.justify--center { justify-content: center; }
.justify--end { justify-content: flex-end; }
.justify--between { justify-content: space-between; }
.justify--around { justify-content: space-around; }
.justify--evenly { justify-content: space-evenly; }

/* ===== GRID UTILITIES ===== */
.grid { display: grid; }

/* Grid columns */
.grid--cols-1 { grid-template-columns: 1fr; }
.grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid--cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Grid rows */
.grid--rows-1 { grid-template-rows: 1fr; }
.grid--rows-2 { grid-template-rows: repeat(2, 1fr); }
.grid--rows-3 { grid-template-rows: repeat(3, 1fr); }

/* Gap utilities */
.gap--0 { gap: 0; }
.gap--1 { gap: 0.25rem; }
.gap--2 { gap: 0.5rem; }
.gap--3 { gap: 0.75rem; }
.gap--4 { gap: 1rem; }
.gap--6 { gap: 1.5rem; }
.gap--8 { gap: 2rem; }
.gap--10 { gap: 2.5rem; }
.gap--12 { gap: 3rem; }

/* Gap directions */
.gap-x--2 { column-gap: 0.5rem; }
.gap-x--4 { column-gap: 1rem; }
.gap-x--6 { column-gap: 1.5rem; }
.gap-x--8 { column-gap: 2rem; }

.gap-y--2 { row-gap: 0.5rem; }
.gap-y--4 { row-gap: 1rem; }
.gap-y--6 { row-gap: 1.5rem; }
.gap-y--8 { row-gap: 2rem; }

/* ===== COLOR UTILITIES ===== */
/* Text colors - using CSS variables */
.text--primary { color: hsl(var(--primary)); }
.text--secondary { color: hsl(var(--secondary)); }
.text--foreground { color: hsl(var(--foreground)); }
.text--muted { color: hsl(var(--muted-foreground)); }
.text--accent { color: hsl(var(--accent-text)); }
.text--background { color: hsl(var(--background)); }

/* Background colors */
.bg--primary { background-color: hsl(var(--primary)); }
.bg--secondary { background-color: hsl(var(--secondary)); }
.bg--foreground { background-color: hsl(var(--foreground)); }
.bg--muted { background-color: hsl(var(--muted-foreground)); }
.bg--accent { background-color: hsl(var(--accent)); }
.bg--background { background-color: hsl(var(--background)); }

/* Background with opacity */
.bg--primary-10 { background-color: hsl(var(--primary) / 0.1); }
.bg--primary-20 { background-color: hsl(var(--primary) / 0.2); }
.bg--primary-30 { background-color: hsl(var(--primary) / 0.3); }
.bg--primary-50 { background-color: hsl(var(--primary) / 0.5); }

.bg--secondary-10 { background-color: hsl(var(--secondary) / 0.1); }
.bg--secondary-20 { background-color: hsl(var(--secondary) / 0.2); }
.bg--secondary-30 { background-color: hsl(var(--secondary) / 0.3); }
.bg--secondary-50 { background-color: hsl(var(--secondary) / 0.5); }

/* Border colors */
.border--primary { border-color: hsl(var(--primary)); }
.border--secondary { border-color: hsl(var(--secondary)); }
.border--foreground { border-color: hsl(var(--foreground)); }
.border--muted { border-color: hsl(var(--muted-foreground)); }
.border--accent { border-color: hsl(var(--accent)); }

/* ===== ALIGNMENT UTILITIES ===== */
/* Text alignment */
.text--left { text-align: left; }
.text--center { text-align: center; }
.text--right { text-align: right; }
.text--justify { text-align: justify; }

/* Vertical alignment (for inline elements) */
.align--baseline { vertical-align: baseline; }
.align--top { vertical-align: top; }
.align--middle { vertical-align: middle; }
.align--bottom { vertical-align: bottom; }

/* Object position (for images with object-fit: cover) */
.object--contain { object-fit: contain; }
.object--cover { object-fit: cover; }
.object--fill { object-fit: fill; }
.object--scale-down { object-fit: scale-down; }
.object--none { object-fit: none; }

.object-position--top { object-position: top center; }
.object-position--center { object-position: center; }
.object-position--bottom { object-position: bottom center; }
.object-position--left { object-position: center left; }
.object-position--right { object-position: center right; }

/* ===== OPACITY UTILITIES ===== */
.opacity--0 { opacity: 0; }
.opacity--10 { opacity: 0.1; }
.opacity--20 { opacity: 0.2; }
.opacity--30 { opacity: 0.3; }
.opacity--40 { opacity: 0.4; }
.opacity--50 { opacity: 0.5; }
.opacity--60 { opacity: 0.6; }
.opacity--70 { opacity: 0.7; }
.opacity--80 { opacity: 0.8; }
.opacity--90 { opacity: 0.9; }
.opacity--100 { opacity: 1; }

/* ===== HOVER STATE UTILITIES ===== */
/* Hover opacity effects */
.hover\:opacity--50:hover { opacity: 0.5; }
.hover\:opacity--60:hover { opacity: 0.6; }
.hover\:opacity--70:hover { opacity: 0.7; }
.hover\:opacity--80:hover { opacity: 0.8; }

/* Hover color effects */
.hover\:text--primary:hover { color: hsl(var(--primary)); }
.hover\:text--secondary:hover { color: hsl(var(--secondary)); }
.hover\:text--accent:hover { color: hsl(var(--accent)); }
.hover\:text--muted:hover { color: hsl(var(--muted-foreground)); }

.hover\:bg--primary:hover { background-color: hsl(var(--primary)); }
.hover\:bg--secondary:hover { background-color: hsl(var(--secondary)); }
.hover\:bg--accent:hover { background-color: hsl(var(--accent)); }

/* Hover shadow effects */
.hover\:shadow--sm:hover { box-shadow: var(--shadow-sm); }
.hover\:shadow--md:hover { box-shadow: var(--shadow-md); }
.hover\:shadow--lg:hover { box-shadow: var(--shadow-lg); }

/* Hover scale effects */
.hover\:scale--105:hover { transform: scale(1.05); }
.hover\:scale--110:hover { transform: scale(1.1); }

/* ===== RESPONSIVE UTILITIES =====
   Breakpoints: sm: 640px, md: 768px, lg: 1024px, xl: 1280px
   Usage: <div class="sm\:flex md\:grid--cols-2 lg\:gap--6">
   ============================================================= */

/* Small devices (640px and up) */
@media (min-width: 640px) {
	.sm\:flex { display: flex; }
	.sm\:grid { display: grid; }
	.sm\:block { display: block; }
	.sm\:inline { display: inline; }
	.sm\:hidden { display: none; }
	
	.sm\:flex--col { flex-direction: column; }
	.sm\:flex--row { flex-direction: row; }
	.sm\:flex--wrap { flex-wrap: wrap; }
	
	.sm\:items--center { align-items: center; }
	.sm\:justify--center { justify-content: center; }
	.sm\:justify--between { justify-content: space-between; }
	
	.sm\:grid--cols-1 { grid-template-columns: 1fr; }
	.sm\:grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
	.sm\:grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
	
	.sm\:gap--2 { gap: 0.5rem; }
	.sm\:gap--4 { gap: 1rem; }
	.sm\:gap--6 { gap: 1.5rem; }
	.sm\:gap--8 { gap: 2rem; }
	
	.sm\:text--left { text-align: left; }
	.sm\:text--center { text-align: center; }
	.sm\:text--right { text-align: right; }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
	.md\:flex { display: flex; }
	.md\:grid { display: grid; }
	.md\:block { display: block; }
	.md\:inline { display: inline; }
	.md\:hidden { display: none; }
	
	.md\:flex--col { flex-direction: column; }
	.md\:flex--row { flex-direction: row; }
	.md\:flex--wrap { flex-wrap: wrap; }
	
	.md\:items--center { align-items: center; }
	.md\:justify--center { justify-content: center; }
	.md\:justify--between { justify-content: space-between; }
	
	.md\:grid--cols-1 { grid-template-columns: 1fr; }
	.md\:grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
	.md\:grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
	.md\:grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
	
	.md\:gap--2 { gap: 0.5rem; }
	.md\:gap--4 { gap: 1rem; }
	.md\:gap--6 { gap: 1.5rem; }
	.md\:gap--8 { gap: 2rem; }
	
	.md\:text--left { text-align: left; }
	.md\:text--center { text-align: center; }
	.md\:text--right { text-align: right; }
}

/* Large devices (1024px and up) */
@media (min-width: 1024px) {
	.lg\:flex { display: flex; }
	.lg\:grid { display: grid; }
	.lg\:block { display: block; }
	.lg\:inline { display: inline; }
	.lg\:hidden { display: none; }
	
	.lg\:flex--col { flex-direction: column; }
	.lg\:flex--row { flex-direction: row; }
	.lg\:flex--wrap { flex-wrap: wrap; }
	
	.lg\:items--center { align-items: center; }
	.lg\:justify--center { justify-content: center; }
	.lg\:justify--between { justify-content: space-between; }
	
	.lg\:grid--cols-1 { grid-template-columns: 1fr; }
	.lg\:grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
	.lg\:grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
	.lg\:grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
	.lg\:grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
	.lg\:grid--cols-6 { grid-template-columns: repeat(6, 1fr); }
	
	.lg\:gap--2 { gap: 0.5rem; }
	.lg\:gap--4 { gap: 1rem; }
	.lg\:gap--6 { gap: 1.5rem; }
	.lg\:gap--8 { gap: 2rem; }
	
	.lg\:text--left { text-align: left; }
	.lg\:text--center { text-align: center; }
	.lg\:text--right { text-align: right; }
}

/* Extra large devices (1280px and up) */
@media (min-width: 1280px) {
	.xl\:flex { display: flex; }
	.xl\:grid { display: grid; }
	.xl\:block { display: block; }
	.xl\:inline { display: inline; }
	.xl\:hidden { display: none; }
	
	.xl\:flex--col { flex-direction: column; }
	.xl\:flex--row { flex-direction: row; }
	.xl\:flex--wrap { flex-wrap: wrap; }
	
	.xl\:items--center { align-items: center; }
	.xl\:justify--center { justify-content: center; }
	.xl\:justify--between { justify-content: space-between; }
	
	.xl\:grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
	.xl\:grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
	.xl\:grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
	.xl\:grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
	.xl\:grid--cols-6 { grid-template-columns: repeat(6, 1fr); }
	
	.xl\:gap--2 { gap: 0.5rem; }
	.xl\:gap--4 { gap: 1rem; }
	.xl\:gap--6 { gap: 1.5rem; }
	.xl\:gap--8 { gap: 2rem; }
	
	.xl\:text--left { text-align: left; }
	.xl\:text--center { text-align: center; }
	.xl\:text--right { text-align: right; }
}

/* =============================================================
   Page components — consolidated from former inline styles
   ============================================================= */

/* Church Year: season cards, header rows, and color swatches */
.season-card { border-radius: 0.5rem; margin-bottom: 1.5rem; }
.season-card:last-child { margin-bottom: 0; }
.season-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.icon-circle--purple { background: hsl(280 40% 25% / 0.15); color: hsl(280 40% 30%); }
.icon-circle--gold   { background: hsl(50 80% 50% / 0.15);  color: hsl(45 70% 35%); }
.icon-circle--green  { background: hsl(140 40% 30% / 0.15); color: hsl(140 40% 25%); }
.color-dot { width: 1.25rem; height: 1.25rem; border-radius: 50%; flex-shrink: 0; margin-top: 0.125rem; }
.color-dot--purple { background: hsl(280 35% 35%); }
.color-dot--blue   { background: hsl(210 60% 40%); }
.color-dot--gold   { background: hsl(45 80% 50%); }
.color-dot--red    { background: hsl(0 70% 40%); }
.color-dot--green  { background: hsl(140 40% 35%); }
.color-dot--black  { background: hsl(0 0% 25%); }

/* Content width variant (between inner--sm 48rem and inner--lg 64rem) */
.inner--md { max-width: 56rem; margin: 0 auto; }

/* Newsletter subscribe footnote (home CTA) */
.newsletter-note { margin-top: 0.75rem; font-size: 0.8125rem; color: hsl(var(--muted-foreground)); }
.newsletter-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Consent line under the signup box (inc/forms.php). Its colour comes from the
   section around it: muted on the home page, light on the maroon CTA band. */
p.newsletter-consent { max-width: 28rem; margin: 0.75rem auto 0; font-size: 0.8125rem; line-height: 1.5; }

/* Newsletter archive placeholder card */
.archive-card { text-align: center; padding: 4rem 2rem; }
.archive-card .icon-circle { margin: 0 auto 1.5rem; }
.archive-card h3 { font-family: "Cormorant Garamond", Garamond, Georgia, serif; font-size: 1.25rem; margin-bottom: 0.75rem; }
.archive-card p { max-width: 32rem; margin: 0 auto 1.5rem; }

/* =============================================================
   REDUCED MOTION
   Two kinds of motion run without being asked for: the home hero's Ken Burns
   zoom (20s, infinite, alternating) and the four hero entrance fades. The zoom
   is continuous motion lasting well over five seconds, which is what
   prefers-reduced-motion exists for.

   Note the opacity line. The entrance rules start each hero element at
   opacity 0 and rely on the animation's `forwards` fill to bring it up to 1.
   Kill the animations without restoring opacity and the hero text -- parish
   name included -- never appears at all. This block must stay at the end of
   the file: a media query adds no specificity, so it has to come after the
   .hero-* rules it overrides.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.hero-eyebrow, .hero-title, .hero-subtitle, .hero-cta { opacity: 1; }
}
