/*
Theme Name:   Gospel Alliance
Theme URI:    https://gospelalliance.org.ng
Author:       Eloti Designs
Author URI:   https://elotidesigns.com
Description:  Custom theme for Gospel Alliance Nigeria. Pairs with the Gospel Alliance Core plugin.
Version:      1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License:      Proprietary
Text Domain:  gospel-alliance
*/

/* ------------------------------------------------------------------
   Fonts: Literata (SIL Open Font License), self-hosted
------------------------------------------------------------------- */
@font-face {
	font-family: "Literata";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url(assets/fonts/literata-latin-opsz-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Literata";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url(assets/fonts/literata-latin-ext-opsz-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Literata";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url(assets/fonts/literata-latin-opsz-italic.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------
   Tokens. Taken from the logo: the gold flourish and the green sprout,
   set on evergreen "leather" with clean white leaves for reading.
------------------------------------------------------------------- */
:root {
	--leather: #15322b;
	--leather-2: #1d4038;
	--leather-3: #2b5548;
	--gilt: #d9b23c;
	--gilt-soft: #f0dc8c;
	--sprout: #7dc51f;
	--sprout-ink: #3f7a12;
	--rubric: #a3302a; /* errors and required marks only */
	--paper: #ffffff;
	--sage: #f1f4ef;
	--sage-2: #e3e9e2;
	--line: #d9e0d8;
	--ink: #1a2420;
	--ink-2: #4a5852;
	--on-dark: #eef1ec;
	--on-dark-2: #bfcbc4;

	--font: "Literata", Georgia, "Times New Roman", serif;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--band: clamp(56px, 8vw, 104px);
	--r-panel: 14px;
	--r-input: 8px;
	--r-img: 6px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 108px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-optical-sizing: auto;
	font-size: 1.0625rem;
	line-height: 1.7;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--leather-3); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--sprout-ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 600; line-height: 1.18; letter-spacing: -.012em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.45rem); }
h3 { font-size: 1.28rem; line-height: 1.3; letter-spacing: -.005em; }
h4 { font-size: 1.1rem; }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--gilt-soft); color: var(--ink); }

:focus-visible { outline: 3px solid var(--leather-3); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--gilt); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	background: var(--gilt); color: var(--leather); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(720px + 2 * var(--gutter)); }
.wrap--mid { max-width: calc(980px + 2 * var(--gutter)); }
.muted { color: var(--ink-2); }

/* ------------------------------------------------------------------
   Buttons and links
------------------------------------------------------------------- */
.ga-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .7em 1.4em;
	font: 600 1rem/1.2 var(--font); letter-spacing: 0;
	border-radius: 999px; border: 1.5px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.ga-btn .icon { width: 20px; height: 20px; }
