/*
Theme Name: BTRMC
Theme URI: https://www.btrmc.com/
Author: Bernards Township Republican Municipal Committee
Description: Custom theme for the Bernards Township Republican Municipal Committee, rebuilt from the committee's Wix site.
Version: 0.1.0
Requires PHP: 7.4
Text Domain: btrmc
*/

:root {
	--btrmc-red: #b31942;
	--btrmc-red-dark: #8f1435;
	--btrmc-navy: #14213d;
	--btrmc-text: #222222;
	--btrmc-bg: #ffffff;
	--btrmc-gray-light: #f4f4f4;
	--btrmc-border: #e2e2e2;
	--btrmc-max-width: 1440px; /* content column; 32px side padding below keeps a modest gutter on laptops */
	--btrmc-font-heading: "Fraunces", "Georgia", serif;
	--btrmc-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	/* Homepage rhythm: every section shares these. */
	--btrmc-section-pad: 80px;
	--btrmc-h2: 40px;
	--btrmc-h2-gap: 40px;
	--btrmc-sub: 17px;
	--btrmc-header-h: 100px; /* measured by nav.js; the hero fills the rest of the first screen */
}

@media (max-width: 640px) {
	:root {
		--btrmc-section-pad: 56px;
		--btrmc-h2: 30px;
		--btrmc-h2-gap: 28px;
		--btrmc-sub: 16px;
	}
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--btrmc-font-body);
	color: var(--btrmc-text);
	background: var(--btrmc-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--btrmc-font-heading);
	font-weight: 600;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

img {
	max-width: 100%;
	display: block;
}

.btrmc-container {
	max-width: var(--btrmc-max-width);
	margin: 0 auto;
	padding: 0 32px;
}

@media (max-width: 640px) {
	.btrmc-container {
		padding: 0 20px;
	}
}

/* ---------- Social links (footer) ---------- */

/* Icon-only social links (see btrmc_social_links()). */
.btrmc-social-icons {
	display: flex;
	align-items: center;
	gap: 10px;
}

.btrmc-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--btrmc-navy);
	background: var(--btrmc-gray-light);
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btrmc-social-icon:hover,
.btrmc-social-icon:focus-visible {
	background: var(--btrmc-navy);
	color: #ffffff;
	transform: translateY(-2px);
	outline: none;
}

.btrmc-social-icon:focus-visible {
	box-shadow: 0 0 0 3px rgba(179, 25, 66, 0.5);
}

/* Footer: on navy, outlined circles that fill white on hover. */
.btrmc-footer-social .btrmc-social-icon {
	color: #ffffff;
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btrmc-footer-social .btrmc-social-icon:hover,
.btrmc-footer-social .btrmc-social-icon:focus-visible {
	background: #ffffff;
	color: var(--btrmc-navy);
	border-color: #ffffff;
}

/* Header: two columns beside Donate. Instagram over Facebook in the first,
   X at the top of the second so it lines up with Instagram. */
.btrmc-header-social {
	display: grid;
	grid-template-rows: repeat(2, auto);
	grid-auto-flow: column;
	align-items: start;
	gap: 4px 6px;
}

.btrmc-header-social .btrmc-social-icon {
	width: 28px;
	height: 28px;
	background: none;
	color: var(--btrmc-navy);
	opacity: 0.7;
}

.btrmc-header-social .btrmc-social-icon:hover,
.btrmc-header-social .btrmc-social-icon:focus-visible {
	background: none;
	color: var(--btrmc-red);
	opacity: 1;
	transform: none;
}

/* ---------- Header CTAs (Donate / Vote / Subscribe) ---------- */

.btrmc-header-ctas {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.btrmc-cta {
	display: inline-block;
	padding: 12px 26px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: 4px;
	border: 2px solid transparent;
	white-space: nowrap;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btrmc-cta:hover {
	transform: translateY(-1px);
}

.btrmc-cta-donate {
	background: var(--btrmc-red);
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(179, 25, 66, 0.35);
}

.btrmc-cta-donate:hover {
	background: var(--btrmc-red-dark);
	box-shadow: 0 6px 16px rgba(179, 25, 66, 0.45);
}

.btrmc-cta-vote {
	background: var(--btrmc-navy);
	color: #ffffff !important;
}

.btrmc-cta-vote:hover {
	background: #0c1730;
}

.btrmc-cta-subscribe {
	background: transparent;
	color: var(--btrmc-navy) !important;
	border-color: var(--btrmc-navy);
}

.btrmc-cta-subscribe:hover {
	background: var(--btrmc-navy);
	color: #ffffff !important;
}

/* ---------- Main header ---------- */

.btrmc-site-header {
	background: var(--btrmc-bg);
}

.btrmc-site-header .btrmc-container {
	max-width: 1440px;
}

.btrmc-header-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	padding-block: 10px;
	gap: 18px;
}

.btrmc-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.btrmc-logo img {
	width: 80px;
	height: 80px;
}

/* The full committee name reads as two lines: "The Bernards Township" over
   "Republican Municipal Committee". The width is tuned so it breaks there. */
.btrmc-logo-text {
	font-family: var(--btrmc-font-heading);
	font-style: italic;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.25;
	color: rgb(16, 40, 77);
	white-space: normal;
	/* Fits "Republican Municipal Committee" (15.06em in Fraunces italic) but not
	   "The Bernards Township Republican", so the name always breaks after "Township". */
	max-width: 15.3em;
	text-wrap: balance;
}

/* ---------- Primary nav ---------- */

.btrmc-primary-nav {
	flex: 1;
	min-width: 0;
}

.btrmc-nav-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
}

.btrmc-nav-menu > li {
	position: relative;
}

.btrmc-nav-menu > li > a {
	display: block;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--btrmc-navy);
	border-radius: 3px;
}

.btrmc-nav-menu > li > a:hover,
.btrmc-nav-menu > li.current-menu-item > a {
	color: var(--btrmc-red);
	background: var(--btrmc-gray-light);
}

.btrmc-nav-menu ul.sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 190px;
	background: #ffffff;
	border: 1px solid var(--btrmc-border);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	z-index: 20;
	padding: 6px 0;
}

.btrmc-nav-menu li:hover > ul.sub-menu {
	display: block;
}

.btrmc-nav-menu ul.sub-menu a {
	display: block;
	padding: 9px 16px;
	font-size: 12px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0.02em;
	color: var(--btrmc-text);
	white-space: nowrap;
}

.btrmc-nav-menu ul.sub-menu a:hover {
	background: var(--btrmc-gray-light);
	color: var(--btrmc-red);
}

/* Mobile nav toggle: hamburger that turns into an X. */

.btrmc-nav-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	background: none;
	border: 1.5px solid rgba(20, 33, 61, 0.25);
	border-radius: 999px;
	padding: 10px 16px 10px 14px;
	min-height: 44px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--btrmc-navy);
	cursor: pointer;
}

.btrmc-nav-toggle:focus-visible {
	outline: 2px solid var(--btrmc-red);
	outline-offset: 2px;
}

.btrmc-nav-toggle-icon {
	position: relative;
	width: 20px;
	height: 14px;
	display: block;
}

.btrmc-nav-toggle-icon span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.btrmc-nav-toggle-icon span:nth-child(1) { top: 0; }
.btrmc-nav-toggle-icon span:nth-child(2) { top: 6px; }
.btrmc-nav-toggle-icon span:nth-child(3) { top: 12px; }

.btrmc-nav-toggle[aria-expanded="true"] .btrmc-nav-toggle-icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.btrmc-nav-toggle[aria-expanded="true"] .btrmc-nav-toggle-icon span:nth-child(2) { opacity: 0; }
.btrmc-nav-toggle[aria-expanded="true"] .btrmc-nav-toggle-icon span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Collapsed header (tablet and below): logo left, actions right, menu drops
   down as a full-width panel under the bar. */
@media (max-width: 1320px) {
	.btrmc-header-inner {
		justify-content: space-between;
		padding-block: 12px; /* keep the container's side gutter */
		gap: 12px;
	}

	.btrmc-header-ctas {
		order: 1;
		margin-left: auto;
	}

	.btrmc-nav-toggle {
		display: inline-flex;
		order: 2;
	}

	.btrmc-primary-nav {
		flex: 1 1 100%;
		order: 3;
	}

	.btrmc-header-social {
		display: flex;
		flex-direction: row;
		gap: 12px;
	}

	.btrmc-nav-menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		width: 100%;
		gap: 0;
		margin: 4px 0 0;
		padding: 8px 0 4px;
		border-top: 1px solid var(--btrmc-border);
	}

	.btrmc-nav-menu.is-open {
		display: flex;
	}

	.btrmc-nav-menu > li > a {
		padding: 14px 4px;
		font-size: 14px;
		border-radius: 0;
		border-bottom: 1px solid var(--btrmc-gray-light);
	}

	.btrmc-nav-menu > li:last-child > a {
		border-bottom: none;
	}

	.btrmc-nav-menu > li > a:hover,
	.btrmc-nav-menu > li.current-menu-item > a {
		background: none;
	}

	.btrmc-nav-menu ul.sub-menu {
		position: static;
		display: block;
		min-width: 0;
		border: none;
		box-shadow: none;
		padding: 0 0 8px 16px;
	}
}

/* Phones: the bar is just logo + hamburger; Donate and the social links live
   inside the open menu so nothing crowds the top row. */
@media (max-width: 760px) {
	.btrmc-header-ctas {
		display: none;
		order: 4;
		flex: 1 1 100%;
		justify-content: space-between;
		align-items: center;
		padding: 12px 0 8px;
		border-top: 1px solid var(--btrmc-border);
	}

	.btrmc-site-header.is-menu-open .btrmc-header-ctas {
		display: flex;
	}

	.btrmc-header-ctas .btrmc-cta-donate {
		flex: 1 1 auto;
		min-width: 0;
		text-align: center;
	}

	.btrmc-header-social {
		flex-shrink: 0;
		gap: 16px;
		padding-right: 4px;
	}

	.btrmc-nav-toggle-label {
		display: none;
	}

	.btrmc-nav-toggle {
		padding: 0;
		width: 44px;
		justify-content: center;
		border: none;
	}

	.btrmc-logo {
		flex: 1 1 auto;
		min-width: 0;
	}

	.btrmc-logo img {
		width: 52px;
		height: 52px;
	}

	.btrmc-logo-text {
		font-size: 14px;
	}
}

/* ---------- Homepage hero ---------- */

.btrmc-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - var(--btrmc-header-h));
	min-height: calc(100svh - var(--btrmc-header-h));
	background-color: var(--btrmc-navy);
	overflow: hidden;
}

.btrmc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(14, 22, 43, 0.55) 0%, rgba(14, 22, 43, 0.7) 60%, rgba(14, 22, 43, 0.85) 100%);
}

.btrmc-hero-slides {
	position: absolute;
	/* Extends a little above the hero so the parallax layer can slide down
	   without exposing the navy background. The gap can only show while the
	   hero's top edge is still on screen (the first ~header-height of scroll),
	   so 0.35 × header height is all the cover needed (see hero-parallax.js).
	   A bigger extension pushes the top of every photo out of view. */
	top: calc(-0.4 * var(--btrmc-header-h));
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	will-change: transform;
}

.btrmc-hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	opacity: 0;
	transition: opacity 1.4s ease;
}

.btrmc-hero-slide.is-active {
	opacity: 1;
}

.btrmc-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 960px;
	padding: 40px 24px 56px;
	text-align: center;
}

.btrmc-hero-dots {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
}

.btrmc-hero-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.btrmc-hero-dot:hover {
	background: rgba(255, 255, 255, 0.7);
}

.btrmc-hero-dot.is-active {
	background: #ffffff;
	transform: scale(1.2);
}

.btrmc-hero-text-stack {
	display: grid;
	margin-bottom: 36px;
}

/* Every slide sits in the same grid cell, so the stack is as tall as the tallest
   headline and the buttons below never get overlapped. Slides fade out, then the
   next fades in, so two headlines are never visible at once. */
.btrmc-hero-text-slide {
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.btrmc-hero-text-slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.6s ease 0.5s, visibility 0s linear 0.5s;
}

