/*
Theme Name: Sweetwater-2026
Theme URI: https://www.sweetwater-organic.org/
Author: Orange Room Software
Description: Classic theme for Sweetwater Organic Community Farm (2026 redesign). Installs beside the older Sweetwater theme; activate one at a time. A Florida garden in cut paper: palm, citrus, tomato and sunflower on a palm-green field.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sweetwater
*/

@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("assets/fonts/figtree-400.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-display: swap; src: url("assets/fonts/figtree-800.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("assets/fonts/figtree-700.woff2") format("woff2"); }

:root {
	--ink: #0a3f2a;
	--palm: #0f5a3c;
	--leaf: #1f7a4c;
	--lime: #c6d63a;
	--orange: #f28c1b;
	--sun: #f6c928;
	--hibiscus: #f49bb9;
	--sky: #8fd3e6;
	--aqua: #e3f3ef;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--display: "Figtree", system-ui, sans-serif;
	--body: "Figtree", system-ui, sans-serif;
	--leafy: 2.75rem 0.5rem 2.75rem 0.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--orange) var(--palm); }
body { margin: 0; background: var(--aqua); color: var(--ink); font: 400 1.1875rem/1.55 var(--body); caret-color: var(--orange); overflow-x: clip; }
::selection { background: var(--ink); color: var(--sun); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .page-head :focus-visible { outline-color: var(--sun); }
.wrap { width: min(100% - 2rem, 78rem); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--sun); color: var(--ink); padding: 0.75rem 1rem; font: 700 1rem var(--body); border-radius: 0.5rem; }
.skip-link:focus { top: 1rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; max-width: 60ch; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 3; background: var(--ink); color: #fff; padding-block: 1.25rem; }
.site-header__bar { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.brand { display: flex; align-items: center; justify-content: center; gap: 1.25rem; text-decoration: none; text-align: left; }
.brand__logo { width: clamp(5rem, 9vw, 8.5rem); height: auto; flex: none; }
.brand__text { display: grid; gap: 0.15rem; }
.brand__name { font: 800 clamp(1.2rem, 1.8vw, 1.5rem)/1.15 var(--display); max-width: 20ch; }
.brand__place { font: 700 0.9rem var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }

.nav-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.nav-tags a, .tag { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.85rem; border-radius: 999px; background: var(--aqua); color: var(--ink); font: 700 0.97rem var(--body); text-decoration: none; transition: background-color 0.2s, transform 0.3s var(--ease); }
.nav-tags a:hover, .nav-tags .current-menu-item > a { background: var(--sun); transform: translateY(-2px); }
.tag--donate { background: var(--orange); }
.tag--donate:hover { background: var(--sun); }

.site-nav { width: 100%; display: grid; justify-items: center; }
.site-nav__panel { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0.5rem; margin-top: 0.75rem; }
.site-nav .nav-tags { flex-direction: column; }
.site-nav .nav-tags a, .site-nav .tag { width: 100%; }
.site-nav__toggle { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.3rem; border-radius: 999px; background: var(--aqua); color: var(--ink); font: 700 1rem var(--body); cursor: pointer; list-style: none; }
.site-nav__toggle::-webkit-details-marker { display: none; }
.site-nav__close, .site-nav[open] .site-nav__open { display: none; }
.site-nav[open] .site-nav__close { display: inline; }


/* Submenus: listed inline in the stacked menu, dropdowns on wide screens. */
.nav-tags .sub-menu { list-style: none; margin: 0.4rem 0 0.4rem 1rem; padding: 0; display: grid; gap: 0.35rem; }
.nav-tags .sub-menu a { min-height: 2.75rem; font-weight: 700; }
.nav-tags .menu-item-has-children > a::after { content: ""; width: 0.45rem; height: 0.45rem; margin-left: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }

/* Wide screens: show the nav inline, only where the browser can expand a closed <details> (otherwise the Menu toggle stays). */
@supports selector(::details-content) {
	@media (min-width: 75rem) {
		.site-nav { width: auto; display: block; }
		.site-nav::details-content { content-visibility: visible; display: block; }
		.site-nav__toggle { display: none; }
		.site-nav__panel { flex-direction: row; align-items: center; justify-content: center; margin-top: 0; }
		.site-nav .nav-tags { flex-direction: row; }
		.site-nav .nav-tags a, .site-nav .tag { width: auto; }
		.site-nav .nav-tags > li { position: relative; }
		.site-nav .sub-menu { position: absolute; z-index: 10; top: 100%; left: 0; min-width: 16rem; margin: 0; padding: 0.5rem 0 0; display: none; justify-items: start; background: none; }
		.site-nav .nav-tags > li:hover > .sub-menu, .site-nav .nav-tags > li:focus-within > .sub-menu { display: grid; }
		.site-nav .nav-tags > li:last-child > .sub-menu { left: auto; right: 0; }
	}
}

/* ---------- Hero ---------- */
.hero { overflow-x: clip; position: relative; background: var(--palm); color: #fff; padding-block: clamp(1.5rem, 4vw, 3rem) clamp(5rem, 9vw, 8rem); isolation: isolate; }
.hero__palm { position: absolute; left: -11rem; bottom: -4rem; width: clamp(16rem, 30vw, 28rem); height: auto; z-index: -1; opacity: 0.5; }
.hero__oranges { position: absolute; right: -1rem; top: -6rem; width: clamp(14rem, 30vw, 30rem); height: auto; z-index: 2; pointer-events: none; }
.hero__body { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; align-items: center; }
.hero__copy { grid-column: 1 / span 7; display: grid; gap: 1.75rem; justify-items: start; }
.hero__title span { display: block; }
.hero__title > span:first-child { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.hero__hours { font-size: clamp(6.5rem, 19vw, 14rem); line-height: 0.85; letter-spacing: -0.04em; color: var(--sun); margin-top: 0.05em; }
.hero__lede { font-size: clamp(1.2rem, 1.9vw, 1.5rem); max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__photo { grid-column: 8 / span 5; margin: 0; position: relative; aspect-ratio: 1 / 1.05; border-radius: 0 50% 0 50%; overflow: hidden; border: 0.5rem solid var(--aqua); background: var(--ink); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero__sun { position: absolute; z-index: 3; right: 24%; bottom: -1.5rem; display: grid; place-content: center; text-align: center; width: clamp(9rem, 15vw, 12.5rem); aspect-ratio: 1; border-radius: 50%; background: var(--sun); color: var(--ink); font: 800 clamp(1.05rem, 1.5vw, 1.25rem)/1.2 var(--display); font-style: normal; padding: 1rem; transform: rotate(-8deg); }

.hero__edge { height: 4.5rem; margin-top: -1px; background: var(--palm); -webkit-mask: url("assets/art/leaf-border.svg") repeat-x bottom / 38rem 4.5rem; mask: url("assets/art/leaf-border.svg") repeat-x bottom / 38rem 4.5rem; transform: scaleY(-1); }

@media (max-width: 62rem) {
	.hero__copy, .hero__photo { grid-column: 1 / -1; }
	.hero__photo { aspect-ratio: 4 / 3; max-width: 28rem; }
	.hero__sun { right: 1rem; bottom: -2rem; }
	.hero__oranges { top: -2.5rem; right: -5.5rem; width: 12rem; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3.4rem; padding: 0 1.6rem; border: 3px solid transparent; border-radius: 999px; font: 700 1.1rem var(--body); text-decoration: none; transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--sun); }
.btn--outline { border-color: #fff; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #fff; color: var(--ink); }
.icon { flex: none; }
.link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-weight: 700; font-size: 1.15rem; }

/* ---------- Sunday band ---------- */
.sunday { padding-block: clamp(2.5rem, 5vw, 4rem) 0; }
.sunday__list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.75rem; }
.sunday__list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.1rem 1rem; min-height: 100%; padding: 1.1rem 1.4rem; border: 3px solid var(--palm); border-radius: var(--leafy); text-decoration: none; transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease); }
.sunday__list a:hover { background: var(--palm); color: #fff; transform: translateY(-3px); }
.sunday__name { grid-column: 1; font: 800 1.4rem/1.15 var(--display); }
.sunday__note { grid-column: 1; }
.sunday__list .icon { grid-column: 2; grid-row: 1 / span 2; }

/* ---------- Events ---------- */
.events { padding-block: clamp(3rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.75rem 2rem; margin-bottom: 1.5rem; }
.section-head h2, .paths__title, .sunday h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); color: var(--palm); }
.events__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.event { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding: 1rem; background: #fff; border-radius: 4.5rem; }
.event__date { display: grid; place-content: center; text-align: center; width: 6.5rem; aspect-ratio: 1; border-radius: 50%; font-family: var(--display); font-weight: 800; line-height: 0.9; font-variant-numeric: tabular-nums; }
.event--0 .event__date { background: var(--orange); }
.event--1 .event__date { background: var(--hibiscus); }
.event--2 .event__date { background: var(--lime); }
.event__month { font-size: 1.25rem; }
.event__day { font-size: 2.9rem; }
.event__body h2, .event__body h3 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.05; }
.event__body h2 a, .event__body h3 a { text-decoration: none; }
.event__body h2 a::after, .event__body h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.event:hover .event__go { background: var(--orange); color: var(--ink); transform: translateX(4px); }
.event:has(a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
@supports selector(:has(*)) { .event__body h2 a:focus-visible, .event__body h3 a:focus-visible { outline: none; } }
.event__body h2 a:hover, .event__body h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.event__body p { margin-top: 0.35rem; font-weight: 700; }
.event__go { display: grid; place-content: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--ink); color: #fff; transition: transform 0.3s var(--ease), background-color 0.2s; }
.event__photo { display: block; width: 6.5rem; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--lime); transition: transform 0.3s var(--ease); }
.event__photo img { width: 100%; height: 100%; object-fit: cover; }
.event:hover .event__photo { transform: scale(1.06); }
.events__empty { padding-block: 1.5rem; }

@media (max-width: 48rem) {
	.event { grid-template-columns: auto 1fr; border-radius: 3.5rem 1.5rem 1.5rem 3.5rem; padding-right: 1rem; }
	.event__date { width: 5rem; }
	.event__day { font-size: 2.2rem; }
	.event__go, .event__photo { display: none; }
}

/* ---------- Story ---------- */
.story { position: relative; background: var(--lime); color: var(--ink); padding-block: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.story__inner { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.story__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 1rem 1rem; overflow: hidden; border: 0.5rem solid var(--ink); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }
.story__copy { display: grid; gap: 1.5rem; justify-items: start; max-width: 40rem; }
.story__copy h2 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); }
.story__copy p { font-size: 1.25rem; }
.story__art { position: absolute; right: -9rem; top: -9rem; width: clamp(14rem, 26vw, 22rem); height: auto; pointer-events: none; }
@media (max-width: 62rem) {
	.story__inner { grid-template-columns: 1fr; }
	.story__photo { aspect-ratio: 4 / 3; border-radius: 999px 999px 1rem 1rem; max-width: 24rem; }
	.story__art { right: -5rem; top: -4rem; opacity: 0.9; }
}

/* ---------- Ways in ---------- */
.paths { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; padding-block: clamp(3rem, 7vw, 5.5rem); }
.paths__title { grid-column: 1 / -1; }
.path { position: relative; overflow: hidden; border-radius: var(--leafy); padding: clamp(1.5rem, 3vw, 2.5rem); min-height: 17rem; display: grid; align-content: start; }
.path h3 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 0.75rem; }
.path p { margin-bottom: 1.5rem; max-width: 30ch; }
.path__copy { position: relative; z-index: 1; display: grid; justify-items: start; }
.path__art { position: absolute; pointer-events: none; height: auto; }

.path--csa { grid-column: 1 / span 7; grid-row: span 2; background: var(--hibiscus); }
.path--csa .path__art { right: -2rem; top: -1rem; width: clamp(12rem, 24vw, 21rem); }
.path--csa .path__photo { align-self: end; margin-top: 2rem; width: min(100%, 24rem); border-radius: 0 3rem 0 3rem; border: 0.4rem solid var(--aqua); }
.path--volunteer { grid-column: 8 / span 5; background: var(--sky); }
.path--volunteer .path__art { right: -1.5rem; bottom: -1rem; width: clamp(9rem, 15vw, 13rem); }
.path--learn { grid-column: 8 / span 5; background: var(--orange); }
.path--learn .path__art { right: -2rem; bottom: -2rem; width: clamp(11rem, 18vw, 16rem); }

@media (max-width: 62rem) {
	.path--csa, .path--volunteer, .path--learn { grid-column: 1 / -1; grid-row: auto; }
	.path--csa .path__art { top: auto; bottom: -1rem; right: -0.5rem; width: 8rem; }
	.path { padding-right: 6.5rem; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--palm); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); isolation: isolate; }
