/*
Theme Name: Heal Humanitarian Theme
Theme URI: https://healhumanitarian.org
Author: Heal Humanitarian
Author URI: https://healhumanitarian.org
Description: Bare bones custom theme for Heal Humanitarian.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: heal-humanitarian-theme
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Base (mobile-first) */

/*
 * Brand colors and heading font. These defaults keep the theme looking
 * correct on its own; Heal Humanitarian Plugin's "Brand Colors" and
 * "General Options" settings override the three --hh-color-* properties by
 * redeclaring them on :root. Values match the live site's actual Elementor
 * global colors (healhumanitarian.com, kit post-6.css) — red/cream/charcoal
 * are the three colors someone deliberately added there; blue/green/gray
 * are just Elementor's untouched starter-kit defaults, not brand colors.
 */
:root {
	--hh-color-primary: #3e4247; /* Charcoal — ink, headings, dark bands */
	--hh-color-secondary: #7a7a7a; /* body copy gray, matches the live site's */
	--hh-color-accent: #dc282d; /* Red — the live site's actual Donate/CTA color */
	/*
	 * Hoefler Text is a macOS/iOS system font, not a Google Fonts/Fontshare
	 * webfont (neither carries it) -- so it belongs in this fallback stack
	 * rather than General Options' font-name field, which only makes sense
	 * paired with one of those two providers. Visitors without it installed
	 * fall through to the rest of the stack exactly as before.
	 */
	--hh-font-heading: "Hoefler Text", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--hh-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	/*
	 * Structural neutrals — not brand colors, so never redeclared by the
	 * plugin. --hh-surface-soil is a fixed dark tone for hero/band overlays
	 * so they stay legible even if an admin picks a light brand primary.
	 */
	--hh-surface-sand: #f5e7da; /* the live site's cream (nav text color) */
	--hh-surface-card: #ffffff;
	--hh-surface-soil: #3e4247;
	--hh-line: #e8d8bf;

	/*
	 * Extra project colors — not full brand colors (no Brand Colors admin
	 * field for these), used at a handful of specific spots rather than
	 * threaded through the whole site. River: outline/secondary CTAs (the
	 * quiet counterweight to the solid accent reserved for giving) and one
	 * of the What We Do color-overlay choices. Sage: the donate progress
	 * bar fill, and another overlay choice. Honey, Orchid, and Mist:
	 * overlay choices only.
	 */
	--hh-color-river: #559cad;
	--hh-color-sage: #7a9b76;
	--hh-color-honey: #b56d0f;
	--hh-color-orchid: #db28d2;
	--hh-color-mist: #6e8386;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--hh-surface-sand);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.5;
}

img {
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 2px solid var(--hh-color-accent);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Shared content container (pages, posts, archives) */
.content-container {
	max-width: 760px;
	margin: 0 auto;
	padding: 32px 20px;
}

.content-container article {
	margin-bottom: 48px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--hh-line);
}

.content-container article:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.entry-title {
	font-family: var(--hh-font-heading);
	font-size: 1.75rem;
	margin: 0 0 16px;
	color: var(--hh-color-primary);
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-meta {
	color: var(--hh-color-secondary);
	font-size: 0.9rem;
	margin: 0 0 20px;
}

.entry-thumbnail {
	display: block;
	margin: 0 0 24px;
}

.entry-thumbnail img {
	border-radius: 4px;
}

.entry-content {
	font-family: var(--hh-font-body);
	color: var(--hh-color-secondary);
	line-height: 1.6;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content figure {
	margin: 0 0 20px;
}

.entry-content a {
	color: var(--hh-color-accent);
}

.entry-content img {
	border-radius: 4px;
}

/*
 * Field Reports archive (category-field-reports.php only -- the single
 * column excerpt list in index.php's .content-container is unaffected).
 * One column on phones, three side by side from the theme's one
 * breakpoint up. Full viewport width (no max-width/centering, unlike
 * .content-container) -- just side padding -- so the grid fills the
 * screen on desktop instead of sitting in a boxed-in column.
 */
.field-reports-container {
	padding: 32px 20px;
}

.field-reports-header {
	margin-bottom: 32px;
}

.field-reports-header__title {
	font-family: var(--hh-font-heading);
	font-size: 2rem;
	line-height: 1.15;
	color: var(--hh-color-primary);
	margin: 0 0 12px;
}

.field-reports-header__subtitle {
	font-family: var(--hh-font-body);
	font-size: 1.05rem;
	color: var(--hh-color-secondary);
	margin: 0;
}

.field-reports-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

/*
 * Layout: sidebar stacks below the grid on phones, sits beside it (fixed
 * width, main column flexible) from the theme's one breakpoint up --
 * same breakpoint the grid itself switches to 3 columns at, so both
 * change together rather than at two different widths.
 */
.field-reports-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: start;
}

.field-reports-sidebar {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.field-reports-widget {
	padding: 24px;
	border: 1px solid var(--hh-line);
	border-radius: 8px;
}

.field-reports-widget__title {
	font-family: var(--hh-font-heading);
	font-size: 1.1rem;
	color: var(--hh-color-primary);
	margin: 0 0 16px;
}

.field-reports-widget__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.field-reports-widget__list li + li {
	border-top: 1px solid var(--hh-line);
}

.field-reports-widget__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	color: var(--hh-color-secondary);
	text-decoration: none;
}

.field-reports-widget__list a:hover {
	color: var(--hh-color-accent);
}

.field-reports-widget__count {
	color: var(--hh-color-secondary);
	font-size: 0.85rem;
}

.field-reports-widget__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.field-reports-widget__tag {
	padding: 6px 12px;
	border: 1px solid var(--hh-line);
	border-radius: 999px;
	color: var(--hh-color-secondary);
	font-size: 0.85rem;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.field-reports-widget__tag:hover {
	border-color: var(--hh-color-accent);
	color: var(--hh-color-accent);
}

.field-reports-widget--donate {
	background: var(--hh-surface-soil);
	border-color: var(--hh-surface-soil);
	color: #fff;
}

.field-reports-widget--donate .field-reports-widget__title {
	color: #fff;
}

.field-reports-widget--donate p {
	margin: 0 0 16px;
	font-size: 0.9rem;
	opacity: 0.85;
}

/*
 * Shared by both newsletter forms (homepage .newsletter-form and the
 * Field Reports sidebar's .field-reports-widget__newsletter-form, which
 * just adjust width/centering on top of this) -- see
 * heal_humanitarian_newsletter_form_render() in the plugin. First Name +
 * Last Name + Email + an optional GDPR consent checkbox, stacked; no
 * row-layout variant since that only ever fit a single email input.
 */
.hh-newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hh-newsletter-form input[type="text"],
.hh-newsletter-form input[type="email"] {
	padding: 10px 14px;
	border: 1px solid var(--hh-line);
	border-radius: 4px;
	font-family: var(--hh-font-body);
	font-size: 0.95rem;
}

.hh-newsletter-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	text-align: left;
	font-family: var(--hh-font-body);
	font-size: 0.8rem;
	color: var(--hh-color-secondary);
}

.hh-newsletter-form__consent input[type="checkbox"] {
	flex-shrink: 0;
	margin-top: 3px;
}

/*
 * Card: full-bleed photo with a dark panel (.__body) absolutely anchored
 * to the bottom, holding the tag/title/excerpt/meta, bottom-anchored via
 * flex. At rest .__body is only tall enough for the tag/title/meta and
 * its own gradient background fades in a little above its top edge; on
 * hover/focus-within it grows taller (to fit the excerpt) while that
 * gradient's solid stop moves higher too, so the overlay reads as rising
 * up the photo rather than the excerpt just fading in in place.
 * rgb(30, 24, 18) matches the dark tint already used on the hero/
 * post-hero photos and .hh-video-bg elsewhere in the theme.
 */
.field-report-card {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	border-radius: 10px;
	overflow: hidden;
	background: rgb(30, 24, 18);
}

.field-report-card__media {
	position: absolute;
	inset: 0;
	display: block;
}

.field-report-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.field-report-card__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 55%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 20px;
	background: linear-gradient(to bottom, rgba(30, 24, 18, 0) 0%, rgba(30, 24, 18, 0.88) 60%);
	transition: height 0.35s ease, background 0.35s ease;
}