.btrmc-hero-text-slide h1 {
	font-family: var(--btrmc-font-heading);
	font-size: clamp(44px, 6.4vw, 78px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: #ffffff;
	text-shadow: 0 2px 24px rgba(14, 22, 43, 0.35);
	text-wrap: balance;
	max-width: 20ch;
	margin: 0 auto 20px;
	/* Never more than three lines, whatever the copy. */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.btrmc-hero-text-slide p {
	font-size: clamp(18px, 1.6vw, 22px);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
	max-width: 44ch;
	margin: 20px auto 0;
}

.btrmc-hero-ctas {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
}

.btrmc-hero .btrmc-cta {
	border-radius: 999px;
	padding: 16px 32px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.btrmc-hero .btrmc-cta-vote {
	background: var(--btrmc-red);
	color: #ffffff !important;
}

.btrmc-hero .btrmc-cta-vote:hover {
	background: var(--btrmc-red-dark);
	transform: translateY(-2px);
}

.btrmc-hero .btrmc-cta-subscribe {
	background: transparent;
	color: #ffffff !important;
	border-width: 1.5px;
	border-color: #ffffff;
}

.btrmc-hero .btrmc-cta-subscribe:hover {
	background: #ffffff;
	color: var(--btrmc-navy) !important;
	transform: translateY(-2px);
}

@media (max-width: 640px) {
	.btrmc-hero-text-slide h1 {
		font-size: clamp(36px, 11vw, 48px);
	}

	.btrmc-hero-text-slide p {
		font-size: 17px;
	}

		.btrmc-hero-ctas {
		flex-direction: column;
		width: 100%;
	}

	.btrmc-hero .btrmc-cta {
		width: 100%;
	}
}

/* ---------- Homepage who we are ---------- */

.btrmc-who {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

/* Carousel: panels and photos share one cell each; the script crossfades them. */
.btrmc-who-copy {
	display: grid;
}

.btrmc-who-panel {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
}

.btrmc-who-panel.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s, visibility 0s;
}

.btrmc-who-media-frame {
	display: grid;
}

.btrmc-who-photo {
	grid-area: 1 / 1;
	opacity: 0;
	transform: scale(1.03);
	transition: opacity 0.7s ease, transform 0.9s ease;
}

.btrmc-who-photo.is-active {
	opacity: 1;
	transform: none;
}

.btrmc-who-controls {
	grid-area: 2 / 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 36px;
}

.btrmc-who-progress {
	display: none;
}

.btrmc-who-progress {
	display: flex;
	gap: 8px;
}

.btrmc-who-progress button {
	width: 36px;
	height: 4px;
	padding: 0;
	border: none;
	border-radius: 2px;
	background: var(--btrmc-border);
	cursor: pointer;
	transition: background 0.2s ease, width 0.2s ease;
}

.btrmc-who-progress button.is-active {
	background: var(--btrmc-navy);
	width: 56px;
}

.btrmc-who-progress button:focus-visible {
	outline: 2px solid var(--btrmc-red);
	outline-offset: 3px;
}

.btrmc-who-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 64px;
	align-items: center;
}

.btrmc-who-heading {
	font-size: var(--btrmc-h2);
	line-height: 1.15;
	color: var(--btrmc-navy);
	margin: 0 0 20px;
	position: relative;
	padding-bottom: 18px;
}

.btrmc-who-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 64px;
	height: 4px;
	background: var(--btrmc-red);
	border-radius: 2px;
}

.btrmc-who-intro {
	font-family: var(--btrmc-font-heading);
	font-style: italic;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--btrmc-navy);
	margin: 0 0 20px;
}

.btrmc-who-body {
	font-size: 15px;
	line-height: 1.75;
	color: #444444;
	margin: 0 0 28px;
}

.btrmc-who-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--btrmc-navy);
	transition: color 0.15s ease;
}

.btrmc-who-link:hover {
	color: var(--btrmc-red);
}

.btrmc-who-link-arrow {
	display: inline-block;
	transition: transform 0.15s ease;
}

.btrmc-who-link:hover .btrmc-who-link-arrow {
	transform: translateX(4px);
}

/* Photo */

.btrmc-who-media-frame img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 20px 44px rgba(20, 33, 61, 0.16);
}

@media (max-width: 900px) {
	.btrmc-who-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.btrmc-who-media {
		max-width: 480px;
	}

}

/* ---------- Homepage exec board ---------- */

.btrmc-exec {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-exec-heading {
	text-align: left;
	font-family: var(--btrmc-font-heading);
	font-size: var(--btrmc-h2);
	font-weight: 600;
	line-height: 1.15;
	color: var(--btrmc-navy);
	margin: 0;
	padding-bottom: 10px;
}

.btrmc-exec-subheading {
	text-align: left;
	max-width: 60ch;
	margin: 0;
	color: #4a5060;
	font-size: var(--btrmc-sub);
	line-height: 1.5;
}


.btrmc-exec-arrow {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #ffffff;
	border: 1.5px solid rgba(20, 33, 61, 0.2);
	color: var(--btrmc-navy);
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btrmc-exec-arrow svg {
	display: block;
}

.btrmc-exec-arrow:hover {
	background: var(--btrmc-navy);
	border-color: var(--btrmc-navy);
	color: #ffffff;
}

.btrmc-exec-arrow:focus-visible {
	outline: 2px solid var(--btrmc-red);
	outline-offset: 2px;
}

/* One row of up to five members; each column shrinks to fit the width. */
.btrmc-exec-track {
	/* Five equal columns edge to edge; the photo fills its column so the row spans the content width. */
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 28px 36px;
	justify-items: stretch;
}

.btrmc-exec-card {
	width: 100%;
	max-width: none;
	min-width: 0;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.btrmc-exec-photo-wrap {
	/* Square photo, a little narrower than the column. */
	width: 100%;
	max-width: none;
	aspect-ratio: 1 / 1;
	height: auto;
	border-radius: 24px;
	overflow: hidden;
	margin: 0 auto 22px;
	background: var(--btrmc-gray-light);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 24px rgba(20, 33, 61, 0.12);
}

.btrmc-exec-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.btrmc-exec-photo-initial {
	font-family: var(--btrmc-font-heading);
	font-size: 64px;
	font-weight: 600;
	color: var(--btrmc-navy);
}

.btrmc-exec-card h3 {
	font-family: var(--btrmc-font-heading);
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 600;
	color: var(--btrmc-navy);
}

.btrmc-exec-title {
	display: block;
	margin-bottom: 16px;
}

.btrmc-exec-role {
	display: block;
	font-family: var(--btrmc-font-body);
	font-size: 15px;
	font-weight: 600;
	color: var(--btrmc-navy);
}

.btrmc-exec-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--btrmc-font-body);
	font-size: 15px;
	font-weight: 600;
	color: var(--btrmc-red);
	border-radius: 2px;
}

.btrmc-exec-link:hover,
.btrmc-exec-link:focus-visible {
	color: var(--btrmc-red-dark);
	text-decoration: underline;
}

.btrmc-exec-link:focus-visible {
	outline: 2px solid var(--btrmc-red);
	outline-offset: 2px;
}

.btrmc-exec-link-arrow {
	display: inline-block;
	transition: transform 0.15s ease;
}

.btrmc-exec-link:hover .btrmc-exec-link-arrow,
.btrmc-exec-link:focus-visible .btrmc-exec-link-arrow {
	transform: translateX(3px);
}

@media (max-width: 1100px) {
	.btrmc-exec-track {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px 24px;
	}
}

@media (max-width: 860px) {
	.btrmc-exec-track {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 16px;
	}

}

@media (max-width: 420px) {
	.btrmc-exec-track {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.btrmc-news-tile,
	.btrmc-news-tile-link svg,
	.btrmc-board-card,
	.btrmc-board-card-more svg,
	.btrmc-board-modal-panel,
	.btrmc-event-tile,
	.btrmc-event-tile-link svg,
	.btrmc-event-nav-link,
	.btrmc-who-panel,
	.btrmc-who-photo,
	.btrmc-event-card,
	.btrmc-event-card-more,
	.btrmc-event-card-content h3,
	.btrmc-exec-track,
	.btrmc-commissioner-bg-slide,
	.btrmc-commissioner-item {
		transition: none;
	}

	.btrmc-exec-arrow,
	.btrmc-exec-link-arrow,
	.btrmc-candidate-link svg {
		transition: none;
	}

	.btrmc-hero-slide,
	.btrmc-hero-text-slide {
		transition: none;
	}
}

/* ---------- Homepage campaign ---------- */

.btrmc-campaign {
	padding: var(--btrmc-section-pad) 0;
	background: var(--btrmc-gray-light);
}

.btrmc-commissioner {
	background: var(--btrmc-navy);
}

.btrmc-campaign-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: var(--btrmc-h2-gap);
}

.btrmc-campaign-heading {
	text-align: left;
	font-family: var(--btrmc-font-heading);
	font-size: var(--btrmc-h2);
	font-weight: 600;
	line-height: 1.15;
	color: var(--btrmc-navy);
	margin: 0;
	padding-bottom: 10px;
}

.btrmc-race {
	display: grid;
	grid-template-columns: 25% 1fr; /* race header 25%, candidates the rest */
	gap: 40px;
	padding: 40px 0;
	border-top: 1px solid var(--btrmc-border);
}

.btrmc-campaign-header + .btrmc-race {
	border-top: 3px solid var(--btrmc-red);
}

.btrmc-race:last-child {
	padding-bottom: 8px;
}

.btrmc-race-office {
	margin: 0 0 8px;
	font-family: var(--btrmc-font-heading);
	font-size: 26px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--btrmc-navy);
}

.btrmc-race-meta {
	margin: 0 0 6px;
	font-size: 15px;
	color: #4a5060;
}

.btrmc-race-note {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: #4a5060;
	max-width: 32ch;
}

.btrmc-race-candidates {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.btrmc-candidate {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: #ffffff;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 8px 24px rgba(20, 33, 61, 0.08);
}

.btrmc-candidate-photo-wrap {
	position: relative;
	flex: 0 0 132px;
	width: 132px;
	height: 132px;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background:
		radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.14), transparent 45%),
		radial-gradient(circle at 78% 18%, rgba(255, 225, 228, 0.16), transparent 42%),
		linear-gradient(160deg, #a8465c 0%, #8c3a4d 50%, #6f2c3d 100%);
}

.btrmc-candidate-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.btrmc-candidate-photo--small {
	width: 78%;
	height: 85%;
	object-fit: contain;
	object-position: bottom center;
}

.btrmc-candidate-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.btrmc-candidate-name {
	margin: 0;
	font-family: var(--btrmc-font-heading);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--btrmc-navy);
}

.btrmc-candidate-tag {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--btrmc-navy);
	background: var(--btrmc-gray-light);
	border-radius: 999px;
	vertical-align: middle;
}

.btrmc-candidate-label {
	margin: 4px 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--btrmc-red);
}

.btrmc-candidate-pitch {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: #4a5060;
}

.btrmc-candidate-links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 4px;
}

.btrmc-candidate-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--btrmc-red);
}

.btrmc-candidate-link:hover {
	text-decoration: underline;
}

.btrmc-candidate-link--meet {
	color: var(--btrmc-navy);
}

.btrmc-candidate-link svg {
	display: inline-block;
	transition: transform 0.15s ease;
}

.btrmc-candidate-link:hover svg {
	transform: translateX(3px);
}

/* County Commissioner call to action: a photo band with a navy wash on the
   left so the left-aligned text reads, and the photo showing through on the right. */
.btrmc-commissioner-banner {
	position: relative;
	overflow: hidden;
	width: 100%;
	min-height: 440px;
	display: flex;
	align-items: center;
	background-color: var(--btrmc-navy);
}

/* Background photos: one layer per slide, crossfaded by the carousel script. */
.btrmc-commissioner-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.btrmc-commissioner-bg-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center 40%;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.btrmc-commissioner-bg-slide.is-active {
	opacity: 1;
}

.btrmc-commissioner-banner .btrmc-container {
	position: relative;
	z-index: 2;
	width: 100%;
}

/* Text: all slides share one grid cell; the outgoing fades out, then the
   incoming fades in, so two titles are never visible at once. */
.btrmc-commissioner-stack {
	display: grid;
}

.btrmc-commissioner-item {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.btrmc-commissioner-item.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.6s ease 0.4s, visibility 0s linear 0.4s;
}

.btrmc-commissioner-dots {
	position: absolute;
	left: 24px;
	bottom: 28px;
	display: flex;
	gap: 10px;
}

.btrmc-commissioner-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.btrmc-commissioner-dot:hover {
	background: rgba(255, 255, 255, 0.7);
}

.btrmc-commissioner-dot.is-active {
	background: #ffffff;
	transform: scale(1.2);
}

.btrmc-commissioner-dot:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

.btrmc-commissioner-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(20, 33, 61, 0.96) 0%, rgba(20, 33, 61, 0.88) 42%, rgba(20, 33, 61, 0.55) 70%, rgba(20, 33, 61, 0.25) 100%);
}