.ga-btn--solid { background: var(--leather); color: #fff; }
.ga-btn--solid:hover { background: var(--leather-3); color: #fff; }
.ga-btn--gilt { background: var(--gilt); color: var(--leather); }
.ga-btn--gilt:hover { background: var(--gilt-soft); color: var(--leather); }
.ga-btn--ghost { border-color: rgba(240, 220, 140, .6); color: var(--on-dark); background: transparent; }
.ga-btn--ghost:hover { border-color: var(--gilt-soft); color: #fff; background: rgba(255, 255, 255, .06); }
.ga-btn--line { border-color: var(--leather); color: var(--leather); background: transparent; }
.ga-btn--line:hover { background: var(--leather); color: #fff; }

.text-link {
	font-weight: 600; color: var(--leather-3);
	text-decoration: underline; text-decoration-color: var(--gilt); text-decoration-thickness: 2px; text-underline-offset: .28em;
}
.text-link:hover { color: var(--sprout-ink); text-decoration-color: var(--sprout-ink); }

/* The gilded page edge: a row of fine gold lines, like the edge of a Bible. */
.gilt-edge {
	height: 9px;
	background: repeating-linear-gradient(to bottom, #ecd06a 0 1px, #a8851f 1px 2px, #d9b23c 2px 3px);
	opacity: .9;
}

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--leather);
	color: var(--on-dark);
	border-bottom: 1px solid rgba(217, 178, 60, .35);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; color: #fff; text-decoration: none; }
.brand img { height: 68px; width: auto; max-width: none; }
.brand__word { font-weight: 650; font-size: 1.35rem; letter-spacing: -.01em; line-height: 1; color: #fff; }
.brand__word small { display: block; font-size: .62em; font-weight: 500; color: var(--gilt-soft); margin-top: 4px; }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
	display: block; padding: 10px 12px; color: var(--on-dark); text-decoration: none;
	font-weight: 550; font-size: .98rem; line-height: 1.2; border-radius: 6px;
}
.nav__link:hover { color: var(--gilt-soft); }
.nav__item.is-here > .nav__link { color: #fff; box-shadow: inset 0 -2px 0 var(--gilt); border-radius: 0; }
.nav__toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 32px; margin-left: -8px; padding: 0;
	background: none; border: 0; color: var(--on-dark-2); cursor: pointer; border-radius: 6px;
}
.nav__toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__sub {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
	background: #fff; color: var(--ink); border-radius: 12px;
	box-shadow: 0 1px 0 rgba(217, 178, 60, .5) inset, 0 22px 48px -12px rgba(8, 26, 21, .35);
	opacity: 0; visibility: hidden; transform: translateY(-4px);
	transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .97rem; line-height: 1.35; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--sage); color: var(--leather); }
@media (min-width: 1081px) {
	.nav__item.has-sub:hover > .nav__sub,
	.nav__item.has-sub:focus-within > .nav__sub,
	.nav__item.has-sub.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.nav__item.is-open > .nav__toggle .icon { transform: rotate(180deg); }
	.nav__mobile-extra { display: none; }
}
.site-header__give { flex: 0 0 auto; min-height: 42px; padding: .55em 1.25em; }
.menu-toggle {
	display: none; align-items: center; gap: 8px; margin-left: auto;
	min-height: 44px; padding: 8px 14px; border-radius: 999px;
	background: transparent; color: var(--on-dark); border: 1.5px solid rgba(240, 220, 140, .45);
	font: 600 .95rem var(--font); cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle__close { display: none; }

@media (max-width: 1080px) {
	.site-header__inner { min-height: 68px; gap: 12px; }
	.brand img { height: 50px; }
	.menu-toggle { display: inline-flex; }
	.site-header__give { margin-left: auto; }
	.site-header__give + .menu-toggle { margin-left: 0; }
	.nav {
		position: fixed; inset: 69px 0 0 0; z-index: 99;
		background: var(--leather); overflow-y: auto; overscroll-behavior: contain;
		padding: 12px var(--gutter) 40px;
		display: none;
	}
	.admin-bar .nav { top: calc(69px + 46px); }
	.nav-open .nav { display: block; }
	.nav-open { overflow: hidden; }
	.nav-open .menu-toggle__open { display: none; }
	.nav-open .menu-toggle__close { display: inline-flex; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .09); }
	.nav__link { flex: 1; padding: 16px 4px; font-size: 1.2rem; }
	.nav__item.is-here > .nav__link { box-shadow: none; color: var(--gilt-soft); }
	.nav__toggle { width: 48px; height: 48px; margin: 0; color: var(--on-dark); }
	.nav__toggle .icon { width: 22px; height: 22px; }
	.nav__item.is-open > .nav__toggle .icon { transform: rotate(180deg); }
	.nav__sub {
		position: static; flex-basis: 100%; min-width: 0; display: none;
		opacity: 1; visibility: visible; transform: none; box-shadow: none;
		background: rgba(255, 255, 255, .05); border-radius: 10px; margin: 0 0 14px;
	}
	.nav__item.is-open > .nav__sub { display: block; }
	.nav__sub a { color: var(--on-dark); padding: 12px 14px; font-size: 1.05rem; }
	.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: var(--gilt-soft); }
	.nav__mobile-extra { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 24px; }
	.nav__contact { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; }
	.nav__contact .icon { width: 20px; height: 20px; color: var(--gilt); }
}
@media (max-width: 480px) {
	.site-header__give { display: none; }
	.menu-toggle { margin-left: auto; }
	.menu-toggle__label { display: none; }
	.menu-toggle { padding: 8px 10px; }
}

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------- */
.band { padding-block: var(--band); }
.band--tight { padding-block: clamp(40px, 6vw, 72px); }
.band--sage { background: var(--sage); }
.band--dark { background: var(--leather); color: var(--on-dark); }
.split-head { display: grid; gap: 8px 48px; margin-bottom: clamp(28px, 4vw, 48px); }
.split-head h2 { margin: 0; }
.split-head p { margin: 0; color: var(--ink-2); max-width: 62ch; }
@media (min-width: 900px) {
	.split-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; }
}
.split-head--row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }

