/*
Theme Name: Troop 418
Theme URI: https://www.troop418.org
Author: Troop 418 RVA
Description: A modern, minimal theme for Troop 418 in Richmond, VA. Full screen hero video, parallax scrolling, calendar, photos, Scout Log and contact on one home page. Edit everything under Appearance > Customize.
Version: 2.2.4
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: troop418
*/

:root {
	--accent: #b5121b;
	--ink: #0f1419;
	--muted: #5a6470;
	--line: #e4e6e8;
	--ground: #ffffff;
	--tint: #f5f5f2;
	--display: "Bricolage Grotesque", "Helvetica Neue", Helvetica, sans-serif;
	--body: "Instrument Sans", "Helvetica Neue", Helvetica, sans-serif;
	--header-h: 76px;
}

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

/* Nothing may make the page wider than the screen, so photo bands and the footer always reach both edges. */
html {
	overflow-x: hidden;
}

@supports (overflow: clip) {
	html,
	body {
		overflow-x: clip;
	}
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--body);
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	padding-top: var(--header-h);
}

body.has-hero {
	padding-top: 0;
}

img,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--ink);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--accent);
}

h1,
h2,
h3,
h4 {
	font-family: var(--display);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h2 {
	font-size: clamp(34px, 4.4vw, 56px);
}

h3 {
	font-size: 26px;
	line-height: 1.15;
}

p {
	margin: 0 0 1.1em;
}

.wrap {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.wrap.narrow {
	max-width: 780px;
}

.center {
	text-align: center;
}

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 200;
	background: var(--ink);
	color: #fff;
	padding: 12px 16px;
	border-radius: 999px;
}

.skip-link:focus {
	left: 8px;
	color: #fff;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

/* Header */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
	transition: background 0.3s ease, border-color 0.3s ease;
}

.admin-bar .site-header {
	top: 32px;
}

.header-inner {
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.custom-logo-link {
	display: block;
	line-height: 0;
}

.custom-logo {
	width: auto;
	height: 60px;
}

.brand-text {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	line-height: 1.15;
}

.brand-name {
	font-family: var(--display);
	font-weight: 400;
	font-size: 22px;
	letter-spacing: 0.02em;
}

.brand-tag {
	font-size: 13px;
	color: var(--muted);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}

.site-nav li {
	position: relative;
}

.site-nav ul a {
	display: block;
	padding: 12px 14px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 999px;
}

.site-nav ul a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
	color: var(--accent);
}

.site-nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	flex-direction: column;
	align-items: stretch;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 8px;
}

.site-nav li:hover > ul,
.site-nav li:focus-within > ul {
	display: flex;
}

.nav-toggle {
	display: none;
	width: 48px;
	height: 48px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.nav-toggle-bars {
	position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle-bars::before {
	top: -6px;
}

.nav-toggle-bars::after {
	top: 6px;
}

/* Transparent header over the hero video until the page scrolls. */

.has-hero .site-header:not(.is-scrolled) {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
	border-bottom-color: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	color: #fff;
}

.has-hero .site-header:not(.is-scrolled) a,
.has-hero .site-header:not(.is-scrolled) .brand-tag {
	color: #fff;
}

.has-hero .site-header:not(.is-scrolled) .nav-toggle {
	border-color: rgba(255, 255, 255, 0.6);
}

/* Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 26px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-family: var(--body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-accent,
.site-header .btn-accent,
.has-hero .site-header:not(.is-scrolled) .btn-accent {
	background: var(--accent);
	color: #fff;
}

.btn-accent:hover {
	color: #fff;
}

.btn-dark {
	background: var(--ink);
	color: #fff;
}

.btn-dark:hover {
	color: #fff;
}

.btn-ghost {
	border-color: var(--ink);
	color: var(--ink);
}

.btn-ghost:hover {
	background: var(--ink);
	color: #fff;
}

.btn-ghost-light {
	border-color: #fff;
	color: #fff;
}

.btn-ghost-light:hover {
	background: #fff;
	color: var(--ink);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.btn-row-center {
	justify-content: center;
}

/* Hero */

.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--ink);
	color: #fff;
}

.hero-media {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	will-change: transform;
}

.hero-media .wp-custom-header {
	position: absolute;
	inset: 0;
}

.hero-media .wp-custom-header img,
.hero-media .wp-custom-header video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* YouTube hero video: oversize the frame so it always covers the hero. */
.hero-media .wp-custom-header iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-height: 100%;
	min-width: 177.78vh;
	max-width: none;
	transform: translate(-50%, -50%);
	border: 0;
}

.hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-content {
	position: relative;
	padding-top: 140px;
	padding-bottom: 120px;
}