.btrmc-commissioner-content {
	max-width: 560px;
	padding: var(--btrmc-section-pad) 0;
	text-align: left;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.btrmc-commissioner-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--btrmc-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.btrmc-commissioner-eyebrow::before {
	content: "";
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: var(--btrmc-red);
}

.btrmc-commissioner-banner h3 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.btrmc-commissioner-banner p {
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 17px;
	line-height: 1.55;
	max-width: 42ch;
}

.btrmc-commissioner-cta {
	margin-top: 10px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 14px 26px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	background: var(--btrmc-red);
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(179, 25, 66, 0.3);
}

.btrmc-commissioner-cta:hover,
.btrmc-commissioner-cta:focus-visible {
	background: var(--btrmc-red-dark);
	color: #ffffff;
	transform: translateY(-2px);
}

.btrmc-commissioner-cta svg {
	transition: transform 0.15s ease;
}

.btrmc-commissioner-cta:hover svg {
	transform: translateX(3px);
}

@media (max-width: 760px) {
	.btrmc-race {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.btrmc-candidate-photo-wrap {
		flex-basis: 96px;
		width: 96px;
		height: 96px;
	}
}

@media (max-width: 420px) {
	.btrmc-candidate {
		flex-direction: column;
	}

	.btrmc-candidate-photo-wrap {
		flex-basis: auto;
		width: 96px;
		height: 96px;
	}
}

@media (max-width: 640px) {
	.btrmc-commissioner-banner {
		min-height: 0;
		background-position: center;
	}

	.btrmc-commissioner-banner::before {
		background: linear-gradient(180deg, rgba(20, 33, 61, 0.9) 0%, rgba(20, 33, 61, 0.86) 100%);
	}

	.btrmc-commissioner-content {
		padding: 48px 0 64px;
	}

	.btrmc-commissioner-bg-slide {
		background-position: center;
	}

	.btrmc-commissioner-cta {
		width: 100%;
		justify-content: center;
	}
}

/* ---------- Homepage events ---------- */

.btrmc-events {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-events-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: var(--btrmc-h2-gap);
}

.btrmc-events-heading-group {
	text-align: left;
}

.btrmc-events-heading {
	text-align: left;
	font-family: var(--btrmc-font-heading);
	font-size: var(--btrmc-h2);
	font-weight: 600;
	line-height: 1.15;
	color: var(--btrmc-navy);
	margin: 0;
	padding-bottom: 10px;
}

.btrmc-events-subheading {
	text-align: left;
	max-width: 640px;
	margin: 0;
	color: #555555;
	font-size: var(--btrmc-sub);
}

/* Outlined navy button used beside section headings (Events, Campaign). */
.btrmc-outline-button {
	flex-shrink: 0;
	white-space: nowrap;
	background: transparent;
	border-color: var(--btrmc-navy);
	color: var(--btrmc-navy) !important;
}

.btrmc-outline-button:hover,
.btrmc-outline-button:focus-visible {
	background: var(--btrmc-navy);
	color: #ffffff !important;
}

/* Past events on the homepage: a corner badge and a muted date pill. */
.btrmc-event-past-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--btrmc-navy);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.btrmc-event-card--past::before {
	background: linear-gradient(180deg, rgba(16, 40, 77, 0.25) 0%, rgba(10, 18, 36, 0.92) 100%);
}

.btrmc-event-date--past {
	background: rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.9);
}

/* Expanding carousel: four cards in view; the active card takes half the
   track, the other three share the rest. Hovering a card makes it active. */
.btrmc-events-carousel {
	display: flex;
	align-items: center;
	gap: 20px;
}

.btrmc-events-viewport {
	flex: 1;
	min-width: 0;
}

.btrmc-events-track {
	display: flex;
	gap: 16px;
	height: 460px;
}

.btrmc-events-carousel--single .btrmc-events-arrow {
	display: none;
}

.btrmc-events-arrow[disabled] {
	opacity: 0.35;
	cursor: default;
	transform: none;
}

.btrmc-event-card {
	position: relative;
	/* three collapsed cards share the half the active card leaves free */
	flex: 0 0 calc((50% - 48px) / 3);
	min-width: 0;
	border-radius: 16px;
	overflow: hidden;
	background-color: var(--btrmc-navy);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
	box-shadow: 0 12px 30px rgba(16, 40, 77, 0.18);
	cursor: pointer;
	transition: flex-basis 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}

.btrmc-event-card.is-active {
	flex-basis: 50%;
	box-shadow: 0 16px 36px rgba(16, 40, 77, 0.26);
}

.btrmc-event-card:focus-visible {
	outline: 3px solid var(--btrmc-red);
	outline-offset: 3px;
}

.btrmc-event-card--placeholder {
	background-image: linear-gradient(135deg, var(--btrmc-navy), var(--btrmc-red-dark));
}

.btrmc-event-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(16, 40, 77, 0) 30%, rgba(10, 18, 36, 0.92) 100%);
}

.btrmc-event-card-content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 24px 22px;
	color: #ffffff;
}

.btrmc-event-card.is-active .btrmc-event-card-content {
	padding: 30px;
}

.btrmc-event-date {
	display: inline-block;
	background: var(--btrmc-red);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 6px 12px;
	border-radius: 999px;
	margin-bottom: 14px;
	line-height: 1.35;
	max-width: 100%;
}

.btrmc-event-card-content h3 {
	font-size: 19px;
	line-height: 1.25;
	margin: 0;
	text-wrap: balance;
}

.btrmc-event-card.is-active .btrmc-event-card-content h3 {
	font-size: 26px;
	margin: 0 0 8px;
}

/* Collapsed cards show only the date and title. The rest sits in a grid row
   that grows with the card, and its text fades in only once the card has
   reached its full width (the 0.45s widen), then hides at once on collapse. */
.btrmc-event-card-more {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s ease;
}

.btrmc-event-card-more-inner {
	min-height: 0;
	overflow: hidden;
}

.btrmc-event-card.is-active .btrmc-event-card-more {
	grid-template-rows: 1fr;
	opacity: 1;
	/* starts fading in at 0.3s, when the widen (0.45s, ease-out) is already ~90% done */
	transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease 0.3s;
}

.btrmc-event-card-content h3 {
	transition: font-size 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.btrmc-event-card-content .btrmc-event-location {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #ffffff;
	opacity: 1;
	margin: 0 0 14px;
	padding: 7px 14px 7px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	max-width: 100%;
}

.btrmc-event-location-pin {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	color: #ffffff;
}

.btrmc-event-card-content p {
	font-size: 15px;
	line-height: 1.55;
	margin: 0 0 18px;
	max-width: 46ch;
}

.btrmc-event-link {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	border-bottom: 2px solid var(--btrmc-red);
	padding-bottom: 3px;
	transition: color 0.15s ease;
}

.btrmc-event-card:hover .btrmc-event-link {
	color: var(--btrmc-red);
}

@media (max-width: 760px) {
	/* Phones: a plain horizontal scroller, every card the same size. */
	.btrmc-events-carousel {
		gap: 0;
	}

	.btrmc-events-arrow {
		display: none;
	}

	.btrmc-events-track {
		height: auto;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding: 4px 4px 20px;
		margin: -4px -4px 0;
	}

	.btrmc-event-card,
	.btrmc-event-card.is-active {
		flex: 0 0 84%;
		min-height: 380px;
		scroll-snap-align: start;
	}

	.btrmc-event-card .btrmc-event-card-more {
		grid-template-rows: 1fr;
		opacity: 1;
	}

	.btrmc-event-card .btrmc-event-card-content h3 {
		font-size: 22px;
		margin: 0 0 8px;
	}
}

/* ---------- Page content placeholder ---------- */

.btrmc-main {
	max-width: var(--btrmc-max-width);
	margin: 0 auto;
	padding: 60px 24px;
	min-height: 300px;
}

/* ---------- Footer ---------- */

.btrmc-site-footer {
	background: var(--btrmc-navy);
	color: #ffffff;
	padding: 40px 0;
	/* no extra gap: the section above already carries the page's bottom padding */
	margin-top: 0;
	font-size: 13px;
}

.btrmc-site-footer a {
	color: #ffffff;
}

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

/* Same lockup as the header: logo beside the name on two lines. */
.btrmc-footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
	color: #ffffff;
}

.btrmc-footer-brand img {
	display: block;
	width: 80px;
	height: 80px;
	flex: none;
}

.btrmc-footer-brand-text {
	font-family: var(--btrmc-font-heading);
	font-style: italic;
	font-weight: 500;
	font-size: 17px;
	line-height: 1.25;
	max-width: 15.3em; /* breaks after "Township", as in the header */
	text-wrap: balance;
}

.btrmc-footer-brand:hover .btrmc-footer-brand-text { color: rgba(255, 255, 255, 0.85); }

.btrmc-footer-contact {
	line-height: 1.7;
}

.btrmc-footer-contact a:hover {
	text-decoration: underline;
}

.btrmc-footer-legal {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 12px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.65);
}

/* ---------- Events archive + single ---------- */

.btrmc-events-archive {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-page-header {
	margin-bottom: var(--btrmc-h2-gap);
}

.btrmc-page-title {
	font-family: var(--btrmc-font-heading);
	font-size: var(--btrmc-h2);
	font-weight: 600;
	line-height: 1.15;
	color: var(--btrmc-navy);
	margin: 0 0 12px;
}

.btrmc-page-intro {
	font-size: var(--btrmc-sub);
	line-height: 1.55;
	color: #4a5060;
	max-width: 60ch;
	margin: 0;
}

.btrmc-events-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.btrmc-event-tile {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(20, 33, 61, 0.08);
	color: var(--btrmc-text);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btrmc-event-tile:hover,
.btrmc-event-tile:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(20, 33, 61, 0.14);
	outline: none;
}

.btrmc-event-tile:focus-visible {
	box-shadow: 0 0 0 3px var(--btrmc-red), 0 16px 36px rgba(20, 33, 61, 0.14);
}

.btrmc-event-tile-photo {
	position: relative;
	aspect-ratio: 16 / 10;
	background-color: var(--btrmc-navy);
	background-size: cover;
	background-position: center;
}

.btrmc-event-tile-date {
	position: absolute;
	top: 16px;
	left: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 56px;
	padding: 8px 10px;
	border-radius: 12px;
	background: #ffffff;
	color: var(--btrmc-navy);
	line-height: 1;
	box-shadow: 0 6px 16px rgba(20, 33, 61, 0.18);
}

.btrmc-event-tile-date span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--btrmc-red);
}

.btrmc-event-tile-date strong {
	font-family: var(--btrmc-font-heading);
	font-size: 24px;
	font-weight: 600;
	margin-top: 3px;
}

.btrmc-event-tile-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px 22px;
	flex: 1;
}

.btrmc-event-tile-title {
	font-family: var(--btrmc-font-heading);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--btrmc-navy);
	margin: 0;
}

.btrmc-event-tile-meta {
	font-size: 14px;
	font-weight: 600;
	color: #4a5060;
	margin: 0;
}

.btrmc-event-tile-excerpt {
	font-size: 15px;
	line-height: 1.55;
	color: #4a5060;
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

.btrmc-event-tile-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: auto;
	padding-top: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--btrmc-red);
}

.btrmc-event-tile-link svg {
	transition: transform 0.15s ease;
}

.btrmc-event-tile:hover .btrmc-event-tile-link svg {
	transform: translateX(3px);
}

.btrmc-events-empty {
	padding: 48px 32px;
	border: 1px dashed var(--btrmc-border);
	border-radius: 16px;
	text-align: center;
	color: #4a5060;
	font-size: var(--btrmc-sub);
}

.btrmc-events-empty p {
	margin: 0;
}

.btrmc-events-past {
	margin-top: 64px;
	padding-top: 32px;
	border-top: 1px solid var(--btrmc-border);
}

.btrmc-events-past-title {
	font-family: var(--btrmc-font-heading);
	font-size: 24px;
	font-weight: 600;
	color: var(--btrmc-navy);
	margin: 0 0 16px;
}

/* Past events: flyer gallery. Flyers are portrait, so the photo box is taller
   and shows the whole poster on a soft background. */
.btrmc-events-list--past { margin-top: 8px; }
.btrmc-event-tile--past { opacity: 0.92; }
.btrmc-event-tile--past:hover { opacity: 1; }
.btrmc-event-tile-photo--flyer {
	aspect-ratio: 16 / 10;
	background-size: cover;
	background-color: var(--btrmc-gray-light);
}
.btrmc-event-tile--past .btrmc-event-tile-title { font-size: 19px; }

.btrmc-events-past-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.btrmc-events-past-list li {
	display: flex;
	gap: 20px;
	align-items: baseline;
	padding: 12px 0;
	border-bottom: 1px solid var(--btrmc-gray-light);
	font-size: 15px;
}

.btrmc-events-past-date {
	flex: 0 0 110px;
	font-size: 13px;
	font-weight: 600;
	color: #767c8a;
	font-variant-numeric: tabular-nums;
}

.btrmc-events-past-list a {
	color: var(--btrmc-navy);
	font-weight: 600;
}

.btrmc-events-past-list a:hover {
	color: var(--btrmc-red);
}

/* Single event */

.btrmc-event-band {
	position: relative;
	overflow: hidden;
	min-height: 380px;
	display: flex;
	align-items: center;
	background-color: var(--btrmc-navy);
	background-size: cover;
	background-position: center 62%;
}

.btrmc-event-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(20, 33, 61, 0.96) 0%, rgba(20, 33, 61, 0.88) 42%, rgba(20, 33, 61, 0.55) 70%, rgba(20, 33, 61, 0.3) 100%);
}

