/*
  ff-theme — small custom stylesheet layered on top of the Site.pro bundles.
  Currently: a clean, JS-free header + responsive nav (checkbox-hack toggle).
  As we migrate away from the export, more of the design moves into here.
*/

:root {
	--ff-green: #2d4e34;
	--ff-accent: #dc9a5a;
	--ff-ink: #16241c;
}

/* ---------- Header ---------- */
.ff-header {
	background: var(--ff-green);
	color: #fff;
}
.ff-header__inner {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1rem;
	flex-wrap: wrap;
}
.ff-logo img {
	display: block;
	width: auto;
	max-height: 96px;
	height: auto;
}
.ff-header__right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.ff-donate {
	background: var(--ff-accent);
	color: var(--ff-ink);
	font-weight: 700;
	text-decoration: none;
	padding: 0.5rem 1.1rem;
	border-radius: 4px;
	white-space: nowrap;
}
.ff-donate:hover { filter: brightness(0.95); }

/* ---------- Nav (CSS-only, no JS) ---------- */
.ff-nav { position: relative; }
.ff-nav__checkbox { position: absolute; opacity: 0; pointer-events: none; }

/* Hamburger toggle (mobile) */
.ff-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	cursor: pointer;
}
.ff-nav__bars,
.ff-nav__bars::before,
.ff-nav__bars::after {
	content: "";
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	position: relative;
}
.ff-nav__bars::before { position: absolute; top: -7px; }
.ff-nav__bars::after  { position: absolute; top: 7px; }
.ff-nav__checkbox:focus-visible + .ff-nav__toggle { outline: 2px solid #fff; outline-offset: 2px; }

.ff-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ff-nav__list a {
	display: block;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.82rem;
	letter-spacing: 0.02em;
	font-weight: 700;
	padding: 0.7rem 0.9rem;
}
.ff-nav__list a:hover,
.ff-nav__list a[aria-current="page"] { color: var(--ff-accent); }

/* Mobile default: menu hidden, revealed when the checkbox is checked */
.ff-nav__list { display: none; }
.ff-nav__checkbox:checked ~ .ff-nav__list {
	display: block;
	position: absolute;
	right: 0;
	top: 100%;
	min-width: 230px;
	background: var(--ff-green);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
	z-index: 50;
}

/* ---------- Interior content ---------- */
.ff-content {
	max-width: 760px;
	margin: 0 auto;
	padding: 2.5rem 1rem 4rem;
}
.ff-content__title { margin-top: 0; }
.ff-content__body { line-height: 1.7; }

/* Desktop: inline menu, hide the toggle */
@media (min-width: 900px) {
	.ff-nav__toggle { display: none; }
	.ff-nav__list,
	.ff-nav__checkbox:checked ~ .ff-nav__list {
		display: flex;
		position: static;
		flex-wrap: wrap;
		min-width: 0;
		background: transparent;
		box-shadow: none;
	}
}