.field-report-card:hover .field-report-card__body,
.field-report-card:focus-within .field-report-card__body {
	height: 92%;
	background: linear-gradient(to bottom, rgba(30, 24, 18, 0) 0%, rgba(30, 24, 18, 0.88) 28%);
}

.field-report-card__tags {
	display: flex;
	flex-wrap: wrap;
	align-self: flex-start;
	gap: 8px;
	margin: 0 0 14px;
}

.field-report-card__tag {
	display: inline-block;
	padding: 6px 12px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-family: var(--hh-font-body);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 999px;
	transition: background 0.2s ease;
}

.field-report-card__tag:hover,
.field-report-card__tag:focus {
	background: rgba(255, 255, 255, 0.28);
}

.field-report-card__title {
	margin: 0;
	font-family: var(--hh-font-heading);
	font-size: 1.2rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.field-report-card__title a {
	color: #fff;
	text-decoration: none;
}

/*
 * Hidden at rest, revealed on hover/focus-within (see .__body above).
 * max-height (not height) so a varying excerpt length can still animate
 * smoothly without JS measuring its real height.
 */
.field-report-card__excerpt {
	max-height: 0;
	margin: 0;
	opacity: 0;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.8);
	font-family: var(--hh-font-body);
	font-size: 0.88rem;
	line-height: 1.5;
	transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
}

.field-report-card:hover .field-report-card__excerpt,
.field-report-card:focus-within .field-report-card__excerpt {
	max-height: 150px;
	margin: 10px 0 0;
	opacity: 1;
}

.field-report-card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.85rem;
}

.field-report-card__meta-icon {
	flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
	.field-report-card__body,
	.field-report-card__excerpt {
		transition: none;
	}
}

@media (min-width: 768px) {
	.field-reports-container {
		padding: 48px 48px;
	}

	.field-reports-header__title {
		font-size: 2.75rem;
	}

	.field-reports-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.field-reports-layout {
		grid-template-columns: 1fr 280px;
	}
}

/*
 * Post hero (single.php only) — the post's Featured Image or an optional
 * per-post YouTube video (plugin's post-editor sidebar meta box), with the
 * title overlaid. Shorter than the homepage/page heroes (those are full
 * 100dvh; a blog post doesn't need that much of a cold open) and left-
 * aligned/bottom-anchored rather than centered, an editorial convention
 * (title sits right above where the body copy begins) rather than the
 * homepage's single-statement centering.
 */
.hh-post-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 48vh;
	color: #fff;
	overflow: hidden;
	background: var(--hh-surface-soil);
}

.hh-post-hero__image {
	position: absolute;
	inset: 0;
}

.hh-post-hero__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(30, 24, 18, 0.45);
}

.hh-post-hero__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hh-post-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	padding: 32px 20px;
}

.hh-post-hero__title {
	font-family: var(--hh-font-heading);
	font-size: 1.75rem;
	line-height: 1.25;
	margin: 0;
}

@media (min-width: 768px) {
	.hh-post-hero {
		min-height: 60vh;
	}

	.hh-post-hero__content {
		padding: 48px 20px;
	}

	.hh-post-hero__title {
		font-size: 2.75rem;
	}
}

/* Header + navigation (mobile-first) */
.site-header {
	position: relative;
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 12px 20px;
	transition: padding 0.2s ease;
}

.site-branding {
	order: 1;
}

.site-branding__link {
	font-family: var(--hh-font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--hh-color-primary);
	text-decoration: none;
}

.custom-logo-link {
	display: block;
}

.custom-logo {
	display: block;
	max-height: 40px;
	width: auto;
	transition: max-height 0.2s ease;
}

.site-header__actions {
	order: 2;
	display: flex;
	align-items: center;
	gap: 12px;
}

.nav-donate-button {
	display: inline-block;
	padding: 8px 18px;
	background: var(--hh-color-accent);
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
	transition: padding 0.2s ease, font-size 0.2s ease, filter 0.2s ease;
}

.nav-donate-button:hover {
	filter: brightness(0.88);
}

.menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	flex-shrink: 0;
}

.menu-toggle__bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--hh-color-secondary);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.site-navigation {
	order: 3;
	display: none;
	width: 100%;
	border-top: 1px solid var(--hh-line);
	margin-top: 12px;
}

.site-navigation.is-open {
	display: block;
}