.btrmc-event-band .btrmc-container {
	position: relative;
	z-index: 1;
	width: 100%;
}

.btrmc-event-band-content {
	max-width: 640px;
	padding: 64px 0;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.btrmc-event-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.btrmc-event-eyebrow::before {
	content: "";
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: var(--btrmc-red);
}

.btrmc-event-title {
	font-family: var(--btrmc-font-heading);
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.01em;
	margin: 0;
	color: #ffffff;
	text-wrap: balance;
}

.btrmc-event-band-date {
	margin: 0;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.9);
}

.btrmc-event-body {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-event-grid {
	/* details first and largest; the description sits to the right */
	display: grid;
	grid-template-columns: minmax(380px, 46%) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

.btrmc-event-content {
	font-size: 17px;
	line-height: 1.7;
	color: var(--btrmc-text);
	max-width: 68ch;
}

.btrmc-event-content > :first-child {
	margin-top: 0;
}

.btrmc-event-content h2,
.btrmc-event-content h3 {
	font-family: var(--btrmc-font-heading);
	color: var(--btrmc-navy);
}

.btrmc-event-side {
	position: sticky;
	top: 24px;
	align-self: start;
}

.btrmc-event-details {
	background: var(--btrmc-gray-light);
	border-radius: 20px;
	padding: 40px;
}

.btrmc-event-details-title {
	font-family: var(--btrmc-font-heading);
	font-size: 28px;
	font-weight: 600;
	color: var(--btrmc-navy);
	margin: 0 0 24px;
	padding-bottom: 18px;
	border-bottom: 3px solid var(--btrmc-red);
}

.btrmc-event-details-list {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.btrmc-event-details-list dt {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #767c8a;
	margin-bottom: 6px;
}

.btrmc-event-details-list dd {
	margin: 0;
	font-family: var(--btrmc-font-heading);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--btrmc-navy);
}

.btrmc-event-venue {
	display: block;
}

.btrmc-event-address {
	display: block;
	margin-top: 4px;
	font-family: var(--btrmc-font-body);
	font-size: 16px;
	font-weight: 500;
	color: var(--btrmc-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.btrmc-event-rsvp {
	display: block;
	text-align: center;
	margin-top: 32px;
	padding: 18px 28px;
	border-radius: 999px;
	font-size: 17px;
	text-transform: none;
	letter-spacing: normal;
	background: var(--btrmc-red);
	color: #ffffff !important;
}

.btrmc-event-rsvp:hover {
	background: var(--btrmc-red-dark);
}

.btrmc-event-calendar {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 18px;
	font-size: 15px;
	font-weight: 600;
	color: var(--btrmc-navy);
}

.btrmc-event-calendar:hover {
	color: var(--btrmc-red);
}

/* Previous / next event navigation under the body. */
.btrmc-event-nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 24px;
	align-items: stretch;
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--btrmc-border);
}

.btrmc-event-nav-link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 22px;
	border: 1.5px solid var(--btrmc-border);
	border-radius: 16px;
	color: var(--btrmc-navy);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btrmc-event-nav-link--next {
	text-align: right;
	align-items: flex-end;
}

.btrmc-event-nav-link:hover,
.btrmc-event-nav-link:focus-visible {
	border-color: var(--btrmc-navy);
	box-shadow: 0 10px 24px rgba(20, 33, 61, 0.1);
	transform: translateY(-2px);
	outline: none;
}

.btrmc-event-nav-label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--btrmc-red);
}

.btrmc-event-nav-title {
	font-family: var(--btrmc-font-heading);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
}

.btrmc-event-nav-date {
	font-size: 14px;
	color: #4a5060;
}

.btrmc-event-nav-all {
	align-self: center;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--btrmc-navy);
	padding: 12px 20px;
	border-radius: 999px;
	border: 1.5px solid var(--btrmc-navy);
	white-space: nowrap;
}

.btrmc-event-nav-all:hover,
.btrmc-event-nav-all:focus-visible {
	background: var(--btrmc-navy);
	color: #ffffff;
}

@media (max-width: 760px) {
	.btrmc-event-nav {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.btrmc-event-nav-spacer {
		display: none;
	}

	.btrmc-event-nav-all {
		order: 3;
		justify-self: start;
	}

	.btrmc-event-nav-link--next {
		text-align: left;
		align-items: flex-start;
	}
}

@media (max-width: 1100px) {
	.btrmc-events-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.btrmc-event-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.btrmc-event-side {
		position: static;
	}

	.btrmc-event-details {
		padding: 28px;
	}

	.btrmc-event-details-list dd {
		font-size: 19px;
	}
}

@media (max-width: 700px) {
	.btrmc-events-list {
		grid-template-columns: 1fr;
	}

	.btrmc-event-band {
		min-height: 0;
	}

	.btrmc-event-band::before {
		background: linear-gradient(180deg, rgba(20, 33, 61, 0.9) 0%, rgba(20, 33, 61, 0.86) 100%);
	}

	.btrmc-event-band-content {
		padding: 48px 0;
	}
}

/* ---------- Mission page (and shared inner-page pieces) ---------- */

/* Photo band used at the top of inner pages. */
.btrmc-page-band {
	position: relative;
	overflow: hidden;
	min-height: 420px;
	display: flex;
	align-items: center;
	background-color: var(--btrmc-navy);
	background-size: cover;
	background-position: center;
}

.btrmc-page-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(20, 33, 61, 0.96) 0%, rgba(20, 33, 61, 0.88) 42%, rgba(20, 33, 61, 0.55) 70%, rgba(20, 33, 61, 0.3) 100%);
}

.btrmc-page-band .btrmc-container {
	position: relative;
	z-index: 1;
	width: 100%;
}

.btrmc-page-band-content {
	max-width: 720px;
	padding: 72px 0;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.btrmc-page-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.btrmc-page-eyebrow::before {
	content: "";
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: var(--btrmc-red);
}

.btrmc-page-band-title {
	font-family: var(--btrmc-font-heading);
	font-size: clamp(34px, 4.4vw, 56px);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.01em;
	margin: 0;
	color: #ffffff;
	text-wrap: balance;
}

.btrmc-page-band-intro {
	margin: 0;
	font-size: 19px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
	max-width: 56ch;
}

/* Shared section title/intro on inner pages, same scale as the homepage. */
.btrmc-section-title {
	font-family: var(--btrmc-font-heading);
	font-size: var(--btrmc-h2);
	font-weight: 600;
	line-height: 1.15;
	color: var(--btrmc-navy);
	margin: 0 0 16px;
}

.btrmc-section-title--light {
	color: #ffffff;
}

.btrmc-section-intro {
	font-size: var(--btrmc-sub);
	line-height: 1.55;
	color: #4a5060;
	margin: 0;
	max-width: 60ch;
}

.btrmc-pill-button {
	border-radius: 999px;
	padding: 16px 30px;
	font-size: 16px;
	text-transform: none;
	letter-spacing: normal;
}

/* What we stand for */
.btrmc-mission-statement {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-mission-statement-grid {
	display: grid;
	grid-template-columns: minmax(220px, 34%) 1fr;
	gap: 48px;
	align-items: start;
	margin-bottom: 56px;
}

.btrmc-mission-statement-text {
	font-family: var(--btrmc-font-heading);
	font-style: italic;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 500;
	line-height: 1.5;
	color: var(--btrmc-navy);
	margin: 0;
}

.btrmc-pillars {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.btrmc-pillar {
	padding: 28px 26px 30px;
	background: var(--btrmc-gray-light);
	border-radius: 16px;
	border-top: 3px solid var(--btrmc-red);
}

.btrmc-pillar-num {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--btrmc-red);
	margin-bottom: 14px;
}

.btrmc-pillar-title {
	font-family: var(--btrmc-font-heading);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--btrmc-navy);
	margin: 0 0 10px;
}

.btrmc-pillar-text {
	font-size: 15px;
	line-height: 1.6;
	color: #4a5060;
	margin: 0;
}

/* Community */
.btrmc-mission-community {
	padding: var(--btrmc-section-pad) 0;
	background: var(--btrmc-gray-light);
}

.btrmc-mission-community-grid {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 64px;
	align-items: center;
}

.btrmc-mission-community-media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 20px 44px rgba(20, 33, 61, 0.16);
}

.btrmc-mission-list {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.btrmc-mission-list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.btrmc-mission-list svg {
	flex: 0 0 20px;
	margin-top: 3px;
	color: var(--btrmc-red);
}

.btrmc-mission-list strong {
	display: block;
	font-size: 17px;
	color: var(--btrmc-navy);
	margin-bottom: 2px;
}

.btrmc-mission-list span {
	font-size: 15px;
	line-height: 1.55;
	color: #4a5060;
}

/* How it works */
.btrmc-mission-how {
	padding: var(--btrmc-section-pad) 0;
	background: var(--btrmc-navy);
	color: #ffffff;
}

.btrmc-mission-how-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 64px;
	align-items: center;
}

.btrmc-mission-how-text {
	font-size: 18px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	margin: 0;
	max-width: 56ch;
}

.btrmc-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.btrmc-stat {
	padding: 26px 24px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.05);
}

.btrmc-stat-value {
	display: block;
	font-family: var(--btrmc-font-heading);
	font-size: clamp(36px, 3.4vw, 48px);
	font-weight: 700;
	line-height: 1;
	color: #ffffff;
	margin-bottom: 8px;
}

.btrmc-stat-label {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

/* Call to action */
.btrmc-mission-cta {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-mission-cta-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
	padding: 48px;
	border-radius: 20px;
	background: var(--btrmc-gray-light);
}

.btrmc-mission-cta-inner .btrmc-section-title {
	margin-bottom: 10px;
}

.btrmc-mission-cta-buttons {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

@media (max-width: 1000px) {
	.btrmc-pillars {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 860px) {
	.btrmc-mission-statement-grid,
	.btrmc-mission-community-grid,
	.btrmc-mission-how-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.btrmc-mission-community-media {
		max-width: 520px;
	}

	.btrmc-mission-cta-inner {
		padding: 32px 24px;
	}
}

@media (max-width: 560px) {
	.btrmc-pillars,
	.btrmc-stats {
		grid-template-columns: 1fr;
	}

	.btrmc-page-band {
		min-height: 0;
	}

	.btrmc-page-band::before {
		background: linear-gradient(180deg, rgba(20, 33, 61, 0.9) 0%, rgba(20, 33, 61, 0.86) 100%);
	}

	.btrmc-page-band-content {
		padding: 48px 0;
	}

	.btrmc-mission-cta-buttons a {
		width: 100%;
		text-align: center;
	}
}

/* ---------- Committee page ---------- */

.btrmc-section-title--center {
	text-align: center;
	margin-bottom: var(--btrmc-h2-gap);
}

.btrmc-board {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-board .btrmc-section-title--center {
	margin-bottom: 8px;
}

.btrmc-board .btrmc-board-hint {
	margin-bottom: 32px;
}

/* Board cards + bio modal */
.btrmc-board-hint {
	text-align: center;
	font-size: 14px;
	color: #767c8a;
	margin: 0 0 20px;
}

/* A 3×3 grid. The group photo takes the top-right 2×2 block; the five
   member cards fill the remaining cells: two down the left, three along
   the bottom. */
/* Sized so heading + grid fit inside one screen: the grid is capped at the
   viewport height less the section's own chrome, and the columns follow. */
.btrmc-board-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	gap: 20px;
	/* a square: three equal cells each way, so the 2×2 group photo and every
	   member card are squares too; as wide as the content column allows */
	width: min(1120px, 100%);
	aspect-ratio: 1 / 1;
	height: auto;
	margin: 0 auto;
}

.btrmc-board-group {
	grid-column: 2 / 4;
	grid-row: 1 / 3;
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 14px 32px rgba(20, 33, 61, 0.14);
	min-height: 0;
}

.btrmc-board-group img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

.btrmc-board-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0;
	gap: 0;
	min-height: 0;
	position: relative;
	background: var(--btrmc-gray-light);
	border: 0;
	border-radius: 14px;
	overflow: hidden;
	text-align: center;
	font-family: var(--btrmc-font-body);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btrmc-board-card:hover,
.btrmc-board-card:focus-visible,
.btrmc-board-card.is-active {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(20, 33, 61, 0.22);
	outline: none;
}

.btrmc-board-card .btrmc-board-card-name,
.btrmc-board-card .btrmc-board-card-role,
.btrmc-board-card .btrmc-board-card-more { position: relative; z-index: 2; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }

.btrmc-board-card:focus-visible {
	box-shadow: 0 0 0 3px var(--btrmc-red), 0 18px 40px rgba(20, 33, 61, 0.16);
}

.btrmc-board-card-photo {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: var(--btrmc-gray-light);
	margin: 0;
}

/* Caption sits over the bottom of the photo on a dark fade. */
.btrmc-board-card-name,
.btrmc-board-card-role,
.btrmc-board-card-more {
	position: relative;
	z-index: 1;
}

.btrmc-board-card::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	z-index: 1;
	height: 58%;
	background: linear-gradient(180deg, rgba(20, 33, 61, 0) 0%, rgba(20, 33, 61, 0.78) 62%, rgba(20, 33, 61, 0.92) 100%);
	pointer-events: none;
}

.btrmc-board-card-name,
.btrmc-board-card-role,
.btrmc-board-card-more {
	margin-top: auto;
}

.btrmc-board-card .btrmc-board-card-name { margin-top: auto; padding: 0 16px; color: #ffffff; }
.btrmc-board-card .btrmc-board-card-role { padding: 0 16px; color: rgba(255, 255, 255, 0.85); }
.btrmc-board-card .btrmc-board-card-more { padding: 0 16px 18px; color: #ffffff; }
.btrmc-board-card-more { margin-top: 3px; }
.btrmc-board-card-role { margin-top: 2px; }
.btrmc-board-card-name { margin-top: auto; }

.btrmc-board-card-photo img {
	position: absolute;
	inset: 0;
}

.btrmc-board-card-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 18%;
}

.btrmc-board-card-name {
	font-family: var(--btrmc-font-heading);
	font-size: 22px;
	line-height: 1.15;
	font-weight: 600;
	line-height: 1.2;
	color: var(--btrmc-navy);
	padding: 0 12px;
}

.btrmc-board-card-role {
	font-size: 14px;
	line-height: 1.2;
	font-weight: 600;
	color: #4a5060;
	padding: 0 12px;
}

.btrmc-board-card-more {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-top: 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--btrmc-red);
}

.btrmc-board-card-more svg {
	transition: transform 0.15s ease;
}

.btrmc-board-card:hover .btrmc-board-card-more svg {
	transform: translateX(3px);
}

/* Modal */
.btrmc-board-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(14, 22, 43, 0.72);
	backdrop-filter: blur(4px);
}

.btrmc-board-modal[hidden] {
	display: none;
}

body.btrmc-modal-open {
	overflow: hidden;
}

.btrmc-board-modal-panel {
	position: relative;
	display: grid;
	grid-template-columns: 320px 1fr;
	width: min(920px, 100%);
	max-height: calc(100vh - 48px);
	background: #ffffff;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(10, 18, 36, 0.4);
	animation: btrmc-modal-in 0.25s ease;
}

@keyframes btrmc-modal-in {
	from { opacity: 0; transform: translateY(12px) scale(0.98); }
	to { opacity: 1; transform: none; }
}

.btrmc-board-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: #ffffff;
	color: var(--btrmc-navy);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(20, 33, 61, 0.16);
}