.site-footer::before { content: ""; position: absolute; right: -4rem; bottom: -5rem; width: 30rem; aspect-ratio: 760 / 780; background: url("assets/art/palm.svg") no-repeat center / contain; opacity: 0.35; z-index: -1; transform: scaleX(-1); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; align-items: start; }
.site-footer__brand { display: flex; align-items: center; gap: 1.25rem; }
.site-footer__brand img { width: 7rem; height: auto; }
.site-footer__motto { font: 800 clamp(1.3rem, 2.2vw, 1.7rem)/1.2 var(--display); color: var(--sun); }
.site-footer address { font-style: normal; display: grid; gap: 0.9rem; justify-items: start; }
.site-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--sun); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; }
@media (max-width: 48rem) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Generic pages ---------- */
.prose { padding-block: 2.5rem; max-width: 46rem; }
.prose h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); color: var(--palm); margin-bottom: 1.5rem; }
.prose > article > * + * { margin-top: 1rem; }

/* ---------- Motion: the garden grows in once ---------- */
@media (prefers-reduced-motion: no-preference) {
	@keyframes rise { from { transform: translateY(2.5rem) scale(0.94); opacity: 0; } to { transform: none; opacity: 1; } }
	@keyframes unfurl { from { transform: rotate(-9deg) translateY(1.5rem); opacity: 0; } to { transform: none; opacity: 1; } }
	.hero__copy > *, .hero__photo { animation: rise 0.9s var(--ease) both; }
	.hero__copy > :nth-child(2) { animation-delay: 0.1s; }
	.hero__copy > :nth-child(3) { animation-delay: 0.2s; }
	.hero__photo { animation-delay: 0.15s; }
	.hero__palm, .hero__oranges { transform-origin: 90% 10%; animation: unfurl 1.4s var(--ease) 0.2s both; }
	.hero__palm { transform-origin: 0 100%; }
	.hero__sun { animation: rise 0.8s var(--ease) 0.5s both; }
}