/* Hero */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(900px 520px at 85% -10%, rgba(217, 178, 60, .16), transparent 60%),
		radial-gradient(700px 500px at -10% 110%, rgba(43, 85, 72, .7), transparent 60%),
		var(--leather);
	color: var(--on-dark);
}
.hero__grid { display: grid; gap: 48px; padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 120px); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.hero__title {
	color: #fff; font-weight: 560; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem);
	line-height: 1.06; letter-spacing: -.02em; margin-bottom: .45em; max-width: 17ch;
}
.hero__lead { color: var(--on-dark-2); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 54ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The leaf: a page of scripture with a ribbon marker. */
.leaf {
	position: relative; margin: 0;
	background: #fbfaf6; color: var(--ink);
	padding: clamp(36px, 4vw, 52px) clamp(28px, 3.5vw, 44px) clamp(30px, 3.5vw, 40px);
	border-radius: 3px 3px 3px 3px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 30px 60px -24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(217, 178, 60, .4);
	max-width: 480px; justify-self: center; width: 100%;
	animation: leaf-in .9s var(--ease) both .1s;
}
.leaf::before {
	content: ""; position: absolute; inset: 12px; pointer-events: none;
	border: 1px solid rgba(217, 178, 60, .45); border-radius: 2px;
}
.leaf__ribbon {
	position: absolute; top: -14px; right: 44px; width: 22px; height: 150px;
	background: linear-gradient(90deg, #4f8f12, var(--sprout) 45%, #4f8f12);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 88%, 0 100%);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
	transform-origin: top center;
	animation: ribbon-fall 1.1s var(--ease) both .45s;
}
.leaf__verse { margin: 0; }
.leaf__verse p {
	font-style: italic; font-weight: 420; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
	line-height: 1.5; margin: 0; padding-right: 48px; text-wrap: pretty;
}
.leaf__verse p::first-letter {
	font-style: normal; font-weight: 650; color: var(--sprout-ink);
	float: left; font-size: 3.4em; line-height: .82; margin: .06em .1em 0 0;
}
.leaf--motto .leaf__verse p { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); line-height: 1.3; padding-right: 56px; }
.leaf--motto .leaf__verse p::first-letter { float: none; font-size: inherit; line-height: inherit; margin: 0; font-style: inherit; font-weight: inherit; color: inherit; }
.leaf__ref { margin-top: 1.4rem; color: var(--sprout-ink); font-weight: 600; font-size: 1rem; }
@keyframes leaf-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ribbon-fall { from { transform: scaleY(.15); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Next gathering strip */
.next-up { background: var(--sage); border-bottom: 1px solid var(--line); }
.next-up__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-block: 18px; }
.next-up__when { display: inline-flex; align-items: center; gap: 8px; color: var(--sprout-ink); font-weight: 650; }
.next-up__when .icon { width: 20px; height: 20px; }
.next-up__what { margin: 0; flex: 1 1 320px; }
.next-up__what a { font-weight: 650; color: var(--ink); text-decoration: none; }
.next-up__what a:hover { color: var(--sprout-ink); }
.next-up__what span { color: var(--ink-2); margin-left: .5em; }

/* Who we are */
.about-cols { display: grid; gap: 36px 40px; }
@media (min-width: 700px) { .about-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .about-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.about-cols article { border-top: 2px solid var(--gilt); padding-top: 20px; }
.about-cols h3 { margin-bottom: .45em; }
.about-cols h3 a { color: var(--ink); text-decoration: none; }
.about-cols h3 a:hover { color: var(--sprout-ink); }
.about-cols p { color: var(--ink-2); margin: 0; font-size: .98rem; }

/* Mission */
.mission__grid { display: grid; gap: 32px 64px; }
@media (min-width: 960px) { .mission__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.mission__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.mission__list li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.mission__list h3 { margin-bottom: .25em; }
.mission__list p { margin: 0; color: var(--ink-2); }
.mission__icon {
	display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	background: var(--leather); color: var(--sprout);
}
.mission__icon .icon { width: 28px; height: 28px; }

/* Trainings catalogue */
.catalogue { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 56px; }
@media (min-width: 900px) { .catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.catalogue__item { border-top: 1px solid var(--line); padding: 26px 0 28px; }
.catalogue__item h3 { margin-bottom: .2em; }
.catalogue__format { color: var(--sprout-ink); font-style: italic; font-size: .98rem; margin-bottom: .55em; }
.catalogue__item p:not(.catalogue__format) { color: var(--ink-2); margin-bottom: .8em; }

/* Gatherings */
.gatherings__grid { display: grid; gap: 36px 72px; }
@media (min-width: 960px) { .gatherings__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.gatherings h2 { color: #fff; }
.gatherings p { color: var(--on-dark-2); max-width: 46ch; margin-bottom: 1.6rem; }
.gatherings__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(240, 220, 140, .25); }
.gatherings__list a {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	padding: 18px 2px; border-bottom: 1px solid rgba(240, 220, 140, .25);
	color: #fff; text-decoration: none; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 500;
}
.gatherings__cta { font-size: .95rem; font-weight: 600; color: var(--gilt); white-space: nowrap; }
.gatherings__list a:hover { color: var(--gilt-soft); }
.gatherings__list a:hover .gatherings__cta { color: var(--gilt-soft); text-decoration: underline; text-underline-offset: .25em; }

/* Library: the bookshelf */
.library__grid { display: grid; gap: 40px 64px; align-items: end; }
@media (min-width: 1000px) { .library__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.library__intro p { color: var(--ink-2); max-width: 40ch; }
.shelf {
	--shelf-h: 330px;
	position: relative; display: flex; align-items: flex-end; gap: 8px;
	height: var(--shelf-h); padding: 0 18px;
	overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: thin;
	border-bottom: 16px solid var(--leather-2);
	box-shadow: 0 3px 0 var(--gilt), 0 18px 24px -18px rgba(8, 26, 21, .5);
}
.spine {
	--tone: var(--leather);
	position: relative; flex: 1 1 0; scroll-snap-align: start;
	min-width: 58px; max-width: 86px; height: calc(var(--h, 90%) - 4px);
	display: flex; flex-direction: column; align-items: center; justify-content: space-between;
	padding: 22px 0 16px; border-radius: 4px 4px 2px 2px;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .08) 18%, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .22)),
		var(--tone);
	color: #f4ead2; text-decoration: none;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
	transition: transform .25s var(--ease);
}
.spine::before, .spine::after {
	content: ""; position: absolute; left: 8px; right: 8px; height: 5px;
	border-top: 1px solid var(--gilt); border-bottom: 1px solid var(--gilt);
}
.spine::before { top: 10px; }
.spine::after { bottom: 46px; }
.spine:hover, .spine:focus-visible { transform: translateY(-10px); color: #fff; }
.spine__title {
	writing-mode: vertical-rl; transform: rotate(180deg);
	font-weight: 600; font-size: 1.02rem; letter-spacing: .01em; line-height: 1.15;
	max-height: calc(100% - 64px); overflow: hidden; text-align: left;
}
.spine__count { font-weight: 650; font-size: .95rem; color: var(--gilt-soft); line-height: 1; }
.spine__count .icon { width: 22px; height: 22px; }
.spine--evergreen { --tone: #1f4a3d; }
.spine--oxblood { --tone: #6d2427; }
.spine--navy { --tone: #22314f; }
.spine--tan { --tone: #85592f; }
.spine--olive { --tone: #4d5530; }
.spine--teal { --tone: #24505a; }
.spine--plum { --tone: #4f2b45; }
.spine--video { --tone: #2a2d2b; }
@media (max-width: 640px) {
	.shelf { --shelf-h: 280px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
}

/* Post cards */
.cards { display: grid; gap: 40px 32px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; min-width: 0; }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-img); background: var(--sage-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--leather-3); }
.card__placeholder .icon { width: 44px; height: 44px; opacity: .55; }
.card__body { padding-top: 16px; }
.card__cat { font-size: .9rem; font-weight: 600; color: var(--sprout-ink); text-decoration: none; }
.card__cat:hover { text-decoration: underline; }
.card__title { font-size: 1.24rem; line-height: 1.3; margin: .3em 0 .35em; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--sprout-ink); }
.card__meta { color: var(--ink-2); font-size: .92rem; margin: 0; }

/* Quote */
.quote-band { padding-block: clamp(56px, 7vw, 96px); }
.quote { margin: 0 auto; max-width: 840px; text-align: center; }
.quote::before { content: ""; display: block; width: 72px; height: 2px; background: var(--gilt); margin: 0 auto 28px; }
.quote blockquote { margin: 0; }
.quote p { font-style: italic; font-weight: 420; font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.35rem); line-height: 1.35; letter-spacing: -.01em; margin: 0 0 .8em; text-wrap: balance; }
.quote figcaption { color: var(--ink-2); }

/* Invite panels */
.invite__grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .invite__grid { grid-template-columns: 1fr 1fr; } }
.invite__panel { border-radius: var(--r-panel); padding: clamp(28px, 4vw, 44px); }
.invite__panel h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.invite__panel p { color: var(--ink-2); max-width: 44ch; margin-bottom: 1.4em; }
.invite__panel--sage { background: var(--sage); }
.invite__panel--line { border: 1px solid var(--line); }
.invite__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--leather); color: var(--gilt); margin-bottom: 18px; }
.invite__icon .icon { width: 24px; height: 24px; }

/* ------------------------------------------------------------------
   Inner pages
------------------------------------------------------------------- */
.page-head { background: var(--sage); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4.5vw, 56px); }
.page-head__title { margin: 0; max-width: 22ch; }
.page-head__lead { margin: .9rem 0 0; color: var(--ink-2); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 60ch; }
.subnav { margin-top: 28px; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.subnav a {
	display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
	background: #fff; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem;
}
.subnav a:hover { border-color: var(--leather-3); color: var(--leather); }
.subnav a[aria-current="page"] { background: var(--leather); color: #fff; border-color: var(--leather); }

.page-body { padding-block: clamp(40px, 6vw, 80px); }
.page-cta {
	margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 4vw, 40px);
	border-radius: var(--r-panel); background: var(--sage); max-width: 760px;
}
.page-cta h2 { font-size: 1.6rem; }
.page-cta p { color: var(--ink-2); }
.page-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* About pages: text with a side panel */
.about-layout { display: grid; gap: 48px; }
@media (min-width: 1000px) { .about-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 80px; } }
.about-aside { align-self: start; position: sticky; top: 104px; }
.about-aside__leaf {
	position: relative; background: #fbfaf6; padding: 32px 28px 28px; border-radius: 3px;
	box-shadow: 0 0 0 1px var(--line), 0 18px 40px -26px rgba(8, 26, 21, .45);
}
.about-aside__leaf::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(217, 178, 60, .4); pointer-events: none; }
.about-aside__leaf h2 { font-size: 1.05rem; color: var(--sprout-ink); margin-bottom: .5em; }
.about-aside__leaf blockquote { margin: 0 0 1.2em; font-style: italic; font-size: 1.2rem; line-height: 1.5; }
.about-aside__facts { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .98rem; color: var(--ink-2); }
.about-aside__facts strong { color: var(--ink); font-weight: 650; }
.about-aside__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 999px) { .about-aside { position: static; } }

/* Long-form text */
.prose { max-width: 70ch; }
.prose--wide { max-width: none; }
.prose > *:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.95rem); margin: 1.8em 0 .55em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose h4 { margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--gilt); }
.prose ol li::marker { color: var(--sprout-ink); font-weight: 600; }
.prose blockquote {
	margin: 1.6em 0; padding: .2em 0 .2em 1.3em; border-left: 3px solid var(--gilt);
	font-style: italic; color: var(--ink);
}
.prose blockquote cite { display: block; margin-top: .5em; font-style: normal; color: var(--sprout-ink); font-size: .95em; }
.prose img { border-radius: var(--r-img); margin: 1.5em 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption, .wp-caption-text { font-size: .9rem; color: var(--ink-2); margin-top: .5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .98rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6em .5em; text-align: left; vertical-align: top; }
.prose th { font-weight: 650; }
.prose strong { font-weight: 650; }
.prose a[href$=".pdf"], .prose a[href$=".PDF"] {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .7em 1.2em; margin: .3em 0; border-radius: 999px;
	background: var(--leather); color: #fff; font-weight: 600; text-decoration: none; line-height: 1.25;
}
.prose a[href$=".pdf"]::before, .prose a[href$=".PDF"]::before {
	content: ""; width: 18px; height: 18px; flex: 0 0 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10.5l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10.5l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prose a[href$=".pdf"]:hover { background: var(--leather-3); color: #fff; }
.prose .alignleft { float: left; margin: .4em 1.5em 1em 0; }
.prose .alignright { float: right; margin: .4em 0 1em 1.5em; }
.prose .aligncenter { margin-inline: auto; }
.prose iframe { border: 0; border-radius: var(--r-img); }

/* Older builder content */
.ga-row { display: flex; flex-direction: column; }
.ga-col { min-width: 0; }
@media (min-width: 860px) { .ga-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 40px; } .ga-col { grid-column: span 12; } }
@media (min-width: 860px) {
	.ga-col--2 { grid-column: span 2; } .ga-col--3 { grid-column: span 3; } .ga-col--4 { grid-column: span 4; }
	.ga-col--5 { grid-column: span 5; } .ga-col--6 { grid-column: span 6; } .ga-col--7 { grid-column: span 7; }
	.ga-col--8 { grid-column: span 8; } .ga-col--9 { grid-column: span 9; } .ga-col--10 { grid-column: span 10; }
	.ga-col--1 { grid-column: span 1; } .ga-col--11 { grid-column: span 11; }
}
@media (max-width: 859px) { .ga-col--empty { display: none; } }
.ga-built .ga-text { max-width: 70ch; }
.ga-heading { margin-top: 0; }
.ga-heading a { color: inherit; text-decoration: none; }
.ga-heading--ruled { display: flex; align-items: center; gap: 16px; }
.ga-heading--ruled::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ga-align-center { text-align: center; }
.ga-align-right { text-align: right; }
.ga-btnrow { margin: 1.2em 0; }
.ga-space { max-height: 40px; }
.ga-rule { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.ga-figure { margin: 1.5em 0; }
.ga-figure img { border-radius: var(--r-img); }
.ga-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 1.5em 0; }
.ga-gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--r-img); margin: 0; }
.ga-embed { position: relative; margin: 1.5em 0; }
.ga-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-img); }
.ga-embed--map iframe { aspect-ratio: 4 / 3; }
.ga-callout { background: var(--sage); border-radius: var(--r-panel); padding: 24px 28px; margin: 1.5em 0; }
.ga-callout > *:last-child { margin-bottom: 0; }
.ga-col-inline { display: inline-block; vertical-align: top; width: 100%; }
@media (min-width: 860px) {
	.ga-col-inline--6 { width: calc(50% - 20px); margin-right: 16px; }
	.ga-col-inline--4 { width: calc(33.33% - 20px); margin-right: 16px; }
	.ga-col-inline--3 { width: calc(25% - 20px); margin-right: 16px; }
	.ga-col-inline--8 { width: calc(66.66% - 20px); margin-right: 16px; }
}