.primary-menu {
	list-style: none;
	margin: 0;
	padding: 10px 0 0;
}

.primary-menu li {
	border-top: 1px solid var(--hh-line);
}

.primary-menu li:first-child {
	border-top: 0;
}

/*
 * This nav has no dropdown behavior — if a menu item ever ends up nested
 * under another (e.g. an accidental drag in Appearance > Menus), WP still
 * outputs it as a real <ul class="sub-menu">, which this theme doesn't
 * style at all, so it would render with the browser's own bullet/indent
 * and break onto its own line. display:contents removes that wrapper from
 * the layout entirely, promoting its <li> children to sit directly in
 * .primary-menu's flex row — same row, same styling as a top-level item —
 * so a structure mistake like that can't visibly break the header again.
 */
.primary-menu .sub-menu {
	display: contents;
}

.primary-menu a {
	display: block;
	padding: 12px 16px;
	color: var(--hh-color-primary);
	text-decoration: none;
	transition: padding 0.2s ease, font-size 0.2s ease;
}

/* Menu alignment (mobile: text-align within the stacked dropdown) */
.site-navigation--align-center .primary-menu a {
	text-align: center;
}

.site-navigation--align-right .primary-menu a {
	text-align: right;
}

@media (min-width: 768px) {
	.menu-toggle {
		display: none;
	}

	.site-header__inner {
		flex-wrap: nowrap;
		/*
		 * The donate button's own background swallows its left padding
		 * visually, so the gap before it reads as just the previous nav
		 * link's padding-right (8px). This gap makes up the difference so
		 * that visible whitespace matches the gap between nav links
		 * (padding-right + .primary-menu's gap + padding-left = 20px).
		 */
		gap: 12px;
	}

	.site-header__actions {
		order: 3;
	}

	.site-navigation {
		order: 2;
		display: block;
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		border-top: 0;
		margin-top: 0;
	}

	.primary-menu {
		display: flex;
		gap: 4px;
		padding: 0;
	}

	.primary-menu li {
		border-top: 0;
	}

	.primary-menu a {
		padding: 8px 8px;
	}

	/* Menu alignment (desktop: position within the space between logo and actions) */
	.site-navigation--align-left .primary-menu {
		justify-content: flex-start;
	}

	.site-navigation--align-center .primary-menu {
		justify-content: center;
	}

	.site-navigation--align-right .primary-menu {
		justify-content: flex-end;
	}
}

/* Sticky nav (toggleable via Heal Humanitarian Plugin) */
.site-header--sticky {
	position: sticky;
	top: 0;
	z-index: 100;
}

/* Account for the WP admin toolbar when a logged-in user has it showing */
body.admin-bar .site-header--sticky {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header--sticky {
		top: 46px;
	}
}

/*
 * Overlays the header on the homepage hero instead of sitting above it and
 * pushing it down: position:absolute takes it out of flow, so the hero
 * (the next element in the markup) starts at the very top underneath it.
 * The header keeps its normal configured background/text colors (nav-colors
 * plugin, or this theme's own fallback) at all times -- it does not go
 * transparent here or once stuck below, so it's always readable regardless
 * of what's scrolled behind it.
 *
 * Independent of the sticky toggle: this rule and .site-header--sticky's
 * own position:sticky above have equal specificity, so when a page has
 * both classes, this one (declared later) wins at rest, keeping the
 * overlay regardless of whether sticky is enabled. Once scrolled past the
 * hero, .site-header--sticky.is-stuck below is a two-class selector and
 * wins on specificity instead, switching to position:fixed so sticky mode
 * still kicks in past that point. If sticky is off, .is-stuck is never
 * added (sticky-header.js only looks for .site-header--sticky), so this
 * stays position:absolute throughout and the header simply scrolls away
 * with the hero, same as a plain non-sticky header does today.
 */
.site-header--overlay-hero {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

.site-header--sticky.is-stuck {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}

.site-header--sticky.is-stuck .site-header__inner {
	padding-top: 6px;
	padding-bottom: 6px;
}

.site-header--sticky.is-stuck .custom-logo {
	max-height: 30px;
}

.site-header--sticky.is-stuck .primary-menu a {
	font-size: 0.9rem;
}

.site-header--sticky.is-stuck .nav-donate-button {
	padding: 6px 14px;
	font-size: 0.8rem;
}

@media (min-width: 768px) {
	.site-header--sticky.is-stuck .primary-menu a {
		padding-top: 6px;
		padding-bottom: 6px;
	}
}

/* Hero (markup rendered by Heal Humanitarian Plugin) */
.hh-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	height: 100dvh;
	text-align: center;
	color: #fff;
	background: var(--hh-color-secondary);
	overflow: hidden;
}

.hh-hero__image {
	position: absolute;
	inset: 0;
}

.hh-hero__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(62, 66, 71, 0.45);
}

.hh-hero__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hh-hero--parallax .hh-hero__image img {
	position: absolute;
	left: 0;
	top: -10%;
	height: 120%;
	will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
	.hh-hero--parallax .hh-hero__image img {
		position: static;
		top: 0;
		height: 100%;
		transform: none !important;
	}

	.about-intro__media img,
	.programs-intro__media img {
		position: static;
		top: 0;
		height: 100%;
		transform: none !important;
	}
}

.hh-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 800px;
	padding: 0 20px;
}

/* Hero content alignment (plugin-configurable) */
.hh-hero--align-left {
	justify-content: flex-start;
}

.hh-hero--align-left .hh-hero__content {
	text-align: left;
	margin-left: 6%;
}

.hh-hero--align-right {
	justify-content: flex-end;
}

.hh-hero--align-right .hh-hero__content {
	text-align: right;
	margin-right: 6%;
}

.hh-hero__h1 {
	font-family: var(--hh-font-heading);
	margin: 0 0 10px;
}

.hh-hero__h2 {
	font-family: var(--hh-font-body);
	font-weight: 400;
	margin: 0 0 20px;
}

/* Hero H1/H2 size presets (plugin-configurable) */
.hh-hero__h1--small {
	font-size: 1.4rem;
}

.hh-hero__h1--medium {
	font-size: 1.75rem;
}

.hh-hero__h1--large {
	font-size: 2.1rem;
}

.hh-hero__h1--x-large {
	font-size: 2.5rem;
}

