/*
Theme Name: LOHV Child
Theme URI: https://lohv.org/
Description: GeneratePress child theme for the League of Humane Voters. Bakes in the LOHV brand palette (maroon/amber/cream), Oswald headings and Lora body text, and branded buttons.
Author: LOHV
Author URI: https://lohv.org/
Template: generatepress
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lohv
*/

/* ==========================================================================
   Brand tokens
   ========================================================================== */
:root {
	--lohv-maroon: #8A1C1C;
	--lohv-maroon-dark: #6E1717;
	--lohv-amber: #E2A04C;
	--lohv-cream: #FAEEDA;
	--lohv-ink: #26211D;
	--lohv-footer: #1C1916;

	--lohv-font-heading: "Oswald", sans-serif;
	--lohv-font-body: "Lora", Georgia, serif;
	--lohv-container: 1200px;
}

/* ==========================================================================
   Base typography
   ========================================================================== */
body {
	font-family: var(--lohv-font-body);
	font-weight: 400;
	color: var(--lohv-ink);
}

h1, h2, h3, h4, h5, h6,
.site-title {
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	color: var(--lohv-ink);
}

/* Layout width — keep GeneratePress container to 1200px */
.grid-container,
.inside-header,
.site-content .grid-container {
	max-width: var(--lohv-container);
}

/* ==========================================================================
   Links
   ========================================================================== */
a,
a:visited {
	color: var(--lohv-maroon);
}

a:hover,
a:focus {
	color: var(--lohv-maroon-dark);
}

/* ==========================================================================
   Buttons — maroon, white text, uppercase, Oswald
   ========================================================================== */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wp-block-button__link,