/* ---------- Paper hint: fine grain on the big fields, soft contact shadow under the cut-outs ---------- */
.hero, .story, .path, .site-footer, .sunday__list a:hover { background-image: url("assets/art/grain.svg"); background-size: 240px; }
.hero__oranges, .story__art, .path__art, .hero__sun, .event__date { filter: drop-shadow(0 3px 4px rgb(0 0 0 / 0.22)); }
.hero__sun { filter: drop-shadow(0 4px 5px rgb(0 0 0 / 0.3)); }

/* ---------- Interior pages ---------- */
.page-head { position: relative; overflow: hidden; background: var(--palm); color: #fff; padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3.5rem, 6vw, 5rem); isolation: isolate; background-image: url("assets/art/grain.svg"); background-size: 240px; }
.page-head__art { position: absolute; right: -6rem; bottom: -5rem; width: clamp(16rem, 30vw, 28rem); height: auto; z-index: -1; opacity: 0.4; transform: scaleX(-1); }
.page-head__inner { display: grid; gap: 1rem; justify-items: start; }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); max-width: 22ch; }
.page-head__lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); max-width: 40ch; }
.page-head__back { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; color: var(--sun); }

.page-body { padding-block: clamp(2rem, 5vw, 4rem); display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.page-body--with-nav, .page-body--event { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; }
.page-body--wide .events__list { max-width: 64rem; }
.prose-block { max-width: 46rem; font-size: 1.1875rem; }
.prose-block > * + * { margin-top: 1.1rem; }
.prose-block h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin-top: 2rem; color: var(--palm); }
.prose-block h3 { font-size: 1.4rem; margin-top: 1.5rem; color: var(--palm); }
.prose-block ul, .prose-block ol { padding-left: 1.4rem; }
.prose-block li + li { margin-top: 0.4rem; }
.prose-block a { color: var(--palm); font-weight: 700; }
.prose-block img { border-radius: 0 2rem 0 2rem; }
.prose-block .alignright { float: right; margin: 0 0 1rem 1.5rem; max-width: 45%; }
.prose-block .alignleft { float: left; margin: 0 1.5rem 1rem 0; max-width: 45%; }