.hero-title {
	font-size: clamp(48px, 9vw, 132px);
	font-weight: 200;
	line-height: 0.98;
	letter-spacing: -0.03em;
	max-width: 12ch;
	margin-bottom: 24px;
}

.hero-sub {
	font-size: clamp(18px, 2vw, 22px);
	max-width: 46ch;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
}

.wp-custom-header-video-button {
	position: absolute;
	right: 24px;
	bottom: 24px;
	z-index: 2;
	min-height: 44px;
	padding: 8px 18px;
	border: 1.5px solid rgba(255, 255, 255, 0.7);
	border-radius: 999px;
	background: rgba(15, 20, 25, 0.4);
	color: #fff;
	font-family: var(--body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

/* Small pointer to the newest Scout Log post */

.log-teaser {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 340px;
	padding: 7px 14px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(15, 20, 25, 0.22);
	color: #fff;
	font-size: 13px;
	line-height: 1.3;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.log-teaser:hover {
	background: rgba(15, 20, 25, 0.5);
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff;
}

/* Wide screens: a pill at the top right of the video. */
.log-teaser-top {
	position: absolute;
	top: calc(var(--header-h) + 18px);
	right: max(24px, calc((100% - 1180px) / 2 + 24px));
	z-index: 2;
}

/* Phones: a plain line under the buttons, so nothing sits over the video. */
.log-teaser-inline {
	display: none;
}

.log-teaser-label {
	flex: none;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.8);
}

.log-teaser-new {
	flex: none;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--accent);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.log-teaser-title {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 500;
}

.log-teaser-arrow {
	flex: none;
	opacity: 0.8;
}

/* Scroll down arrow on the home page video */

.scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 20px;
	z-index: 2;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 88px;
	padding: 8px 12px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: none;
}

.scroll-cue:hover {
	color: #fff;
}

.scroll-cue-arrow {
	animation: t418-bob 1.8s ease-in-out infinite;
}

@keyframes t418-bob {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(10px);
	}
}

/* Logo animation while a page loads */

.loader {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ground);
	transition: opacity 0.5s ease, visibility 0.5s ease;
	/* Safety net: clears itself even if scripts are blocked. */
	animation: t418-loader-out 0.5s ease 2.5s forwards;
}

.loader.is-done {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.loader-inner {
	position: relative;
	width: 92px;
	height: 92px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.loader-ring {
	position: absolute;
	inset: 0;
	border: 1.5px solid var(--line);
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: t418-spin 1s linear infinite;
}

.loader-logo {
	width: auto;
	height: 50px;
}

@keyframes t418-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes t418-loader-out {
	to {
		opacity: 0;
		visibility: hidden;
	}
}

/* Sections */

.section {
	padding: clamp(64px, 8vw, 112px) 0;
}

.section-tint {
	background: var(--tint);
}

.section-white {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 16px;
}

.eyebrow-light {
	color: #fff;
}

.two-col {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(40px, 7vw, 96px);
}

.two-col-center {
	align-items: center;
}

.prose p {
	color: var(--muted);
}

.prose ul,
.prose ol {
	margin: 0 0 1.1em;
	padding-left: 1.3em;
	color: var(--muted);
}

.prose li + li {
	margin-top: 0.3em;
}

.prose p:last-child {
	color: var(--ink);
	font-weight: 500;
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 48px;
}

.section-head h2 {
	margin: 0;
}

/* Parallax photo band */

.band {
	position: relative;
	height: 72vh;
	min-height: 420px;
	overflow: hidden;
	display: flex;
	align-items: center;
	background: var(--ink);
	color: #fff;
}

.band-img {
	position: absolute;
	top: -20%;
	left: 0;
	width: 100%;
	height: 140%;
	max-width: none;
	object-fit: cover;
	will-change: transform;
}

.band-scrim {
	position: absolute;
	inset: 0;
	background: rgba(15, 20, 25, 0.5);
}

.band-content {
	position: relative;
}

.band-text {
	font-family: var(--display);
	font-weight: 200;
	font-size: clamp(36px, 6.5vw, 96px);
	line-height: 1.02;
	letter-spacing: -0.03em;
	max-width: 14ch;
	margin: 0;
}

/* Live Outlook calendar */

.cal-embed {
	margin-top: 48px;
	border: 1px solid var(--line);
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	line-height: 0;
}

.cal-embed iframe {
	display: block;
	width: 1px;
	min-width: 100%;
	height: 720px;
	border: 0;
}

/* Small markers for a new Scout Log post */

.new-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 6px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
	vertical-align: 0.55em;
}

.new-dot[hidden] {
	display: none;
}

.new-tag {
	margin-left: 8px;
	color: var(--accent);
}

/* A photo band with no words: lighter shade and a little shorter. */

.band-plain {
	height: 60vh;
}

.band-plain .band-scrim {
	background: rgba(15, 20, 25, 0.15);
}

/* Cards (Scout Log) */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 32px;
}