.gb-button {
	background-color: var(--lohv-maroon);
	color: #ffffff;
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: none;
	border-radius: 2px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.wp-block-button__link:hover,
.gb-button:hover,
button:focus,
input[type="submit"]:focus,
.button:focus,
.wp-block-button__link:focus,
.gb-button:focus {
	background-color: var(--lohv-maroon-dark);
	color: #ffffff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer,
.site-info {
	background-color: var(--lohv-footer);
	color: var(--lohv-cream);
}

.site-footer a,
.site-info a {
	color: var(--lohv-amber);
}

/* ==========================================================================
   Custom LOHV header — hide GeneratePress default header
   ========================================================================== */
.site-header,
#masthead,
.main-navigation:not(.lohv-nav) {
	display: none !important;
}

/* ==========================================================================
   Header shell
   ========================================================================== */
.lohv-container {
	max-width: var(--lohv-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

/* --------------------------------------------------------------------------
   Top bar — full-width amber, white text, small
   -------------------------------------------------------------------------- */
.lohv-topbar {
	background-color: var(--lohv-amber);
	color: #ffffff;
	font-family: var(--lohv-font-body);
	font-size: 13px;
}

.lohv-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
	flex-wrap: wrap;
}

.lohv-topbar-info {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.lohv-topbar-item,
.lohv-topbar-item:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #ffffff;
	text-decoration: none;
	line-height: 1.3;
}

a.lohv-topbar-item:hover {
	color: var(--lohv-ink);
}

.lohv-topbar svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	flex: 0 0 auto;
}

.lohv-social {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lohv-social a,
.lohv-social a:visited {
	color: #ffffff;
	display: inline-flex;
}

.lohv-social a:hover {
	color: var(--lohv-ink);
}

.lohv-social svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* --------------------------------------------------------------------------
   Main bar — white, sticky on scroll
   -------------------------------------------------------------------------- */
.lohv-mainbar {
	background-color: #ffffff;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.lohv-mainbar-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 80px;
	position: relative;
}

.lohv-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.lohv-logo img {
	height: 56px;
	width: auto;
	display: block;
}

/* Nav (desktop) --------------------------------------------------------- */
.lohv-nav {
	margin-left: auto;
}

.lohv-menu {
	display: flex;
	align-items: center;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lohv-menu li {
	margin: 0;
	position: relative;
}

.lohv-menu a,
.lohv-menu a:visited {
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	font-size: 13px;
	color: var(--lohv-ink);
	text-decoration: none;
	white-space: nowrap;
}

.lohv-menu a:hover,
.lohv-menu .current-menu-item > a {
	color: var(--lohv-maroon);
}

/* Sub-menus */
.lohv-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #ffffff;
	list-style: none;
	margin: 0;
	padding: 6px 0;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
	z-index: 200;
}

.lohv-menu li:hover > .sub-menu,
.lohv-menu li:focus-within > .sub-menu {
	display: block;
}

.lohv-menu .sub-menu a {
	display: block;
	padding: 10px 18px;
	white-space: nowrap;
}

/* Donate button --------------------------------------------------------- */
.lohv-donate-btn,
.lohv-donate-btn:visited {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-color: var(--lohv-maroon);
	color: #ffffff;
	text-decoration: none;
	padding: 9px 22px;
	border-radius: 3px;
	line-height: 1.15;
	font-family: var(--lohv-font-heading);
	text-transform: uppercase;
}

.lohv-donate-btn:hover {
	background-color: var(--lohv-maroon-dark);
	color: #ffffff;
}

.lohv-donate-small {
	font-family: var(--lohv-font-body);
	font-weight: 400;
	font-size: 10px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	opacity: 0.95;
}

.lohv-donate-big {
	font-weight: 700;
	font-size: 17px;
	letter-spacing: 0.5px;
}

/* Hamburger toggle ------------------------------------------------------ */
.lohv-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 10px;
	background: transparent;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}

.lohv-nav-toggle-bar {
	display: block;
	width: 26px;
	height: 3px;
	border-radius: 2px;
	background-color: var(--lohv-maroon);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.lohv-nav-toggle.is-active .lohv-nav-toggle-bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.lohv-nav-toggle.is-active .lohv-nav-toggle-bar:nth-child(2) {
	opacity: 0;
}

.lohv-nav-toggle.is-active .lohv-nav-toggle-bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Mobile — collapse nav to a hamburger under ~1200px (the full desktop nav
   needs the room; below this the 7 items would overflow the container).
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
	.lohv-logo {
		order: 1;
	}
	.lohv-donate-btn {
		order: 2;
		margin-left: auto;
	}
	.lohv-nav-toggle {
		order: 3;
		display: flex;
		margin-left: 8px;
	}

	.lohv-nav {
		order: 4;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		margin: 0;
		background: #ffffff;
		border-top: 1px solid #f0e9db;
		box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
		display: none;
	}

	.lohv-nav.is-open {
		display: block;
	}

	.lohv-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 6px 0;
	}

	.lohv-menu li {
		position: static;
	}

	.lohv-menu a {
		display: block;
		padding: 13px 20px;
		border-bottom: 1px solid #f4eede;
	}

	.lohv-menu .sub-menu {
		display: block;
		position: static;
		box-shadow: none;
		padding: 0;
	}

	.lohv-menu .sub-menu a {
		padding-left: 36px;
	}
}

/* Compact phone header: the Donate button is too wide to sit beside the logo
   and hamburger on small screens (it pushed the hamburger off-screen), so hide
   it here — Donate stays available in the hero and footer — and push the
   hamburger to the right edge. */
@media (max-width: 600px) {
	.lohv-mainbar .lohv-donate-btn {
		display: none;
	}
	.lohv-nav-toggle {
		margin-left: auto;
	}
}

/* ==========================================================================
   Custom LOHV footer — hide GeneratePress default credit
   ========================================================================== */
.site-info,
.footer-bar {
	display: none !important;
}

.lohv-footer {
	background-color: var(--lohv-footer);
	color: var(--lohv-cream);
	font-family: var(--lohv-font-body);
}

.lohv-footer-cols {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	padding-top: 54px;
	padding-bottom: 40px;
}

.lohv-footer-emblem {
	height: 130px;
	width: auto;
	display: block;
	margin-bottom: 18px;
}

.lohv-footer-heading {
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 16px;
	color: var(--lohv-amber);
	margin: 0 0 18px;
}

.lohv-footer-contact,
.lohv-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lohv-footer-contact li,
.lohv-footer-links li {
	margin: 0 0 10px;
	line-height: 1.5;
}

.lohv-footer a,
.lohv-footer a:visited {
	color: var(--lohv-cream);
	text-decoration: none;
}

.lohv-footer a:hover {
	color: var(--lohv-amber);
}

/* Social row */
.lohv-footer-social {
	display: flex;
	gap: 14px;
	margin-bottom: 22px;
}

.lohv-footer-social a,
.lohv-footer-social a:visited {
	color: var(--lohv-cream);
	display: inline-flex;
}

.lohv-footer-social a:hover {
	color: var(--lohv-amber);
}

.lohv-footer-social svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Donate button in the footer (reuses .lohv-donate-btn base) */
.lohv-footer-donate {
	display: inline-flex;
	padding: 12px 26px;
}

.lohv-footer-donate,
.lohv-footer-donate:visited {
	color: #ffffff;
}

.lohv-footer-donate:hover {
	color: #ffffff;
}

/* Bottom bar */
.lohv-footer-bottom {
	border-top: 1px solid rgba(250, 238, 218, 0.15);
	font-size: 13px;
}

.lohv-footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 18px;
	padding-bottom: 18px;
}