.hh-hero__h2--small {
	font-size: 0.9rem;
}

.hh-hero__h2--medium {
	font-size: 1.05rem;
}

.hh-hero__h2--large {
	font-size: 1.25rem;
}

.hh-hero__h2--x-large {
	font-size: 1.5rem;
}

.hh-hero__cta {
	display: inline-block;
	padding: 12px 28px;
	background: var(--hh-color-accent);
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	transition: filter 0.2s ease;
}

.hh-hero__cta:hover {
	filter: brightness(0.88);
}

@media (min-width: 768px) {
	.hh-hero__h1--small {
		font-size: 2rem;
	}

	.hh-hero__h1--medium {
		font-size: 2.5rem;
	}

	.hh-hero__h1--large {
		font-size: 3rem;
	}

	.hh-hero__h1--x-large {
		font-size: 3.5rem;
	}

	.hh-hero__h2--small {
		font-size: 1rem;
	}

	.hh-hero__h2--medium {
		font-size: 1.25rem;
	}

	.hh-hero__h2--large {
		font-size: 1.5rem;
	}

	.hh-hero__h2--x-large {
		font-size: 1.75rem;
	}
}

/*
 * Hero: globe variant (markup rendered by the plugin when Hero Style is set
 * to Globe — see assets/hero-globe.js). Content sits near the top instead
 * of centered, leaving room for the globe to rise from the bottom edge like
 * a horizon; .hh-hero's own overflow:hidden does the cropping, so the globe
 * itself is just a big circle positioned mostly below the section.
 */
.hh-hero--globe {
	align-items: flex-start;
	padding-top: 96px;
	color: var(--hh-color-primary);
	background: var(--hh-surface-sand);
}

.hh-hero--globe .hh-hero__h2 {
	opacity: 0.75;
}

.hh-hero__globe {
	position: absolute;
	left: 50%;
	bottom: -22%;
	transform: translateX(-50%);
	width: 153vmin;
	height: 153vmin;
	max-width: 1445px;
	max-height: 1445px;
}

@media (min-width: 768px) {
	.hh-hero--globe {
		padding-top: 140px;
	}

	.hh-hero__globe {
		bottom: -67%;
		width: 127.5vmin;
		height: 127.5vmin;
	}
}

/*
 * Background video (YouTube) — shared by the homepage's Video hero style
 * and the per-post hero (assets/hero-video.js fills in the iframe; a
 * visitor with reduce-motion set gets a static frame instead, no iframe at
 * all, set as this element's own background-image by that same script).
 * The oversized/centered iframe is the standard "cover" trick for a 16:9
 * embed: sized off whichever of vw/vh is the larger axis, then clipped by
 * this wrapper's overflow:hidden.
 */
.hh-video-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background-color: var(--hh-color-primary);
}

.hh-video-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(30, 24, 18, 0.45);
	z-index: 2;
}

/*
 * Still frame (the video's own thumbnail) shown on top of the iframe while
 * YouTube's title/controls/logo flash is on screen -- at the very start of
 * playback and again at the top of every loop restart (see hero-video.js).
 * Faded out via .is-hidden once playback is confirmed underway.
 */
.hh-video-bg__cover {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 1;
	opacity: 1;
	transition: opacity 0.6s ease;
}

.hh-video-bg__cover.is-hidden {
	opacity: 0;
}

.hh-video-bg iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 177.78vh;
	height: 100vh;
	min-width: 100%;
	min-height: 56.25vw;
	transform: translate(-50%, -50%);
	pointer-events: none;
	border: 0;
}

/*
 * Video hero overlay: gradient variants (plugin-configurable on the
 * Homepage Hero settings page; "flat" -- the .hh-video-bg::after tint
 * above -- is the default and needs no modifier class). Each fades from
 * clear to dark toward one edge of the video. Background only -- content
 * position is left entirely to the existing "Content Alignment" setting
 * (.hh-hero--align-*), not tied to whichever gradient is picked here.
 */
.hh-hero--video-overlay-gradient-top .hh-video-bg::after {
	background: linear-gradient(to top, rgba(30, 24, 18, 0) 0%, rgba(30, 24, 18, 0.8) 100%);
}

.hh-hero--video-overlay-gradient-bottom .hh-video-bg::after {
	background: linear-gradient(to bottom, rgba(30, 24, 18, 0) 0%, rgba(30, 24, 18, 0.8) 100%);
}

.hh-hero--video-overlay-gradient-middle .hh-video-bg::after {
	background: linear-gradient(to bottom, rgba(30, 24, 18, 0) 0%, rgba(30, 24, 18, 0.8) 50%, rgba(30, 24, 18, 0) 100%);
}

.hh-hero--video-overlay-gradient-ltr .hh-video-bg::after {
	background: linear-gradient(to right, rgba(30, 24, 18, 0.8) 0%, rgba(30, 24, 18, 0) 100%);
}

.hh-hero--video-overlay-gradient-rtl .hh-video-bg::after {
	background: linear-gradient(to left, rgba(30, 24, 18, 0.8) 0%, rgba(30, 24, 18, 0) 100%);
}

/*
 * "What We Do" (markup rendered by Heal Humanitarian Plugin, directly below
 * the hero): a plugin-configurable repeater of full-bleed sections, one per
 * program/initiative. Each is its own 100vh/100vw section -- deliberately
 * styled close to .hh-hero (same overlay tint, same CTA button) so the two
 * read as one continuous visual language rather than two different systems.
 *
 * Stacking/cover scroll effect: every section is `position: sticky; top: 0`,
 * so each one pins to the top of the viewport for exactly its own 100vh of
 * scroll distance. No z-index juggling needed -- sticky elements with
 * z-index:auto still paint in DOM order, so a later section's opaque
 * background naturally slides up and covers the (still-stuck) section
 * before it. .hh-feature-list itself needs no special CSS for this; it
 * works purely off the sections being in normal flow with nothing above
 * them creating their own scroll container.
 */
.hh-feature {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	text-align: center;
	color: #fff;
	background: var(--hh-color-secondary);
	overflow: hidden;
}

.hh-feature__media {
	position: absolute;
	inset: 0;
}

.hh-feature__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(62, 66, 71, 0.45);
}

.hh-feature__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*
 * Color Overlay (toggleable per section via Heal Humanitarian -> What We
 * Do): grayscale the photo and swap the default neutral tint for one of
 * the four project colors instead. All four share the grayscale + opacity
 * treatment; only the tint color itself differs per modifier.
 */