/* Accordions (course outlines and similar) */
.ga-acc-group { margin: 1.2em 0; display: grid; gap: 10px; }
.ga-acc { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.ga-acc > summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 14px 18px; font-weight: 600; line-height: 1.35; border-radius: 10px;
}
.ga-acc > summary::-webkit-details-marker { display: none; }
.ga-acc > summary::after {
	content: ""; flex: 0 0 12px; width: 12px; height: 12px;
	border-right: 2px solid var(--leather-3); border-bottom: 2px solid var(--leather-3);
	transform: translateY(-3px) rotate(45deg); transition: transform .2s var(--ease);
}
.ga-acc[open] > summary::after { transform: translateY(3px) rotate(-135deg); }
.ga-acc > summary:hover { color: var(--sprout-ink); }
.ga-acc[open] > summary { border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; }
.ga-acc__body { padding: 16px 20px 6px; }
.ga-acc__body ul, .ga-acc__body ol { padding-left: 1.2em; }

/* Trainings page: each course reads as its own block */
.page-training .ga-built > .ga-row { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); }
.page-training .ga-built > .ga-row:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.page-training .ga-built .ga-heading { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.9rem); margin-bottom: .45em; }
.page-training .ga-built .ga-acc-group { max-width: 760px; }
.page-training .ga-space { display: none; }