.lohv-footer-copy {
	color: rgba(250, 238, 218, 0.85);
}

.lohv-footer-policies {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.lohv-footer-sep {
	color: rgba(250, 238, 218, 0.35);
}

/* Footer responsive */
@media (max-width: 1024px) {
	.lohv-footer-cols {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
	.lohv-footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.lohv-footer-cols {
		grid-template-columns: 1fr;
	}
	.lohv-footer-bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ==========================================================================
   HOMEPAGE (front-page.php)
   ========================================================================== */

/* Let sections span full viewport width even inside GeneratePress's container.
   `overflow-x: clip` on the root kills the phantom horizontal scrollbar that
   100vw full-bleed creates, WITHOUT creating a scroll container (so the sticky
   header keeps working — unlike overflow-x: hidden). */
html {
	overflow-x: clip;
}

.lohv-home .lohv-section {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Remove GP content padding on the front page so the hero meets the header,
   and force the content column full-width so the full-bleed sections stay
   centred on the viewport (GeneratePress otherwise narrows it for its
   default right-sidebar layout, shifting the hero text off the left edge). */
.home .site-content {
	padding: 0;
	width: 100%;
}

.home .content-area,
.home main.lohv-home {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}

/* Shared section heading + buttons ------------------------------------- */
.lohv-section-heading {
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.15;
	margin: 0;
	color: var(--lohv-ink);
}

.lohv-btn,
.lohv-btn:visited {
	display: inline-block;
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 15px;
	line-height: 1;
	padding: 14px 30px;
	border-radius: 3px;
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
}

.lohv-btn--maroon,
.lohv-btn--maroon:visited {
	background-color: var(--lohv-maroon);
	border-color: var(--lohv-maroon);
	color: #ffffff;
}

.lohv-btn--maroon:hover {
	background-color: var(--lohv-maroon-dark);
	border-color: var(--lohv-maroon-dark);
	color: #ffffff;
}

.lohv-btn--outline,
.lohv-btn--outline:visited {
	background-color: transparent;
	border-color: #ffffff;
	color: #ffffff;
}

.lohv-btn--outline:hover {
	background-color: #ffffff;
	color: var(--lohv-maroon);
}

/* 1. HERO --------------------------------------------------------------- */
.lohv-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 600px;
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
}

.lohv-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(28, 25, 22, 0.92) 0%,
		rgba(28, 25, 22, 0.78) 35%,
		rgba(28, 25, 22, 0.25) 70%,
		rgba(28, 25, 22, 0) 100%
	);
}

.lohv-hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-top: 80px;
	padding-bottom: 80px;
	padding-left: clamp(24px, 4vw, 48px);
	padding-right: clamp(24px, 4vw, 48px);
}

.lohv-hero-content {
	max-width: 620px;
}

.lohv-hero-title {
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	color: #ffffff;
	font-size: clamp(38px, 6vw, 68px);
	line-height: 1.05;
	margin: 0 0 18px;
}

.lohv-hero-subtitle {
	max-width: 520px;
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(16px, 2vw, 20px);
	line-height: 1.5;
	margin: 0 0 28px;
}

.lohv-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