.hh-feature--overlay-red .hh-feature__media img,
.hh-feature--overlay-orchid .hh-feature__media img,
.hh-feature--overlay-river .hh-feature__media img,
.hh-feature--overlay-honey .hh-feature__media img,
.hh-feature--overlay-sage .hh-feature__media img,
.hh-feature--overlay-mist .hh-feature__media img {
	filter: grayscale(100%);
}

.hh-feature--overlay-red .hh-feature__media::after,
.hh-feature--overlay-orchid .hh-feature__media::after,
.hh-feature--overlay-river .hh-feature__media::after,
.hh-feature--overlay-honey .hh-feature__media::after,
.hh-feature--overlay-sage .hh-feature__media::after,
.hh-feature--overlay-mist .hh-feature__media::after {
	opacity: 0.55;
}

.hh-feature--overlay-red .hh-feature__media::after {
	background: var(--hh-color-accent);
}

.hh-feature--overlay-orchid .hh-feature__media::after {
	background: var(--hh-color-orchid);
}

.hh-feature--overlay-mist .hh-feature__media::after {
	background: var(--hh-color-mist);
}

.hh-feature--overlay-river .hh-feature__media::after {
	background: var(--hh-color-river);
}

.hh-feature--overlay-honey .hh-feature__media::after {
	background: var(--hh-color-honey);
}

.hh-feature--overlay-sage .hh-feature__media::after {
	background: var(--hh-color-sage);
}

.hh-feature__content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 700px;
	padding: 0 20px;
}

.hh-feature__heading {
	font-family: var(--hh-font-heading);
	font-size: 1.75rem;
	margin: 0 0 10px;
}

.hh-feature__subheading {
	font-family: var(--hh-font-body);
	font-weight: 400;
	font-size: 1.05rem;
	margin: 0 0 20px;
}

.hh-feature__cta {
	display: inline-block;
	padding: 12px 28px;
	background: var(--hh-color-accent);
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	transition: filter 0.2s ease;
}

.hh-feature__cta:hover {
	filter: brightness(0.88);
}

@media (min-width: 768px) {
	.hh-feature__heading {
		font-size: 2.5rem;
	}

	.hh-feature__subheading {
		font-size: 1.25rem;
	}
}

/*
 * Blog ticker (markup rendered by Heal Humanitarian Plugin, between the
 * "What We Do" sections and the rest of the homepage). An infinite
 * horizontal strip: the plugin renders the post list
 * twice back-to-back (second copy aria-hidden/untabbable) and the track
 * animates translateX(-50%) on a loop -- moving by exactly one copy's width
 * lands back on an identical frame, so the seam is invisible. Only the
 * animation's *duration* is dynamic: assets/blog-ticker.js measures the
 * rendered width of one copy and divides by the plugin's configured
 * pixels/second speed, so the visual speed stays constant regardless of how
 * many posts or how wide the viewport is.
 */
.hh-blog-ticker {
	overflow: hidden;
	width: 100%;
	padding: 48px 0;
	background: var(--hh-surface-sand);
}

.hh-blog-ticker__heading {
	font-family: var(--hh-font-heading);
	font-size: 1.5rem;
	text-align: center;
	color: var(--hh-color-primary);
	margin: 0 0 28px;
	padding: 0 20px;
}

.hh-blog-ticker__viewport {
	overflow: hidden;
	width: 100%;
}

.hh-blog-ticker__track {
	display: flex;
	width: max-content;
	animation: hh-blog-ticker-scroll var(--hh-ticker-duration, 40s) linear infinite;
}

.hh-blog-ticker:hover .hh-blog-ticker__track,
.hh-blog-ticker:focus-within .hh-blog-ticker__track {
	animation-play-state: paused;
}

.hh-blog-ticker__group {
	display: flex;
	flex-shrink: 0;
	gap: 20px;
	padding: 0 10px;
}

/*
 * Same photo-card-with-overlay treatment as .field-report-card on the
 * Field Reports archive (full-bleed image, dark gradient overlay holding
 * the text, body growing taller on hover/focus to reveal the excerpt) --
 * see that card's CSS for the full rationale. Hovering an item already
 * pauses the ticker's scroll animation (above), so the reveal never
 * fights the motion.
 */
.hh-blog-ticker__item {
	position: relative;
	display: block;
	flex: 0 0 240px;
	width: 240px;
	aspect-ratio: 3 / 4;
	border-radius: 10px;
	overflow: hidden;
	background: rgb(30, 24, 18);
	text-decoration: none;
	color: inherit;
}

.hh-blog-ticker__media {
	position: absolute;
	inset: 0;
	display: block;
}

.hh-blog-ticker__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hh-blog-ticker__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 45%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 18px;
	background: linear-gradient(to bottom, rgba(30, 24, 18, 0) 0%, rgba(30, 24, 18, 0.88) 65%);
	transition: height 0.35s ease, background 0.35s ease;
}

.hh-blog-ticker__item:hover .hh-blog-ticker__body,
.hh-blog-ticker__item:focus .hh-blog-ticker__body {
	height: 92%;
	background: linear-gradient(to bottom, rgba(30, 24, 18, 0) 0%, rgba(30, 24, 18, 0.88) 28%);
}

.hh-blog-ticker__title {
	margin: 0;
	font-family: var(--hh-font-heading);
	font-size: 1rem;
	line-height: 1.3;
	color: #fff;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.hh-blog-ticker__excerpt {
	max-height: 0;
	margin: 0;
	opacity: 0;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.8);
	font-family: var(--hh-font-body);
	font-size: 0.85rem;
	line-height: 1.5;
	transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.35s ease;
}

.hh-blog-ticker__item:hover .hh-blog-ticker__excerpt,
.hh-blog-ticker__item:focus .hh-blog-ticker__excerpt {
	max-height: 150px;
	margin: 10px 0 0;
	opacity: 1;
}

@keyframes hh-blog-ticker-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hh-blog-ticker__track {
		animation: none !important;
	}

	.hh-blog-ticker__viewport {
		overflow-x: auto;
	}

	.hh-blog-ticker__group[aria-hidden="true"] {
		display: none;
	}

	.hh-blog-ticker__body,
	.hh-blog-ticker__excerpt {
		transition: none;
	}
}

