/*
 * Bewdley Carnival — theme styles
 *
 * Rule of thumb: the carnival plugins style their own forms. Everything the
 * theme applies INSIDE page content is wrapped in :where() so it has zero
 * specificity and any plugin stylesheet (or inline style) always wins. The
 * theme never sets global button/div/input rules that could fight a plugin.
 */

/* ── Fonts (self-hosted: no third-party request, no render-blocking) ── */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/playfair-display-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/playfair-display-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 700; font-display: swap; src: url(../fonts/playfair-display-latin-700-italic.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(../fonts/dm-sans-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 100 1000; font-display: swap; src: url(../fonts/dm-sans-latin-wght-italic.woff2) format("woff2"); }

/* ── Tokens ── */
:root {
	--bc-blue: #0060e6;
	--bc-blue-deep: #0047ad;
	--bc-sky: #eaf2ff;
	--bc-gold: #E8A020;
	--bc-gold-ink: #8f5c00;   /* gold for TEXT on white/cream/pale blue (5:1+). Bright gold is for fills and dark backgrounds. */
	--bc-yellow-ink: #fff0bf; /* small yellow text on brand blue (4.8:1) */
	--bc-yellow: #ffd23f;
	--bc-red: #C8272D;
	--bc-navy: #0a1628;
	--bc-navy-2: #162039;
	--bc-cream: #fff8ec;
	--bc-ink: #1b2333;
	--bc-muted: #5b6472;
	--bc-line: #e3e7ef;
	--bc-bg: #ffffff;
	--bc-green: #1a7a3c;

	--bc-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--bc-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--bc-radius: 14px;
	--bc-radius-sm: 8px;
	--bc-shadow: 0 1px 2px rgba(10, 22, 40, .06), 0 8px 24px rgba(10, 22, 40, .08);
	--bc-shadow-lg: 0 2px 4px rgba(10, 22, 40, .08), 0 18px 40px rgba(10, 22, 40, .16);
	--bc-wrap: 1180px;
	--bc-gutter: clamp(16px, 4vw, 32px);
	--bc-header-h: 84px;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bc-header-h) + 16px); }
body {
	margin: 0;
	background: var(--bc-bg);
	color: var(--bc-ink);
	font-family: var(--bc-sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
:where(img, svg, video) { max-width: 100%; height: auto; }
:where(a) { color: var(--bc-blue); text-underline-offset: .18em; }
:where(a:hover) { color: var(--bc-blue-deep); }
:where(h1, h2, h3, h4) { font-family: var(--bc-serif); line-height: 1.15; color: var(--bc-navy); margin: 0 0 .5em; }
:focus-visible { outline: 3px solid var(--bc-gold); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.bc-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--bc-navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.bc-skip:focus { top: 12px; color: #fff; }

.bc-wrap { width: 100%; max-width: var(--bc-wrap); margin-inline: auto; padding-inline: var(--bc-gutter); }
.bc-wrap--narrow { max-width: calc(760px + 2 * var(--bc-gutter)); }
.bc-wrap--content { max-width: calc(780px + 2 * var(--bc-gutter)); }
.bc-wrap--wide { max-width: var(--bc-wrap); }
.bc-wrap--full { max-width: none; }
.bc-center { text-align: center; margin-top: 28px; }

/* ── Buttons (theme-owned classes only) ── */
.bc-btn {
	--btn-bg: var(--bc-blue); --btn-fg: #fff; --btn-bd: var(--bc-blue);
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-height: 44px; padding: .65em 1.3em;
	background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
	border-radius: 999px; font: 700 1rem/1.1 var(--bc-sans); letter-spacing: .01em;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.bc-btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10, 22, 40, .18); }
.bc-btn--gold { --btn-bg: var(--bc-gold); --btn-fg: var(--bc-navy); --btn-bd: var(--bc-gold); }
.bc-btn--gold:hover { --btn-bg: #f2b23a; }
.bc-btn--red { --btn-bg: var(--bc-red); --btn-bd: var(--bc-red); }
.bc-btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .8); }
.bc-btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .12); }
.bc-btn--outline { --btn-bg: transparent; --btn-fg: var(--bc-blue); --btn-bd: var(--bc-blue); }
.bc-btn--lg { min-height: 52px; padding: .8em 1.6em; font-size: 1.075rem; }
.bc-link { font-weight: 700; margin-left: 14px; }

/* ── Pills & eyebrows ── */
.bc-pill { display: inline-flex; align-items: center; gap: .4em; padding: .2em .7em; border-radius: 999px; font: 700 .78rem/1.4 var(--bc-sans); letter-spacing: .02em; white-space: nowrap; vertical-align: middle; }
.bc-pill.is-open { background: #dff5e6; color: #0f5a2a; }
.bc-pill.is-open::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: #1fa34f; box-shadow: 0 0 0 3px rgba(31, 163, 79, .2); }
.bc-pill.is-closed { background: #eef0f4; color: var(--bc-muted); }
.bc-pill--sm { font-size: .7rem; padding: .1em .55em; }
.bc-pill--lg { font-size: .9rem; padding: .35em .9em; }
.bc-eyebrow { margin: 0 0 .5em; font: 800 .78rem/1.3 var(--bc-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bc-gold-ink); }
/* On dark backgrounds the bright brand gold reads well (8:1 on navy). */
:is(.bc-cdband, .bc-section--raffle, .bc-footer, .bc-section--live) .bc-eyebrow { color: var(--bc-gold); }
.bc-eyebrow--light { color: var(--bc-yellow-ink); }

/* ── Announcement bar ── */
.bc-notice { font-weight: 700; font-size: .95rem; text-align: center; }
.bc-notice .bc-wrap { padding-block: 10px; }
.bc-notice a, .bc-notice span { color: inherit; text-decoration: none; }
.bc-notice a:hover { text-decoration: underline; }
.bc-notice--info { background: var(--bc-gold); color: var(--bc-navy); }
.bc-notice--urgent { background: var(--bc-red); color: #fff; }

/* ── Header ── */
.bc-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--bc-line); }
.admin-bar .bc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bc-header { top: 0; } }
.bc-topbar { background: var(--bc-navy); color: #c9d3e6; font-size: .82rem; }
.bc-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.bc-topbar strong { color: var(--bc-gold); font-weight: 700; }
.bc-topbar__links { display: flex; align-items: center; gap: 18px; }
.bc-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.bc-topbar a:hover { color: var(--bc-gold); }
.bc-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--bc-header-h); }

.bc-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bc-navy); flex-shrink: 0; }
.bc-brand__logo { width: 64px; height: auto; transition: transform .25s ease; }
.bc-brand:hover .bc-brand__logo { transform: rotate(-4deg) scale(1.04); }
.bc-brand__text { display: flex; flex-direction: column; line-height: 1; }
.bc-brand__name { font: 800 1.3rem/1.05 var(--bc-serif); color: var(--bc-navy); }

