/*
Theme Name: Twenty Twenty-Five GiveCamp
Theme URI: 
Author: 
Author URI: 
Description: This is the 2025-derived theme created for Ozark Slow Food at GiveCamp '26. Use it order to retain the same styling, building off of common CSS assumptions and styles.
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: twenty-twenty-five-givecamp
Tags: 
*/

/* ==========================================================================
   Ozark Slow Food — v1 redesign
   A single, consistent design system intended to translate cleanly to the
   WordPress "Twenty Twenty-Five" block theme. Every visual choice is driven
   by the custom properties in :root so fonts/colors/spacing can be remapped
   to theme.json by hand later.
   ========================================================================== */

:root {
	/* ---- Fonts: Ozark Slow Food brand pair (Canva brand guide: Garamond + Montserrat).
	   Change the whole site's type here (maps to TT5 font families in theme.json). ---- */
	--font-heading: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;  /* brand "Garamond" */
	--font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;  /* brand "Montserrat" */
	--font-ui: var(--font-body);

	/* ---- Brand palette — official Ozark Slow Food brand guide ---- */
	--brand-black: #0e0f0f;        /* Almost Black — wordmark */
	--brand-navy: #222b38;         /* Navy Blue — headings & footer */
	--brand-teal: #205454;         /* Deep Teal */
	--brand-red: #da3624;          /* Strawberry Red */
	--brand-blue: #006694;         /* Medium Cyan — the snail logo / primary accent */
	--brand-sage: #c3d9a8;         /* Seafoam Green */
	--brand-coral: #ffcd93;        /* Light Coral — warm accent */
	--brand-white: #ffffff;        /* Pure White */

	/* ---- Semantic colors (mapped from the brand palette) ---- */
	--color-bg: var(--brand-white);
	--color-surface: #eef3e6;      /* pale seafoam */
	--color-surface-2: #dce7cf;    /* deeper seafoam */
	--color-ink: var(--brand-navy);
	--color-muted: #586472;        /* cool slate */
	--color-accent: var(--brand-blue);
	--color-accent-dark: #004f70;  /* darker cyan for hover/links */
	--color-accent-ink: var(--brand-white);
	--color-highlight: var(--brand-coral);  /* warm highlight (join banner) */
	--color-border: #d2dcc7;       /* soft seafoam border */
	--color-error: var(--brand-red);
	--color-success: var(--brand-teal);

	/* ---- Type scale ---- */
	--step--1: 0.875rem;
	--step-0: 1rem;        /* 16px body — Montserrat reads cleaner here than at 17px */
	--step-1: 1.3rem;
	--step-2: 1.7rem;
	--step-3: 2.25rem;
	--step-4: 3rem;

	/* ---- Rhythm ---- */
	--space-xs: 0.5rem;
	--space-sm: 0.875rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;

	--maxw: 1120px;
	--maxw-prose: 46rem;
	--radius: 6px;
}

/* ---- Reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.65;
	color: var(--color-ink);
	background: var(--color-bg);
}
img { max-width: 100%; height: auto; display: block; }
a:not(.wp-element-button) { color: var(--color-accent-dark); }
a:not(.wp-element-button):hover { color: var(--color-accent); }
a.wp-element-button { }
a.wp-element-button:hover { border-color: var(--color-accent) }

/* ---- Headings: all heading type flows from --font-heading ---- */
h1, h2, h3, h4 {
	font-family: var(--font-heading);
	line-height: 1.15;
	color: var(--color-ink);
	margin: 0 0 var(--space-sm);
	font-weight: 600;
}
h1 { font-size: var(--step-4); letter-spacing: -0.015em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 var(--space-md); }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-md); }
.prose { max-width: var(--maxw-prose); }
.prose p, .prose li { font-size: var(--step-0); }
.section { padding: var(--space-xl) 0; }
.section--tight { padding: var(--space-lg) 0; }
.section--alt { background: var(--color-surface); }