@media (min-width: 768px) {
	.hh-blog-ticker {
		padding: 64px 0;
	}

	.hh-blog-ticker__item {
		flex: 0 0 280px;
		width: 280px;
	}
}

/* Homepage sections */
.btn {
	display: inline-block;
	padding: 12px 28px;
	background: var(--hh-color-accent);
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	transition: filter 0.2s ease;
}

.btn:hover {
	filter: brightness(0.88);
}

/*
 * Outline variant for secondary/informational actions (Learn More, Sign Up),
 * kept visually quieter than the solid accent reserved for giving. River —
 * the cool counterweight to Clay — carries that distinction.
 */
.btn--outline {
	background: transparent;
	border: 2px solid var(--hh-color-river);
	color: var(--hh-color-river);
	padding: 10px 26px;
}

.btn--outline:hover {
	background: var(--hh-color-river);
	color: #fff;
	filter: none;
}

.home-section {
	padding: 48px 20px;
}

.home-section__inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.home-section__inner--wide {
	max-width: 1000px;
}

.home-about h2,
.home-get-involved h2,
.home-intro h2,
.home-seed h2,
.home-newsletter h2 {
	font-family: var(--hh-font-heading);
	font-size: 1.5rem;
	margin: 0 0 12px;
	color: var(--hh-color-primary);
}

.home-about p,
.home-get-involved__intro,
.home-intro p,
.home-seed p,
.home-newsletter p {
	font-family: var(--hh-font-body);
	margin: 0 0 20px;
	color: var(--hh-color-secondary);
	line-height: 1.6;
}

/* "About HEAL" CTA uses the brand primary color rather than the neutral
   charcoal .btn--outline otherwise defaults to. */
.home-intro .btn--outline {
	border-color: var(--hh-color-primary);
	color: var(--hh-color-primary);
}

.home-intro .btn--outline:hover {
	background: var(--hh-color-primary);
}

.home-get-involved__intro {
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

/* "Who We Are" — editorial two-column (text + field photo), not a centered
   text-only stack. */
.home-about__grid {
	display: grid;
	gap: 32px;
	text-align: left;
}

.home-about__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 4px;
}

.home-about__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.get-involved__grid {
	display: grid;
	gap: 24px;
	margin-top: 24px;
	text-align: left;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}

.get-involved__card {
	background: var(--hh-surface-card);
	border: 1px solid var(--hh-line);
	border-radius: 8px;
	padding: 24px;
}

.get-involved__card h3 {
	font-family: var(--hh-font-heading);
	margin: 0 0 8px;
	color: var(--hh-color-primary);
}

.get-involved__card p {
	font-family: var(--hh-font-body);
	margin: 0 0 16px;
	color: var(--hh-color-secondary);
	line-height: 1.6;
}

@media (min-width: 768px) {
	.home-about__grid {
		grid-template-columns: 1.05fr 0.95fr;
		align-items: center;
		gap: 56px;
	}
}

/* Footer */
#site-footer {
	padding: 40px 20px 24px;
	text-align: center;
	border-top: 1px solid var(--hh-line);
}

#site-footer p {
	margin: 0;
	font-family: var(--hh-font-body);
	font-size: 0.85rem;
	color: var(--hh-color-secondary);
}

/*
 * 3 columns: US office / social+logos / Iraq office (plugin-configurable,
 * Heal Humanitarian -> Footer). Stacked on phones, side by side from the
 * theme's one breakpoint up. Each column is independently optional -- an
 * office with all its fields cleared, or a social/logos block with
 * nothing configured, just renders nothing rather than an empty box.
 */
.site-footer__columns {
	display: grid;
	gap: 32px;
	max-width: 900px;
	margin: 0 auto 28px;
	text-align: center;
}

.site-footer__col {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.site-footer__office-name {
	font-family: var(--hh-font-heading);
	font-size: 0.95rem;
	color: var(--hh-color-primary);
	margin: 0 0 8px;
}

.site-footer__office address {
	font-family: var(--hh-font-body);
	font-style: normal;
	font-size: 0.85rem;
	color: var(--hh-color-secondary);
	line-height: 1.6;
}

.site-footer__office address a {
	color: inherit;
	text-decoration: none;
}

.site-footer__office address a:hover {
	color: var(--hh-color-accent);
}

/*
 * Social links (plugin-configurable, Heal Humanitarian -> Footer) --
 * lives inside the 3-column grid's middle column. Only renders once a
 * URL is set, same as the rest of the site's plugin-owned sections.
 */
.site-footer__social {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-bottom: 28px;
}

.site-footer__social-link {
	display: inline-flex;
	transition: transform 0.2s ease;
}

.site-footer__social-link:hover {
	transform: translateY(-2px);
}

/*
 * Partner logos (plugin-configurable, Heal Humanitarian -> Footer) --
 * its own full-width row below the 3-column grid (see footer.php), not
 * inside it, so an arbitrary number of logos always has the full footer
 * width to wrap across. Only renders once at least one logo is set.
 */
.site-footer__logos-section {
	max-width: 900px;
	margin: 0 auto 28px;
	text-align: center;
}

#site-footer .site-footer__logos-heading {
	font-family: var(--hh-font-body);
	font-size: 1.1rem;
	font-weight: 700;
	text-align: center;
	margin: 0 0 24px;
}

.site-footer__logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 32px;
}

/*
 * Partner logos are uploaded as transparent PNGs in their own brand
 * colors; brightness(0) flattens every opaque pixel to black while
 * leaving transparency alone, then invert(1) flips that black to white
 * -- renders any logo file as solid white regardless of its source
 * colors, matching the dark footer background.
 */
.site-footer__logo {
	display: block;
	max-height: 48px;
	width: auto;
	filter: brightness(0) invert(1);
}

/*
 * Transparency seal badge (plugin-configurable, Heal Humanitarian ->
 * Footer) -- its own row below the partner logos. Deliberately NOT using
 * .site-footer__logo's brightness/invert filter: a trust seal like
 * Candid/GuideStar's needs to render in its own real colors to stay
 * recognizable/verifiable, unlike partner logos which are flattened to
 * match the dark footer background.
 */
.site-footer__badge {
	display: flex;
	justify-content: center;
	margin: 0 auto 28px;
}