.bc-nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.bc-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.bc-menu > li { position: relative; flex: none; }
/* Hand-built menus: keep each label on one line (long titles like "About Bewdley Carnival" used to wrap). */
.bc-menu--custom > li > a { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 1081px) {
	.bc-menu--custom > li > a { padding-inline: 8px; font-size: .9rem; }
	.bc-nav { gap: 8px; }
}
@media (max-width: 1180px) and (min-width: 1081px) {
	.bc-header:has(.bc-menu--custom) .bc-brand__text { display: none; }
}
.bc-menu__toggle,
.bc-menu--custom > li > a {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; border-radius: 999px; background: transparent;
	font: 700 .98rem/1 var(--bc-sans); color: var(--bc-navy); cursor: pointer; text-decoration: none;
}
.bc-menu__toggle:hover, .bc-menu__item.is-open > .bc-menu__toggle,
.bc-menu--custom > li > a:hover, .bc-menu--custom > li.is-open > a { background: var(--bc-sky); color: var(--bc-blue); }
.bc-menu__item.is-current > .bc-menu__toggle, .bc-menu--custom > .current-menu-item > a, .bc-menu--custom > .current-menu-ancestor > a { color: var(--bc-blue); box-shadow: inset 0 -3px 0 var(--bc-gold); border-radius: 0; }
.bc-caret { width: 10px; height: 10px; transition: transform .2s; }
.is-open > .bc-menu__toggle .bc-caret { transform: rotate(180deg); }
.bc-dot { width: 8px; height: 8px; border-radius: 50%; background: #1fa34f; box-shadow: 0 0 0 3px rgba(31, 163, 79, .2); }

/* Dropdown (auto menu = rich cards; custom menu = plain list) */
.bc-sub, .bc-menu--custom .sub-menu {
	position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
	background: #fff; border-radius: var(--bc-radius); box-shadow: var(--bc-shadow-lg); border-top: 4px solid var(--bc-blue);
	opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 50;
}
.bc-sub { width: min(560px, 92vw); padding: 12px; }
/* Desktop: the last two menus open to the left so they never hang off the screen edge. */
@media (min-width: 1081px) {
	.bc-menu > li:nth-last-child(-n+2) > .bc-sub,
	.bc-menu--custom > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; transform: translate(0, 6px); }
	.bc-menu > li.is-open:nth-last-child(-n+2) > .bc-sub,
	.bc-menu--custom > li.is-open:nth-last-child(-n+2) > .sub-menu { transform: translate(0, 0); }
}
.bc-sub--gold { border-top-color: var(--bc-gold); }
.bc-sub--red { border-top-color: var(--bc-red); }
.bc-sub--navy { border-top-color: var(--bc-navy); }
.is-open > .bc-sub, .bc-menu--custom .is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.bc-sub ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.bc-sub__item a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--bc-ink); }
.bc-sub__item a:hover, .bc-sub__item a[aria-current] { background: var(--bc-sky); }
.bc-sub__icon { font-size: 1.35rem; line-height: 1.2; }
.bc-sub__text { display: flex; flex-direction: column; gap: 2px; }
.bc-sub__title { font-weight: 700; color: var(--bc-navy); }
.bc-sub__blurb { font-size: .82rem; line-height: 1.35; color: var(--bc-muted); }
.bc-menu--custom .sub-menu { list-style: none; margin: 0; padding: 8px; min-width: 240px; }
.bc-menu--custom .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--bc-ink); text-decoration: none; font-weight: 600; }
.bc-menu--custom .sub-menu a:hover { background: var(--bc-sky); color: var(--bc-blue); }
.bc-subtoggle { display: none; }