.eyebrow {
	font-family: var(--font-ui);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: var(--step--1);
	font-weight: 700;
	color: var(--color-accent);
	margin: 0 0 var(--space-xs);
}
.section-title { margin-bottom: var(--space-lg); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--color-muted); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn, .zeffy-donate-btn {
	display: inline-block;
	font-family: var(--font-ui);
	font-size: var(--step-0);
	font-weight: 600;
	line-height: 1;
	padding: 0.85em 1.5em;
	border-radius: var(--radius);
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }
.btn--primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: #fff; }
.btn--donate { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }  /* warm "give" CTA */
.btn--donate:hover { background: #b82c1d; border-color: #b82c1d; color: #fff; }
.btn--soft { background: var(--color-border); color: var(--color-ink); border-color: var(--color-border); }  /* solid, low-emphasis */
.btn--soft:hover { background: var(--brand-sage); border-color: var(--brand-sage); color: var(--color-ink); }
.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent-dark); }
.btn--on-ink { background: #fff; color: var(--color-accent-dark); border-color: #fff; }
.btn--on-ink:hover { background: var(--color-surface); color: var(--color-accent-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.zeffy-button-wrapper { margin: 0; } /* Zeffy-specific styling as it's harder to override classes for it */
.zeffy-donate-btn { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }  /* warm "give" CTA */
.zeffy-donate-btn:hover { background: #b82c1d; border-color: #b82c1d; color: #fff; }
.donate-paragraph { min-height: 5rem; }

/* ==========================================================================
   Site header / navigation
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,0.95);
	backdrop-filter: saturate(140%) blur(6px);
	/* border-bottom: 1px solid var(--color-border); */
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: var(--space-md);
	min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--color-ink); }
.brand__mark { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.brand__name { font-family: var(--font-heading); font-weight: 600; font-size: var(--step-1); line-height: 1; }
.brand__tag { display: block; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--color-muted); font-weight: 400; margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: var(--space-md); }
.site-nav__list { display: flex; gap: var(--space-md); list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
	font-family: var(--font-ui); font-size: var(--step-0); font-weight: 500;
	color: var(--color-ink); text-decoration: none; padding: 0.4em 0;
	border-bottom: 2px solid transparent;
}
.site-nav__list a:hover { color: var(--color-accent-dark); border-bottom-color: var(--color-accent); }
.site-nav__list a[aria-current="page"] { color: var(--color-accent-dark); border-bottom-color: var(--color-accent); }

.wp-block-navigation__responsive-container { overflow: visible !important; } /* Fix the mobile menu not overflowing onto the whole page */

.nav-toggle { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	background: linear-gradient(180deg, var(--color-surface), #fff);
	border-bottom: 1px solid var(--color-border);
}
.hero__inner { padding: var(--space-xl) 0; text-align: center; }
.hero__logo { width: 180px; margin: 0 auto var(--space-md); }
.hero h1 { margin-bottom: var(--space-sm); }
.hero .lede { max-width: 42rem; margin: 0 auto var(--space-lg); }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: var(--space-md); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: var(--space-md);
}
.card--link { text-decoration: none; color: inherit; display: block; transition: border-color .15s, transform .15s; }
.card--link:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.card h3 { font-size: var(--step-1); margin-bottom: var(--space-xs); }
.card p { margin-bottom: 0; color: var(--color-muted); }

/* Value / pillar list */
.pillars { list-style: none; margin: 0 0 var(--space-md); padding: 0; display: grid; gap: var(--space-sm); }
.pillars li { position: relative; padding-left: 1.75rem; }
.pillars li::before {
	content: ""; position: absolute; left: 0; top: 0.55em;
	width: 0.6rem; height: 0.6rem; background: var(--color-accent); border-radius: 50%;
}

/* ---- Board member list ---- */
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); }
.board__member { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-md); }
.board__name { font-family: var(--font-heading); font-size: var(--step-1); margin: 0 0 2px; }
.board__role { font-family: var(--font-ui); font-style: italic; color: var(--color-accent-dark); margin: 0 0 var(--space-sm); }
.board__bio { margin: 0; color: var(--color-muted); font-size: var(--step--1); line-height: 1.6; }
.board__role:last-child { margin-bottom: 0; }  /* e.g. awardee cards with no bio */

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: var(--color-accent); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: var(--space-md); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 40rem; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }

/* ==========================================================================
   Forms (contact + microgrants)
   ========================================================================== */
.form { max-width: 40rem; }
.field { margin-bottom: var(--space-md); }
.field__label {
	display: block; font-family: var(--font-ui); font-weight: 600;
	font-size: var(--step-0); margin-bottom: var(--space-xs);
}
.field__req { color: var(--color-error); }
.field__hint { display: block; font-size: var(--step--1); color: var(--color-muted); font-weight: 400; margin-top: 2px; }
.field__input,
.field__textarea {
	width: 100%;
	font-family: var(--font-body);
	font-size: var(--step-0);
	color: var(--color-ink);
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 0.7em 0.8em;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.field__textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
.field__input:focus,
.field__textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(0,102,148,0.22);
}

/* Error state (toggled by adding .field--error on the .field) */
.field__error { display: none; color: var(--color-error); font-size: var(--step--1); margin-top: var(--space-xs); font-weight: 600; }
.field--error .field__input,
.field--error .field__textarea { border-color: var(--color-error); box-shadow: 0 0 0 3px rgba(218,54,36,0.14); }
.field--error .field__error { display: block; }

/* Form-level status label */
.form-status {
	display: none;
	border-radius: var(--radius);
	padding: var(--space-sm) var(--space-md);
	margin-bottom: var(--space-md);
	font-family: var(--font-ui); font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status--error { background: rgba(218,54,36,0.08); color: var(--color-error); border: 1px solid rgba(218,54,36,0.30); }
.form-status--success { background: rgba(32,84,84,0.08); color: var(--color-success); border: 1px solid rgba(32,84,84,0.30); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-ink); color: rgba(255,255,255,0.78); padding: var(--space-xl) 0 var(--space-lg); }
.site-footer a { color: rgba(255,255,255,0.92); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-lg); }
.site-footer h4 { color: #fff; font-size: var(--step-0); font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-sm); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--space-xs); }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: var(--space-sm); }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; }
.footer-brand span { font-family: var(--font-heading); font-size: var(--step-1); color: #fff; }
.footer-note { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid rgba(255,255,255,0.15); font-size: var(--step--1); color: rgba(255,255,255,0.55); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
	:root { --step-4: 2.4rem; --step-3: 1.9rem; }
	.grid--3 { grid-template-columns: 1fr 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }

	/* Collapse the nav to a hamburger here (not 640) so the six links — including the
	   long "Micro-Grants" — never crowd the wordmark on tablet-ish widths. */
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; padding: 0;  /* square: bars centered with even space around them */
		background: transparent; border: 1px solid var(--color-border); border-radius: var(--radius);
		cursor: pointer; color: var(--color-ink);
	}
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: #fff; border-bottom: 1px solid var(--color-border);
		box-shadow: 0 8px 16px rgba(0,0,0,0.06);
		padding: var(--space-xs) var(--space-md) var(--space-sm);
		display: none;
	}
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; gap: 0; width: 100%; }
	.site-nav__list a { display: block; padding: 0.9em 0.25em; border-bottom: 1px solid var(--color-border); }
	.site-nav__list li:last-child a { border-bottom: none; }
	.site-nav .btn { margin-top: var(--space-sm); text-align: center; }
}
@media (max-width: 640px) {
	:root { --space-xl: 2.75rem; --space-lg: 1.75rem; --step-2: 1.5rem; }
	.grid--3, .grid--2 { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.brand__tag { display: none; }
}

/* ==========================================================================
   v2 additions
   ========================================================================== */

/* ---- Site-wide "Join us" banner (sits under the sticky header) ---- */
.join-banner {
	/* Warm Light Coral invite band — distinct from the cool sage/white sections it sits above */
	background: var(--color-highlight);
	border-top: 1px solid rgba(14,15,15,0.12);
	border-bottom: 1px solid rgba(14,15,15,0.12);
}
.join-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-md);
	flex-wrap: wrap;
	/* Horizontal padding matches the page (.container also applies var(--space-md));
	   extra vertical padding adds breathing room above the hero */
	padding: var(--space-md) var(--space-md);
}
.join-banner__text {
	margin: 0;
	font-size: var(--step-0);
	line-height: 1.45;
	color: var(--color-ink);
}
.join-banner__text strong { color: var(--color-accent-dark); }
/* On wider screens: text fills the left, "Become a member" sits on the right.
   Below 641px the base rules above keep the stacked mobile layout. */