/* Forms */
.ga-form { max-width: 760px; }
.ga-form__grid { display: grid; gap: 20px 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
	.ga-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ga-field, .ga-form__heading, .ga-form__html { grid-column: 1 / -1; }
	.ga-field--half { grid-column: auto; }
}
.ga-field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ga-field label, .ga-field legend { font-weight: 600; font-size: .98rem; line-height: 1.35; padding: 0; }
.ga-field legend { margin-bottom: 8px; }
.ga-field__help { color: var(--ink-2); font-size: .9rem; line-height: 1.4; }
.ga-req { color: var(--rubric); }
.ga-form input[type="text"], .ga-form input[type="email"], .ga-form input[type="tel"], .ga-form input[type="number"],
.ga-form input[type="url"], .ga-form input[type="date"], .ga-form input[type="time"], .ga-form select, .ga-form textarea,
.search-form input[type="search"], .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; min-height: 50px; padding: 12px 14px;
	font: 400 1rem/1.4 var(--font); color: var(--ink);
	background: #fff; border: 1.5px solid #c5cfc6; border-radius: var(--r-input);
	transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
	-webkit-appearance: none; appearance: none;
}
.ga-form textarea, .comment-form textarea { min-height: 140px; resize: vertical; }
.ga-form select {
	padding-right: 40px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b5548' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.ga-form input:focus, .ga-form select:focus, .ga-form textarea:focus,
.search-form input:focus, .comment-form input:focus, .comment-form textarea:focus {
	outline: none; border-color: var(--leather-3); box-shadow: 0 0 0 3px rgba(43, 85, 72, .22);
}
.ga-choices { display: grid; gap: 8px; }
.ga-field .ga-choice { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; cursor: pointer; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-input); background: #fff; line-height: 1.4; }
.ga-field .ga-choice:hover { border-color: #b3c0b5; }
.ga-choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--leather); flex: 0 0 20px; }
.ga-field .ga-choice:has(input:checked) { border-color: var(--leather-3); background: var(--sage); }
.ga-field.has-error input, .ga-field.has-error select, .ga-field.has-error textarea, .ga-field.has-error .ga-choice { border-color: var(--rubric); }
.ga-field__error { color: var(--rubric); font-size: .92rem; font-weight: 600; }
.ga-form__alert { padding: 14px 18px; border-radius: var(--r-input); background: #fbeeec; color: #7d211c; border: 1px solid #efc9c4; margin-bottom: 20px; font-weight: 600; }
.ga-form__intro { color: var(--ink-2); }
.ga-form__heading { font-size: 1.25rem; margin: 12px 0 0; }
.ga-form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.ga-form__note { color: var(--ink-2); font-size: .92rem; }
.ga-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ga-form--done {
	display: flex; align-items: flex-start; gap: 14px; padding: 22px 24px;
	background: var(--sage); border-left: 4px solid var(--leather-3); border-radius: var(--r-input);
}
.ga-form--done svg { flex: 0 0 28px; color: var(--leather-3); }
.ga-form--done p { margin: 0; font-weight: 600; }

/* Registration pages */
.page-body--form { display: grid; gap: 48px; }
@media (min-width: 980px) { .page-body--form { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 72px; } }
.form-aside { align-self: start; padding: 28px; border-radius: var(--r-panel); background: var(--sage); }
.form-aside h2 { font-size: 1.2rem; margin-bottom: .4em; }
.form-aside p { color: var(--ink-2); font-size: .98rem; }
.aside-contact, .give__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.aside-contact li, .give__contact li { display: flex; align-items: center; gap: 10px; }
.aside-contact .icon { width: 20px; height: 20px; color: var(--leather-3); flex: 0 0 20px; }

/* Contact */
.contact { display: grid; gap: 48px; }
@media (min-width: 980px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }
.contact__details { display: grid; gap: 26px; align-content: start; }
.contact__item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact__item h2 { font-size: 1.1rem; margin: 2px 0 .2em; }
.contact__item p { margin: 0; color: var(--ink-2); }
.contact__item a { color: var(--ink); font-weight: 600; }
.contact__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sage); color: var(--leather-3); }
.contact__icon .icon { width: 22px; height: 22px; }
.contact__form h2 { font-size: 1.6rem; }