/* 2. MISSION ------------------------------------------------------------ */
.lohv-mission {
	background-color: var(--lohv-cream);
	padding: 72px 0;
}

.lohv-mission-inner {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.lohv-mission-text {
	margin: 20px auto 0;
	font-size: clamp(18px, 2.2vw, 24px);
	line-height: 1.6;
	color: var(--lohv-ink);
}

/* 3. STORY SERIES ------------------------------------------------------- */
.lohv-stories {
	background-color: var(--lohv-cream);
	padding: 10px 0 80px;
}

.lohv-story {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
	padding: 38px 0;
}

.lohv-story--reverse .lohv-story-text {
	order: 2;
}

.lohv-story--reverse .lohv-story-media {
	order: 1;
}

.lohv-story-eyebrow {
	display: block;
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
	color: var(--lohv-ink);
	margin-bottom: 8px;
}

.lohv-story-title {
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	color: var(--lohv-maroon);
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.05;
	margin: 0 0 18px;
}

.lohv-story-text p {
	font-size: 17px;
	line-height: 1.7;
	color: var(--lohv-ink);
	margin: 0;
}

.lohv-story-media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* 4. AGENDA BAND -------------------------------------------------------- */
.lohv-agenda {
	background-color: var(--lohv-amber);
	padding: 70px 0;
}

.lohv-agenda-head {
	max-width: 820px;
	margin: 0 auto 40px;
	text-align: center;
}

.lohv-agenda .lohv-section-heading {
	text-transform: none;
	letter-spacing: 0.3px;
	color: var(--lohv-ink);
}

.lohv-agenda-intro {
	margin: 14px auto 0;
	font-size: 18px;
	line-height: 1.6;
	color: var(--lohv-ink);
}

.lohv-agenda-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.lohv-card {
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lohv-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.lohv-card-media {
	display: block;
	height: 180px;
	background-size: cover;
	background-position: center;
}

.lohv-card-body {
	display: block;
	padding: 22px;
}

.lohv-card-title {
	display: block;
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 19px;
	color: var(--lohv-maroon);
	margin-bottom: 10px;
}

.lohv-card-blurb {
	display: block;
	font-size: 15px;
	line-height: 1.6;
	color: var(--lohv-ink);
}

/* 5. GALLERY ------------------------------------------------------------ */
.lohv-gallery-bar {
	background-color: var(--lohv-amber);
	text-align: center;
	padding: 14px 20px;
}

.lohv-gallery-bar-title {
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-size: 18px;
	color: var(--lohv-ink);
}

.lohv-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}

.lohv-gallery-item {
	margin: 0;
}

.lohv-gallery-item img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

/* 6. DUAL CTA ----------------------------------------------------------- */
.lohv-dualcta {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.lohv-dualcta-half {
	padding: 72px 40px;
	text-align: center;
}

.lohv-dualcta-donate {
	background-color: var(--lohv-amber);
}

.lohv-dualcta-know {
	background-color: var(--lohv-cream);
}

.lohv-dualcta-inner {
	max-width: 460px;
	margin: 0 auto;
}

.lohv-dualcta-title {
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: clamp(24px, 3vw, 32px);
	color: var(--lohv-ink);
	margin: 0 0 14px;
}

.lohv-dualcta-half p {
	font-size: 17px;
	line-height: 1.6;
	color: var(--lohv-ink);
	margin: 0 0 24px;
}

/* Homepage responsive --------------------------------------------------- */
@media (max-width: 900px) {
	.lohv-hero {
		min-height: 480px;
	}
	.lohv-agenda-cards {
		grid-template-columns: 1fr;
		max-width: 460px;
		margin: 0 auto;
	}
	.lohv-story {
		grid-template-columns: 1fr;
		gap: 22px;
	}
	.lohv-story .lohv-story-media,
	.lohv-story--reverse .lohv-story-media {
		order: 1;
	}
	.lohv-story .lohv-story-text,
	.lohv-story--reverse .lohv-story-text {
		order: 2;
	}
	.lohv-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.lohv-dualcta {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.lohv-gallery-grid {
		grid-template-columns: 1fr;
	}
	.lohv-hero-actions .lohv-btn {
		width: 100%;
		text-align: center;
	}
}

/* ==========================================================================
   INNER PAGES — shared chrome
   Applies to every page that is not the front page. The hero is printed on the
   generate_after_header hook, so it sits OUTSIDE GeneratePress's content
   container and is full-bleed without needing the 100vw margin trick the
   homepage sections use.
   ========================================================================== */

.lohv-page-hero {
	position: relative;
	background-color: var(--lohv-maroon);
	background-size: cover;
	background-position: center;
	padding: 60px 0;
	text-align: center;
}

/* Only drawn when the hero has a photo behind it, so the plain maroon band
   does not get needlessly darkened. */
.lohv-page-hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient( rgba(28,25,22,0.62), rgba(28,25,22,0.72) );
}

.lohv-page-hero-inner {
	position: relative;
	z-index: 1;
}

.lohv-page-title {
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.1;
	color: #fff;
	margin: 0;
}

.lohv-page-tagline {
	font-family: var(--lohv-font-body);
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.55;
	color: var(--lohv-cream);
	max-width: 720px;
	margin: 14px auto 0;
}

/* GeneratePress prints its own entry title inside the article. The
   generate_show_title filter in functions.php removes it so the hero H1 is the
   only H1 on the page; this rule is the belt-and-suspenders fallback if that
   filter ever changes in a parent-theme update. */
.page:not(.home) .entry-header .entry-title {
	display: none;
}

/* Reading column for the REST-authored page bodies. */
.page:not(.home) .entry-content {
	font-size: 17px;
	line-height: 1.75;
}

.page:not(.home) .entry-content > h2 {
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	font-size: clamp(22px, 2.6vw, 30px);
	line-height: 1.2;
	color: var(--lohv-ink);
	margin: 44px 0 16px;
}

.page:not(.home) .entry-content > h3 {
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	font-size: clamp(18px, 2vw, 22px);
	color: var(--lohv-maroon);
	margin: 32px 0 12px;
}

.page:not(.home) .entry-content > p {
	margin: 0 0 20px;
}

.page:not(.home) .entry-content a {
	color: var(--lohv-maroon);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.page:not(.home) .entry-content a:hover {
	color: var(--lohv-maroon-dark);
}

/* Full-width treatment for pages driven by a custom child-theme template
   (currently just About). Mirrors the .home overrides above. */
.lohv-fullwidth .site-content {
	padding: 0;
	width: 100%;
}

.lohv-fullwidth .content-area,
.lohv-fullwidth .content-area > main {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}

.lohv-fullwidth .entry-content {
	margin: 0;
}

/* ==========================================================================
   INNER PAGES — reusable content blocks
   These class names are what the REST-authored page bodies reference, so keep
   them stable: renaming one silently unstyles a live page.
   ========================================================================== */

/* Prose band — a centred column of text on white or cream. */
.lohv-prose {
	max-width: 820px;
	margin: 0 auto;
	padding: 56px 20px;
}

.lohv-prose--cream {
	background: var(--lohv-cream);
	max-width: none;
}

.lohv-prose--cream > * {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}

/* Lead paragraph — slightly larger, sets up a section. */
.lohv-lead {
	font-size: clamp(18px, 2.2vw, 21px);
	line-height: 1.6;
	color: var(--lohv-ink);
}

/* Chapter / directory cards ---------------------------------------------- */
.lohv-chapter-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lohv-chapter-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(38,33,29,0.12);
	border-radius: 4px;
	overflow: hidden;
	text-decoration: none !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lohv-chapter-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 26px rgba(38,33,29,0.16);
}

.lohv-chapter-card-media {
	display: block;
	aspect-ratio: 16 / 10;
	background-color: var(--lohv-cream);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.lohv-chapter-card-body {
	padding: 20px 22px 24px;
}

.lohv-chapter-card-title {
	display: block;
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 17px;
	line-height: 1.25;
	color: var(--lohv-maroon);
	margin: 0 0 8px;
}

.lohv-chapter-card-blurb {
	display: block;
	font-family: var(--lohv-font-body);
	font-size: 15px;
	line-height: 1.6;
	color: var(--lohv-ink);
}

/* Feature / value grid ---------------------------------------------------- */
.lohv-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lohv-feature {
	background: #fff;
	border-top: 4px solid var(--lohv-amber);
	padding: 26px 24px 28px;
	box-shadow: 0 2px 10px rgba(38,33,29,0.07);
}

.lohv-feature-title {
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 17px;
	color: var(--lohv-maroon);
	margin: 0 0 10px;
}

.lohv-feature p {
	font-size: 15.5px;
	line-height: 1.65;
	margin: 0;
}

/* Callout — used for the donation tax notice and similar standing notices. */
.lohv-callout {
	border-left: 4px solid var(--lohv-amber);
	background: var(--lohv-cream);
	padding: 20px 24px;
	margin: 28px 0;
	font-size: 16px;
	line-height: 1.65;
}

.lohv-callout strong {
	font-family: var(--lohv-font-heading);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: block;
	margin-bottom: 6px;
	color: var(--lohv-maroon);
}

/* "In progress" notice for pages whose real content is still being written.
   Deliberately understated — it should read as a considered placeholder, not
   as a broken page. */
.lohv-soon {
	text-align: center;
	padding: 8px 0 4px;
}

.lohv-soon-label {
	display: inline-block;
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-size: 12px;
	color: var(--lohv-maroon);
	background: var(--lohv-cream);
	border: 1px solid rgba(138,28,28,0.25);
	border-radius: 999px;
	padding: 7px 18px;
}

/* Closing CTA band -------------------------------------------------------- */
.lohv-cta-band {
	background: var(--lohv-maroon);
	text-align: center;
	padding: 54px 20px 58px;
}

.lohv-cta-title {
	font-family: var(--lohv-font-heading);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: clamp(22px, 3vw, 32px);
	color: #fff;
	margin: 0 0 12px;
}

.lohv-cta-band p {
	font-size: 17px;
	line-height: 1.6;
	color: var(--lohv-cream);
	max-width: 620px;
	margin: 0 auto 26px;
}

.lohv-cta-actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

/* On the maroon band the outline button needs a light border to read. */
.lohv-cta-band .lohv-btn--outline,
.lohv-cta-band .lohv-btn--outline:visited {
	border-color: var(--lohv-cream);
	color: var(--lohv-cream);
}

.lohv-cta-band .lohv-btn--outline:hover {
	background: var(--lohv-cream);
	color: var(--lohv-maroon);
}

/* ==========================================================================
   ABOUT PAGE (page-about.php)
   The two-column sections reuse the homepage .lohv-story pattern, which is
   deliberately unscoped. Only the arrow-bullet list below is About-specific.
   ========================================================================== */

.lohv-about-points {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lohv-about-point {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 18px;
	align-items: start;
	margin-bottom: 30px;
}

.lohv-about-point:last-child {
	margin-bottom: 0;
}

/* The arrow is decorative — the list semantics already convey structure, so
   it is drawn with CSS rather than an <img> and hidden from screen readers. */
.lohv-about-point::before {
	content: "";
	width: 40px;
	height: 40px;
	background-color: var(--lohv-amber);
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 22px 22px;
	border-radius: 2px;
	flex: none;
}

.lohv-about-point p {
	font-size: 16px;
	line-height: 1.68;
	color: var(--lohv-ink);
	margin: 0;
}

/* Lead-in clause of each point, carried over from the approved mockup. */
.lohv-about-point strong {
	font-weight: 700;
	color: var(--lohv-ink);
}

.lohv-about-why {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.lohv-about-why-media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.lohv-about-sectionhead {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 46px;
}

@media (max-width: 900px) {
	.lohv-about-why {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.lohv-about-why-media {
		order: 1;
	}
	.lohv-about-why-list {
		order: 2;
	}
}

/* Inner-page responsive --------------------------------------------------- */
@media (max-width: 900px) {
	.lohv-chapter-grid,
	.lohv-feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.lohv-page-hero {
		padding: 44px 0;
	}
}

@media (max-width: 560px) {
	.lohv-chapter-grid,
	.lohv-feature-grid {
		grid-template-columns: 1fr;
	}
	.lohv-cta-actions .lohv-btn {
		width: 100%;
		text-align: center;
	}
}