.bc-navtoggle { display: none; margin-left: auto; align-items: center; gap: 8px; padding: 10px 14px; border: 2px solid var(--bc-line); border-radius: 999px; background: #fff; font: 700 .95rem/1 var(--bc-sans); color: var(--bc-navy); cursor: pointer; }
.bc-navtoggle__bars { display: inline-flex; flex-direction: column; gap: 4px; }
.bc-navtoggle__bars i { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.bc-navtoggle[aria-expanded="true"] .bc-navtoggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bc-navtoggle[aria-expanded="true"] .bc-navtoggle__bars i:nth-child(2) { opacity: 0; }
.bc-navtoggle[aria-expanded="true"] .bc-navtoggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
	:root { --bc-header-h: 72px; }
	.bc-brand__logo { width: 52px; }
	.bc-navtoggle { display: inline-flex; }
	.bc-nav {
		position: fixed; inset: calc(var(--bc-nav-top, 108px)) 0 0 0; margin: 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--bc-gutter) 32px;
		background: #fff; overflow-y: auto; overscroll-behavior: contain;
		transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
	}
	.bc-nav.is-open { transform: none; visibility: visible; }
	.bc-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.bc-menu > li { border-bottom: 1px solid var(--bc-line); }
	.bc-menu__toggle, .bc-menu--custom > li > a { width: 100%; justify-content: flex-start; padding: 16px 4px; border-radius: 0; font-size: 1.1rem; }
	.bc-menu__toggle .bc-caret { margin-left: auto; }
	.bc-menu__item.is-current > .bc-menu__toggle { box-shadow: none; }
	.bc-sub, .bc-menu--custom .sub-menu { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; }
	.is-open > .bc-sub, .bc-menu--custom .is-open > .sub-menu { display: block; transform: none; }
	.bc-sub ul { grid-template-columns: 1fr; }
	.bc-menu--custom > .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
	.bc-menu--custom > .menu-item-has-children > a { flex: 1; width: auto; }
	.bc-menu--custom .bc-subtoggle { display: inline-flex; padding: 12px; border: 0; background: none; color: var(--bc-navy); cursor: pointer; }
	.bc-menu--custom .sub-menu { flex-basis: 100%; }
	.bc-nav__cta { margin-top: 20px; width: 100%; }
	body.bc-nav-open { overflow: hidden; }
	.bc-topbar__date { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 600px) {
	.bc-topbar__links { display: none; }
	.bc-topbar__inner { justify-content: center; }
	.bc-brand__name { font-size: 1.1rem; }
	.bc-navtoggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ── Scalloped "ticket" edge ── */
.bc-scallop { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 14px; display: block; }
.bc-scallop path { fill: var(--bc-scallop, #fff); }

/* ── Hero ── */
.bc-hero {
	position: relative; overflow: hidden; color: #fff; isolation: isolate;
	background: radial-gradient(120% 90% at 75% 20%, #1a74f0 0%, var(--bc-blue) 45%, var(--bc-blue-deep) 100%);
	padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}
.bc-hero.has-image { background: linear-gradient(100deg, rgba(0, 71, 173, .94) 0%, rgba(0, 96, 230, .82) 50%, rgba(0, 96, 230, .55) 100%), var(--bc-hero-img) center / cover no-repeat; }
.bc-hero__rays {
	position: absolute; inset: -40%; z-index: -1; opacity: .16; pointer-events: none;
	background: repeating-conic-gradient(from 0deg at 72% 38%, var(--bc-yellow) 0deg 9deg, transparent 9deg 24deg);
	mask-image: radial-gradient(closest-side at 72% 38%, #000 30%, transparent 100%);
	-webkit-mask-image: radial-gradient(closest-side at 72% 38%, #000 30%, transparent 100%);
	animation: bc-spin 140s linear infinite;
}
.has-image .bc-hero__rays { opacity: .08; }
@keyframes bc-spin { to { transform: rotate(360deg); } }
.bc-hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.bc-hero__title { font: 800 clamp(2.6rem, 6.2vw, 4.6rem)/1 var(--bc-serif); color: #fff; margin: 0 0 .25em; text-shadow: 0 3px 0 rgba(10, 22, 40, .25); }
.bc-hero__date { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 16px 8px 12px; background: rgba(10, 22, 40, .28); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-weight: 700; font-size: 1.1rem; }
.bc-hero__date svg { color: var(--bc-yellow); }
.bc-hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 34em; color: #e7efff; margin: 0 0 26px; }
.bc-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.bc-hero__aside { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.bc-hero__badge { position: relative; width: min(320px, 70vw); }
.bc-hero__badge::before { content: ""; position: absolute; inset: 8% 4% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 210, 63, .45), transparent); filter: blur(10px); z-index: -1; }
.bc-hero__logo { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(10, 22, 40, .35)); animation: bc-bob 6s ease-in-out infinite; }
@keyframes bc-bob { 50% { transform: translateY(-8px) rotate(-1deg); } }
.bc-hero__balloons i { position: absolute; z-index: -1; width: 54px; height: 66px; border-radius: 50% 50% 46% 46%; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .55) 0 10%, transparent 11%), var(--c, var(--bc-red)); opacity: .9; animation: bc-float 9s ease-in-out infinite; }
.bc-hero__balloons i::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 70px; background: rgba(255, 255, 255, .5); }
.bc-hero__balloons i:nth-child(1) { --c: var(--bc-red); left: 3%; top: 10%; }
.bc-hero__balloons i:nth-child(2) { --c: #c2185b; left: 1.5%; top: 70%; width: 40px; height: 50px; animation-delay: -3s; }
.bc-hero__balloons i:nth-child(3) { --c: var(--bc-red); right: 3%; top: 8%; animation-delay: -5s; }
.bc-hero__balloons i:nth-child(4) { --c: #5146b8; right: 9%; top: 70%; width: 38px; height: 46px; animation-delay: -7s; }
@keyframes bc-float { 50% { transform: translateY(-16px); } }

/* ── Countdown band ── */
.bc-cdband { position: relative; background: var(--bc-navy); color: #fff; border-bottom: 5px solid var(--bc-gold); }
.bc-cdband::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
	background: radial-gradient(circle at 12px 12px, rgba(232, 160, 32, .35) 2px, transparent 2.5px) 0 0 / 30px 30px;
	mask-image: linear-gradient(90deg, #000, transparent 35%, transparent 65%, #000); -webkit-mask-image: linear-gradient(90deg, #000, transparent 35%, transparent 65%, #000); }
.bc-cdband__inner { position: relative; padding-block: clamp(28px, 4vw, 44px); }
.bc-countdown { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 40px; }
.bc-countdown__head .bc-eyebrow { margin-bottom: 4px; }
.bc-countdown__label { margin: 0; font: 800 clamp(1.7rem, 3.4vw, 2.5rem)/1.1 var(--bc-serif); color: #fff; }
.bc-countdown__yr { color: var(--bc-yellow); font-style: italic; }
.bc-countdown__when { margin: 6px 0 0; color: #c9d3e6; font-weight: 600; }
.bc-countdown__tiles { display: grid; grid-template-columns: repeat(4, minmax(78px, 104px)); gap: 10px; }
.bc-countdown__tile { position: relative; background: #fff; color: var(--bc-navy); border-radius: 14px; padding: 14px 6px 10px; text-align: center; box-shadow: 0 5px 0 var(--bc-gold); }
.bc-countdown__tile::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; border-top: 1px dashed rgba(10, 22, 40, .12); }
.bc-countdown__n { display: block; font: 800 clamp(2rem, 4vw, 2.9rem)/1 var(--bc-serif); font-variant-numeric: tabular-nums; }
.bc-countdown__u { display: block; margin-top: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bc-red); }
.bc-countdown__more { grid-column: 1 / -1; list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .92rem; color: #dbe7ff; }
.bc-countdown__more span { color: var(--bc-yellow); font-weight: 700; }
.bc-countdown.is-now .bc-countdown__tiles { opacity: .5; }
@media (max-width: 760px) {
	.bc-countdown { grid-template-columns: 1fr; text-align: center; }
	.bc-countdown__tiles { grid-template-columns: repeat(4, 1fr); gap: 8px; }
	.bc-countdown__more { justify-content: center; }
}
.bc-editor-hint { margin: 16px 0 0; padding: 10px 14px; border: 2px dashed var(--bc-gold); border-radius: 10px; background: var(--bc-cream); font-size: .9rem; }

@media (max-width: 1320px) { .bc-hero__balloons i:nth-child(2), .bc-hero__balloons i:nth-child(4) { display: none; } }
@media (max-width: 860px) {
	.bc-hero__aside { display: contents; }
	.bc-hero__badge { order: -1; margin-inline: auto; }
	.bc-hero .bc-countdown { order: 2; }
	.bc-hero__balloons i:nth-child(1) { left: 4%; top: 4%; width: 36px; height: 44px; }
	.bc-hero__balloons i:nth-child(3) { right: 4%; top: 6%; width: 36px; height: 44px; }
	.bc-hero__inner { grid-template-columns: 1fr; text-align: center; }
	.bc-hero__badge { width: min(170px, 46vw); }
	.bc-hero__ctas { justify-content: center; }
	.bc-hero__lede { margin-inline: auto; }
	.bc-countdown { margin-inline: auto; }
}

/* ── Page header band ── */
.bc-pagehead { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(36px, 6vw, 64px) 0 clamp(44px, 6vw, 72px); background: linear-gradient(120deg, var(--bc-blue-deep), var(--bc-blue)); }
.bc-pagehead::before { content: ""; position: absolute; inset: -60%; z-index: -1; opacity: .12; background: repeating-conic-gradient(from 0deg at 88% 10%, var(--bc-yellow) 0deg 7deg, transparent 7deg 20deg); }
.bc-pagehead--gold { background: linear-gradient(120deg, #0b2f73, var(--bc-blue)); }
.bc-pagehead--red { background: linear-gradient(120deg, #8f1a1f, var(--bc-red)); }
.bc-pagehead--navy { background: linear-gradient(120deg, var(--bc-navy), var(--bc-navy-2)); }
.bc-pagehead--navy::before { opacity: .07; }
.bc-pagehead .bc-eyebrow { color: var(--bc-yellow-ink); }
.bc-pagehead__title { font: 800 clamp(2rem, 4.5vw, 3.2rem)/1.08 var(--bc-serif); color: #fff; margin: 0; max-width: 22ch; }
.bc-pagehead__lede { margin: 14px 0 0; max-width: 42em; font-size: 1.12rem; color: #e3ecff; }
.bc-pagehead__meta { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-weight: 600; color: #e3ecff; }
.bc-pagehead .bc-pill.is-closed { background: rgba(255, 255, 255, .18); color: #fff; }

/* ── Page body ── */
.bc-pagebody { padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 7vw, 80px); }
.bc-feature { margin: 0 0 28px; border-radius: var(--bc-radius); overflow: hidden; }
.bc-feature img { display: block; width: 100%; }
.bc-meta { color: var(--bc-muted); font-weight: 600; margin-top: 0; }
.bc-lede { font-size: 1.15rem; }
.bc-back { margin-top: 32px; }

/* Plugin forms sit in a soft card so they read as a unit, whatever their own styling. */
.bc-pagebody--narrow .entry-content > :where(form, div[class^="bc"], div[class*=" bc"]):not(.wp-block-group) { max-width: 100%; }

/* ── Content typography (zero specificity: plugins always win) ── */
:where(.entry-content) > :where(* + *) { margin-block-start: 1.1em; }
:where(.entry-content) :where(p, ul, ol) { margin-block: 0 1em; }
:where(.entry-content) :where(h2) { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 1.6em 0 .5em; }
:where(.entry-content) :where(h3) { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 1.4em 0 .4em; }
:where(.entry-content) :where(h4) { font-family: var(--bc-sans); font-size: 1.1rem; font-weight: 800; }
:where(.entry-content) :where(blockquote) { margin: 1.5em 0; padding: 1em 1.4em; border-left: 5px solid var(--bc-gold); background: var(--bc-cream); border-radius: 0 var(--bc-radius-sm) var(--bc-radius-sm) 0; font-family: var(--bc-serif); font-size: 1.2rem; }
:where(.entry-content) :where(table) { width: 100%; border-collapse: collapse; }
:where(.entry-content) :where(th, td) { padding: .6em .75em; border-bottom: 1px solid var(--bc-line); text-align: left; }
:where(.entry-content) :where(hr) { border: 0; height: 4px; width: 80px; margin: 2em auto; background: linear-gradient(90deg, var(--bc-red), var(--bc-gold), var(--bc-blue)); border-radius: 4px; }
:where(.entry-content) :where(img) { border-radius: var(--bc-radius-sm); }
/* Plain form fields only get a gentle default; plugin CSS overrides freely. */
:where(.entry-content) :where(input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], input[type=password], input[type=date], input[type=search], select, textarea) {
	font: inherit; max-width: 100%; padding: .6em .75em; border: 1.5px solid #c9d0dc; border-radius: var(--bc-radius-sm); background: #fff; color: var(--bc-ink);
}
:where(.entry-content) :where(input, select, textarea):focus { border-color: var(--bc-blue); outline: 3px solid rgba(0, 96, 230, .2); outline-offset: 0; }
:where(.entry-content) :where(label) { font-weight: 600; }

/* Block patterns */
.bc-band { padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 40px) !important; border-radius: var(--bc-radius); }
.bc-band :where(h2) { color: #fff; margin-top: 0; }
.bc-infocards { gap: 18px !important; }
.bc-infocard { background: #fff; border: 1px solid var(--bc-line); border-top: 5px solid var(--bc-gold); border-radius: var(--bc-radius); padding: 20px 22px; box-shadow: var(--bc-shadow); }
.bc-infocard:nth-child(3n+2) { border-top-color: var(--bc-red); }
.bc-infocard:nth-child(3n) { border-top-color: var(--bc-blue); }
.bc-infocard :where(h3) { margin-top: 0; }
.bc-faq { border: 1px solid var(--bc-line); border-radius: var(--bc-radius-sm); padding: 0; margin-block: 10px !important; background: #fff; }
.bc-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--bc-navy); }
.bc-faq[open] summary { border-bottom: 1px solid var(--bc-line); }
.bc-faq > :not(summary) { padding: 0 18px; }
.bc-callout { background: var(--bc-cream); border: 2px solid var(--bc-gold); border-radius: var(--bc-radius); padding: 16px 20px !important; }
.bc-fullbleed > .alignfull { margin-inline: 0; }
.alignwide { max-width: var(--bc-wrap); margin-inline: auto; }

/* Core block buttons look like theme buttons (pages built in the block editor) */
.entry-content .wp-block-button__link { border-radius: 999px; font: 700 1rem/1.1 var(--bc-sans); padding: .85em 1.6em; transition: transform .15s ease, box-shadow .15s ease; }
.entry-content .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10, 22, 40, .18); }

/* About page blocks */
@media (max-width: 600px) {
	.bc-about-stats { flex-wrap: nowrap !important; gap: 8px !important; }
	.bc-stat { flex: 1 1 0; min-width: 0; padding: 14px 6px 12px; }
	.bc-stat__n { font-size: 1.55rem; }
	.bc-stat__l { font-size: .74rem; line-height: 1.25; }
}
.bc-about-stats { gap: 14px !important; margin-bottom: 8px; align-items: stretch !important; }
.bc-stat { flex: 1 1 160px; text-align: center; padding: 20px 14px 16px; background: var(--bc-sky); border-radius: var(--bc-radius); border-bottom: 5px solid var(--bc-gold); }
.bc-stat > * { margin: 0 !important; }
.bc-stat__n { font: 800 clamp(2rem, 4vw, 2.7rem)/1 var(--bc-serif); color: var(--bc-blue); }
.bc-stat__l { margin-top: 6px !important; font-weight: 700; font-size: .9rem; color: var(--bc-navy); }
.bc-lead { font-size: 1.25rem; line-height: 1.5; color: var(--bc-navy); font-weight: 500; }
.bc-people { gap: 14px !important; margin-top: 18px; }
.bc-person { text-align: center; padding: 22px 12px 18px; background: #fff; border: 1px solid var(--bc-line); border-radius: var(--bc-radius); box-shadow: var(--bc-shadow); }
.bc-person > * { margin: 0 auto !important; }
.bc-person__initials { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--bc-sky); color: var(--bc-blue); font: 800 1.6rem/1 var(--bc-serif); box-shadow: inset 0 0 0 3px var(--bc-blue); }
.bc-person--officer .bc-person__initials { background: var(--bc-cream); color: var(--bc-navy); box-shadow: inset 0 0 0 3px var(--bc-gold); }
.bc-person__name { margin-top: 12px !important; font-size: 1.12rem !important; }
.bc-person__role { margin-top: 2px !important; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-red); }
.bc-person:not(.bc-person--officer) .bc-person__role { color: var(--bc-muted); }
.entry-content > .bc-band, .entry-content > .bc-callout { margin-top: 2.2em; }
.bc-join :where(h3) { margin-top: 0; }

/* ── Sections ── */
.bc-section { padding: clamp(44px, 6vw, 80px) 0; position: relative; }
.bc-section:not([class*="--"]) + .bc-section:not([class*="--"]) { padding-top: 0; }
.bc-section--tint { background: var(--bc-sky); }
.bc-section--blue { background: var(--bc-blue); color: #fff; }
.bc-section--blue .bc-section__title { color: #fff; }
.bc-section--blue .bc-eyebrow { color: var(--bc-yellow-ink); }
.bc-section--blue .bc-section__more { color: #fff; }
.bc-section--live { background: var(--bc-cream); border-block: 4px solid var(--bc-gold); }
.bc-section--sponsors { background: linear-gradient(#fff, var(--bc-cream)); }
.bc-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 20px; margin-bottom: 26px; }
.bc-section__head .bc-eyebrow { flex-basis: 100%; }
.bc-section__title { font: 800 clamp(1.8rem, 3.6vw, 2.6rem)/1.1 var(--bc-serif); margin: 0; }
.bc-section__more { margin-left: auto; font-weight: 700; text-decoration: none; white-space: nowrap; }
.bc-section__more:hover { text-decoration: underline; }
.bc-section .bc-section__head:not(:first-child) { margin-top: 48px; }

.bc-grid { display: grid; gap: 18px; }
.bc-grid--cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.bc-grid--events, .bc-grid--posts { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }

/* Cards */
.bc-card {
	--accent: var(--bc-blue);
	position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 18px;
	background: #fff; border: 1px solid var(--bc-line); border-radius: var(--bc-radius); box-shadow: var(--bc-shadow);
	text-decoration: none; color: var(--bc-ink); overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.bc-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--accent); }
.bc-card--gold { --accent: var(--bc-gold); }
.bc-card--red { --accent: var(--bc-red); }
.bc-card--navy { --accent: var(--bc-navy); }
.bc-card:hover { transform: translateY(-3px); box-shadow: var(--bc-shadow-lg); border-color: transparent; color: var(--bc-ink); }
.bc-card__icon { font-size: 2rem; line-height: 1; }
.bc-card__title { font: 800 1.3rem/1.2 var(--bc-serif); color: var(--bc-navy); }
.bc-card__text { color: var(--bc-muted); font-size: .96rem; line-height: 1.5; flex: 1; }
.bc-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.bc-card__go { font-weight: 800; font-size: .9rem; color: var(--bc-blue); margin-left: auto; }
.bc-card.is-closed { background: #fbfcfe; }
.bc-card.is-closed .bc-card__icon { filter: grayscale(.6); opacity: .8; }

@media (max-width: 600px) {
	.bc-grid--cards { gap: 12px; }
	.bc-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; padding: 18px 16px 14px; }
	.bc-card__icon { grid-row: span 2; font-size: 1.7rem; }
	.bc-card__title { font-size: 1.15rem; align-self: center; }
	.bc-card__text { grid-column: 2; font-size: .9rem; }
	.bc-card__foot { grid-column: 1 / -1; }
}

/* Get involved: open forms as wide feature cards, the rest as a compact list */
.bc-section__head--stack { display: block; }
.bc-section__lede { margin: 8px 0 0; max-width: 46em; color: var(--bc-muted); font-size: 1.08rem; }
.bc-section__lede--light { color: #f1f6ff; margin: -10px 0 26px; }
.bc-grid--feature { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 18px; }
.bc-feature-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--bc-radius); background: linear-gradient(135deg, #fff 0%, var(--bc-cream) 100%); border: 2px solid var(--bc-gold); box-shadow: var(--bc-shadow); text-decoration: none; color: var(--bc-ink); transition: transform .18s, box-shadow .18s; }
.bc-feature-card:hover { transform: translateY(-3px); box-shadow: var(--bc-shadow-lg); color: var(--bc-ink); }
.bc-feature-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--bc-gold); font-size: 2rem; }
.bc-feature-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.bc-feature-card__title { font: 800 1.4rem/1.15 var(--bc-serif); color: var(--bc-navy); }
.bc-feature-card__text { color: var(--bc-muted); font-size: .95rem; }
@media (max-width: 560px) { .bc-feature-card { grid-template-columns: auto 1fr; } .bc-feature-card__btn { grid-column: 1 / -1; } }

.bc-soon { background: var(--bc-sky); border-radius: var(--bc-radius); padding: 10px; }
.bc-soon--after { margin-top: 22px; }
.bc-soon__label { margin: 8px 12px 6px; font: 800 .78rem/1.3 var(--bc-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bc-muted); }
.bc-soon__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; }
.bc-soon__item { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; background: #fff; border-radius: 12px; text-decoration: none; color: var(--bc-ink); border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.bc-soon__item:hover { border-color: var(--bc-blue); transform: translateY(-2px); color: var(--bc-ink); }
.bc-soon__icon { font-size: 1.7rem; line-height: 1; }
.bc-soon__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.bc-soon__title { font-weight: 800; color: var(--bc-navy); line-height: 1.25; }
.bc-soon__meta { font-size: .85rem; color: var(--bc-blue); font-weight: 600; }
.bc-soon__go { color: var(--bc-blue); font-weight: 800; }

/* Local causes (theme-rendered) */
.bc-causes__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.bc-causes__grid--1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
.bc-causes__grid--2 { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; }
.bc-cause-card__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; height: 100%; padding: 24px 20px 22px; background: #fff; border-radius: var(--bc-radius); color: var(--bc-ink); text-decoration: none; box-shadow: 0 6px 0 var(--bc-gold); transition: transform .18s; }
a.bc-cause-card__inner:hover { transform: translateY(-4px); color: var(--bc-ink); }
.bc-cause-card__logo { display: grid; place-items: center; width: 120px; height: 120px; margin-bottom: 6px; }
.bc-cause-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 0; }
.bc-cause-card__initials { display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; background: var(--bc-sky); color: var(--bc-blue); font: 800 2.2rem/1 var(--bc-serif); box-shadow: inset 0 0 0 4px var(--bc-blue); }
.bc-cause-card__name { font: 800 1.2rem/1.2 var(--bc-serif); color: var(--bc-navy); }
.bc-cause-card__desc { font-size: .9rem; color: var(--bc-muted); }
.bc-cause-card__text { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 600px) {
	.bc-causes__grid, .bc-causes__grid--1, .bc-causes__grid--2 { grid-template-columns: 1fr; gap: 12px; }
	.bc-cause-card__inner { display: grid; grid-template-columns: 72px 1fr; align-items: center; text-align: left; gap: 14px; padding: 14px 16px; }
	.bc-cause-card__logo { width: 72px; height: 72px; margin: 0; }
	.bc-cause-card__text { gap: 2px; }
	.bc-cause-card__initials { width: 64px; height: 64px; font-size: 1.4rem; box-shadow: inset 0 0 0 3px var(--bc-blue); }
	.bc-cause-card__name { font-size: 1.1rem; }
}

/* Sponsors wall (theme-rendered) */
.bc-sponsors { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.bc-sponsors + .bc-sponsors { margin-top: 16px; }
.bc-sponsors > li { width: 200px; height: 110px; }
.bc-sponsors--headline > li { width: 300px; height: 160px; }
.bc-sponsor { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 16px 20px; background: #fff; border: 1px solid var(--bc-line); border-radius: var(--bc-radius); box-shadow: var(--bc-shadow); text-decoration: none; overflow: hidden; transition: transform .18s, box-shadow .18s; }
a.bc-sponsor:hover { transform: translateY(-3px); box-shadow: var(--bc-shadow-lg); }
.bc-sponsor img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 0; }
.bc-sponsor__name { font: 800 1.05rem/1.2 var(--bc-serif); color: var(--bc-navy); text-align: center; }
.bc-sponsors--headline .bc-sponsor { border: 2px solid var(--bc-gold); }
@media (max-width: 560px) {
	.bc-sponsors { gap: 10px; }
	.bc-sponsors > li { width: calc(50% - 5px); height: 88px; }
	.bc-sponsors--headline > li { width: 100%; height: 130px; }
	.bc-sponsor { padding: 12px; }
}

/* Support band */
.bc-support { background: linear-gradient(135deg, var(--bc-red) 0%, #a81f25 100%); color: #fff; padding: clamp(44px, 6vw, 72px) 0; }
.bc-support__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.bc-support__inner--solo { grid-template-columns: 1fr; text-align: center; }
.bc-support__inner--solo .bc-support__main p { margin-inline: auto; }
.bc-support__title { font: 800 clamp(1.9rem, 3.8vw, 2.7rem)/1.1 var(--bc-serif); color: #fff; margin: 0 0 .35em; }
.bc-support__main p:not(.bc-eyebrow) { color: #ffe1e2; font-size: 1.08rem; max-width: 34em; margin: 0 0 22px; }
.bc-support__ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bc-support__ways a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; transition: background .15s; }
.bc-support__ways a:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.bc-support__ways strong { display: block; font-size: 1.05rem; }
.bc-support__ways a > span:nth-child(2) > span { font-size: .88rem; color: #ffd9db; }
.bc-support__ways a > span:nth-child(2) { flex: 1; }
.bc-support__icon { font-size: 1.7rem; }
.bc-support__go { font-weight: 800; }
@media (max-width: 820px) { .bc-support__inner { grid-template-columns: 1fr; } }

/* Raffle feature */
.bc-section--raffle { background: linear-gradient(135deg, var(--bc-navy) 0%, var(--bc-navy-2) 60%, #23305a 100%); color: #fff; }
.bc-raffle { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.bc-raffle + .bc-raffle { margin-top: 48px; }
.bc-raffle__media { border-radius: var(--bc-radius); overflow: hidden; background: rgba(255, 255, 255, .06); border: 3px solid var(--bc-gold); aspect-ratio: 16 / 10; display: grid; place-items: center; }
.bc-raffle__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-raffle__ticket { font-size: 6rem; }
.bc-raffle__title { font: 800 clamp(1.8rem, 3.6vw, 2.6rem)/1.1 var(--bc-serif); color: #fff; margin: 0 0 .4em; }
.bc-raffle__body p { color: #d5dcec; }
.bc-raffle__facts { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.bc-raffle__facts strong { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bc-gold); }
.bc-raffle .bc-link { color: #fff; }
.bc-meter { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .15); overflow: hidden; margin-bottom: 20px; max-width: 360px; }
.bc-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--bc-gold), var(--bc-yellow)); border-radius: inherit; }
@media (max-width: 760px) { .bc-raffle { grid-template-columns: 1fr; } }

/* Events */
.bc-event { display: flex; flex-direction: column; background: #fff; border-radius: var(--bc-radius); overflow: hidden; text-decoration: none; color: var(--bc-ink); box-shadow: var(--bc-shadow); transition: transform .18s, box-shadow .18s; }
.bc-event:hover { transform: translateY(-3px); box-shadow: var(--bc-shadow-lg); color: var(--bc-ink); }
.bc-event__media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--bc-blue), var(--bc-blue-deep)); }
.bc-event__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-event__date { position: absolute; left: 14px; top: 14px; display: flex; flex-direction: column; align-items: center; min-width: 56px; padding: 6px 8px; background: #fff; border-radius: 10px; box-shadow: 0 3px 0 var(--bc-gold); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bc-red); line-height: 1.1; }
.bc-event__date b { font: 800 1.6rem/1 var(--bc-serif); color: var(--bc-navy); letter-spacing: 0; }
.bc-event__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.bc-event__title { font: 800 1.25rem/1.25 var(--bc-serif); color: var(--bc-navy); }
.bc-event__meta { color: var(--bc-muted); font-size: .92rem; flex: 1; }

/* Gallery strip */
.bc-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bc-strip a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.bc-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bc-strip a:hover img { transform: scale(1.06); }
.bc-strip a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 640px) { .bc-strip { grid-template-columns: repeat(2, 1fr); } .bc-strip a:nth-child(n+6) { display: none; } }

/* News */
.bc-grid--posts.is-1 { grid-template-columns: 1fr; max-width: 980px; }
.bc-grid--posts.is-1 .bc-post__link { display: grid; grid-template-columns: 1.1fr 1fr; }
.bc-grid--posts.is-1 .bc-post__media { aspect-ratio: auto; min-height: 260px; }
.bc-grid--posts.is-1 .bc-post__body { justify-content: center; padding: 28px 32px; }
.bc-grid--posts.is-1 .bc-post__title { font-size: 1.7rem; }
.bc-grid--posts.is-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
@media (max-width: 700px) { .bc-grid--posts.is-1 .bc-post__link { grid-template-columns: 1fr; } .bc-grid--posts.is-1 .bc-post__media { min-height: 0; aspect-ratio: 16 / 10; } }
.bc-post__link { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--bc-radius); overflow: hidden; box-shadow: var(--bc-shadow); text-decoration: none; color: var(--bc-ink); transition: transform .18s, box-shadow .18s; }
.bc-post__link:hover { transform: translateY(-3px); box-shadow: var(--bc-shadow-lg); color: var(--bc-ink); }
.bc-post__media { aspect-ratio: 16 / 10; display: block; background: var(--bc-sky); }
.bc-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-post__placeholder { display: block; height: 100%; background: repeating-conic-gradient(from 0deg at 50% 120%, var(--bc-blue) 0deg 10deg, #1a74f0 10deg 20deg); }
.bc-post__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.bc-post__date { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-red); }
.bc-post__title { font: 800 1.3rem/1.25 var(--bc-serif); color: var(--bc-navy); }
.bc-post__excerpt { color: var(--bc-muted); font-size: .95rem; }
.bc-postnav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--bc-line); font-weight: 700; }
.bc-pagination { margin-top: 36px; }
.bc-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.bc-pagination .page-numbers { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--bc-line); text-decoration: none; font-weight: 700; }
.bc-pagination .current { background: var(--bc-blue); color: #fff; border-color: var(--bc-blue); }

/* Plugin output embedded in theme sections */
.bc-plugin-embed { font-family: var(--bc-sans); }
.bc-plugin-embed--onblue :where(.blc-cause-item) { background: #fff; border-radius: var(--bc-radius); padding: 16px; color: var(--bc-ink); }
.bc-plugin-embed--onblue :where(.blc-cause-name) { color: var(--bc-navy); }

/* Sign-up band */
.bc-signup { position: relative; overflow: hidden; background: var(--bc-red); color: #fff; padding: clamp(40px, 6vw, 64px) 0; isolation: isolate; }
.bc-signup::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background:
	radial-gradient(circle at 12px 12px, rgba(255, 255, 255, .22) 2.5px, transparent 3px) 0 0 / 34px 34px,
	radial-gradient(circle at 12px 12px, rgba(232, 160, 32, .45) 2.5px, transparent 3px) 17px 17px / 34px 34px;
	mask-image: linear-gradient(90deg, transparent 30%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.bc-signup__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.bc-signup__inner > div { max-width: 640px; }
.bc-signup__inner.has-form { display: grid; grid-template-columns: 1fr minmax(0, 520px); align-items: start; }
.bc-signup__ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; font-weight: 600; color: #fff; }
.bc-signup__form { background: #fff; color: var(--bc-ink); border-radius: var(--bc-radius); padding: clamp(18px, 3vw, 28px); box-shadow: 0 10px 0 var(--bc-gold), var(--bc-shadow-lg); }
.bc-signup__form :where(label) { font-weight: 600; }
.bc-signup__form :where(input[type=text], input[type=email], input[type=tel]) { width: 100%; font: inherit; padding: .6em .75em; border: 1.5px solid #c9d0dc; border-radius: var(--bc-radius-sm); }
.bc-signup__form :where(.bcn-signup-consent, .bcn-signup-note, .bcn-volunteer) { font-size: .88rem; color: var(--bc-muted); }
.bc-signup__form :where(.bcn-btn-submit) { min-height: 48px; padding: .7em 1.6em; border: 0; border-radius: 999px; background: var(--bc-red); color: #fff; font: 700 1.05rem/1 var(--bc-sans); cursor: pointer; }
.bc-signup__form :where(.bcn-btn-submit:hover) { background: #a81f25; }
@media (max-width: 900px) { .bc-signup__inner.has-form { grid-template-columns: 1fr; } }
.bc-signup__title { font: 800 clamp(1.7rem, 3.4vw, 2.4rem)/1.1 var(--bc-serif); color: #fff; margin: 0 0 .3em; }
.bc-signup__intro p:not(.bc-eyebrow) { margin: 0; color: #ffe3e4; font-size: 1.08rem; }
.bc-signup__form { color: var(--bc-ink); }
/* Volunteer question + teams — styled by the theme too, so it looks right even
   if the Comms stylesheet is delayed or stripped by a cache/optimiser. */
.bc-signup__form .bcn-volunteer { margin: 20px 0 16px; padding: 14px 16px; border: 1px solid #dbe5f7; border-left: 4px solid var(--bc-gold); border-radius: 8px; background: #f7faff; font-size: .95rem; color: var(--bc-ink); }
.bc-signup__form .bcn-volunteer-q { margin: 0 0 10px; font-weight: 700; line-height: 1.35; color: var(--bc-ink); }
.bc-signup__form .bcn-volunteer-choices { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.bc-signup__form .bcn-volunteer-choice,
.bc-signup__form .bcn-volunteer-group { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; line-height: 1.4; }
.bc-signup__form .bcn-volunteer-choice { display: inline-flex; font-weight: 600; }
.bc-signup__form .bcn-volunteer-group { font-weight: 400; min-height: 32px; }
.bc-signup__form .bcn-volunteer-groups { margin-top: 14px; padding-top: 12px; border-top: 1px solid #dbe5f7; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 14px; }
.bc-signup__form .bcn-volunteer-groups[hidden], .bc-signup__form .bcn-volunteer-groups[style*="none"] { display: none; }
.bc-signup__form .bcn-volunteer-hint, .bc-signup__form .bcn-volunteer-groups .bcn-signup-note { grid-column: 1 / -1; margin: 0 0 4px; }
.bc-signup__form .bcn-volunteer-hint { font-weight: 600; }
.bc-signup__form .bcn-volunteer-groups .bcn-signup-note { margin-top: 6px; font-size: .85rem; color: var(--bc-muted); }
.bc-signup__form .bcn-volunteer input { margin: 0; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--bc-blue); }
/* Keep the band's red button even when the Comms stylesheet loads. */
.bc-signup__form .bcn-btn-submit { min-height: 48px; padding: .7em 1.8em; border: 0; border-radius: 999px; background: var(--bc-red); color: #fff; font: 700 1.05rem/1 var(--bc-sans); cursor: pointer; }
.bc-signup__form .bcn-btn-submit:hover { background: #a81f25; }
.bc-signup__form :where(p, label, h3) { color: var(--bc-ink); }

/* Single cause */
.bc-cause { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
.bc-cause__logo { background: #fff; border: 1px solid var(--bc-line); border-radius: var(--bc-radius); padding: 18px; box-shadow: var(--bc-shadow); }
.bc-cause__logo img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) { .bc-cause { grid-template-columns: 1fr; } .bc-cause__logo { max-width: 180px; } }

/* Search & empty */
.bc-search { display: flex; gap: 8px; max-width: 520px; }
.bc-search input { flex: 1; font: inherit; padding: .65em 1em; border: 2px solid var(--bc-line); border-radius: 999px; }
.bc-searchbar { margin: 0 0 28px; }
.bc-empty { padding: 40px; text-align: center; background: var(--bc-sky); border-radius: var(--bc-radius); }
.bc-comments { margin-top: 48px; }

/* ── Follow band (every page) ── */
.bc-follow { background: var(--bc-cream); border-top: 1px solid #f0e2c4; }
.bc-follow__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; padding-block: clamp(28px, 4vw, 40px); }
.bc-follow__title { font: 800 clamp(1.4rem, 2.6vw, 1.8rem)/1.15 var(--bc-serif); margin: 0 0 4px; }
.bc-follow__text { flex: 1 1 360px; }
.bc-follow__text p { margin: 0; color: var(--bc-muted); max-width: 34em; }
.bc-follow__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.bc-follow__btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 22px 10px 16px; border-radius: 14px; color: #fff; text-decoration: none; box-shadow: var(--bc-shadow); transition: transform .15s, box-shadow .15s; }
.bc-follow__btn:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--bc-shadow-lg); }
.bc-follow__btn span { display: flex; flex-direction: column; line-height: 1.2; }
.bc-follow__btn strong { font-size: 1.02rem; }
.bc-follow__btn small { font-size: .82rem; opacity: .95; }
.bc-follow__btn--fb { background: #1565d8; }
.bc-follow__btn--ig { background: linear-gradient(135deg, #b02a73 0%, #c13584 45%, #8a3ab9 100%); }
@media (max-width: 600px) { .bc-follow__btns { width: 100%; } .bc-follow__btn { flex: 1 1 100%; } }

/* Social icons in the mobile menu drawer */
.bc-nav__social { display: none; }
@media (max-width: 1080px) {
	.bc-nav__social { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; font-weight: 700; color: var(--bc-navy); }
	.bc-social--nav { margin: 0; }
	.bc-nav .bc-social--nav a { background: var(--bc-sky); color: var(--bc-blue); width: 44px; height: 44px; }
	.bc-nav .bc-social--nav a:hover { background: var(--bc-blue); color: #fff; }
}

/* ── Footer ── */
.bc-footer { position: relative; background: var(--bc-navy); color: #b9c3d6; border-top: 6px solid var(--bc-gold); font-size: .96rem; }
.bc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding-block: clamp(44px, 6vw, 64px); }
.bc-footer__logo { width: 84px; height: auto; }
.bc-footer__name { font: 800 1.5rem/1.1 var(--bc-serif); color: var(--bc-gold); letter-spacing: .04em; text-transform: uppercase; margin: 12px 0 10px; }
.bc-footer__h { font: 800 .8rem/1.3 var(--bc-sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 6px 0 14px; }
.bc-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bc-footer a { color: #e6ecf7; text-decoration: none; }
.bc-footer a:hover { color: var(--bc-gold); text-decoration: underline; }
.bc-footer a.bc-btn, .bc-footer a.bc-btn:hover { color: var(--btn-fg); text-decoration: none; } /* buttons keep their own colours in the footer */
.bc-footer__signup p { margin-top: 0; }
.bc-social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 8px; }
.bc-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.bc-social a:hover { background: var(--bc-gold); color: var(--bc-navy); }
.bc-social--top { margin: 0; gap: 4px; }
.bc-social--top a { width: 28px; height: 28px; background: transparent; }
.bc-social--top svg { width: 16px; height: 16px; }
.bc-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.bc-footer__bar-inner { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; padding-block: 22px; }
.bc-footer__bar p { margin: 0; }
.bc-footer__credit { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bc-footer__bar .bc-legal { justify-content: center; }
.bc-legal__btn { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: inherit; }
.bc-footer .bc-legal__btn { color: #e6ecf7; }
.bc-footer .bc-legal__btn:hover { color: var(--bc-gold); text-decoration: underline; }
/* ChrisXCreative credit: brand gradient on the name (light tints so it reads on navy). */
.bc-footer .bc-credit__link {
	font-weight: 800; color: #ff9a5c; text-decoration: underline; text-decoration-color: #7cb6ff; text-underline-offset: .2em; text-decoration-thickness: 2px;
	background: linear-gradient(90deg, #ff9a5c, #ff6fb1 40%, #c18cff 70%, #7cb6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.bc-footer .bc-credit__link:hover { text-decoration-color: #ff9a5c; }
.bc-footer__credit a { color: var(--bc-gold); }
.bc-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (max-width: 960px) { .bc-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bc-footer__grid { grid-template-columns: 1fr; } }

/* ── Motion & print ── */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.bc-header, .bc-footer, .bc-notice, .bc-moreways, .bc-signup, .bc-hero__balloons, .bc-hero__rays { display: none !important; }
	.bc-pagehead { background: none !important; color: #000; padding: 0 0 12px; }
	.bc-pagehead__title { color: #000; }
	.bc-scallop { display: none; }
	body { font-size: 11pt; }
}

/* Homepage: no events yet */
.bc-section.bc-section--compact { padding: 40px 0; }
.bc-empty--events { background: #fff; padding: 24px; margin: 0; }
.bc-empty--events a { color: var(--bc-blue-deep); font-weight: 600; }

/* Decorative <i> elements: keep upright so no italic font file is fetched for them */
.bc-hero__balloons i, .bc-navtoggle__bars i { font-style: normal; }

/* Contact page: form + "other ways to reach us" */
.bc-contact { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.bc-contact > .entry-content { min-width: 0; }
.bc-contact #bcc-contact-wrap { margin: 0; max-width: 680px; }
/* Same as the Contact plugin's own layout, so the Email/Phone row doesn't jump when its stylesheet arrives. */
.bc-contact .bcc-row { display: flex; gap: 14px; flex-wrap: wrap; }
.bc-contact .bcc-row .bcc-field { flex: 1; min-width: 200px; }
.bc-contact__aside { display: grid; gap: 18px; position: sticky; top: 140px; }
.bc-contact__card { background: var(--bc-sky); border-radius: var(--bc-radius); padding: 24px; }
.bc-contact__h { font: 800 1.25rem/1.2 var(--bc-serif); color: var(--bc-navy); margin: 0 0 14px; }
.bc-contact__list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.bc-contact__list li { display: grid; gap: 2px; }
.bc-contact__k { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-gold-ink); }
.bc-contact__list a { font-weight: 700; color: var(--bc-blue-deep); word-break: break-word; }
.bc-contact__note { font-size: .92rem; color: #4a5568; margin: 0; }
.bc-contact__routes { list-style: none; margin: 0; padding: 0; }
.bc-contact__routes li + li { border-top: 1px solid rgba(10, 22, 40, .1); }
.bc-contact__routes a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; font-weight: 700; color: var(--bc-navy); text-decoration: none; }
.bc-contact__routes a:hover { color: var(--bc-blue); }
.bc-contact__card--routes { background: #fff; border: 1px solid var(--bc-line); }
@media (max-width: 900px) {
	.bc-contact { grid-template-columns: 1fr; }
	.bc-contact__aside { position: static; }
}

/* Comment form: fields never wider than the column (WordPress gives the textarea cols="45"). */
.comment-form :where(textarea, input[type=text], input[type=email], input[type=url]) { width: 100%; max-width: 100%; box-sizing: border-box; font: inherit; padding: .6em .75em; border: 1.5px solid #c9d0dc; border-radius: var(--bc-radius-sm); }
.comment-form :where(label) { display: block; font-weight: 600; margin-bottom: 4px; }


/* ── Hero: logo, then cartoon Bewdley Bridge, then the title — one centred column ── */
.bc-hero:not(.has-image) { background: linear-gradient(180deg, #0a58d6 0%, #1f74ee 60%, #3d8af2 100%); }
.bc-hero:not(.has-image) .bc-hero__rays { opacity: .08; }
.bc-hero .bc-hero__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; }
.bc-hero .bc-hero__badge { width: clamp(140px, 17vw, 220px); margin: 0 auto -4px; position: relative; z-index: 1; }
.bc-hero__badge::before { inset: 10% 6% 4%; }
.bc-hero__bridge { display: block; width: min(760px, 100%); height: auto; margin: 0 auto 6px; pointer-events: none; user-select: none; }
.bc-hero .bc-hero__ctas { justify-content: center; }
.bc-hero .bc-hero__lede { margin-inline: auto; }
@media (max-width: 860px) {
	.bc-hero .bc-hero__badge { width: min(150px, 40vw); }
	.bc-hero__bridge { width: 100%; }
}