.btrmc-board-modal-close:hover,
.btrmc-board-modal-close:focus-visible {
	background: var(--btrmc-navy);
	color: #ffffff;
	outline: none;
}

.btrmc-board-modal-photo {
	background: var(--btrmc-gray-light);
}

.btrmc-board-modal-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.btrmc-board-modal-body {
	padding: 44px 44px 36px;
	overflow-y: auto;
}

.btrmc-board-modal-nav {
	display: flex;
	gap: 10px;
	margin-top: 28px;
}

.btrmc-board-role {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--btrmc-red);
	margin-bottom: 10px;
}

.btrmc-board-role::before {
	content: "";
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: var(--btrmc-red);
}

.btrmc-board-name {
	font-family: var(--btrmc-font-heading);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--btrmc-navy);
	margin: 0 0 14px;
}

.btrmc-board-bio {
	font-size: 17px;
	line-height: 1.7;
	color: var(--btrmc-text);
	margin: 0;
}

/* How it works (navy band) */
.btrmc-committee-about {
	padding: var(--btrmc-section-pad) 0;
	background: var(--btrmc-navy);
	color: #ffffff;
}

.btrmc-committee-about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: start;
}

.btrmc-committee-about-text {
	font-size: 18px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	margin: 0;
	max-width: 56ch;
}

.btrmc-duties {
	padding: 32px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.05);
}

.btrmc-duties-title {
	font-family: var(--btrmc-font-heading);
	font-size: 22px;
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 18px;
}

.btrmc-duties-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.btrmc-duties-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 16px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

.btrmc-duties-list svg {
	flex: 0 0 18px;
	margin-top: 4px;
	color: var(--btrmc-red);
}

/* Districts */
.btrmc-districts {
	padding: var(--btrmc-section-pad) 0;
	background: var(--btrmc-gray-light);
}

.btrmc-districts-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: var(--btrmc-h2-gap);
}

.btrmc-districts-open {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--btrmc-red);
	padding: 8px 14px;
	border: 1.5px solid var(--btrmc-red);
	border-radius: 999px;
	white-space: nowrap;
}

.btrmc-districts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.btrmc-district {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 20px;
	background: #ffffff;
	border-radius: 14px;
	border: 1px solid var(--btrmc-border);
}

.btrmc-district--vacant {
	background: transparent;
	border-style: dashed;
}

.btrmc-district-num {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #767c8a;
	margin-bottom: 4px;
}

.btrmc-district-rep {
	font-size: 16px;
	font-weight: 600;
	color: var(--btrmc-navy);
	line-height: 1.35;
}

.btrmc-district-rep--open {
	color: var(--btrmc-red);
	font-weight: 600;
	font-style: italic;
}

@media (max-width: 1000px) {
	.btrmc-districts-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 860px) {
	.btrmc-board-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	/* Group photo first, full width; members in two columns below. */
	.btrmc-board-cards {
		height: auto;
		aspect-ratio: auto;
		grid-template-rows: none;
		width: 100%;
	}

	.btrmc-board-group {
		grid-column: 1 / -1;
		grid-row: auto;
		aspect-ratio: 16 / 10;
	}

	.btrmc-board-card {
		aspect-ratio: 1 / 1;
	}

	.btrmc-board-modal-panel {
		grid-template-columns: 1fr;
		max-height: calc(100vh - 32px);
		overflow-y: auto;
	}

	.btrmc-board-modal-photo {
		max-height: 260px;
	}

	.btrmc-board-modal-body {
		padding: 28px 24px 28px;
		overflow: visible;
	}

	.btrmc-committee-about-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 640px) {
	.btrmc-board-cards {
		grid-template-columns: 1fr;
	}

	.btrmc-board-group {
		aspect-ratio: 4 / 3;
	}

	.btrmc-board-card-photo {
		max-height: 340px;
	}

	.btrmc-board-modal {
		padding: 16px;
	}

	.btrmc-districts-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.btrmc-board-name {
		font-size: 26px;
	}
}

@media (max-width: 420px) {
	.btrmc-districts-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- News listing + article ---------- */

.btrmc-news-archive {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-news-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.btrmc-news-tile {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--btrmc-border);
	color: var(--btrmc-text);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btrmc-news-tile:hover,
.btrmc-news-tile:focus-visible {
	transform: translateY(-3px);
	border-color: transparent;
	box-shadow: 0 16px 36px rgba(20, 33, 61, 0.14);
	outline: none;
}

.btrmc-news-tile:focus-visible {
	box-shadow: 0 0 0 3px var(--btrmc-red), 0 16px 36px rgba(20, 33, 61, 0.14);
}

.btrmc-news-tile-photo {
	aspect-ratio: 16 / 10;
	background-color: var(--btrmc-navy);
	background-size: cover;
	background-position: center;
}

.btrmc-news-tile-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px 22px;
	flex: 1;
}

.btrmc-news-tile-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #767c8a;
}

.btrmc-news-tile-cat {
	color: var(--btrmc-red);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 12px;
}

.btrmc-news-tile-title {
	font-family: var(--btrmc-font-heading);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--btrmc-navy);
	margin: 0;
}

.btrmc-news-tile-excerpt {
	font-size: 15px;
	line-height: 1.55;
	color: #4a5060;
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.btrmc-news-tile-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: auto;
	padding-top: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--btrmc-red);
}

.btrmc-news-tile-link svg {
	transition: transform 0.15s ease;
}

.btrmc-news-tile:hover .btrmc-news-tile-link svg {
	transform: translateX(3px);
}

/* The newest story spans the full width as a side-by-side feature. */
.btrmc-news-tile--feature {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: stretch;
}

.btrmc-news-tile--feature .btrmc-news-tile-photo {
	flex: 0 0 55%;
	aspect-ratio: auto;
	min-height: 360px;
}

.btrmc-news-tile--feature .btrmc-news-tile-body {
	justify-content: center;
	padding: 40px 44px;
	gap: 12px;
}

.btrmc-news-tile--feature .btrmc-news-tile-title {
	font-size: clamp(26px, 2.6vw, 34px);
}

.btrmc-news-tile--feature .btrmc-news-tile-excerpt {
	font-size: 16px;
	-webkit-line-clamp: 4;
	line-clamp: 4;
}

.btrmc-news-pagination {
	margin-top: 48px;
}

.btrmc-news-pagination .nav-links {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.btrmc-news-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1.5px solid var(--btrmc-border);
	font-size: 14px;
	font-weight: 600;
	color: var(--btrmc-navy);
}

.btrmc-news-pagination .page-numbers.current,
.btrmc-news-pagination a.page-numbers:hover {
	background: var(--btrmc-navy);
	border-color: var(--btrmc-navy);
	color: #ffffff;
}

.btrmc-news-pagination .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

/* Article */
.btrmc-page-band--article .btrmc-page-band-content {
	max-width: 860px;
}

.btrmc-page-band--article .btrmc-page-band-title {
	font-size: clamp(30px, 3.8vw, 48px);
}

.btrmc-article-body {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-article-content {
	max-width: 72ch;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.75;
	color: var(--btrmc-text);
}

.btrmc-article-content > :first-child {
	margin-top: 0;
}

.btrmc-article-content h2,
.btrmc-article-content h3,
.btrmc-article-content h4 {
	font-family: var(--btrmc-font-heading);
	color: var(--btrmc-navy);
	line-height: 1.2;
	margin: 1.6em 0 0.5em;
}

.btrmc-article-content h2 { font-size: 30px; }
.btrmc-article-content h3 { font-size: 24px; }

.btrmc-article-content p,
.btrmc-article-content ul,
.btrmc-article-content ol {
	margin: 0 0 1.2em;
}

.btrmc-article-content ul,
.btrmc-article-content ol {
	padding-left: 1.4em;
}

.btrmc-article-content ul {
	list-style: disc;
}

.btrmc-article-content ol {
	list-style: decimal;
}

.btrmc-article-content li {
	margin-bottom: 0.4em;
}

.btrmc-article-content li::marker {
	color: var(--btrmc-red);
}

.btrmc-article-content a {
	color: var(--btrmc-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.btrmc-article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.btrmc-article-content blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--btrmc-red);
	font-family: var(--btrmc-font-heading);
	font-style: italic;
	font-size: 21px;
	color: var(--btrmc-navy);
}

.btrmc-article-share {
	max-width: 72ch;
	margin: 40px auto 0;
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 14px;
	font-weight: 600;
}

.btrmc-article-share span {
	color: #767c8a;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 12px;
}

.btrmc-article-share a {
	padding: 8px 14px;
	border: 1.5px solid var(--btrmc-border);
	border-radius: 999px;
	color: var(--btrmc-navy);
}

.btrmc-article-share a:hover {
	border-color: var(--btrmc-navy);
	background: var(--btrmc-navy);
	color: #ffffff;
}

@media (max-width: 1000px) {
	.btrmc-news-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 760px) {
	.btrmc-news-tile--feature {
		flex-direction: column;
	}

	.btrmc-news-tile--feature .btrmc-news-tile-photo {
		flex: none;
		aspect-ratio: 16 / 10;
		min-height: 0;
	}

	.btrmc-news-tile--feature .btrmc-news-tile-body {
		padding: 22px;
	}
}

@media (max-width: 640px) {
	.btrmc-news-list {
		grid-template-columns: 1fr;
	}

	.btrmc-article-content {
		font-size: 17px;
	}
}

/* ---------- Contact page ---------- */

.btrmc-contact-tiles-section {
	padding: var(--btrmc-section-pad) 0 0;
	background: #ffffff;
}

.btrmc-contact-tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.btrmc-contact-tile {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 28px 28px 30px;
	border-radius: 18px;
	border: 1px solid var(--btrmc-border);
	background: #ffffff;
	color: var(--btrmc-text);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.btrmc-contact-tile:hover,
a.btrmc-contact-tile:focus-visible {
	transform: translateY(-3px);
	border-color: transparent;
	box-shadow: 0 16px 36px rgba(20, 33, 61, 0.14);
	outline: none;
}

.btrmc-contact-tile-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--btrmc-gray-light);
	color: var(--btrmc-red);
	margin-bottom: 10px;
}

.btrmc-contact-tile-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #767c8a;
}