.section-nav { background: #fff; border-radius: var(--leafy); padding: 1.5rem; }
.section-nav h2 { font-size: 1.4rem; color: var(--palm); margin-bottom: 0.75rem; }
.section-nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.section-nav a { display: flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-weight: 700; border-top: 2px solid var(--aqua); }
.section-nav a:hover, .section-nav .current_page_item > a { color: var(--palm); text-decoration: underline; text-decoration-thickness: 3px; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filters__pill { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; border: 2px solid var(--palm); transition: background-color 0.2s, color 0.2s; }
.filters__pill:hover, .filters__pill.is-active { background: var(--palm); color: #fff; }

.events__list--directory .event { grid-template-columns: auto 1fr; }
.events__list--directory .event:has(.event__thumb) { grid-template-columns: auto 1fr 6.5rem; }
.event__excerpt { margin-top: 0.4rem; font-weight: 400; max-width: 52ch; }
.event__thumb { width: 6.5rem; align-self: center; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.event__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: #fff; font-weight: 700; text-decoration: none; }
.pager .current { background: var(--palm); color: #fff; }

.event-panel { display: grid; gap: 1.25rem; justify-items: start; background: var(--lime); border-radius: var(--leafy); padding: 1.5rem; position: sticky; top: 1rem; }
.event-panel__photo { width: 100%; border-radius: 0 3rem 0 3rem; overflow: hidden; border: 0.4rem solid var(--aqua); }
.event-panel__facts { display: grid; gap: 0.9rem; margin: 0; }
.event-panel__facts dt { font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }
.event-panel__facts dd { margin: 0.1rem 0 0; font-size: 1.15rem; font-weight: 700; }
.event-panel__nav { display: grid; gap: 0.25rem; font-weight: 700; }
.event-panel__nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (max-width: 62rem) {
	.page-body--with-nav, .page-body--event { grid-template-columns: 1fr; }
	.event-panel { position: static; }
	.event-panel { order: -1; }
}
@media (max-width: 48rem) {
	.events__list--directory .event:has(.event__thumb) { grid-template-columns: auto 1fr; }
	.event__thumb { display: none; }
}

/* Editor-pasted colours (blue/red spans in old page content) would clash with the palette; keep weight, drop the colour. */
.prose-block [style*="color"] { color: inherit !important; }
.prose-block a[style*="color"] { color: var(--palm) !important; }
.prose-block [style*="background"] { background: none !important; }
.prose-block iframe, .prose-block video { max-width: 100%; }
.prose-block [style*="font-family"], .prose-block font { font-family: inherit !important; }
.prose-block [style*="font-size"] { font-size: inherit !important; }
.prose-block [style*="line-height"] { line-height: inherit !important; }

.site-footer__small { font-size: 0.95rem; opacity: 0.85; margin-top: 0.5rem; max-width: 30ch; }

/* ---------- Page sidebar content, forms (Gravity Forms, PayPal, mailing lists), galleries ---------- */
.page-aside { display: grid; gap: 1.5rem; align-content: start; }
.page-aside__extra { background: #fff; border-radius: var(--leafy); padding: 1.5rem; font-size: 1rem; }
.page-aside__extra > * + * { margin-top: 0.9rem; }

.prose-block label, .page-aside label, .gform_wrapper label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.prose-block input[type="text"], .prose-block input[type="email"], .prose-block input[type="tel"], .prose-block input[type="url"], .prose-block input[type="number"], .prose-block input[type="date"], .prose-block input[type="search"], .prose-block select, .prose-block textarea,
.page-aside input[type="text"], .page-aside input[type="email"], .page-aside select, .page-aside textarea,
.gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper select, .gform_wrapper textarea {
	width: 100%; max-width: 32rem; min-height: 2.75rem; padding: 0.55rem 0.9rem; border: 2px solid var(--palm); border-radius: 0.75rem; background: #fff; color: var(--ink); font: inherit;
}
.prose-block textarea, .gform_wrapper textarea { min-height: 8rem; }
.prose-block input:focus-visible, .prose-block select:focus-visible, .prose-block textarea:focus-visible, .gform_wrapper :focus-visible, .page-aside input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.prose-block input[type="submit"], .prose-block button[type="submit"], .prose-block .button, .page-aside input[type="submit"], .gform_wrapper input[type="submit"], .gform_wrapper button[type="submit"] {
	display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.5rem; border: 3px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font: 700 1.05rem var(--body); cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.prose-block input[type="submit"]:hover, .prose-block button[type="submit"]:hover, .gform_wrapper input[type="submit"]:hover { background: #fff; color: var(--ink); }
.gform_wrapper .gfield { margin-bottom: 1rem; }
.gform_wrapper .gfield_required, .gform_wrapper .validation_message, .gform_wrapper .gform_validation_errors { color: #9b1c1c; font-weight: 700; }
.prose-block table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose-block th, .prose-block td { padding: 0.6rem 0.8rem; border-bottom: 2px solid var(--aqua); text-align: left; vertical-align: top; }
.prose-block th { color: var(--palm); }
.prose-block blockquote { margin-inline: 0; padding: 1rem 1.5rem; background: #fff; border-radius: var(--leafy); font-size: 1.15rem; }
.prose-block figure { margin: 1rem 0; }
.prose-block figcaption, .prose-block .wp-caption-text { font-size: 0.95rem; margin-top: 0.4rem; }
.prose-block .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.75rem; }
.prose-block .gallery-item { margin: 0; }
.prose-block .gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 1rem; }
.prose-block .gallery-caption { font-size: 0.9rem; }
.prose-block::after { content: ""; display: block; clear: both; }

/* Phones: un-float pasted images so text keeps a readable column; start-align event rows. */
@media (max-width: 48rem) {
	.prose-block .alignright, .prose-block .alignleft, .prose-block img[style*="float"] { float: none !important; display: block; max-width: 100%; margin: 1rem 0; }
	.event { align-items: start; }
}

/* Long titles, emails and URLs must wrap instead of widening a grid track. */
.event__body, .sunday__list a > *, .path__copy, .page-body > *, .site-footer__grid > * { min-width: 0; overflow-wrap: break-word; }
main { outline: none; }

@media (prefers-reduced-motion: reduce) {
	.btn:hover, .nav-tags a:hover, .sunday__list a:hover, .event:hover .event__photo, .event__go:hover { transform: none; }
	.btn, .nav-tags a, .tag, .sunday__list a, .event__photo, .event__go, .filters__pill { transition: none; }
}

/* ---------- Footer newsletter (Constant Contact) ---------- */
.site-footer__news { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); padding-bottom: clamp(1.5rem, 4vw, 2.5rem); border-bottom: 2px solid rgb(255 255 255 / 0.2); }
.newsletter { display: grid; gap: 0.5rem; max-width: 34rem; }
.newsletter label { font: 800 clamp(1.3rem, 2.2vw, 1.7rem)/1.2 var(--display); color: var(--sun); }
.newsletter__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.newsletter input[type="email"] { flex: 1 1 14rem; min-width: 0; min-height: 3rem; padding: 0 1.1rem; border: 3px solid var(--aqua); border-radius: 999px; background: var(--aqua); color: var(--ink); font: inherit; }
.newsletter input[type="email"]::placeholder { color: #4a6657; }
.newsletter button { min-height: 3rem; padding: 0 1.5rem; border: 3px solid var(--orange); border-radius: 999px; background: var(--orange); color: var(--ink); font: 700 1.05rem var(--body); cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.newsletter button:hover { background: var(--sun); border-color: var(--sun); }
.site-footer__links { gap: 0; }

/* ---------- Donate band ---------- */
.donate { position: relative; overflow: hidden; background: var(--sun); background-image: url("assets/art/grain.svg"); background-size: 240px; color: var(--ink); padding-block: clamp(3rem, 7vw, 5.5rem); margin-top: clamp(1rem, 3vw, 2rem); }
.donate__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.donate__copy { display: grid; gap: 1.25rem; justify-items: start; }
.donate h2 { font-size: clamp(2.25rem, 5vw, 4rem); max-width: 16ch; }
.donate__lede { font-size: clamp(1.15rem, 1.8vw, 1.35rem); max-width: 40ch; }
.donate__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; max-width: 40rem; }
.donate__list li { position: relative; padding-left: 2.1rem; font-size: 1.1rem; font-weight: 700; }
.donate__list li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.2rem; height: 1.2rem; border-radius: 0 60% 0 60%; background: var(--ink); }
.donate__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 0.5rem; }
.donate__actions .btn { min-height: 3.6rem; font-size: 1.2rem; }
.donate__note { font-weight: 700; }
.donate__art { position: relative; display: grid; place-items: center; min-height: 16rem; }
.donate__sun { position: absolute; width: min(100%, 22rem); aspect-ratio: 1; border-radius: 50%; background: var(--orange); filter: drop-shadow(0 4px 6px rgb(0 0 0 / 0.2)); }
.donate__art img { position: relative; width: min(80%, 18rem); height: auto; filter: drop-shadow(0 3px 4px rgb(0 0 0 / 0.22)); }
@media (max-width: 62rem) {
	.donate__inner { grid-template-columns: 1fr; }
	.donate__art { order: -1; min-height: 12rem; }
	.donate__sun { width: 14rem; }
	.donate__art img { width: 11rem; }
}
.newsletter__status { min-height: 1.5em; margin: 0; font-weight: 700; color: var(--sun); }
.newsletter button:disabled { opacity: 0.6; cursor: wait; }