.card {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--ink);
	padding-top: 24px;
}

.card-thumb {
	display: block;
	margin-bottom: 20px;
	border-radius: 14px;
	overflow: hidden;
	line-height: 0;
}

.card-thumb img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.card:hover .card-thumb img {
	transform: scale(1.04);
}

.card-meta {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 10px;
}

.card h3 a {
	text-decoration: none;
}

.card p {
	color: var(--muted);
}

.more-link {
	display: inline-block;
	padding: 10px 0;
	font-weight: 600;
}

/* Contact */

.facts {
	margin: 24px 0 0;
}

.facts dt {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.facts dd {
	margin: 2px 0 18px;
	font-size: 20px;
	font-weight: 500;
}

.map {
	border-radius: 18px;
	overflow: hidden;
	line-height: 0;
	border: 1px solid var(--line);
}

.map iframe {
	width: 1px;
	min-width: 100%;
	height: 420px;
	border: 0;
}

/* Inner pages */

.page-hero {
	padding: clamp(56px, 8vw, 110px) 0 clamp(32px, 4vw, 56px);
	border-bottom: 1px solid var(--line);
}

.page-hero h1 {
	font-size: clamp(40px, 6.5vw, 84px);
	font-weight: 200;
	letter-spacing: -0.03em;
	margin: 0;
}

.page-hero .eyebrow-light {
	color: var(--accent);
}

.entry-content > * {
	max-width: 100%;
}

.entry-content h2 {
	font-size: clamp(28px, 3.4vw, 40px);
	margin-top: 1.4em;
}

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

.entry-content iframe {
	width: 100%;
	min-height: 640px;
	border: 1px solid var(--line);
	border-radius: 12px;
}

.entry-thumb {
	margin-bottom: 32px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 48px;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	text-decoration: none;
}

.nav-links .current {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}

/* Pages built with blocks (Calendar, Contact, Photos) */

.entry-full > * {
	width: min(100% - 48px, 1180px);
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}

.entry-full > * + * {
	margin-top: 24px;
}

.entry-full > .alignwide {
	width: min(100% - 48px, 1400px);
}

.entry-full > .alignfull,
.cover-first .entry-full > .wp-block-cover:first-child {
	width: 100%;
}

.cover-page {
	padding-bottom: clamp(56px, 8vw, 110px);
}

/* A page that opens with a photo: the photo runs edge to edge under the menu. */
.cover-first .entry-full > .wp-block-cover:first-child {
	min-height: 70vh !important;
	padding: calc(var(--header-h) + 32px) 24px 56px;
	align-items: flex-end;
}

.cover-first .entry-full > .wp-block-cover:first-child .wp-block-cover__inner-container {
	width: min(100%, 1180px);
	margin: 0 auto;
}

.entry-content .wp-block-cover img {
	border-radius: 0;
}

.wp-block-cover__inner-container > :is(p, h1, h2, h3) {
	font-family: var(--display);
	font-weight: 200;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0 0 0.3em;
}

.wp-block-cover__inner-container .has-large-font-size,
.wp-block-cover__inner-container h1 {
	font-size: clamp(40px, 7vw, 84px) !important;
}

.wp-block-cover a {
	color: inherit;
}

.wp-block-button__link {
	border-radius: 999px;
	padding: 12px 26px;
	font-family: var(--body);
	font-weight: 600;
	font-size: 16px !important;
	text-decoration: none;
}

/* Footer */

.footer-base {
	margin-top: 36px;
	text-align: right;
}

.site-footer .footer-login {
	display: inline-block;
	margin-left: 20px;
	padding: 10px 0;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.45);
	text-decoration: none;
}

.site-footer .footer-login:hover {
	color: #fff;
}

.site-footer {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.78);
	padding: 64px 0;
	font-size: 16px;
}

.site-footer a {
	color: #fff;
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 24px 48px;
}

.footer-name {
	font-family: var(--display);
	font-weight: 300;
	font-size: 28px;
	letter-spacing: -0.02em;
	color: #fff;
}

.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* Scroll reveal (only when JavaScript is running) */

.js-reveal .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js-reveal .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Small screens */