.btrmc-contact-tile-value {
	font-family: var(--btrmc-font-heading);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--btrmc-navy);
	word-break: break-word;
}

a.btrmc-contact-tile:hover .btrmc-contact-tile-value {
	color: var(--btrmc-red);
}

.btrmc-contact-social {
	margin-top: 8px;
}

.btrmc-contact-social .btrmc-social-icon {
	width: 46px;
	height: 46px;
}

/* Form section */
.btrmc-contact-form-section {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-contact-form-card {
	max-width: 880px;
	margin: 0 auto;
	padding: 48px;
	border-radius: 24px;
	background: var(--btrmc-gray-light);
}

.btrmc-contact-form-head {
	margin-bottom: 28px;
}

.btrmc-contact-form-head .btrmc-section-title {
	margin-bottom: 8px;
}

.btrmc-contact-meeting {
	text-align: center;
	margin: 28px 0 0;
	font-size: 15px;
	color: #4a5060;
}

.btrmc-contact-meeting a {
	font-weight: 700;
	color: var(--btrmc-red);
}

/* Contact Form 7 skin */
.wpcf7 form {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.wpcf7 form > p,
.wpcf7 .btrmc-form-row > p {
	margin: 0 0 16px;
}

.btrmc-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 18px;
}

.wpcf7 label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--btrmc-navy);
}

.btrmc-req {
	color: var(--btrmc-red);
}

.btrmc-field-optional {
	font-weight: 500;
	color: #767c8a;
}

.wpcf7 .wpcf7-form-control-wrap {
	display: block;
	margin-top: 6px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 13px 14px;
	font: inherit;
	font-size: 16px;
	color: var(--btrmc-text);
	background: #ffffff;
	border: 1.5px solid var(--btrmc-border);
	border-radius: 10px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wpcf7 textarea {
	min-height: 160px;
	resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--btrmc-navy);
	box-shadow: 0 0 0 3px rgba(20, 33, 61, 0.14);
}

.wpcf7 .wpcf7-not-valid {
	border-color: var(--btrmc-red);
}

.wpcf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--btrmc-red);
}

.btrmc-form-actions {
	display: flex !important;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin: 8px 0 0 !important;
}

.wpcf7 .wpcf7-submit {
	padding: 16px 32px;
	border: none;
	border-radius: 999px;
	background: var(--btrmc-navy);
	color: #ffffff;
	font-family: var(--btrmc-font-body);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.12s ease;
}

.wpcf7 .wpcf7-submit:hover {
	background: #0c1730;
	transform: translateY(-1px);
}

.wpcf7 .wpcf7-submit:focus-visible {
	outline: 2px solid var(--btrmc-red);
	outline-offset: 2px;
}

.wpcf7 .wpcf7-spinner {
	margin: 0 0 0 4px;
}

.btrmc-form-privacy {
	font-size: 13px;
	color: #767c8a;
}

.wpcf7 .wpcf7-response-output {
	margin: 18px 0 0 !important;
	padding: 16px 18px !important;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 500;
}

.wpcf7 form.sent .wpcf7-response-output {
	background: #e8f3ea;
	color: #1f5e34;
	border: 1px solid #bfe0c8 !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
	background: #fbeaec;
	color: #8f1435;
	border: 1px solid #f0c3ca !important;
}

.btrmc-form-notice {
	padding: 16px 18px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 500;
}

.btrmc-form-notice--error {
	background: #fbeaec;
	color: #8f1435;
	border: 1px solid #f0c3ca;
}

@media (max-width: 900px) {
	.btrmc-contact-tiles {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.btrmc-contact-form-card {
		padding: 32px 24px;
	}
}

@media (max-width: 560px) {
	.btrmc-form-row {
		grid-template-columns: 1fr;
	}

	.wpcf7 .wpcf7-submit {
		width: 100%;
	}
}

/* ---------- Vote page ---------- */

.btrmc-page-band--short { min-height: 300px; }
.btrmc-page-band--short .btrmc-page-band-content { padding: 56px 0; }

/* Four full-bleed colour bands stacked down the page, in the previous site's
   palette. Each band is a big row: icon left, title right. Hovering or
   focusing a band opens its text underneath; the row stays put. */
.btrmc-vote-panels {
	display: flex;
	flex-direction: column;
}

.btrmc-vote-panel {
	position: relative;
	color: #ffffff;
	padding: clamp(28px, 3.5vw, 44px) 0;
	outline: none;
	transition: filter 0.25s ease;
}

.btrmc-vote-panel--1 { background: #10284d; }
.btrmc-vote-panel--2 { background: #0285ce; }
.btrmc-vote-panel--3 { background: #70b7de; color: #10284d; }
.btrmc-vote-panel--4 { background: #c71212; }

.btrmc-vote-panel:hover,
.btrmc-vote-panel:focus-visible,
.btrmc-vote-panel:focus-within { filter: brightness(1.05); }
.btrmc-vote-panel:focus-visible { box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.6); }

.btrmc-vote-panel-inner {
	max-width: var(--btrmc-max-width);
	margin: 0 auto;
	padding: 0 32px;
}

.btrmc-vote-panel-head {
	display: grid;
	grid-template-columns: 120px 1fr;
	align-items: center;
	gap: clamp(24px, 3vw, 40px);
}

.btrmc-vote-panel-icon {
	display: block;
	width: 120px;
	height: 120px;
	color: currentColor;
}

.btrmc-vote-panel-icon svg { width: 100%; height: 100%; display: block; }

.btrmc-vote-panel-title {
	font-family: var(--btrmc-font-body);
	font-size: clamp(22px, 2.6vw, 34px);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.15;
	margin: 0;
	color: inherit;
	text-wrap: balance;
}

.btrmc-vote-panel-when {
	margin: 8px 0 0;
	font-size: clamp(14px, 1.2vw, 17px);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.92;
}

.btrmc-vote-panel-hint {
	display: none;
	margin-top: 10px;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.7;
}

/* The reveal: a grid row that grows from 0 to its content height. */
.btrmc-vote-panel-body {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.btrmc-vote-panel-body-inner {
	min-height: 0;
	overflow: hidden;
	/* text lines up with the title column */
	padding-left: calc(120px + clamp(24px, 3vw, 40px));
}

.btrmc-vote-panel:hover .btrmc-vote-panel-body,
.btrmc-vote-panel:focus-visible .btrmc-vote-panel-body,
.btrmc-vote-panel:focus-within .btrmc-vote-panel-body {
	grid-template-rows: 1fr;
	opacity: 1;
	transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease 0.15s;
}

.btrmc-vote-panel-body p {
	margin: 20px 0 14px;
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.6;
	max-width: 66ch;
	color: inherit;
}

.btrmc-vote-panel-link {
	display: inline-block;
	margin: 0 24px 6px 0;
	font-size: clamp(15px, 1.2vw, 17px);
	font-weight: 700;
	font-style: italic;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.btrmc-vote-panel-link:hover { opacity: 0.8; }

@media (hover: none) {
	/* Touch screens: hover and focus do nothing; a tap toggles .is-open
	   (vote-panels.js) and the hint tells people to tap. */
	.btrmc-vote-panel { cursor: pointer; }
	.btrmc-vote-panel-hint { display: block; }
	.btrmc-vote-panel.is-open .btrmc-vote-panel-hint { display: none; }
	.btrmc-vote-panel:hover .btrmc-vote-panel-body,
	.btrmc-vote-panel:focus-visible .btrmc-vote-panel-body,
	.btrmc-vote-panel:focus-within .btrmc-vote-panel-body {
		grid-template-rows: 0fr;
		opacity: 0;
	}
	.btrmc-vote-panel:not(.is-open):focus-within .btrmc-vote-panel-body,
	.btrmc-vote-panel:not(.is-open):focus-visible .btrmc-vote-panel-body { grid-template-rows: 0fr; opacity: 0; }
	.btrmc-vote-panel.is-open .btrmc-vote-panel-body,
	.btrmc-vote-panel.is-open:focus-within .btrmc-vote-panel-body {
		grid-template-rows: 1fr;
		opacity: 1;
		transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease 0.15s;
	}
	.btrmc-vote-panel:hover, .btrmc-vote-panel:focus-within { filter: none; }
}

@media (max-width: 900px) {
	.btrmc-vote-panel-head { grid-template-columns: 96px 1fr; }
	.btrmc-vote-panel-icon { width: 96px; height: 96px; }
	.btrmc-vote-panel-body-inner { padding-left: calc(96px + clamp(24px, 3vw, 40px)); }
}

@media (max-width: 600px) {
	.btrmc-vote-panel-inner { padding: 0 20px; }
	.btrmc-vote-panel-head { grid-template-columns: 72px 1fr; gap: 18px; }
	.btrmc-vote-panel-icon { width: 72px; height: 72px; }
	.btrmc-vote-panel-body-inner { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.btrmc-vote-panel, .btrmc-vote-panel-body, .btrmc-vote-panel-hint { transition: none; }
}

.btrmc-vote-portal {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-vote-portal .btrmc-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.btrmc-vote-portal p {
	margin: 0;
	font-family: var(--btrmc-font-heading);
	font-size: 22px;
	font-weight: 600;
	color: var(--btrmc-navy);
}

.btrmc-vote-more-links { display: flex; gap: 12px; flex-wrap: wrap; }


@media (max-width: 560px) {
	.btrmc-vote-portal .btrmc-container { flex-direction: column; align-items: flex-start; }
	.btrmc-vote-more-links a { width: 100%; text-align: center; }
}

/* Event flyer shown in full on the event page (the band only crops it). */
.btrmc-event-flyer { margin: 0 0 28px; }
.btrmc-event-flyer img { display: block; width: 100%; max-width: 560px; height: auto; border-radius: 14px; box-shadow: 0 12px 32px rgba(20, 33, 61, 0.12); }

/* ---------------------------------------------------------------------
   Campaign page
   --------------------------------------------------------------------- */

/* Hero: eyebrow, headline, one line. Nothing else. */
.btrmc-camp-hero {
	position: relative;
	background: var(--btrmc-navy) center center / cover no-repeat;
	color: #ffffff;
	padding: 96px 0 72px;
}

.btrmc-camp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(20, 33, 61, 0.94) 0%, rgba(20, 33, 61, 0.78) 55%, rgba(20, 33, 61, 0.55) 100%);
}

.btrmc-camp-hero .btrmc-container {
	position: relative;
}

.btrmc-camp-hero-title {
	font-family: var(--btrmc-font-heading);
	font-size: clamp(40px, 4.6vw, 60px);
	font-weight: 600;
	line-height: 1.05;
	margin: 14px 0 12px;
}

.btrmc-camp-hero-intro {
	font-size: 18px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}

/* Key dates: a three-step strip that reads like a timeline. */
.btrmc-camp-dates {
	background: var(--btrmc-navy);
	color: #ffffff;
}

.btrmc-camp-dates-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.btrmc-camp-date {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 30px 36px 30px 0;
	border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.btrmc-camp-date + .btrmc-camp-date {
	padding-left: 36px;
}

.btrmc-camp-date:last-child {
	border-right: 0;
	padding-right: 0;
}

.btrmc-camp-date-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

.btrmc-camp-date-value {
	font-family: var(--btrmc-font-heading);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.1;
}

.btrmc-camp-date-note {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.82);
}

/* Section heads on white: the eyebrow goes red, the title keeps its size. */
.btrmc-camp-section-head {
	margin-bottom: var(--btrmc-h2-gap);
}

.btrmc-camp-section-head .btrmc-page-eyebrow {
	color: var(--btrmc-red);
	margin-bottom: 14px;
}

.btrmc-camp-section-head .btrmc-section-title {
	max-width: 22ch;
	text-wrap: balance;
}

.btrmc-camp-section-head--row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	flex-wrap: wrap;
}

/* Township candidates: one panel each, photo on alternating sides, bio folded away. */
.btrmc-camp-township {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-camp-cands {
	display: grid;
	gap: 36px;
}

.btrmc-camp-cand {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	background: var(--btrmc-gray-light);
	border-radius: 28px;
	overflow: hidden;
}

.btrmc-camp-cand--flip {
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.btrmc-camp-cand--flip .btrmc-camp-cand-photo {
	order: 2;
}

.btrmc-camp-cand-photo {
	position: relative;
	min-height: 560px;
	background: #e9ebf0;
}

.btrmc-camp-cand-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.btrmc-camp-cand-photo--contain {
	background: #e9eaee;
}

.btrmc-camp-cand-photo--contain img {
	object-fit: contain;
}

.btrmc-camp-cand-body {
	padding: 52px 56px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.btrmc-camp-profile-role {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--btrmc-red);
	margin: 0 0 8px;
}

.btrmc-camp-cand-name {
	font-family: var(--btrmc-font-heading);
	font-size: clamp(34px, 3.2vw, 44px);
	font-weight: 600;
	line-height: 1.05;
	color: var(--btrmc-navy);
	margin: 0 0 18px;
}

.btrmc-camp-cand-label {
	margin: -8px 0 16px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--btrmc-red);
}

.btrmc-camp-cand-intro {
	font-size: 18px;
	line-height: 1.55;
	color: #2a2f3c;
	margin: 0 0 26px;
	max-width: 58ch;
}

.btrmc-camp-priorities {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
}

.btrmc-camp-priorities li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 14px 16px;
	background: #ffffff;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--btrmc-navy);
}

.btrmc-camp-priorities svg {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: #ffffff;
	background: var(--btrmc-red);
	border-radius: 50%;
	padding: 3px;
	margin-top: 1px;
}

.btrmc-camp-bio {
	width: 100%;
	margin: 0 0 22px;
	border-top: 1px solid #dcdfe6;
}

.btrmc-camp-bio summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--btrmc-navy);
}

.btrmc-camp-bio summary::-webkit-details-marker {
	display: none;
}

.btrmc-camp-bio summary svg {
	width: 20px;
	height: 20px;
	color: var(--btrmc-red);
	transition: transform 0.2s ease;
}

.btrmc-camp-bio[open] summary svg {
	transform: rotate(180deg);
}

.btrmc-camp-bio-inner {
	padding: 0 0 8px;
}

.btrmc-camp-profile-bio p {
	font-size: 16px;
	line-height: 1.7;
	color: #3a4050;
	margin: 0 0 16px;
	max-width: 66ch;
}

.btrmc-camp-cand-quote {
	font-family: var(--btrmc-font-heading);
	font-size: 20px;
	line-height: 1.4;
	color: var(--btrmc-navy);
	margin: 0 0 26px;
	padding-left: 18px;
	border-left: 3px solid var(--btrmc-red);
	max-width: 56ch;
}

.btrmc-camp-cand-button {
	margin-top: auto;
}

.btrmc-camp-subhead {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--btrmc-navy);
	margin: 22px 0 12px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.btrmc-camp-subhead::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e3e5ea;
	max-width: 240px;
}

.btrmc-camp-facts {
	margin: 0;
	padding: 0 0 0 18px;
	display: grid;
	gap: 8px;
	font-size: 15.5px;
	line-height: 1.5;
	color: #3a4050;
}

.btrmc-camp-facts li::marker {
	color: var(--btrmc-red);
}

/* County commissioners: two cards on the warm gray band. */
.btrmc-camp-county {
	padding: var(--btrmc-section-pad) 0;
	background: var(--btrmc-gray-light);
}

.btrmc-camp-county-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.btrmc-camp-county-card {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 28px;
	padding: 28px;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 10px 28px rgba(20, 33, 61, 0.08);
}

.btrmc-camp-county-photo {
	aspect-ratio: 1 / 1;
	border-radius: 18px;
	overflow: hidden;
	background: var(--btrmc-gray-light);
	align-self: start;
}

.btrmc-camp-county-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

.btrmc-camp-county-name {
	font-family: var(--btrmc-font-heading);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--btrmc-navy);
	margin: 0 0 16px;
}

/* How to help: three numbered steps. */
.btrmc-camp-help {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-camp-help-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.btrmc-camp-help-card {
	display: flex;
	flex-direction: column;
	padding: 32px;
	border: 1px solid #e3e5ea;
	border-radius: 20px;
	background: #ffffff;
}

.btrmc-camp-help-num {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--btrmc-navy);
	color: #ffffff;
	font-family: var(--btrmc-font-heading);
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
}

.btrmc-camp-help-card h3 {
	font-family: var(--btrmc-font-heading);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--btrmc-navy);
	margin: 0 0 10px;
}