.site-footer__badge-img {
	display: block;
	max-width: 120px;
	height: auto;
}

.site-footer__tax-link {
	color: inherit;
	text-decoration: underline;
}

.site-footer__tax-link:hover {
	color: var(--hh-color-accent);
}

.site-footer__copyright {
	padding-top: 20px;
	border-top: 1px solid var(--hh-line);
}

@media (min-width: 768px) {
	.site-footer__columns {
		grid-template-columns: repeat(3, 1fr);
		align-items: start;
	}
}

/* Donate page */
.donate-section {
	padding: 48px 20px;
}

.donate-section__inner {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.donate-section h2 {
	font-family: var(--hh-font-heading);
	font-size: 1.5rem;
	margin: 0 0 12px;
	color: var(--hh-color-primary);
}

.donate-section p {
	font-family: var(--hh-font-body);
	margin: 0 0 20px;
	color: var(--hh-color-secondary);
	line-height: 1.6;
}

.donate-generosity__lede {
	font-weight: 600;
	color: var(--hh-color-primary);
}

/*
 * Opens the page directly -- no hero banner. The donation form sits on
 * the right, the plugin-configurable video on the left (Heal Humanitarian
 * -> Donate Page); both are full-height columns on desktop so neither
 * looks like an afterthought next to the other.
 */
.donate-hero-form .donate-section__inner {
	max-width: 1100px;
}

.donate-hero-form__title {
	font-family: var(--hh-font-heading);
	font-size: 1.75rem;
	color: var(--hh-color-primary);
	margin: 0 0 16px;
}

.donate-hero-form__grid {
	display: grid;
	gap: 24px;
	margin-top: 32px;
	text-align: left;
}

.donate-hero-form__video {
	display: flex;
}

.donate-hero-form__video iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 8px;
}

.donate-video-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: rgb(30, 24, 18);
	color: rgba(255, 255, 255, 0.7);
	border-radius: 8px;
}

.donate-video-placeholder p {
	margin: 0;
	font-family: var(--hh-font-body);
	font-size: 0.9rem;
	color: inherit;
}

.donate-hero-form__note {
	margin: 12px 0 0;
	font-size: 0.8rem;
	text-align: center;
}

.donate-tiers__grid {
	display: grid;
	gap: 20px;
	margin-top: 24px;
}

.donate-tier {
	background: var(--hh-surface-card);
	border: 1px solid var(--hh-line);
	border-radius: 8px;
	padding: 24px 20px;
}

.donate-tier__amount {
	font-family: var(--hh-font-heading);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--hh-color-accent);
	margin: 0 0 8px;
}

.donate-tier__desc {
	font-family: var(--hh-font-body);
	color: var(--hh-color-secondary);
	line-height: 1.5;
	margin: 0 0 16px;
	min-height: 48px;
}

/*
 * Inline embed of the New Horizons Foundation donation form -- a regular
 * section of the page rather than the live site's Elementor popup (see
 * page-donate.php). Height is fixed (tall enough that the form itself
 * shouldn't need to scroll) rather than aspect-ratio, since the embedded
 * app's own content -- not the iframe's shape -- determines how tall it
 * needs to be; the iframe's own scrollbar is still there as a fallback
 * if a particular viewer's form state ends up taller than this.
 *
 * The embedded page is a cross-origin app (admin.newhorizonsfoundation.com)
 * -- its own "New Horizons Foundation / Login" navbar can't be removed
 * from here, same-origin policy blocks reaching into the iframe's DOM.
 * Cropped out visually instead: the wrapper clips to the visible height
 * and the iframe is shifted up by the navbar's own rendered height
 * (~78px -- its logo is a fixed-width image, so this is stable) and
 * grown by that same amount, so the clipped sliver is always the navbar,
 * never the bottom of the form.
 */
.donate-form-embed {
	position: relative;
	height: 950px;
	border: 1px solid var(--hh-line);
	border-radius: 8px;
	overflow: hidden;
	background: var(--hh-surface-card);
}

.donate-form-embed iframe {
	position: absolute;
	top: -78px;
	left: 0;
	display: block;
	width: 100%;
	height: calc(100% + 78px);
	border: 0;
}

.donate-methods__grid {
	display: grid;
	gap: 24px;
	margin-top: 24px;
	text-align: left;
}

.donate-method {
	background: var(--hh-surface-card);
	border: 1px solid var(--hh-line);
	border-radius: 8px;
	padding: 24px;
}

.donate-method h3 {
	font-family: var(--hh-font-heading);
	margin: 0 0 8px;
	color: var(--hh-color-primary);
}

.donate-method address {
	font-family: var(--hh-font-body);
	font-style: normal;
	color: var(--hh-color-secondary);
	line-height: 1.6;
	margin: 0 0 16px;
}

.donate-goal {
	max-width: 480px;
	margin: 0 auto 32px;
}

.donate-goal__bar {
	background: var(--hh-line);
	border-radius: 999px;
	height: 10px;
	overflow: hidden;
}

.donate-goal__fill {
	background: var(--hh-color-sage);
	height: 100%;
}

.donate-goal__label {
	font-size: 0.9rem;
	color: var(--hh-color-secondary);
	margin: 10px 0 0;
}

.donate-monthly__tiers {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

.donate-monthly__tiers li {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid var(--hh-line);
	font-family: var(--hh-font-body);
	color: var(--hh-color-secondary);
}

.donate-monthly__tiers li:last-child {
	border-bottom: 0;
}

.donate-monthly__amount {
	font-weight: 600;
	color: var(--hh-color-primary);
}

.newsletter-form {
	max-width: 420px;
	margin: 0 auto;
}

.donate-transparency p {
	font-size: 0.9rem;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 768px) {
	.donate-hero-form__title {
		font-size: 2.5rem;
	}

	.donate-hero-form__grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.donate-tiers__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.donate-methods__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* About page */
.about-section {
	padding: 48px 20px;
}

.about-section__inner {
	max-width: 760px;
	margin: 0 auto;
}

.about-eyebrow {
	font-family: var(--hh-font-body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hh-color-accent);
	margin: 0 0 12px;
}

.about-eyebrow--rule {
	padding-bottom: 20px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--hh-line);
}

.about-intro {
	position: relative;
	overflow: hidden;
	background: var(--hh-surface-soil);
	color: #fff;
	padding: 72px 20px;
}

.about-intro__media {
	position: absolute;
	inset: 0;
}

.about-intro__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(62, 66, 71, 0.5);
}