/* Prayer */
.prayer { display: grid; gap: 48px; }
@media (min-width: 980px) { .prayer { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; } }
.prayer .ga-heading { font-size: clamp(1.4rem, 1.25rem + .6vw, 1.75rem); }
.prayer__form { align-self: start; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-panel); background: var(--sage); }
.prayer__form h2 { font-size: 1.5rem; }
.prayer .ga-col { grid-column: span 12; }
.prayer .ga-space { display: none; }

/* Events */
.events h2 { margin-bottom: .8em; }
.events__upcoming { margin-bottom: clamp(48px, 6vw, 80px); }
.event-cards { display: grid; gap: 28px; }
@media (min-width: 760px) { .event-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .event-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.event-card { border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; display: flex; flex-direction: column; }
.event-card__media { display: block; aspect-ratio: 1; background: var(--sage-2); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.event-card__body h3 { margin: 0; }
.event-card__body h3 a { color: var(--ink); text-decoration: none; }
.event-card__when { margin: 0; color: var(--sprout-ink); font-weight: 650; }
.event-card__venue { margin: 0 0 12px; color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.event-card__venue .icon { width: 18px; height: 18px; }
.event-card .ga-btn { margin-top: auto; align-self: flex-start; }
.gathering-tiles .ga-row { gap: 20px; margin-bottom: 20px; }
.gathering-tiles .ga-col--empty { display: none; }
.gathering-tiles .ga-space { display: none; }
.gathering-tiles .ga-col:not(.ga-col--empty) {
	display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
	padding: 26px 26px 24px; border-radius: 3px 3px var(--r-panel) var(--r-panel); background: var(--sage);
	border-top: 3px solid var(--gilt);
}
.gathering-tiles .ga-heading { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); margin: 0; }
.gathering-tiles .ga-btnrow { margin: 0; }
@media (min-width: 860px) {
	.gathering-tiles .ga-row { gap: 20px; }
	.gathering-tiles .ga-col--12 { grid-column: span 6; }
}
.gathering-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .gathering-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gathering-list li { padding: 26px; border-radius: 3px 3px var(--r-panel) var(--r-panel); background: var(--sage); border-top: 3px solid var(--gilt); }
.event-single { display: grid; gap: 40px; }
@media (min-width: 960px) { .event-single { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.event-single__flyer img { border-radius: var(--r-img); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .4); }

/* Give */
.give { display: grid; gap: 48px; }
@media (min-width: 980px) { .give { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; } }
.give__uses { list-style: none; padding: 0 !important; margin: 2em 0 0; display: grid; gap: 14px; }
.give__uses li { display: flex; align-items: center; gap: 14px; margin: 0; }
.give__uses .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--sage); color: var(--leather-3); flex: 0 0 40px; }
.give__card { align-self: start; background: var(--leather); color: var(--on-dark); border-radius: var(--r-panel); padding: clamp(28px, 4vw, 40px); box-shadow: 0 0 0 1px rgba(217, 178, 60, .35) inset; }
.give__card h2 { color: #fff; font-size: 1.6rem; }
.give__card p { color: var(--on-dark-2); }
.give__label { color: var(--gilt) !important; font-weight: 650; margin-bottom: .6em; }
.give__account { margin: 0 0 1.2em; display: grid; gap: 14px; }
.give__account dt { font-size: .9rem; color: var(--on-dark-2); }
.give__account dd { margin: 0; color: #fff; font-weight: 600; font-size: 1.1rem; }
.give__number { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.give__number span:first-child { font-size: 1.5rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.give__contact { margin-top: 1.2em; padding-top: 1.2em; border-top: 1px solid rgba(240, 220, 140, .25); }
.give__contact a { color: #fff; }
.give__contact .icon { width: 20px; height: 20px; color: var(--gilt); }
.copy-btn {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; min-height: 36px;
	font: 600 .9rem var(--font); border-radius: 999px; cursor: pointer;
	background: transparent; color: var(--gilt-soft); border: 1px solid rgba(240, 220, 140, .5);
}
.copy-btn .icon { width: 16px; height: 16px; }
.copy-btn:hover { background: rgba(255, 255, 255, .08); }

/* Article */
.article__head { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 36px); }
.article__cat { display: inline-block; margin-bottom: 14px; color: var(--sprout-ink); font-weight: 650; text-decoration: none; }
.article__cat:hover { text-decoration: underline; }
.article__title { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.1rem); margin-bottom: .4em; }
.article__meta { color: var(--ink-2); margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.article__cover { margin: 0 auto clamp(32px, 4vw, 48px); }
.article__cover img { width: 100%; border-radius: var(--r-img); max-height: 620px; object-fit: cover; }
.article__body { font-size: 1.12rem; line-height: 1.78; }
@media (min-width: 900px) { .article__body { font-size: 1.19rem; } }
.article__body.has-dropcap > p:first-of-type::first-letter { float: left; font-size: 3.3em; line-height: .85; margin: .05em .09em 0 0; color: var(--sprout-ink); font-weight: 650; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 48px 0 clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--line); }
.share__label { font-weight: 650; margin-right: 6px; }
.share a, .share .copy-btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px;
	border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 .92rem var(--font); background: #fff;
}
.share .icon { width: 18px; height: 18px; }
.share a:hover, .share .copy-btn:hover { border-color: var(--leather-3); color: var(--leather); background: var(--sage); }

/* Chips, pagination, results */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; background: #fff; }
.chip:hover { border-color: var(--leather-3); }
.chip[aria-current="page"] { background: var(--leather); color: #fff; border-color: var(--leather); }
.chip__n { font-size: .82rem; color: var(--ink-2); }
.chip[aria-current="page"] .chip__n { color: var(--gilt-soft); }
.cards--grid { row-gap: 48px; }
.pager { margin-top: clamp(40px, 6vw, 64px); }
.pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager .current { background: var(--leather); color: #fff; border-color: var(--leather); }
.pager a:hover { border-color: var(--leather-3); }
.search-form { display: flex; gap: 10px; max-width: 620px; }
.search-form input[type="search"] { flex: 1; }
.search-form .ga-btn { min-height: 50px; }
.search-form .ga-btn .icon { width: 18px; height: 18px; }
.search-again { margin-bottom: 40px; }
.results { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.results__item { padding: 24px 0; border-top: 1px solid var(--line); }
.results__type { margin: 0 0 4px; color: var(--sprout-ink); font-weight: 650; font-size: .9rem; }
.results__item h2 { font-size: 1.35rem; margin-bottom: .3em; }
.results__item h2 a { color: var(--ink); text-decoration: none; }
.results__item h2 a:hover { color: var(--sprout-ink); }
.results__item p:last-child { margin: 0; color: var(--ink-2); }
.notfound__links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.notfound__links a { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.notfound__links a:hover { border-color: var(--leather-3); background: var(--sage); }

/* Comments */
.comments-wrap { padding-bottom: clamp(48px, 6vw, 80px); }
.related + .comments-wrap { padding-top: clamp(40px, 5vw, 64px); }
.comments__title, .comment-reply-title { font-size: 1.5rem; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 18px 0; border-top: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .88rem; }
.comment-metadata a { color: var(--ink-2); }
.comment-form { display: grid; gap: 16px; }
.comment-form p { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.comment-form label { font-weight: 600; font-size: .98rem; }
.comment-form .comment-form-cookies-consent { flex-direction: row; align-items: flex-start; gap: 10px; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; }
.comment-notes { color: var(--ink-2); font-size: .95rem; }

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------- */
.site-footer { background: var(--leather); color: var(--on-dark-2); font-size: 1rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gilt-soft); text-decoration: underline; text-underline-offset: .25em; }
.site-footer__grid { display: grid; gap: 40px; padding-block: clamp(48px, 7vw, 88px) 40px; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .site-footer__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr); gap: 48px; } }
.brand--footer img { height: auto; width: 260px; max-width: 100%; }
.site-footer__brand p { margin: 18px 0 20px; max-width: 34ch; color: var(--on-dark-2); }
.site-footer__title { font-size: 1.05rem; color: #fff; margin-bottom: 1em; letter-spacing: 0; }
.site-footer__links, .site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__contact li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.site-footer__contact .icon { width: 20px; height: 20px; color: var(--gilt); margin-top: 4px; }
.site-footer__contact a { word-break: break-word; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.socials a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(240, 220, 140, .4); color: var(--gilt-soft); }
.socials a:hover { background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.socials .icon { width: 22px; height: 22px; }
.socials--light a { border-color: var(--line); color: var(--leather-3); }
.socials--light a:hover { background: var(--sage); color: var(--leather); }
.site-footer__base {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	padding-block: 22px 28px; border-top: 1px solid rgba(240, 220, 140, .2); font-size: .92rem;
}
.site-footer__base p { margin: 0; }

/* Wide blocks from the editor */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

@media print {
	.site-header, .site-footer, .share, .related, .comments-wrap, .ga-preview-pill { display: none !important; }
	body { font-size: 12pt; }
}