@media (min-width: 641px) {
	.join-banner__inner { flex-wrap: nowrap; justify-content: space-between; }
	.join-banner__text { flex: 1 1 auto; }
	.join-banner__inner .btn { flex: 0 0 auto; }
}
.btn--sm {
	padding: 0.55em 1.1em;
	font-size: var(--step--1);
	white-space: nowrap;
}

/* ---- Donate / tax-info page ---- */
.donate-cols { align-items: stretch; }
.donate-box {
	text-align: center;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: var(--space-lg);
}
.donate-box form { margin-top: var(--space-md); }
.donate-box form p, .donate-box form br { margin: 0; padding: 0; display: none; } /* Eliminating weird PayPal card spacing */

.info-card { padding: var(--space-lg); }
.info-list { margin: 0; }
.info-list > div {
	display: flex;
	gap: var(--space-md);
	padding: var(--space-sm) 0;
	border-bottom: 1px solid var(--color-border);
}
.info-list > div:last-child { border-bottom: none; }
.info-list dt {
	flex: 0 0 11rem;
	margin: 0;
	font-family: var(--font-ui);
	font-weight: 600;
	color: var(--color-muted);
}
.info-list dd { margin: 0; }

.notice {
	background: var(--color-surface-2);
	border-left: 4px solid var(--color-accent);
	border-radius: var(--radius);
	padding: var(--space-md);
	margin: 0 0 var(--space-lg);
	font-size: var(--step--1);
	color: var(--color-muted);
}
.notice strong { color: var(--color-ink); }

@media (max-width: 640px) {
	.info-list > div { flex-direction: column; gap: 2px; }
	.info-list dt { flex-basis: auto; }
	.join-banner__inner { justify-content: flex-start; }
}

/* ==========================================================================
   v3 additions — brand photography + brand-font refinements
   ========================================================================== */

/* EB Garamond runs small/light; nudge display headings for presence */
h1, h2, h3, h4 { letter-spacing: 0; }
.eyebrow { font-weight: 700; }

/* ---- Split: image beside text ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; }
.split__media { margin: 0; }
.split__media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); }

/* ---- Photo gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); margin-top: var(--space-md); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); display: block; }
.gallery figcaption { font-family: var(--font-ui); font-size: var(--step--1); color: var(--color-muted); margin-top: 6px; }

/* ---- Inline signup (event notifications) ---- */
.signup { display: flex; gap: var(--space-sm) var(--space-md); flex-wrap: wrap; align-items: flex-end; margin-top: var(--space-md); }
.signup .field { flex: 1 1 18rem; margin-bottom: 0; }
.signup .btn { flex: 0 0 auto; }  /* bottom-aligned with the input via align-items: flex-end */

@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	/* 1-up at full height so the rotated (portrait) photos aren't hard-cropped */
	.gallery { grid-template-columns: 1fr; }
	.gallery img { height: auto; }
}