.about-intro__media img {
	position: absolute;
	left: 0;
	top: -10%;
	display: block;
	width: 100%;
	height: 120%;
	object-fit: cover;
	will-change: transform;
}

.about-intro .about-section__inner {
	position: relative;
	z-index: 1;
	text-align: center;
}

.about-intro .about-eyebrow {
	color: #fff;
	opacity: 0.7;
}

.about-intro h1 {
	font-family: var(--hh-font-heading);
	font-size: 1.9rem;
	line-height: 1.3;
	margin: 0 auto;
	max-width: 720px;
}

.about-mission {
	background: var(--hh-surface-sand);
}

.about-mission p {
	font-family: var(--hh-font-body);
	color: var(--hh-color-secondary);
	line-height: 1.7;
	margin: 0 0 20px;
}

.about-mission__lede {
	font-size: 1.05rem;
}

.about-mission__subhead {
	font-family: var(--hh-font-heading);
	font-size: 1.2rem;
	color: var(--hh-color-primary);
	margin: 32px 0 12px;
}

.about-mission__footnote {
	font-size: 0.85rem;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--hh-line);
}

.about-mission__footnote a {
	display: inline-block;
	margin-left: 4px;
	color: var(--hh-color-accent);
	text-decoration: underline;
}

.about-team__list {
	display: flex;
	flex-direction: column;
}

.about-profile {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 32px 0;
	border-bottom: 1px solid var(--hh-line);
}

.about-team__list .about-profile:last-child {
	border-bottom: 0;
}

.about-profile__media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 4px;
	background: var(--hh-color-primary);
}

.about-profile__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.about-profile:hover .about-profile__media img {
	transform: scale(1.03);
}

.about-profile__name {
	font-family: var(--hh-font-heading);
	font-size: 1.4rem;
	color: var(--hh-color-primary);
	margin: 0 0 8px;
}

.about-profile__role {
	display: inline-block;
	font-family: var(--hh-font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hh-color-accent);
	border-bottom: 2px solid var(--hh-color-accent);
	margin: 0 0 16px;
	padding-bottom: 10px;
}

.about-profile__bio {
	font-family: var(--hh-font-body);
	color: var(--hh-color-secondary);
	line-height: 1.7;
	margin: 0;
}

.about-profile__bio + .about-profile__bio {
	margin-top: 12px;
}

.about-cta {
	text-align: center;
}

.about-cta h2 {
	font-family: var(--hh-font-heading);
	font-size: 1.5rem;
	color: var(--hh-color-primary);
	margin: 0 0 12px;
}

.about-cta p {
	font-family: var(--hh-font-body);
	color: var(--hh-color-secondary);
	line-height: 1.6;
	margin: 0 0 20px;
}

@media (prefers-reduced-motion: reduce) {
	.about-profile__media img {
		transition: none;
	}

	.about-profile:hover .about-profile__media img {
		transform: none;
	}
}

@media (min-width: 768px) {
	.about-intro {
		padding: 120px 20px;
	}

	.about-intro h1 {
		font-size: 2.75rem;
	}

	.about-section__inner--wide {
		max-width: 920px;
	}

	.about-profile {
		flex-direction: row;
		align-items: flex-start;
		gap: 48px;
		padding: 48px 0;
	}

	.about-profile__media {
		flex: 0 0 260px;
	}

	.about-team__list .about-profile:nth-child(even) {
		flex-direction: row-reverse;
	}
}

/* Programs page */
.programs-section {
	padding: 48px 20px;
}

.programs-section__inner {
	max-width: 760px;
	margin: 0 auto;
}

.programs-intro {
	position: relative;
	overflow: hidden;
	background: var(--hh-surface-soil);
	color: #fff;
	padding: 72px 20px;
	text-align: center;
}

.programs-intro__media {
	position: absolute;
	inset: 0;
}

.programs-intro__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(62, 66, 71, 0.5);
}

.programs-intro__media img {
	position: absolute;
	left: 0;
	top: -10%;
	display: block;
	width: 100%;
	height: 120%;
	object-fit: cover;
	will-change: transform;
}

.programs-intro .programs-section__inner {
	position: relative;
	z-index: 1;
}

.programs-intro h1 {
	font-family: var(--hh-font-heading);
	font-size: 1.9rem;
	line-height: 1.3;
	margin: 0 auto 16px;
	max-width: 720px;
}

.programs-intro p {
	font-family: var(--hh-font-body);
	opacity: 0.85;
	margin: 0;
}

.program-row {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 32px 0;
	border-bottom: 1px solid var(--hh-line);
}

.programs-list .program-row:last-child {
	border-bottom: 0;
}

.program-row__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 4px;
	background: var(--hh-color-primary);
}

.program-row__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.program-row:hover .program-row__media img {
	transform: scale(1.03);
}

.program-row__name {
	font-family: var(--hh-font-heading);
	font-size: 1.5rem;
	color: var(--hh-color-primary);
	margin: 0 0 12px;
}

.program-row__text {
	font-family: var(--hh-font-body);
	color: var(--hh-color-secondary);
	line-height: 1.7;
	margin: 0;
}

.programs-cta {
	text-align: center;
}

.programs-cta h2 {
	font-family: var(--hh-font-heading);
	font-size: 1.5rem;
	color: var(--hh-color-primary);
	margin: 0 0 12px;
}

.programs-cta p {
	font-family: var(--hh-font-body);
	color: var(--hh-color-secondary);
	line-height: 1.6;
	margin: 0 0 20px;
}

@media (prefers-reduced-motion: reduce) {
	.program-row__media img {
		transition: none;
	}

	.program-row:hover .program-row__media img {
		transform: none;
	}
}

@media (min-width: 768px) {
	.programs-intro {
		padding: 120px 20px;
	}

	.programs-intro h1 {
		font-size: 2.75rem;
	}

	.programs-section__inner--wide {
		max-width: 1000px;
	}

	.program-row {
		flex-direction: row;
		align-items: center;
		gap: 56px;
		padding: 56px 0;
	}

	.program-row__media {
		flex: 0 0 46%;
	}

	.programs-list .program-row:nth-child(even) {
		flex-direction: row-reverse;
	}
}