.btrmc-camp-help-card p {
	font-size: 16px;
	line-height: 1.6;
	color: #4a5060;
	margin: 0 0 22px;
	flex: 1;
}

.btrmc-camp-help-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	font-size: 15px;
	font-weight: 700;
	color: var(--btrmc-red);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s ease;
}

.btrmc-camp-help-link:hover,
.btrmc-camp-help-link:focus-visible {
	border-color: var(--btrmc-red);
}

.btrmc-camp-help-link svg {
	width: 16px;
	height: 16px;
}

@media (max-width: 1000px) {
	.btrmc-camp-county-grid {
		grid-template-columns: 1fr;
	}

	.btrmc-camp-help-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	.btrmc-camp-dates-list {
		grid-template-columns: 1fr;
	}

	.btrmc-camp-date,
	.btrmc-camp-date + .btrmc-camp-date {
		padding: 22px 0;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}

	.btrmc-camp-date:last-child {
		border-bottom: 0;
	}

	.btrmc-camp-hero {
		padding: 44px 0 36px;
	}

	.btrmc-camp-cand,
	.btrmc-camp-cand--flip {
		grid-template-columns: 1fr;
	}

	.btrmc-camp-cand--flip .btrmc-camp-cand-photo {
		order: 0;
	}

	.btrmc-camp-cand-photo {
		aspect-ratio: 4 / 3;
		min-height: 0;
	}

	.btrmc-camp-cand-body {
		padding: 32px 24px;
	}

	.btrmc-camp-priorities {
		grid-template-columns: 1fr;
	}

	.btrmc-camp-county-card {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.btrmc-camp-county-photo {
		max-width: 200px;
	}
}

/* ---------------------------------------------------------------------
   Homepage: In the Community
   --------------------------------------------------------------------- */

.btrmc-community {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-community-mosaic {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 250px;
	grid-auto-flow: dense;
	gap: 20px;
}

.btrmc-community-tile {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 22px;
	background: var(--btrmc-navy);
	color: #ffffff;
	text-decoration: none;
	isolation: isolate;
}

.btrmc-community-tile--lead {
	grid-column: span 2;
	grid-row: span 2;
}

.btrmc-community-tile-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.btrmc-community-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 33, 61, 0) 35%, rgba(20, 33, 61, 0.55) 65%, rgba(20, 33, 61, 0.9) 100%);
	transition: opacity 0.3s ease;
}

.btrmc-community-tile-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: 22px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.btrmc-community-tile--lead .btrmc-community-tile-body {
	padding: 32px 36px 34px;
	max-width: 60ch;
}

.btrmc-community-tag {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.btrmc-community-tile h3 {
	font-family: var(--btrmc-font-heading);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.15;
	margin: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btrmc-community-tile--lead h3 {
	font-size: clamp(26px, 2.4vw, 34px);
}

.btrmc-community-tile p {
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
}

/* Small tiles keep the blurb tucked away until hover or focus; the lead tile always shows it. */
.btrmc-community-tile:not(.btrmc-community-tile--lead) p,
.btrmc-community-tile:not(.btrmc-community-tile--lead) .btrmc-community-more {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	margin-top: 0;
	transition: max-height 0.4s ease, opacity 0.25s ease, margin-top 0.3s ease;
}

/* Small tiles never show the blurb; hover reveals only the "See more" link. */
.btrmc-community-tile:not(.btrmc-community-tile--lead) p {
	display: none;
}

.btrmc-community-tile:hover .btrmc-community-more,
.btrmc-community-tile:focus-visible .btrmc-community-more {
	max-height: 32px;
	opacity: 1;
	margin-top: 6px;
}

/* Darken the small tiles on hover so the revealed blurb stays readable over any photo. */
.btrmc-community-tile:not(.btrmc-community-tile--lead):hover::after,
.btrmc-community-tile:not(.btrmc-community-tile--lead):focus-visible::after {
	background: linear-gradient(180deg, rgba(20, 33, 61, 0.1) 25%, rgba(20, 33, 61, 0.7) 60%, rgba(20, 33, 61, 0.95) 100%);
}

.btrmc-community-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	border-bottom: 2px solid var(--btrmc-red);
	padding-bottom: 2px;
	align-self: flex-start;
}

.btrmc-community-more svg {
	width: 14px;
	height: 14px;
}

a.btrmc-community-tile:hover .btrmc-community-tile-photo,
a.btrmc-community-tile:focus-visible .btrmc-community-tile-photo {
	transform: scale(1.05);
}

a.btrmc-community-tile:hover::after,
a.btrmc-community-tile:focus-visible::after {
	opacity: 0.95;
}

a.btrmc-community-tile:focus-visible {
	outline: 3px solid var(--btrmc-red);
	outline-offset: 3px;
}

@media (max-width: 1000px) {
	.btrmc-community-mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 230px;
	}

	.btrmc-community-tile--lead {
		grid-column: span 2;
		grid-row: span 1;
		min-height: 360px;
	}

	.btrmc-community-tile:not(.btrmc-community-tile--lead) .btrmc-community-more {
		max-height: 32px;
		opacity: 1;
		margin-top: 6px;
	}
}

@media (max-width: 640px) {
	.btrmc-community-mosaic {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}

	.btrmc-community-tile {
		min-height: 300px;
	}

	.btrmc-community-tile--lead {
		grid-column: span 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.btrmc-community-tile-photo,
	.btrmc-community-tile p,
	.btrmc-community-more {
		transition: none;
	}
}

/* ---------------------------------------------------------------------
   Community Event story page + archive
   --------------------------------------------------------------------- */

.btrmc-story-hero {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: flex-end;
	background: var(--btrmc-navy) center / cover no-repeat;
	color: #ffffff;
	padding: 140px 0 56px;
}

.btrmc-story-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 33, 61, 0.15) 0%, rgba(20, 33, 61, 0.45) 45%, rgba(20, 33, 61, 0.92) 100%);
}

.btrmc-story-hero .btrmc-container {
	position: relative;
}

.btrmc-story-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	margin-bottom: 18px;
}

.btrmc-story-back svg {
	width: 16px;
	height: 16px;
}

.btrmc-story-back:hover {
	color: #ffffff;
}

.btrmc-story-title {
	font-family: var(--btrmc-font-heading);
	font-size: clamp(36px, 4.6vw, 62px);
	font-weight: 600;
	line-height: 1.05;
	margin: 0 0 16px;
	max-width: 18ch;
	text-wrap: balance;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btrmc-story-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 0;
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
}

.btrmc-story-meta span + span::before {
	content: "·";
	margin: 0 12px;
	color: var(--btrmc-red);
}

.btrmc-story-body {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

.btrmc-story-grid {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}

.btrmc-story-rail {
	position: sticky;
	top: calc(var(--btrmc-header-h, 96px) + 24px);
}

.btrmc-story-glance {
	background: var(--btrmc-gray-light);
	border-radius: 22px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.btrmc-story-glance h2 {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--btrmc-red);
	margin: 0;
}

.btrmc-story-glance dl {
	margin: 0;
	display: grid;
	gap: 12px;
}

.btrmc-story-glance dt {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6a7080;
}

.btrmc-story-glance dd {
	margin: 2px 0 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--btrmc-navy);
}

.btrmc-story-stats {
	list-style: none;
	margin: 0;
	padding: 18px 0 0;
	border-top: 1px solid #dcdfe6;
	display: grid;
	gap: 14px;
}

.btrmc-story-stats li {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.btrmc-story-stats strong {
	font-family: var(--btrmc-font-heading);
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	color: var(--btrmc-red);
	min-width: 72px;
}

.btrmc-story-stats span {
	font-size: 15px;
	color: #3a4050;
}

.btrmc-story-cta {
	text-align: center;
}

.btrmc-story-lead {
	font-family: var(--btrmc-font-heading);
	font-size: clamp(22px, 2vw, 27px);
	line-height: 1.4;
	color: var(--btrmc-navy);
	margin: 0 0 28px;
	max-width: 36ch;
}

.btrmc-story-text {
	max-width: 66ch;
}

.btrmc-story-text p,
.btrmc-story-text li {
	font-size: 17px;
	line-height: 1.75;
	color: #3a4050;
}

.btrmc-story-text p {
	margin: 0 0 20px;
}

.btrmc-story-text h2,
.btrmc-story-text h3 {
	font-family: var(--btrmc-font-heading);
	color: var(--btrmc-navy);
	line-height: 1.2;
	margin: 36px 0 12px;
}

.btrmc-story-text h2 {
	font-size: 28px;
}

.btrmc-story-text h3 {
	font-size: 22px;
}

.btrmc-story-text img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
}

.btrmc-story-strip {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 40px 0 8px;
}

.btrmc-story-strip--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.btrmc-story-strip--4 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.btrmc-story-strip figure {
	margin: 0;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	background: var(--btrmc-gray-light);
}

.btrmc-story-strip--4 figure:first-child {
	grid-column: span 2;
	aspect-ratio: 16 / 8;
}

.btrmc-story-strip img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.btrmc-story-quote {
	margin: 40px 0 0;
	padding: 28px 32px;
	border-left: 4px solid var(--btrmc-red);
	background: var(--btrmc-gray-light);
	border-radius: 0 18px 18px 0;
	max-width: 60ch;
}

.btrmc-story-quote p {
	font-family: var(--btrmc-font-heading);
	font-size: 22px;
	line-height: 1.4;
	color: var(--btrmc-navy);
	margin: 0 0 10px;
}