/* ==========================================================================
   v4 additions — SEO/UX polish
   ========================================================================== */

/* Disabled button (e.g. Zeffy, not yet live) */
.btn--disabled,
.btn[disabled] {
	background: var(--color-surface-2);
	color: var(--color-muted);
	border-color: var(--color-border);
	cursor: not-allowed;
	box-shadow: none;
}
.btn--disabled:hover,
.btn[disabled]:hover { background: var(--color-surface-2); color: var(--color-muted); border-color: var(--color-border); }

/* Preview-only note under non-wired forms */
.form-preview-note {
	font-family: var(--font-ui);
	font-size: var(--step--1);
	color: var(--color-muted);
	margin-top: var(--space-sm);
}

/* Skip-to-content link (visible on focus) */
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--color-ink); color: #fff;
	padding: 0.6em 1em; border-radius: 0 0 var(--radius) 0;
	font-family: var(--font-ui); font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

/* Hamburger icon for the mobile nav toggle */
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 22px; height: 2px; background: var(--color-ink);
	border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Social icon links (used on the Contact page; footer stays text) */
.social-icons { display: flex; gap: var(--space-sm); list-style: none; margin: var(--space-sm) 0 0; padding: 0; }
.social-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--color-border); color: var(--color-accent-dark);
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.social-icon:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.social-icon svg { display: block; width: 20px; height: 20px; }

/* When a cropped (cover) image would cut off the subject, anchor to the top */
.img-top { object-position: top; }

/* Breathing room between a card's copy and its buttons (e.g. "Support our work") */
.card .btn-row { margin-top: var(--space-md); }

/* ==========================================================================
   v5 rhythm & consistency fixes
   ========================================================================== */
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3 { margin-top: var(--space-lg); }
.signup .form-status { flex-basis: 100%; }
@media (min-width: 861px) { .grid--3 { gap: var(--space-lg); } }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, .btn:focus-visible,
.nav-toggle:focus-visible, .site-nav__list a:focus-visible, .social-icon:focus-visible {
	outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 2px;
}

/* Spacing / layout utilities (replace former inline styles) */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-md { margin-bottom: var(--space-md); }
.btn-row--center { justify-content: center; }
.text-muted { color: var(--color-muted); }
.measure { max-width: 40rem; }

/* ==========================================================================
   v6 — home hero copy over the banner's frosted panel
   ========================================================================== */
.hero--banner {
	background: var(--brand-white) url("/wp-content/uploads/2026/10/SlowFoodHeaderBanner.svg") center / cover no-repeat;
	border-bottom: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	min-height: clamp(360px, 46vw, 560px);
}
.hero--banner .hero__inner { width: 100%; padding: var(--space-lg) 0; }
.hero--banner .lede { max-width: 36rem; }
/* Navy copy sits on the ~65%-opacity white panel; a soft white glow guards legibility
   where text nears the hills. */
.hero--banner .eyebrow,
.hero--banner h1,
.hero--banner .lede { text-shadow: 0 1px 2px rgba(255, 255, 255, 0.75); }

/* "What we do": cards stacked on the left, feature photo on the right
   (stacks to one column — photo beneath the cards — on mobile). */
.whatwedo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: stretch; }
.whatwedo__cards { display: grid; gap: var(--space-md); align-content: start; }
.whatwedo__media { margin: 0; display: flex; flex-direction: column; }
.whatwedo__media img { width: 100%; flex: 1; min-height: 260px; object-fit: cover; border-radius: var(--radius); }
.whatwedo__media figcaption { font-family: var(--font-ui); font-size: var(--step--1); color: var(--color-muted); margin-top: var(--space-xs); text-align: center; }
@media (max-width: 860px) {
	.whatwedo { grid-template-columns: 1fr; }
	.whatwedo__media img { flex: none; height: auto; max-height: 420px; }
}