@media (max-width: 900px) {
	.two-col {
		grid-template-columns: minmax(0, 1fr);
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 16px 24px 24px;
		background: #fff;
		color: var(--ink);
		border-bottom: 1px solid var(--line);
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav ul {
		flex-direction: column;
		align-items: stretch;
	}

	.site-nav ul ul {
		display: flex;
		position: static;
		border: 0;
		padding: 0 0 0 16px;
	}

	.has-hero .site-header:not(.is-scrolled) .site-nav a:not(.btn) {
		color: var(--ink);
	}

	.hero-content {
		padding-bottom: 110px;
	}

	.log-teaser-top {
		display: none;
	}

	.log-teaser-inline {
		display: inline-flex;
		max-width: 100%;
		margin-top: 22px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		font-size: 14px;
	}

	.log-teaser-inline:hover {
		background: none;
	}

	.map iframe {
		height: 320px;
	}

	.cal-embed iframe {
		height: 600px;
	}
}

@media (max-width: 600px) {
	/* Smaller loading animation on phones. */
	.loader-inner {
		width: 60px;
		height: 60px;
	}

	.loader-logo {
		height: 32px;
	}

	/* Photo albums two across, so the section is half as long. */
	.photos-embed .oda-albums {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 14px;
	}

	.photos-embed .oda-title {
		font-size: 14px;
	}

	/* ---- Phone layout: fewer things per screen, tighter type, shorter page ---- */

	:root {
		--header-h: 64px;
	}

	body {
		font-size: 16.5px;
		line-height: 1.6;
	}

	.wrap {
		padding: 0 20px;
	}

	h2 {
		font-size: 29px;
		margin-bottom: 0.45em;
	}

	h3 {
		font-size: 21px;
	}

	.section {
		padding: 48px 0;
	}

	.eyebrow {
		font-size: 11.5px;
		margin-bottom: 12px;
	}

	/* Header: logo, name and menu button only. */
	.custom-logo {
		height: 44px;
	}

	.brand-name {
		font-size: 19px;
	}

	.brand-tag {
		display: none;
	}

	.nav-toggle {
		width: 44px;
		height: 44px;
	}

	/* Top of page: one headline, one sentence, one button. */
	/* The text block sits near the middle of the screen, not pushed to the bottom. */
	.hero-content {
		padding-top: 96px;
		padding-bottom: clamp(150px, 26vh, 230px);
	}

	.hero .eyebrow {
		font-size: 10.5px;
		letter-spacing: 0.14em;
		margin-bottom: 14px;
	}

	.hero-title {
		font-size: 42px;
		line-height: 1.02;
		margin-bottom: 16px;
	}

	.hero-sub {
		font-size: 16px;
	}

	.hero .btn-row {
		margin-top: 22px;
	}

	.hero .btn-ghost-light {
		display: none;
	}

	.log-teaser-inline {
		margin-top: 18px;
		font-size: 13px;
	}

	.scroll-cue {
		bottom: 14px;
		min-width: 0;
		padding: 10px;
	}

	.scroll-cue-label {
		display: none;
	}

	.wp-custom-header-video-button {
		right: 16px;
		bottom: 16px;
		min-height: 36px;
		padding: 6px 12px;
		font-size: 11px;
		opacity: 0.75;
	}

	.two-col {
		gap: 48px;
	}

	/* Photo bands: shorter, so they break up the page without taking a full screen each. */
	.band {
		height: 46vh;
		min-height: 300px;
	}

	.band-plain {
		height: 36vh;
		min-height: 230px;
	}

	.band-text {
		font-size: 34px;
	}

	/* Calendar: three clear buttons. The month grid is too small to use on a phone, so it is left to the full calendar link. */
	#calendar .wrap.narrow {
		text-align: left;
	}

	.btn-row {
		gap: 10px;
	}

	#calendar .btn-row,
	#visit .btn-row {
		flex-direction: column;
		align-items: stretch;
	}

	.cal-embed {
		display: none;
	}

	.section-head {
		margin-bottom: 24px;
		gap: 16px;
	}

	.section-head .btn {
		min-height: 44px;
		padding: 8px 18px;
		font-size: 14px;
	}

	/* Scout Log: a simple list of dates and titles. */
	.cards {
		gap: 0;
	}

	.card {
		padding: 16px 0;
	}

	.card p:not(.card-meta),
	.card .more-link,
	.card-thumb {
		display: none;
	}

	.card h3 {
		margin: 0;
	}

	.card-meta {
		margin-bottom: 6px;
	}

	.facts dd {
		font-size: 18px;
	}

	.map iframe {
		height: 260px;
	}

	.site-footer {
		padding: 48px 0 24px;
	}

	.footer-base {
		margin-top: 16px;
	}
}

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.btn,
	.card-thumb img {
		transition: none;
	}

	.scroll-cue-arrow,
	.loader-ring {
		animation: none;
	}
}