.btrmc-story-quote cite {
	font-style: normal;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #4a5060;
}

.btrmc-story-more {
	padding: var(--btrmc-section-pad) 0;
	background: var(--btrmc-gray-light);
}

/* Even mosaic: no lead tile, all the same size. */
.btrmc-community-mosaic--even .btrmc-community-tile {
	grid-column: span 1;
	grid-row: span 1;
}

.btrmc-community-archive-list {
	padding: var(--btrmc-section-pad) 0;
	background: #ffffff;
}

@media (max-width: 900px) {
	.btrmc-story-hero {
		min-height: 400px;
		padding: 110px 0 40px;
	}

	.btrmc-story-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.btrmc-story-rail {
		position: static;
	}

	.btrmc-story-strip,
	.btrmc-story-strip--3 {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.btrmc-story-strip,
	.btrmc-story-strip--3,
	.btrmc-story-strip--4 {
		grid-template-columns: 1fr;
	}

	.btrmc-story-strip--4 figure:first-child {
		grid-column: span 1;
		aspect-ratio: 4 / 3;
	}
}

/* ---- Community: members and "how we helped" (story page + digest) ---- */
.btrmc-story-section-title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--btrmc-red);
	margin: 0 0 16px;
	padding-top: 20px;
	border-top: 1px solid #dcdfe6;
}

.btrmc-story-members,
.btrmc-story-helped {
	margin: 0 0 36px;
}

.btrmc-member-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.btrmc-member-card {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: var(--btrmc-gray-light);
	border-radius: 16px;
	padding: 16px 18px;
}

.btrmc-member-avatar {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--btrmc-navy);
	color: #fff;
	font-family: var(--btrmc-font-heading);
	font-size: 20px;
	font-weight: 600;
	display: grid;
	place-items: center;
}

.btrmc-member-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.btrmc-member-name {
	font-size: 17px;
	color: var(--btrmc-navy);
	line-height: 1.3;
}

.btrmc-member-role {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6a7080;
}

.btrmc-member-did {
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: #3a4050;
}

.btrmc-helped-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.btrmc-helped-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 17px;
	line-height: 1.55;
	color: var(--btrmc-text);
}

.btrmc-helped-list svg {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: var(--btrmc-red);
	background: rgba(179, 25, 66, 0.1);
	border-radius: 50%;
	padding: 3px;
	box-sizing: border-box;
}

.btrmc-helped-list--compact {
	gap: 6px;
}

.btrmc-helped-list--compact li {
	font-size: 15px;
}

.btrmc-helped-list--compact svg {
	flex-basis: 20px;
	width: 20px;
	height: 20px;
}

/* ---- Community digest (archive) ---- */
.btrmc-digest-month {
	padding: 0 0 48px;
}

.btrmc-digest-month + .btrmc-digest-month {
	border-top: 1px solid var(--btrmc-border);
	padding-top: 48px;
}

.btrmc-digest-month-title {
	font-family: var(--btrmc-font-heading);
	font-size: clamp(28px, 2.6vw, 36px);
	font-weight: 600;
	color: var(--btrmc-navy);
	margin: 0 0 28px;
	display: flex;
	align-items: center;
	gap: 18px;
}

.btrmc-digest-month-title::after {
	content: "";
	flex: 1;
	height: 2px;
	background: var(--btrmc-red);
	opacity: 0.6;
}

.btrmc-digest-row {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 48px;
	align-items: center;
	padding: 28px 0;
}

.btrmc-digest-row + .btrmc-digest-row {
	border-top: 1px solid var(--btrmc-border);
}

.btrmc-digest-row--flip .btrmc-digest-photo {
	order: 2;
}

.btrmc-digest-photo {
	display: block;
	border-radius: 22px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--btrmc-gray-light);
}

.btrmc-digest-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.btrmc-digest-row:hover .btrmc-digest-photo img {
	transform: scale(1.03);
}

.btrmc-digest-body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.btrmc-digest-title {
	font-family: var(--btrmc-font-heading);
	font-size: clamp(24px, 2.2vw, 32px);
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}

.btrmc-digest-title a {
	color: var(--btrmc-navy);
	text-decoration: none;
}

.btrmc-digest-title a:hover,
.btrmc-digest-title a:focus-visible {
	color: var(--btrmc-red);
}

.btrmc-digest-meta {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6a7080;
}

.btrmc-digest-meta span + span::before {
	content: "·";
	margin-right: 14px;
	color: var(--btrmc-red);
}

.btrmc-digest-summary {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
	color: #3a4050;
}

.btrmc-digest-members {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--btrmc-navy);
}

.btrmc-digest-members strong {
	color: var(--btrmc-red);
}

.btrmc-digest-link {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 15px;
	color: var(--btrmc-red);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s ease;
}

.btrmc-digest-link svg {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.btrmc-digest-link:hover,
.btrmc-digest-link:focus-visible {
	border-bottom-color: var(--btrmc-red);
}

.btrmc-digest-link:hover svg {
	transform: translateX(3px);
}

@media (max-width: 900px) {
	.btrmc-digest-row {
		grid-template-columns: 1fr;
		gap: 20px;
		align-items: start;
	}

	.btrmc-digest-row--flip .btrmc-digest-photo {
		order: 0;
	}

	.btrmc-digest-photo {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 640px) {
	.btrmc-member-cards {
		grid-template-columns: 1fr;
	}

	.btrmc-digest-month {
		padding-bottom: 32px;
	}

	.btrmc-digest-month + .btrmc-digest-month {
		padding-top: 32px;
	}
}

/* Event date pill: one line always; the time only appears once the card is expanded. */
.btrmc-event-date {
	white-space: nowrap;
}

.btrmc-event-card:not(.is-active) .btrmc-event-date-time {
	display: none;
}

/* Mission stats link to the district roster on the Committee page. */
a.btrmc-stat--link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.btrmc-stat--link:hover,
a.btrmc-stat--link:focus-visible {
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.09);
}

a.btrmc-stat--link:focus-visible {
	outline: 3px solid var(--btrmc-red);
	outline-offset: 3px;
}

.btrmc-stat-go {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
	border-bottom: 2px solid var(--btrmc-red);
	padding-bottom: 2px;
	align-self: flex-start;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.btrmc-stat-go svg {
	width: 14px;
	height: 14px;
}

a.btrmc-stat--link:hover .btrmc-stat-go,
a.btrmc-stat--link:focus-visible .btrmc-stat-go {
	opacity: 1;
	transform: none;
}

@media (hover: none) {
	.btrmc-stat-go {
		opacity: 1;
		transform: none;
	}
}

.btrmc-districts {
	scroll-margin-top: calc(var(--btrmc-header-h, 96px) + 16px);
}

/* Cancelled events: red tag everywhere, dimmed card on the homepage. */
.btrmc-event-badge--cancelled {
	background: var(--btrmc-red);
	color: #ffffff;
}

.btrmc-event-tile-photo {
	position: relative;
}

.btrmc-event-card--cancelled .btrmc-event-date {
	background: #6a7080;
	text-decoration: line-through;
}

.btrmc-event-band-cancelled {
	margin: 10px 0 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
}

.btrmc-event-band-cancelled span {
	display: inline-block;
	margin-right: 8px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--btrmc-red);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Recurring events: schedule panel on the event page, series note on the list tile. */
.btrmc-event-schedule {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #dcdfe6;
}

.btrmc-event-schedule-title {
	font-family: var(--btrmc-font-heading);
	font-size: 20px;
	font-weight: 600;
	color: var(--btrmc-navy);
	margin: 0 0 4px;
}

.btrmc-event-schedule-note {
	margin: 0 0 12px;
	font-size: 13px;
	color: #6a7080;
}

.btrmc-event-schedule-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.btrmc-event-schedule-list .btrmc-event-schedule-item {
	display: grid;
	grid-template-columns: 38px 1fr auto;
	gap: 8px 10px;
	align-items: center;
	padding: 9px 12px;
	border-radius: 10px;
	background: #ffffff;
	border: 1px solid #e3e5ea;
	color: var(--btrmc-navy);
	text-decoration: none;
	font-size: 14px;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.btrmc-event-schedule-day {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6a7080;
}

.btrmc-event-schedule-date {
	font-weight: 700;
}

.btrmc-event-schedule-time {
	grid-column: 2;
	font-size: 13px;
	color: #4a5060;
}

.btrmc-event-schedule-tag {
	grid-column: 3;
	grid-row: 1 / span 2;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--btrmc-red);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.btrmc-event-schedule-list li.is-past .btrmc-event-schedule-item {
	opacity: 0.55;
}

.btrmc-event-schedule-list li.is-this .btrmc-event-schedule-item {
	border-color: var(--btrmc-navy);
	background: var(--btrmc-gray-light);
}

.btrmc-event-tile-series {
	margin: 2px 0 8px;
	font-size: 13px;
	color: #4a5060;
}

.btrmc-event-tile-series span {
	display: inline-block;
	margin-right: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--btrmc-navy);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Event status strip: past or cancelled, right under the banner. */
.btrmc-event-status {
	padding: 14px 0;
	font-size: 16px;
}

.btrmc-event-status .btrmc-container {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.btrmc-event-status-tag {
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.btrmc-event-status-link {
	margin-left: auto;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid currentColor;
}

.btrmc-event-status--past {
	background: #e9ebf0;
	color: var(--btrmc-navy);
}

.btrmc-event-status--past .btrmc-event-status-tag {
	background: var(--btrmc-navy);
	color: #ffffff;
}

.btrmc-event-status--cancelled {
	background: var(--btrmc-red);
	color: #ffffff;
}

.btrmc-event-status--cancelled .btrmc-event-status-tag {
	background: #ffffff;
	color: var(--btrmc-red);
}

.btrmc-event-status--cancelled .btrmc-event-status-link {
	color: #ffffff;
}

.btrmc-event-status--past .btrmc-event-status-link {
	color: var(--btrmc-navy);
}

/* Photo gallery under the event details, with a lightbox. */
.btrmc-event-gallery {
	margin-top: 28px;
	padding: 0 4px;
}

.btrmc-event-gallery-title {
	font-family: var(--btrmc-font-heading);
	font-size: 20px;
	font-weight: 600;
	color: var(--btrmc-navy);
	margin: 0 0 12px;
}

.btrmc-event-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.btrmc-event-gallery-thumb {
	display: block;
	padding: 0;
	border: 0;
	border-radius: 12px;
	overflow: hidden;
	background: var(--btrmc-gray-light);
	cursor: zoom-in;
	aspect-ratio: 4 / 3;
}

.btrmc-event-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.btrmc-event-gallery-thumb:hover img,
.btrmc-event-gallery-thumb:focus-visible img {
	transform: scale(1.04);
}

.btrmc-event-gallery-thumb:focus-visible {
	outline: 3px solid var(--btrmc-red);
	outline-offset: 2px;
}

.btrmc-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(10, 18, 36, 0.94);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 72px;
}

.btrmc-lightbox[hidden] {
	display: none;
}

body.btrmc-lightbox-open {
	overflow: hidden;
}

.btrmc-lightbox-figure {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	text-align: center;
}

.btrmc-lightbox-figure img {
	max-width: 100%;
	max-height: calc(100vh - 140px);
	width: auto;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.btrmc-lightbox-figure figcaption {
	color: rgba(255, 255, 255, 0.85);
	margin-top: 12px;
	font-size: 15px;
}

.btrmc-lightbox-close,
.btrmc-lightbox-nav {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btrmc-lightbox-close:hover,
.btrmc-lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.25);
}

.btrmc-lightbox-close {
	top: 18px;
	right: 18px;
}

.btrmc-lightbox-prev {
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.btrmc-lightbox-next {
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.btrmc-lightbox-count {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
	.btrmc-lightbox {
		padding: 56px 12px;
	}

	.btrmc-lightbox-nav {
		width: 40px;
		height: 40px;
		font-size: 24px;
	}

	.btrmc-event-status .btrmc-container {
		gap: 8px;
	}

	.btrmc-event-status-link {
		margin-left: 0;
	}
}

/* Events whose exact date is not set yet: the list tile shows "TBD" in the date box. */
.btrmc-event-tile-date strong:where(:not(:empty)) {
	font-variant-numeric: tabular-nums;
}

/* Pictured: one compact caption-style line under the lead paragraph. */
.btrmc-story-pictured {
	margin: -6px 0 26px;
	padding: 10px 14px;
	border-left: 3px solid var(--btrmc-red);
	background: var(--btrmc-gray-light);
	border-radius: 0 10px 10px 0;
	font-size: 14px;
	line-height: 1.6;
	color: #3a4050;
	max-width: 66ch;
}

.btrmc-story-pictured-label {
	display: inline-block;
	margin-right: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--btrmc-red);
}

.btrmc-story-pictured-name {
	font-weight: 700;
	color: var(--btrmc-navy);
}

.btrmc-story-pictured-role {
	color: #6a7080;
}
