/*
 * Bookwallah — front end + editor canvas.
 *
 * Only what theme.json and the JSON style variations can't express. Everything uses
 * theme.json variables, so palette/type changes there flow through. See STYLE-GUIDE.md.
 */

/* Hero Fade gradient (Cover overlay, theme.json): fades from the right on wide screens. On
 * phones, where the text sits above the photo, it fades from the top instead. Doubled :root so this
 * wins over WordPress's own preset definition. */
@media (max-width: 781px) {
	:root:root {
		--wp--preset--gradient--hero-fade: linear-gradient(to bottom, rgba(12, 28, 40, 0.82) 0%, rgba(12, 28, 40, 0.55) 40%, rgba(12, 28, 40, 0.15) 70%);
	}
}

/* -------------------------------------------------------------- Sections */

/* Full-width sections sit flush against each other (no block gap between them). */
.wp-block-post-content > .alignfull,
.wp-block-post-content > .wp-block-template-part,
.is-root-container > .alignfull,
.is-root-container > .wp-block-template-part,
.wp-block-template-part > .alignfull {
	margin-block: 0;
}
:where(.wp-site-blocks) > footer {
	margin-block-start: 0;
}

/* ---------------------------------------------------------------- Header */

/* The full menu needs ~820px (logo + 3 items + Donate). Below 840px, show the menu
 * button instead (core's default switch is 600px, too late for this header).
 * Order on small screens: logo, Donate, menu button. */
@media (max-width: 839px) {
	.st-site-header .wp-block-navigation {
		order: 3;
	}
	.st-site-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
	.st-site-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
	.st-site-header .wp-block-buttons {
		margin-left: auto;
	}
}

.st-site-header {
	border-bottom: 2px solid var(--wp--preset--color--line);
}
.st-site-header .wp-block-site-logo img,
.wp-block-site-logo img {
	border-radius: 0;
}
/* ----------------------------------------------- Desktop dropdowns (840px+)
 * From the navigation board in the desktop mockup: a 720px panel hanging from the bottom of the
 * header, red top edge, rounded bottom corners; links with a bold title and a one-line description
 * (from the Main menu) on the left, and the navy "spotlight" card on the right (template part
 * "Menu spotlight: <label>", added by inc/menu-spotlight.php). The open item is bold with a red
 * underline. --bw-drop-offset is the space between the menu item and the bottom of the header.
 */
.st-site-header .wp-block-navigation__submenu-icon svg {
	stroke-width: 2.6;
	transition: transform 0.2s ease;
}
@media (min-width: 840px) {
	.st-site-header .wp-block-navigation {
		--bw-drop-offset: 37px;
	}
	.st-site-header .wp-block-navigation .wp-block-navigation-item__content:hover {
		color: var(--wp--preset--color--secondary);
	}
	/* Open item: bold, red underline, chevron up. */
	.st-site-header .wp-block-navigation__container > .has-child:is(:hover, :focus-within) > .wp-block-navigation-item__content,
	.st-site-header .wp-block-navigation__container > .has-child:has(> [aria-expanded="true"]) > .wp-block-navigation-item__content,
	.st-site-header .wp-block-navigation__container > .current-menu-ancestor > .wp-block-navigation-item__content {
		font-weight: 800;
		color: var(--wp--preset--color--primary);
		text-decoration: underline;
		text-decoration-color: var(--wp--preset--color--secondary);
		text-decoration-thickness: 3px;
		text-underline-offset: 8px;
	}
	.st-site-header .wp-block-navigation__container > .has-child:is(:hover, :focus-within) > .wp-block-navigation__submenu-icon svg,
	.st-site-header .wp-block-navigation__container > .has-child > [aria-expanded="true"] svg {
		transform: rotate(180deg);
	}
	/* The panel */
	.st-site-header .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container {
		top: calc(100% + var(--bw-drop-offset));
		left: -40px;
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		align-content: start;
		column-gap: 16px;
		min-width: 440px;
		padding: 16px;
		border: 0;
		border-top: 4px solid var(--wp--preset--color--secondary);
		border-radius: 0 0 20px 20px;
		background: var(--wp--preset--color--base);
		box-shadow: 0 16px 32px -12px #5a5959;
		z-index: 9;
	}
	.st-site-header .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container:has(> .bw-spotlight) {
		grid-template-columns: minmax(0, 1fr) 300px;
		min-width: 720px;
	}
	/* Touch screens (iPad in landscape): a bigger tap area around each chevron, and no panel
	 * opened just by a lingering "hover" from an earlier tap (main.js opens panels on tap). */
	@media (hover: none), (pointer: coarse) {
		.st-site-header .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-icon {
			position: relative;
		}
		.st-site-header .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-icon::before {
			content: "";
			position: absolute;
			inset: -14px -12px;
		}
		.st-site-header .wp-block-navigation__container > .has-child > .wp-block-navigation-item__content {
			padding-block: 12px;
			margin-block: -12px;
		}
		.st-site-header .wp-block-navigation .wp-block-navigation__container > .has-child:not(:has(> [aria-expanded="true"])) > .wp-block-navigation__submenu-container {
			visibility: hidden;
			opacity: 0;
		}
		.st-site-header .wp-block-navigation__container > .has-child:not(:has(> [aria-expanded="true"])):not(.current-menu-ancestor) > .wp-block-navigation-item__content {
			font-weight: inherit;
			text-decoration: none;
		}
		.st-site-header .wp-block-navigation__container > .has-child:not(:has(> [aria-expanded="true"])) > .wp-block-navigation__submenu-icon svg {
			transform: none;
		}
	}
	/* Keep the panel open while the pointer crosses the gap below the menu item. */
	.st-site-header .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		height: calc(var(--bw-drop-offset) + 4px);
	}
	/* The last item's panel starts further left so it stays on screen (as in the mockup). */
	.st-site-header .wp-block-navigation__container > .has-child:last-child > .wp-block-navigation__submenu-container {
		left: -110px;
	}
	.st-site-header .wp-block-navigation__submenu-container > .wp-block-navigation-item {
		grid-column: 1;
	}
	.st-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: flex;
		flex-direction: column;
		gap: 2px;
		padding: 12px 14px;
		border-radius: 12px;
	}
	.st-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.st-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
		background: var(--wp--preset--color--surface);
	}
	.st-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
		font-family: var(--wp--preset--font-family--nunito);
		font-size: 1.0625rem;
		font-weight: 800;
		color: var(--wp--preset--color--primary);
	}
	.st-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover .wp-block-navigation-item__label {
		color: var(--wp--preset--color--secondary);
	}
	.st-site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__description {
		display: block;
		font-size: 0.8125rem;
		font-weight: 400;
		line-height: 1.4;
		color: var(--wp--preset--color--contrast);
	}
	/* 1280–1439px: the last panel lines up with the right edge of its menu item and opens to the
	 * left, so it can't run past the screen edge (which caused sideways scrolling below ~1410px,
	 * even while the panel was hidden). From 1440px it sits as in the mockup. */
	@media (min-width: 1280px) and (max-width: 1439px) {
		.st-site-header .wp-block-navigation__container > .has-child:last-child > .wp-block-navigation__submenu-container {
			left: auto;
			right: -40px;
		}
	}
	/* Narrower screens: center every panel under the menu so a 720px panel never runs off-screen. */
	@media (max-width: 1279px) {
		.st-site-header .wp-block-navigation__container {
			position: relative;
		}
		.st-site-header .wp-block-navigation__container > .has-child {
			position: static;
		}
		.st-site-header .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container,
		.st-site-header .wp-block-navigation__container > .has-child:last-child > .wp-block-navigation__submenu-container {
			left: 50%;
			right: auto;
			transform: translateX(-50%);
		}
	}
	/* Spotlight card */
	.st-site-header .bw-spotlight {
		grid-column: 2;
		grid-row: 1 / span 20;
		list-style: none;
	}
}
.st-site-header .bw-spotlight > .wp-block-group {
	height: 100%;
}
.st-site-header .bw-spotlight .wp-block-group.is-layout-flex > p.is-style-eyebrow {
	margin: 0;
	padding: 5px 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 0.75rem;
	letter-spacing: 1px;
	color: var(--wp--preset--color--base);
}
.st-site-header .bw-spotlight .wp-block-buttons .wp-block-button__link {
	font-size: 1rem;
	padding: 0.6em 0.8em;
}
.st-site-header .bw-spotlight .wp-block-buttons.is-nowrap .wp-block-button {
	flex: 1;
}
.st-site-header .bw-spotlight .wp-block-buttons.is-nowrap .wp-block-button__link {
	width: 100%;
}
/* Not in the phone menu. */
.st-site-header .is-menu-open .bw-spotlight {
	display: none;
}

/* ------------------------------------------------ Phone menu (overlay)
 * Matches the mobile mockup: a top bar with the logo and a round close button, sections with
 * dividers that expand with a chevron, items with a blush rule and a one-line description,
 * and Donate pinned to the bottom. main.js copies the logo and Donate button in, and closes
 * the menu when Donate is tapped. Edit items and descriptions in the Main menu.
 */
.st-site-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 50%;
	color: var(--wp--preset--color--primary);
}
.st-site-header .wp-block-navigation__responsive-container.is-menu-open {
	padding: 0 !important;
}
.st-site-header .is-menu-open .wp-block-navigation__responsive-dialog {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 100%;
}
.st-site-header .is-menu-open .bw-menu-bar {
	display: flex;
	align-items: center;
	height: 72px;
	padding: 0 var(--wp--style--root--padding-right, 1.25rem) 0 var(--wp--style--root--padding-left, 1.25rem);
	border-bottom: 2px solid var(--wp--preset--color--line);
}
.st-site-header .is-menu-open .bw-menu-bar .wp-block-site-logo img {
	width: auto !important;
	height: 44px;
}
.st-site-header .is-menu-open .wp-block-navigation__responsive-container-close {
	position: absolute;
	z-index: 3;
	top: 14px;
	right: var(--wp--style--root--padding-right, 1.25rem);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}
.st-site-header .is-menu-open .wp-block-navigation__responsive-container-close svg {
	fill: currentColor;
	width: 22px;
	height: 22px;
}
.st-site-header .is-menu-open .wp-block-navigation__responsive-container-content {
	flex-grow: 1;
	align-items: stretch !important;
	padding: 0.5rem var(--wp--style--root--padding-right, 1.25rem) 1.5rem var(--wp--style--root--padding-left, 1.25rem) !important;
}
.st-site-header .is-menu-open .wp-block-navigation__container {
	align-items: stretch !important;
	gap: 0 !important;
	width: 100%;
}
/* Sections: a wrapping flex row (title + chevron, then the section list on its own line).
 * Flex rather than grid: iPad Safari misplaced the titles of grid rows in the overlay. */
.st-site-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center !important;
	justify-content: space-between !important;
	position: relative;
	width: 100%;
	height: auto !important;
	padding: 0.5rem 0;
	border-bottom: 2px solid var(--wp--preset--color--line);
	text-align: left;
}
.st-site-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	position: static !important;
	flex: 1 1 0%;
	min-width: 0;
	margin: 0 !important;
	transform: none !important;
	min-height: 56px;
	display: flex;
	align-items: center;
	font-family: var(--wp--preset--font-family--nunito);
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--wp--preset--color--primary);
}
.st-site-header .is-menu-open .wp-block-navigation__submenu-icon {
	display: flex !important; /* core hides the chevron in the overlay; it's the section toggle here */
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	position: static !important;
	margin: 0;
	padding: 0;
}
.st-site-header .is-menu-open .wp-block-navigation__submenu-icon svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	stroke-width: 2.4;
	transition: transform 0.2s ease;
}
.st-site-header .is-menu-open .wp-block-navigation-item:not(.bw-closed) > .wp-block-navigation__submenu-icon svg {
	transform: rotate(180deg);
}
/* Section lists: collapsed each time the menu opens; the chevron opens and closes each one
 * (main.js toggles .bw-closed on the section). */
.st-site-header .is-menu-open .wp-block-navigation__submenu-container {
	flex: 0 0 100%;
	width: 100% !important;
	position: static !important;
	transform: none !important;
	display: none !important;
	gap: 0 !important;
	padding: 0 0 0.5rem !important;
	border: 0 !important;
	box-shadow: none !important;
}
.st-site-header .is-menu-open .wp-block-navigation-item:not(.bw-closed) > .wp-block-navigation__submenu-container {
	display: flex !important;
	flex-direction: column;
}
.st-site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 0 10px 14px !important;
	border-left: 3px solid var(--wp--preset--color--accent-soft);
	border-radius: 0 !important;
	text-align: left;
}
.st-site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
	font-size: 1rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
}
.st-site-header .is-menu-open .wp-block-navigation-item__description {
	display: block;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--wp--preset--color--contrast-2);
}
/* Items fill the row (core shrinks and centers them in the overlay). */
.st-site-header .is-menu-open .wp-block-navigation__submenu-container > .wp-block-navigation-item {
	align-items: stretch !important;
	width: 100%;
}
.st-site-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	width: 100%;
	align-items: flex-start;
}
/* Donate, pinned to the bottom: the menu panel fills the screen and the Donate bar sits at its
 * foot (margin-top: auto); when the open sections make the menu taller than the screen, the bar
 * stays stuck to the bottom while the menu scrolls. */
.st-site-header .is-menu-open .wp-block-navigation__responsive-close {
	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
}
.st-site-header .is-menu-open .wp-block-navigation__responsive-dialog {
	flex: 1 0 auto;
	min-height: 0; /* core's 100% plus the admin-bar offset overflowed the screen when logged in */
}
.st-site-header .is-menu-open .bw-menu-donate {
	margin-top: auto;
	position: sticky;
	bottom: 0;
	z-index: 2;
	padding: 1rem var(--wp--style--root--padding-right, 1.25rem) 1.5rem var(--wp--style--root--padding-left, 1.25rem);
	background: var(--wp--preset--color--base);
	border-top: 2px solid var(--wp--preset--color--line);
	box-shadow: 0 -6px 16px rgba(22, 56, 102, 0.08);
}
.st-site-header .is-menu-open .bw-menu-donate .wp-block-buttons,
.st-site-header .is-menu-open .bw-menu-donate .wp-block-button,
.st-site-header .is-menu-open .bw-menu-donate .wp-block-button__link {
	display: flex;
	width: 100%;
	margin: 0;
}
.st-site-header .is-menu-open .bw-menu-donate .wp-block-button__link {
	justify-content: center;
	font-size: 1.1875rem;
	padding: 0.85em 1em;
}
.st-site-header .bw-menu-bar,
.st-site-header .bw-menu-donate {
	display: none;
}
.st-site-header .is-menu-open .bw-menu-bar {
	display: flex;
}
.st-site-header .is-menu-open .bw-menu-donate {
	display: block;
}
@media (max-width: 599px) {
	.st-site-header .wp-block-button__link {
		font-size: 1rem;
		padding: 0.6em 1.1em;
	}
	.st-site-header .wp-block-site-logo img {
		width: 120px !important; /* core sets the width inline; phones need a smaller logo */
	}
}

/* --------------------------------------------------------------- Buttons */

/* Outline: 2px navy border, fills navy on hover (parent supplies the base). */
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	background: transparent;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}
.wp-block-button__link {
	white-space: nowrap;
}
@media (max-width: 480px) {
	.wp-block-button__link {
		white-space: normal;
	}
}

/* A little space below a row of buttons when more content follows (flow/constrained layouts
 * only, so header and other flex rows are untouched). */
:where(.is-layout-flow, .is-layout-constrained) > .wp-block-buttons:not(:last-child) {
	margin-block-end: var(--wp--preset--spacing--30);
}

/* ------------------------------------------------------------------ Links */

/* Underlines sit a little below the text, never against it. */
:where(.wp-site-blocks, .editor-styles-wrapper) a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}
/* Link-style CTAs (an Eyebrow paragraph that is a link, e.g. carousel cards): no underline,
 * color change on hover. */
.is-style-eyebrow a {
	text-decoration: none;
}
.is-style-eyebrow a:hover,
.is-style-eyebrow a:focus-visible {
	color: var(--wp--preset--color--primary) !important; /* beats the per-block link color */
}

/* On Navy: outline buttons and Eyebrow links in white. */
.is-style-section-navy .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--base);
}
.is-style-section-navy .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.is-style-section-navy .wp-block-button.is-style-outline > .wp-block-button__link:focus {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary);
}
.is-style-section-navy .is-style-eyebrow a:hover,
.is-style-section-navy .is-style-eyebrow a:focus-visible {
	color: var(--wp--preset--color--accent-soft) !important;
	text-decoration: underline;
}

/* ----------------------------------------------------------------- Cover */

/* Text shadow only over a photo (not on Covers used as a colored band). */
.wp-block-cover:has(> .wp-block-cover__image-background, > picture) h1,
.wp-block-cover:has(> .wp-block-cover__image-background, > picture) h1 + p {
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.wp-block-cover h1 strong {
	font-weight: 700;
}

/* Hero on phones (the Cover that holds the #donate form), as in the mobile mockup: the photo
 * fills the top 700px with the heading 32px from the top; below it the band turns Navy and the
 * form card overlaps the photo by 40px. Same photo, only spacing changes. */
@media (max-width: 781px) {
	.wp-block-cover:has(#donate) {
		/* Homepage hero on phones: photo area, then a Navy band behind the donate card. The dark
		 * fade at the top sits only behind the heading (it ends ~183px down), so the child in the
		 * photo below stays bright. */
		--wp--preset--gradient--hero-fade: linear-gradient(to bottom, rgba(12, 28, 40, 0.75) 0, rgba(12, 28, 40, 0.45) 150px, rgba(12, 28, 40, 0) 235px, rgba(12, 28, 40, 0) 699px, var(--wp--preset--color--primary) 700px);
		align-items: flex-start;
		min-height: 0 !important; /* desktop height is set on the block */
		padding-top: 32px !important;
		padding-bottom: 48px !important;
		padding-left: var(--wp--style--root--padding-left, 1.25rem);
		padding-right: var(--wp--style--root--padding-right, 1.25rem);
	}
	.wp-block-cover:has(#donate) .wp-block-cover__image-background {
		bottom: auto;
		height: 700px;
	}
	.wp-block-cover:has(#donate) .wp-block-column:has(> #donate) {
		gap: 0;
	}
	.wp-block-cover:has(#donate) h1 + p {
		margin-top: 12px;
	}
	/* Card top sits 40px above the end of the photo (700 − 40 = 660px from the top). The
	 * heading and intro take up the space above it, so the gap is the rest. */
	.wp-block-cover:has(#donate) #donate {
		margin-top: max(1.5rem, calc(660px - 32px - var(--bw-hero-text, 236px)));
	}
	.wp-block-cover:has(#donate) #donate.is-style-panel {
		padding: 24px;
		gap: 20px;
	}
}
/* Cover "Mobile image" (inc/cover-mobile.php): the <picture> wrapper mustn't affect layout, and
 * the mobile focal point applies only while the mobile image is showing. */
.bw-cover-picture {
	display: contents;
}
@media (max-width: 781px) {
	.wp-block-cover__image-background[data-bw-mobile] {
		object-position: var(--bw-mobile-pos, 50% 50%) !important; /* the desktop focal point is inline */
	}
}
/* An empty column (used as a spacer on desktop) takes no room once columns stack. */
@media (max-width: 781px) {
	.wp-block-columns > .wp-block-column:empty {
		display: none;
	}
}

/* ------------------------------------------------- Heading: lines either side */

.wp-block-heading.is-style-lined {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--50);
	text-align: center;
}
.wp-block-heading.is-style-lined::before,
.wp-block-heading.is-style-lined::after {
	content: "";
	flex: 1 1 0;
	height: 2px;
	background: var(--wp--preset--color--line);
}
@media (max-width: 600px) {
	.wp-block-heading.is-style-lined {
		gap: var(--wp--preset--spacing--30);
	}
	.wp-block-heading.is-style-lined::before,
	.wp-block-heading.is-style-lined::after {
		min-width: 1.5rem;
	}
}

/* ---------------------------------------------- Paragraph: number badge (1, 2, 3) */

p.is-style-badge,
p.is-style-badge.has-background {
	padding: 0; /* core pads paragraphs that have a background color */
	display: flex;
	align-items: center;
	justify-content: center;
	/* The circle scales with the number: 56px at the default size; pick a smaller Font size on
	 * the block for a smaller badge (Statement gives 47px, as in Week After Week). */
	width: 2.15em;
	height: 2.15em;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--nunito);
	font-size: 1.625rem;
	font-weight: 900;
	line-height: 1;
	margin: 0;
}

/* ------------------------------------------------------ Quote: testimonial */

.wp-block-quote.is-style-testimonial {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 100%;
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 400;
	line-height: 1.65;
	color: var(--wp--preset--color--contrast);
}
.wp-block-quote.is-style-testimonial::before {
	content: "\201C";
	display: block;
	height: 1.75rem;
	font-family: var(--wp--preset--font-family--nunito);
	font-size: 3.5rem;
	font-weight: 900;
	line-height: 1;
	color: var(--wp--preset--color--secondary);
}
.wp-block-quote.is-style-testimonial p {
	flex-grow: 1;
	margin: 0;
}
.wp-block-quote.is-style-testimonial cite {
	display: block;
	font-style: normal;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
	line-height: 1.5;
}
.wp-block-quote.is-style-testimonial cite strong {
	display: block;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--primary);
}

/* Default (large) quote: no quote-mark decoration, no border. */
.wp-block-quote:not(.is-style-testimonial) {
	margin: 0;
}
.wp-block-quote:not(.is-style-testimonial) p {
	margin: 0;
}
.wp-block-quote:not(.is-style-testimonial) p + p {
	margin-top: 0.5em;
}

/* --------------------------------------------------------- Image: icon in circle */

.wp-block-image.is-style-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-soft);
	margin: 0;
}
.wp-block-image.is-style-icon img {
	width: 24px !important; /* core writes the uploaded width inline */
	height: 24px !important;
	border-radius: 0;
}

/* ------------------------------------------------------------- Cards in columns */

/* Cards in a row are equal height: columns stretch by default (no height rule needed). */
/* A link-style CTA at the bottom of a card. */
.is-style-card > :last-child.wp-block-buttons,
.wp-block-cb-slide-v2 .is-style-card > .wp-block-buttons:last-child {
	margin-top: auto;
}

/* ------------------------------------------------------------ Logo grid
 * Group style "Logo grid" (use with the Grid layout): every logo is centered, both ways, in an
 * 80px-tall cell, whatever its shape. Set each logo's height on the image to balance them
 * visually. On phones the grid drops to two across and an odd last logo centers on its own row.
 */
.wp-block-group.is-style-logos > * {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80px;
	margin: 0;
	padding: 0 8px;
}
.wp-block-group.is-style-logos > .wp-block-image img {
	width: auto;
	max-width: 100%;
	border-radius: 0;
}
@media (max-width: 781px) {
	.wp-block-group.is-style-logos > :last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

/* --------------------------------------------------------------- Carousel (Ready to take action) */

.wp-block-cb-carousel-v2 .cb-slide {
	height: auto;
	display: flex;
}
.wp-block-cb-carousel-v2 .cb-slide > .wp-block-group {
	width: 100%;
	display: flex;
	flex-direction: column;
}
.wp-block-cb-carousel-v2 .cb-slide > .wp-block-group > .wp-block-buttons:last-child,
.wp-block-cb-carousel-v2 .cb-slide > .wp-block-group > p:last-child {
	margin-top: auto;
	padding-top: 0.5rem;
}
.wp-block-cb-carousel-v2 {
	--swiper-navigation-color: var(--wp--preset--color--primary);
	--swiper-pagination-color: var(--wp--preset--color--primary);
	--swiper-pagination-bullet-inactive-color: #b3aa94;
	--swiper-pagination-bullet-inactive-opacity: 1;
	--swiper-pagination-bullet-size: 10px;
	padding-bottom: 2.5rem;
}
.wp-block-cb-carousel-v2 .cb-pagination.swiper-pagination {
	bottom: 0;
}
/* Arrows: navy circles sitting above the cards, right-aligned with the content edge. */
.wp-block-cb-carousel-v2 {
	--bw-edge: 0px;
}
.wp-block-cb-carousel-v2 .swiper-button-prev.cb-button-prev,
.wp-block-cb-carousel-v2 .swiper-button-next.cb-button-next {
	top: -4.25rem;
	bottom: auto;
	left: auto;
	width: 52px;
	height: 52px;
	margin: 0;
	border-radius: 50%;
	border: 2px solid var(--wp--preset--color--primary);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary);
}
.wp-block-cb-carousel-v2 .swiper-button-prev.cb-button-prev {
	right: calc(var(--bw-edge) + 64px);
}
.wp-block-cb-carousel-v2 .swiper-button-next.cb-button-next {
	right: var(--bw-edge);
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}
.wp-block-cb-carousel-v2 .cb-button-prev::after,
.wp-block-cb-carousel-v2 .cb-button-next::after {
	font-size: 18px;
	font-weight: 800;
}
.wp-block-cb-carousel-v2 .swiper-button-disabled {
	opacity: 0.35;
}
/* Room for the arrows above the slides. */
.wp-block-cb-carousel-v2[data-cb-navigation="true"] {
	margin-top: 4.25rem !important;
}
@media (max-width: 781px) {
	.wp-block-cb-carousel-v2[data-cb-navigation="true"] {
		margin-top: 3.75rem !important;
	}
	.wp-block-cb-carousel-v2 .swiper-button-prev.cb-button-prev,
	.wp-block-cb-carousel-v2 .swiper-button-next.cb-button-next {
		top: -3.75rem;
		width: 44px;
		height: 44px;
	}
	.wp-block-cb-carousel-v2 .swiper-button-prev.cb-button-prev {
		right: calc(var(--bw-edge) + 56px);
	}
}

/* Peek style (set the carousel to Full width): cards start at the content edge and run off the
 * right side of the screen, so the next card shows partly (as designed). Use a decimal for
 * "Slides per view", e.g. 3.75 on desktop and 1.15 on phones. */
.wp-block-cb-carousel-v2.is-style-peek {
	/* % here is the section's padded width, so add the side padding back before centering. */
	--bw-edge: max(var(--wp--style--root--padding-left, 1.25rem), calc((100% + var(--wp--style--root--padding-left, 0px) + var(--wp--style--root--padding-right, 0px) - var(--wp--style--global--wide-size, 1200px)) / 2));
	padding-left: var(--bw-edge);
}
/* Arrows line up with the content's right edge (here % is the carousel's full width). */
.wp-block-cb-carousel-v2.is-style-peek .swiper-button-next.cb-button-next {
	right: max(var(--wp--style--root--padding-right, 1.25rem), calc((100% - var(--wp--style--global--wide-size, 1200px)) / 2));
}
.wp-block-cb-carousel-v2.is-style-peek .swiper-button-prev.cb-button-prev {
	left: auto;
	right: calc(max(var(--wp--style--root--padding-right, 1.25rem), calc((100% - var(--wp--style--global--wide-size, 1200px)) / 2)) + 64px);
}
@media (max-width: 781px) {
	.wp-block-cb-carousel-v2.is-style-peek .swiper-button-prev.cb-button-prev {
		right: calc(var(--wp--style--root--padding-right, 1.25rem) + 56px);
	}
}
.wp-block-cb-carousel-v2.is-style-peek .cb-pagination.swiper-pagination {
	left: var(--bw-edge);
	right: var(--bw-edge);
	width: auto;
}

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

/* Footer on phones (mobile mockup): one column; the seal sits left at 140px. */
@media (max-width: 781px) {
	footer.wp-block-template-part .wp-block-image.alignright {
		float: none;
		margin-left: 0;
		margin-right: 0;
	}
	footer.wp-block-template-part .wp-block-image.alignright img {
		width: 140px !important; /* the block's desktop width is inline */
	}
}

/* Social icons: outlined circles (Logos Only style). */
.wp-block-social-links.is-style-logos-only .wp-social-link {
	border: 2px solid currentColor;
	border-radius: 50%;
}
.wp-block-social-links.is-style-logos-only .wp-social-link {
	transition: background-color 0.15s ease, color 0.15s ease;
}
.wp-block-social-links.is-style-logos-only .wp-social-link a {
	padding: 0.45em;
}
.wp-block-social-links.is-style-logos-only .wp-social-link:hover,
.wp-block-social-links.is-style-logos-only .wp-social-link:focus-within {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary) !important; /* core sets the icon color inline */
}
.wp-block-social-links.is-style-logos-only .wp-social-link:hover svg,
.wp-block-social-links.is-style-logos-only .wp-social-link:focus-within svg {
	fill: currentColor;
}

/* ------------------------------------------------------------------ Misc */

/* Images that are shown whole (drawings): no crop, soft shadow comes from the block. */
.wp-block-image figcaption {
	text-align: center;
	margin-top: 0.625rem;
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-cb-carousel-v2 .swiper-wrapper {
		transition-duration: 0ms !important;
	}
}

/* ------------------------------------------------------- Site credits drawer
 * A Group at the end of the footer (class bw-credits, HTML anchor site-credits), so the
 * names are editable in the Site Editor, where it shows as a normal section. On the site it
 * slides up from the bottom when any link to #site-credits is clicked (the Legal menu has one);
 * assets/js/main.js adds the close button, Escape to close and focus handling.
 */
body:not(.editor-styles-wrapper) .bw-credits {
	position: fixed;
	inset: auto 0 0;
	z-index: 100000;
	max-width: none;
	margin: 0 !important;
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
	transform: translateY(100%);
	visibility: hidden;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0.45s;
}
body:not(.editor-styles-wrapper) .bw-credits.is-open,
body:not(.editor-styles-wrapper) .bw-credits:target {
	transform: none;
	visibility: visible;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.bw-credits a {
	color: inherit;
	text-decoration: none;
}
.bw-credits a:hover,
.bw-credits a:focus-visible {
	text-decoration: underline;
}
.bw-credits__close {
	position: absolute;
	top: var(--wp--preset--spacing--30);
	right: var(--wp--preset--spacing--30);
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}
.bw-credits__close::before,
.bw-credits__close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(50% - 0.75rem);
	width: 1.5rem;
	height: 2px;
	background-color: currentColor;
	transform: rotate(45deg);
}
.bw-credits__close::after {
	transform: rotate(-45deg);
}
/* Phones: the close button sits in the top corner, with room above the centered title so the two
 * never overlap. */
@media (max-width: 781px) {
	body:not(.editor-styles-wrapper) .bw-credits {
		padding-top: 4rem !important;
	}
	.bw-credits__close {
		top: 0.5rem;
		right: 0.5rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	body:not(.editor-styles-wrapper) .bw-credits,
	body:not(.editor-styles-wrapper) .bw-credits.is-open {
		transition: none;
	}
}

/* ======================================================= Inner-page components
 * Added for About, Our Process and Why Stories. All are Styles picked in the editor.
 */

/* Paragraph "Tag": a small pill ("Beautiful", "Short term · <2 years"). White by default; set a
 * Background color on the block for other surfaces, or a Border for an outlined pill. */
p.is-style-tag {
	display: inline-block;
	width: fit-content;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary);
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 1px;
	line-height: 1.3;
	text-transform: uppercase;
}
p.is-style-tag.has-border-color,
p.is-style-tag[style*="border"] {
	background: transparent;
}

/* Paragraph "Callout pill": an outlined pill with a coral dot, e.g. "17 currently sustained
 * locations". Takes the text color of its section; bold words become a big number. */
p.is-style-callout {
	display: block;
	width: fit-content;
	padding: 12px 28px;
	border: 2px solid var(--wp--preset--color--accent);
	border-radius: 999px;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
}
p.is-style-callout::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 12px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	vertical-align: 0.15em;
}
p.is-style-callout strong {
	font-family: var(--wp--preset--font-family--nunito);
	font-size: 1.375rem;
	font-weight: 900;
}

/* List "Red dots": red round bullets, bold lead-in words in Navy. */
ul.is-style-dots {
	list-style: none;
	padding-left: 0;
	display: grid;
	gap: 1rem;
}
ul.is-style-dots > li {
	position: relative;
	padding-left: 26px;
}
ul.is-style-dots > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--wp--preset--color--secondary);
}
ul.is-style-dots strong {
	color: var(--wp--preset--color--primary);
}

/* List "Library cards": each item is a white rounded card with a book icon in a red circle
 * (Self Sustaining on location pages; put the list in a section with a Line or Sand background).
 * 3 across; 2 on tablet portrait; 1 on phones. */
ul.is-style-library {
	list-style: none;
	padding-left: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
ul.is-style-library > li {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 104px;
	box-sizing: border-box;
	margin: 0;
	padding: 16px 28px;
	border-radius: 25px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
	line-height: 1.25;
}
ul.is-style-library > li::before {
	content: "";
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--wp--preset--color--secondary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E") center / 24px no-repeat;
}
@media (max-width: 781px) {
	ul.is-style-library {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
	ul.is-style-library > li {
		min-height: 80px;
		padding: 12px 20px;
		font-size: 1.25rem;
	}
}

/* Number badges can be recolored (Color → Background) and come in a smaller size via Font size
 * Small... keep simple: a badge inside a Row next to text sits at the top. */
.is-layout-flex > p.is-style-badge {
	flex-shrink: 0;
}

/* Group "Timeline": a grid of steps; a thin line runs behind the number badges. Use a Grid
 * layout; each step is a Group starting with a Number badge. On phones the steps stack and the
 * line runs down the left. */
.wp-block-group.is-style-timeline {
	position: relative;
}
.wp-block-group.is-style-timeline::before {
	content: "";
	position: absolute;
	top: 27px;
	left: 28px;
	right: 28px;
	height: 3px;
	background: var(--wp--preset--color--line);
}
.wp-block-group.is-style-timeline > * {
	position: relative;
}
.wp-block-group.is-style-timeline p.is-style-badge {
	position: relative;
	z-index: 1;
	box-shadow: 0 0 0 6px var(--wp--preset--color--base);
}
@media (max-width: 781px) {
	.wp-block-group.is-style-timeline {
		grid-template-columns: 1fr !important; /* core writes the column count inline */
	}
	.wp-block-group.is-style-timeline::before {
		top: 28px;
		bottom: 28px;
		left: 27px;
		right: auto;
		width: 3px;
		height: auto;
	}
	.wp-block-group.is-style-timeline > .wp-block-group {
		display: grid;
		grid-template-columns: 56px minmax(0, 1fr);
		column-gap: 16px;
		row-gap: 4px;
	}
	.wp-block-group.is-style-timeline > .wp-block-group > p.is-style-badge {
		grid-row: span 3;
	}
	.wp-block-group.is-style-timeline > .wp-block-group > * {
		margin: 0 !important;
	}
}

/* Columns "Arrows between" / "Plus between": a coral → or + between each column (↓ / + when
 * columns stack on phones). */
.wp-block-columns.is-style-arrows,
.wp-block-columns.is-style-plus {
	column-gap: 48px !important;
}
.wp-block-columns.is-style-arrows > .wp-block-column,
.wp-block-columns.is-style-plus > .wp-block-column {
	position: relative;
}
.wp-block-columns.is-style-arrows > .wp-block-column:not(:last-child)::after,
.wp-block-columns.is-style-plus > .wp-block-column:not(:last-child)::after {
	position: absolute;
	top: 50%;
	right: -24px;
	transform: translate(50%, -50%);
	font-family: var(--wp--preset--font-family--nunito);
	font-weight: 900;
	line-height: 1;
	color: var(--wp--preset--color--accent);
}
.wp-block-columns.is-style-arrows > .wp-block-column:not(:last-child)::after {
	content: "→";
	font-size: 1.75rem;
}
.wp-block-columns.is-style-plus > .wp-block-column:not(:last-child)::after {
	content: "+";
	font-size: 3rem;
	color: var(--wp--preset--color--secondary);
}
@media (max-width: 781px) {
	.wp-block-columns.is-style-arrows,
	.wp-block-columns.is-style-plus {
		row-gap: 48px !important;
	}
	.wp-block-columns.is-style-arrows > .wp-block-column:not(:last-child)::after,
	.wp-block-columns.is-style-plus > .wp-block-column:not(:last-child)::after {
		top: auto;
		bottom: -24px;
		right: 50%;
		transform: translate(50%, 50%);
	}
	.wp-block-columns.is-style-arrows > .wp-block-column:not(:last-child)::after {
		content: "↓";
	}
}

/* On Navy: icon circles go a shade lighter than the section. */
.is-style-section-navy .wp-block-image.is-style-icon {
	background: rgba(255, 255, 255, 0.1);
}

/* Centered card content (e.g. "Stories + Caring Adults + Consistency"). */
.has-text-align-center .wp-block-image.is-style-icon,
.wp-block-image.is-style-icon.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

/* Details block (accordion), e.g. "What the Research Says": white rounded cards, Navy title,
 * chevron; the open one gets a Navy border. */
.wp-block-details {
	background: var(--wp--preset--color--base);
	border: 2px solid var(--wp--preset--color--base);
	border-radius: var(--wp--preset--border-radius--medium);
	padding: 0;
	overflow: hidden;
}
.wp-block-details[open] {
	border-color: var(--wp--preset--color--primary);
}
.wp-block-details > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 28px;
	cursor: pointer;
	list-style: none;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
	line-height: 1.3;
	color: var(--wp--preset--color--primary);
}
.wp-block-details > summary::-webkit-details-marker {
	display: none;
}
.wp-block-details > summary::after {
	content: "";
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	border-right: 3px solid currentColor;
	border-bottom: 3px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
	transition: transform 0.2s ease;
}
.wp-block-details[open] > summary::after {
	transform: rotate(-135deg) translateY(-3px);
}
.wp-block-details > :not(summary) {
	margin-left: 28px;
	margin-right: 28px;
}
.wp-block-details > :last-child {
	margin-bottom: 24px;
}
.wp-block-details > summary + * {
	margin-top: 0;
}


/* ==========================================================================
   Floating decoration (Image block style + "Decoration" panel, inc/decoration.php)
   Floats over its group / column; position, nudge, size, flip and phone behaviour come from
   classes and --bw-deco-x / --bw-deco-y set by the panel.
   ========================================================================== */
:where(.wp-block-group, .wp-block-column, .wp-block-cover__inner-container, .wp-block-post-content):has(> .wp-block-image.is-style-floating) {
	position: relative;
}
.wp-block-image.is-style-floating {
	position: absolute;
	z-index: 2;
	width: var(--bw-deco-size, 96px);
	max-width: none;
	margin: 0 !important;
	pointer-events: none;
	transform: translate(var(--bw-deco-x, 0px), var(--bw-deco-y, 0px));
}
.wp-block-image.is-style-floating img {
	display: block;
	width: 100% !important;
	height: auto !important;
	border-radius: 0;
	box-shadow: none;
}
.wp-block-image.is-style-floating.bw-deco--flip img { transform: scaleX(-1); }
.wp-block-image.is-style-floating figcaption { display: none; }

.bw-deco--small { --bw-deco-size: 64px; }
.bw-deco--medium { --bw-deco-size: 96px; }
.bw-deco--large { --bw-deco-size: 160px; }

.bw-deco--top-left { top: 0; left: 0; }
.bw-deco--top-right { top: 0; right: 0; left: auto; }
.bw-deco--bottom-left { bottom: 0; left: 0; }
.bw-deco--bottom-right { bottom: 0; right: 0; left: auto; }
.bw-deco--middle-left,
.bw-deco--middle-right { top: 50%; }
.bw-deco--middle-left { left: 0; }
.bw-deco--middle-right { right: 0; left: auto; }
.wp-block-image.is-style-floating:is(.bw-deco--middle-left, .bw-deco--middle-right) {
	transform: translate(var(--bw-deco-x, 0px), calc(-50% + var(--bw-deco-y, 0px)));
}

@media (max-width: 781px) {
	.bw-deco--phone-shrink { --bw-deco-size: 56px; }
	.bw-deco--phone-shrink.bw-deco--large { --bw-deco-size: 96px; }
	.bw-deco--phone-shrink.bw-deco--small { --bw-deco-size: 44px; }
	/* On phones the sideways nudge is dropped and the up/down nudge halved, so a decoration
	   stays inside the content instead of being cut off by the screen edge. */
	.wp-block-image.is-style-floating:not(.bw-deco--phone-same) {
		transform: translateY(calc(var(--bw-deco-y, 0px) / 2));
	}
	.wp-block-image.is-style-floating:not(.bw-deco--phone-same):is(.bw-deco--middle-left, .bw-deco--middle-right) {
		transform: translateY(calc(-50% + var(--bw-deco-y, 0px) / 2));
	}
	.bw-deco--phone-hide { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-image.is-style-floating { display: none !important; }
}

/* Editor: stay clickable so it can be selected and moved; a dashed outline shows where it is. */
.editor-styles-wrapper .wp-block-image.is-style-floating { pointer-events: auto; }
.editor-styles-wrapper .wp-block-image.is-style-floating:is(:hover, .is-selected) { outline: 1px dashed currentColor; }
.editor-styles-wrapper .wp-block-image.is-style-floating .components-resizable-box__container { width: 100% !important; height: auto !important; }
/* Decorations nudged past the edge must never cause sideways scrolling. */
.alignfull:has(.is-style-floating) { overflow-x: clip; }

/* Cover "Parallax" (inc/cover-parallax.php; movement in main.js). Scaled up so the photo's
   edges never show while it moves. */
.wp-block-cover.bw-parallax .wp-block-cover__image-background {
	transform: scale(1.2);
	will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-cover.bw-parallax .wp-block-cover__image-background {
		transform: none !important;
	}
}

/* Cover "Slideshow" (inc/cover-slides.php; timing in main.js). Extra images sit over the Cover's
   own image, hidden until their turn, then fade in. */
.wp-block-cover.bw-slides .bw-cover-slide {
	opacity: 0;
	transition: opacity 1.4s ease-in-out;
	object-position: var(--bw-slides-pos, 50% 50%);
}
/* Wider screens: the banner takes the images' own shape, so they show in full, and only grows
   taller when the text/form need more room (min-height: auto keeps the content from overflowing). */
@media (min-width: 782px) {
	.wp-block-cover.bw-slides {
		aspect-ratio: var(--bw-slides-ratio, auto);
		min-height: auto !important;
	}
}
/* Each photo drifts slowly closer to its focal point (the child) while it shows (main.js times
   it to last until the next has faded in). Not with parallax, which moves the photo itself. */
.wp-block-cover.bw-slides:not(.bw-parallax) .wp-block-cover__image-background.is-drifting {
	transform-origin: var(--bw-drift-origin, 50% 50%);
	animation: bw-slide-drift var(--bw-drift, 8s) linear forwards;
}
@keyframes bw-slide-drift {
	from { transform: scale(1); }
	to { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-cover.bw-slides .wp-block-cover__image-background.is-drifting {
		animation: none;
	}
}
/* Parallax zooms from the focal point, so a focal point at an edge keeps that edge in view. */
.wp-block-cover.bw-slides.bw-parallax .wp-block-cover__image-background {
	transform-origin: var(--bw-slides-pos, 50% 50%);
}
.wp-block-cover.bw-slides .bw-cover-slide.is-active {
	opacity: 1;
}
.bw-slides__dots {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: var(--wp--preset--spacing--40, 24px);
	transform: translateX(-50%);
	display: flex;
	gap: 4px;
}
.bw-slides__dot {
	appearance: none;
	border: 0;
	padding: 10px 6px;
	background: none;
	cursor: pointer;
	line-height: 0;
}
.bw-slides__dot::before {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.45);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	transition: width 0.3s ease, background-color 0.3s ease;
}
.bw-slides__dot:hover::before {
	background: rgba(255, 255, 255, 0.8);
}
.bw-slides__dot[aria-current="true"]::before {
	width: 28px;
	background: #fff;
}
.bw-slides__dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	border-radius: 4px;
}
@media (max-width: 781px) {
	.bw-slides__dots {
		bottom: 6px; /* below the stacked gift form */
	}
	.wp-block-cover.bw-slides.bw-parallax .wp-block-cover__image-background {
		transform-origin: 50% 50%; /* keeps the centred focal point centred while zoomed */
	}
	.wp-block-cover.bw-slides--desktop-only .bw-cover-slide,
	.wp-block-cover.bw-slides--desktop-only .bw-slides__dots {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-cover.bw-slides .bw-cover-slide {
		transition-duration: 0.01s;
	}
}

/* ------------------------------------------------------- Paragraph: LinkedIn link
 * Small spaced capitals with the LinkedIn mark. Put a link in the paragraph; the icon is added. */
p.is-style-linkedin {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 1px;
	line-height: 1.4;
	text-transform: uppercase;
}
p.is-style-linkedin a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}
p.is-style-linkedin a::before {
	content: "";
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 0h11A2.5 2.5 0 0 1 16 2.5v11a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 13.5v-11A2.5 2.5 0 0 1 2.5 0Zm0 1.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1h-11ZM4 6.2h1.8V12H4V6.2Zm.9-2.8a1 1 0 1 1 0 2.1 1 1 0 0 1 0-2.1Zm2.1 2.8h1.7V7c.3-.5 1-1 2-1 1.9 0 2.3 1.2 2.3 2.8V12h-1.8V9.2c0-.7 0-1.6-1-1.6s-1.2.8-1.2 1.5V12H7V6.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 0h11A2.5 2.5 0 0 1 16 2.5v11a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 13.5v-11A2.5 2.5 0 0 1 2.5 0Zm0 1.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1h-11ZM4 6.2h1.8V12H4V6.2Zm.9-2.8a1 1 0 1 1 0 2.1 1 1 0 0 1 0-2.1Zm2.1 2.8h1.7V7c.3-.5 1-1 2-1 1.9 0 2.3 1.2 2.3 2.8V12h-1.8V9.2c0-.7 0-1.6-1-1.6s-1.2.8-1.2 1.5V12H7V6.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
p.is-style-linkedin a:hover,
p.is-style-linkedin a:focus-visible {
	color: var(--wp--preset--color--secondary);
}

/* Team grid (Our Beginning): square photo, name, role, LinkedIn. Spacing matches the mockup:
 * 16px photo to name, 6px between lines, 40px between rows. */
.wp-block-group.bw-team {
	row-gap: 2.5rem;
}
.bw-team > .wp-block-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.bw-team > .wp-block-group > * {
	margin: 0;
}
.bw-team > .wp-block-group > .wp-block-image {
	margin-bottom: 10px;
}
.bw-team .wp-block-image img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}
.bw-team h3 {
	line-height: 1.3;
}
.bw-team p:not(.is-style-linkedin) {
	font-size: 0.9375rem;
	line-height: 1.45;
}
/* The link is a 44px-tall tap target; pull it up so the text sits close under the name. */
.bw-team > .wp-block-group > p.is-style-linkedin {
	margin-top: -8px;
}

/* ------------------------------------------------------- Group: video placeholder
 * A 16:9 dashed box with a play button, where a video will go. Swap it for a YouTube/Vimeo
 * embed when the video is ready. */
.wp-block-group.is-style-video-placeholder {
	position: relative;
	aspect-ratio: 16 / 9;
	border: 2px dashed var(--wp--preset--color--contrast-2);
	border-radius: var(--wp--preset--border-radius--large, 20px);
}
.is-style-section-navy .wp-block-group.is-style-video-placeholder {
	border-color: rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.04);
}
.wp-block-group.is-style-video-placeholder::before,
.wp-block-group.is-style-video-placeholder::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.wp-block-group.is-style-video-placeholder::before {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wp--preset--color--base);
}
.wp-block-group.is-style-video-placeholder::after {
	margin-left: 2px;
	border-style: solid;
	border-width: 8px 0 8px 13px;
	border-color: transparent transparent transparent var(--wp--preset--color--primary);
}
/* Video embeds next to placeholders: same rounded corners. */
.wp-block-embed.is-type-video iframe {
	border-radius: var(--wp--preset--border-radius--large, 20px);
}
.wp-block-embed.is-type-video {
	margin: 0;
}

/* ------------------------------------------------------- Columns: lines between
 * Equal-width columns with thin vertical rules between them, content centered (Why This
 * Matters). On wide screens each heading and line of text stays on one line, with type that
 * scales a little with the screen so it fits; narrower screens wrap, phones stack. */
@media (min-width: 782px) {
	.wp-block-columns.is-style-dividers {
		column-gap: 0 !important;
	}
	.wp-block-columns.is-style-dividers > .wp-block-column {
		flex: 1 1 0 !important;
		min-width: 0;
		padding-inline: 1rem;
		text-align: center;
	}
	.wp-block-columns.is-style-dividers > .wp-block-column:not(:last-child) {
		border-right: 1px solid rgba(22, 56, 102, 0.2);
	}
	.wp-block-columns.is-style-dividers h2,
	.wp-block-columns.is-style-dividers h3 {
		font-size: clamp(1.75rem, 0.35rem + 2.9vw, 2.75rem);
	}
	.wp-block-columns.is-style-dividers p {
		font-size: clamp(0.8125rem, 0.25rem + 0.8vw, 0.9375rem);
	}
}
@media (min-width: 1100px) {
	.wp-block-columns.is-style-dividers > .wp-block-column > * {
		white-space: nowrap;
	}
}
@media (max-width: 781px) {
	.wp-block-columns.is-style-dividers > .wp-block-column:not(:last-child) {
		padding-bottom: var(--wp--preset--spacing--40);
		border-bottom: 1px solid rgba(22, 56, 102, 0.2);
	}
}

/* Large quote (not Testimonial): the name and role under it. */
.wp-block-quote:not(.is-style-testimonial) cite {
	display: block;
	margin-top: 1.25rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--contrast-2);
}
.wp-block-quote:not(.is-style-testimonial) cite {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--contrast);
}
.wp-block-quote:not(.is-style-testimonial) cite strong {
	display: block;
	font-size: 1.0625rem;
	font-weight: 800;
	color: var(--wp--preset--color--primary);
}

/* Big centered quote (Support page): Nunito 600, 28/40, as in the mockup. */
.bw-big-quote .wp-block-quote p {
	font-weight: 600;
	line-height: 1.43;
}

/* ------------------------------------------------------- Cover: light background
 * A Cover with a light overlay (e.g. a hero waiting for its photo): body text in slate and
 * headings in Navy, instead of core's black. */
.wp-block-cover.is-light .wp-block-cover__inner-container {
	color: var(--wp--preset--color--contrast);
}
.wp-block-cover.is-light :is(h1, h2, h3, h4, h5, h6):not(.has-text-color) {
	color: var(--wp--preset--color--primary);
}

/* ------------------------------------------------------- Gift cards (Support page)
 * Amount, title, text, then the button pinned to the bottom so all buttons line up, with
 * at least 1.5rem above it. */
.wp-block-columns.bw-gift-cards > .wp-block-column {
	display: flex;
	flex-direction: column;
}
.wp-block-columns.bw-gift-cards > .wp-block-column > * {
	margin-block: 0;
}
.wp-block-columns.bw-gift-cards > .wp-block-column > .wp-block-heading {
	margin-top: 0.75rem;
}
.wp-block-columns.bw-gift-cards > .wp-block-column > p:not(.is-style-stat) {
	margin-top: 0.75rem;
}
.wp-block-columns.bw-gift-cards > .wp-block-column > .wp-block-buttons {
	margin-top: auto;
	padding-top: 1.5rem;
}

/* ======================================================================== News & Media
 * Pieces used on the News & Media page; each item type is also a pattern
 * (Patterns → "Bookwallah: News & Media") so editors can add another one. */

/* Button "Pill (jump link)": small outlined pill, e.g. the section links under a page title. */
.wp-block-button.is-style-pill > .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 22px;
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 22px;
	background: transparent;
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}
.wp-block-button.is-style-pill > .wp-block-button__link:hover,
.wp-block-button.is-style-pill > .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

/* Small capitals link under a media item: "Watch on YouTube ↗", "Read article ↗". */
p.bw-media-link {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 800;
	letter-spacing: 1px;
	line-height: 1.3;
	text-transform: uppercase;
}
p.bw-media-link a {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}
p.bw-media-link a:hover,
p.bw-media-link a:focus-visible {
	color: var(--wp--preset--color--secondary);
}

/* Featured video (TEDx): 960px, centered, large rounded corners. */
.wp-block-group.bw-featured-video {
	width: 100%;
	max-width: 960px;
	margin-inline: auto !important;
}
.bw-featured-video .wp-block-embed iframe {
	border-radius: 25px;
}

/* Film card: 16:9 video, title, link. */
.bw-film-card .wp-block-embed iframe {
	border-radius: 15px;
}
/* Film, project-text and interview cards: a 12px gap between every item, as in the mockup. */
.wp-block-group.bw-film-card,
.bw-project-card > .wp-block-group,
.wp-block-group.bw-interview-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.bw-film-card > *,
.bw-project-card > .wp-block-group > *,
.bw-interview-card > * {
	margin: 0 !important;
}
.bw-film-card h3,
.bw-project-card h3,
.bw-interview-card h3 {
	line-height: 1.3;
}
/* Films and interviews: more room under the video/podcast, title held close to the line
 * under it (the gap is the 12px above minus what's below, set with margins). */
.wp-block-group.bw-film-card,
.wp-block-group.bw-interview-card {
	gap: 0;
}
.bw-film-card > h3,
.bw-interview-card > h3 {
	margin-top: 20px !important;
}
.bw-film-card > h3 + p {
	margin-top: 10px !important;
}
.bw-interview-card > h3 + p {
	margin-top: 4px !important;
	line-height: 1.5;
}

/* News list: rows of outlet / date / headline / link with a line between. */
.wp-block-group.bw-news-list > .bw-news-row {
	margin: 0;
}
.wp-block-group.bw-news-row {
	display: grid;
	grid-template-columns: 200px 140px minmax(0, 1fr) 150px;
	align-items: center;
	column-gap: 24px;
	min-height: 68px;
	padding-block: 12px;
	border-bottom: 2px solid var(--wp--preset--color--line);
}
.bw-news-list > .bw-news-row:first-child {
	border-top: 2px solid var(--wp--preset--color--line);
}
.bw-news-row > p {
	margin: 0 !important;
	line-height: 1.4;
}
.bw-news-row .bw-news-outlet {
	font-size: 0.9375rem;
	font-weight: 800;
	color: var(--wp--preset--color--primary);
}
.bw-news-row .bw-news-date {
	font-size: 0.875rem;
}
.bw-news-row .bw-news-title {
	color: #1e293b;
}
.bw-news-row .bw-media-link {
	text-align: right;
}
@media (max-width: 781px) {
	.wp-block-group.bw-news-row {
		grid-template-columns: minmax(0, 1fr) auto;
		row-gap: 6px;
		padding-block: 18px;
	}
	.bw-news-row .bw-news-date {
		text-align: right;
	}
	.bw-news-row .bw-news-title,
	.bw-news-row .bw-media-link {
		grid-column: 1 / -1;
		text-align: left;
	}
}

/* Project card: white card, vertical YouTube Short on the left, text on the right. */
.wp-block-group.bw-project-card {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 28px;
	border-radius: 25px;
	background: var(--wp--preset--color--base);
}
.bw-project-card > * {
	margin: 0 !important;
}
.bw-project-card > .wp-block-embed {
	flex: 0 0 240px;
	width: 240px;
}
.bw-project-card > .wp-block-embed iframe {
	border-radius: 15px;
}
.bw-project-card > .wp-block-group {
	flex: 1 1 auto;
	min-width: 0;
}
@media (max-width: 599px) {
	.wp-block-group.bw-project-card {
		flex-direction: column;
		align-items: stretch;
		padding: 20px;
	}
	.bw-project-card > .wp-block-embed {
		flex-basis: auto;
		width: 100%;
		max-width: 260px;
		margin-inline: auto !important;
	}
}

/* Interview card: podcast embed (or a dashed placeholder until there is one), title, show. */
.bw-embed-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 152px;
	padding: 16px;
	border: 2px dashed #b8c4cf;
	border-radius: 15px;
	text-align: center;
}
.bw-embed-placeholder p {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.bw-embed-placeholder p::before {
	content: "";
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M5 10a7 7 0 0 0 14 0M12 17v5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M5 10a7 7 0 0 0 14 0M12 17v5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bw-film-card .wp-block-group.is-style-video-placeholder {
	border-radius: 15px;
}

/* Empty embed slots (see bw_embed_slot): placeholder until a link is pasted. */
.bw-embed-slot--tall.is-style-video-placeholder {
	aspect-ratio: 9 / 16;
}
.bw-project-card > .bw-embed-slot-video {
	flex: 0 0 240px;
	width: 240px;
	margin: 0 !important;
}
@media (max-width: 599px) {
	.bw-project-card > .bw-embed-slot-video {
		width: 100%;
		max-width: 260px;
		margin-inline: auto !important;
	}
}

/* Team card: one pattern for board and staff. An empty job-title line is hidden; the name
 * size comes from the grid (board grids 22px, the Staff grid "bw-team--staff" 20px) unless
 * the heading has its own font size set. */
.bw-team p:empty {
	display: none;
}
.bw-team h3:not([class*="-font-size"]) {
	font-size: var(--wp--preset--font-size--x-large);
}
.bw-team--staff h3:not([class*="-font-size"]) {
	font-size: var(--wp--preset--font-size--large);
}

/* ======================================================================== Financial Reports */

/* Annual Report card: coloured band (label + big year) over title, text and a Download button.
 * Each card keeps its own colour (class is-band-navy / is-band-red / is-band-cream, set by the
 * pattern it was inserted from), so adding a new year never recolours older ones. Order by year:
 * … cream → red → navy → cream … (2021 navy, 2023 cream, 2024 red, 2025 navy). */
.bw-annual-card { --band-bg: var(--wp--preset--color--primary); --band-fg: var(--wp--preset--color--base); --band-accent: var(--wp--preset--color--accent); }
.bw-annual-card.is-band-red { --band-bg: var(--wp--preset--color--secondary); --band-fg: var(--wp--preset--color--base); --band-accent: var(--wp--preset--color--base); }
.bw-annual-card.is-band-cream { --band-bg: var(--wp--preset--color--base-2); --band-fg: var(--wp--preset--color--primary); --band-accent: var(--wp--preset--color--secondary); }
.wp-block-group.bw-annual-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 2px solid var(--wp--preset--color--line);
	border-radius: 25px;
	background: var(--wp--preset--color--base);
}
.bw-annual-card > * {
	margin: 0 !important;
}
.wp-block-group.bw-annual-band {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 4px;
	height: 200px;
	padding: 28px 32px;
	overflow: hidden;
	background: var(--band-bg, var(--wp--preset--color--primary));
	color: var(--band-fg, var(--wp--preset--color--base));
}
.bw-annual-band::before {
	content: "";
	position: absolute;
	top: -40px;
	right: -40px;
	width: 180px;
	height: 180px;
	border: 2px solid var(--band-accent, var(--wp--preset--color--accent));
	border-radius: 50%;
	opacity: 0.5;
}
.bw-annual-band::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at calc(100% - 69px) 39px, var(--band-accent, #ff7052) 5px, transparent 5.5px),
		radial-gradient(circle at calc(100% - 37px) 75px, var(--band-accent, #ff7052) 3px, transparent 3.5px),
		radial-gradient(circle at calc(100% - 28px) 28px, var(--band-accent, #ff7052) 2px, transparent 2.5px);
}
.bw-annual-band > * {
	position: relative;
	margin: 0 !important;
	color: inherit;
}
.bw-annual-band .bw-annual-label {
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 3px;
	text-transform: uppercase;
}
.bw-annual-band .bw-annual-year {
	font-family: var(--wp--preset--font-family--nunito);
	font-size: 5rem;
	font-weight: 900;
	line-height: 1;
}
.wp-block-group.bw-annual-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 24px 28px 28px;
}
.bw-annual-body > * {
	margin: 0 !important;
}
.bw-annual-body h3 {
	line-height: 1.3;
}
.bw-annual-body > .wp-block-buttons {
	margin-top: auto !important;
	padding-top: 12px;
}

/* Button "bw-download": navy, small capitals, download arrow. */
.wp-block-button.bw-download > .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 10px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9375rem;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.wp-block-button.bw-download > .wp-block-button__link::before {
	content: "";
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wp-block-button.bw-download > .wp-block-button__link:hover,
.wp-block-button.bw-download > .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--secondary);
}

/* IRS Filings & Financials: white list, one row per document. */
.wp-block-group.bw-filing-list {
	overflow: hidden;
	border-radius: 15px;
	background: var(--wp--preset--color--base);
}
.wp-block-group.bw-filing-list > .bw-filing-row {
	margin: 0;
}
.wp-block-group.bw-filing-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
	padding: 14px 28px;
	border-bottom: 2px solid var(--wp--preset--color--line);
}
.bw-filing-list > .bw-filing-row:last-child {
	border-bottom: 0;
}
.bw-filing-row > p {
	margin: 0 !important;
}
.bw-filing-row .bw-filing-title {
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.4;
	color: #1e293b;
}
.bw-filing-row .bw-media-link {
	flex-shrink: 0;
}
@media (max-width: 599px) {
	.wp-block-group.bw-filing-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		padding: 16px 20px;
	}
}

/* Tax-exempt card: text left, button right. */
.wp-block-group.bw-tax-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 32px 36px;
}
.bw-tax-card > * {
	margin: 0 !important;
}
@media (max-width: 781px) {
	.wp-block-group.bw-tax-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 24px;
	}
}

/* ================================================================================ Contact */

.bw-office > * {
	margin-block: 0;
}
.wp-block-group.bw-office {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.bw-office p:empty {
	display: none;
}
.bw-office .bw-office-email a {
	font-weight: 700;
	color: var(--wp--preset--color--primary);
}
.wp-block-group.bw-contact-form-card {
	padding: 40px;
	border: 2px solid var(--wp--preset--color--line);
	border-radius: 25px;
	background: var(--wp--preset--color--base);
}
@media (max-width: 599px) {
	.wp-block-group.bw-contact-form-card {
		padding: 24px;
	}
}

/* FAQ: two columns of question + answer. */
.wp-block-group.bw-faq {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.bw-faq > * {
	margin: 0 !important;
}
.bw-faq h3 {
	line-height: 1.35;
}
/* FAQ grid: the block gap (64px) is the column gap WordPress uses to size the two columns;
 * rows sit a little closer. */
.wp-block-group.bw-faq-grid {
	row-gap: 40px;
}

/* ============================================================================ Our Stories */

/* Stories grid: the number of cards sets the column width, up to four per row (2 cards =
 * halves, 3 = thirds, 4+ = quarters and wrap). Narrow screens drop to fewer, phones to one. */
.wp-block-group.bw-story-grid {
	--bw-story-gap: 32px;
	display: grid;
	gap: var(--bw-story-gap);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, max(15rem, calc((100% - 3 * var(--bw-story-gap)) / 4))), 1fr));
}
.wp-block-group.bw-story-grid > * {
	margin: 0 !important;
}

/* Story card: video (or placeholder), name, optional line. */
.wp-block-group.bw-story-card {
	display: flex;
	flex-direction: column;
}
.bw-story-card > * {
	margin: 0 !important;
}
.bw-story-card .wp-block-embed iframe,
.bw-story-card .wp-block-group.is-style-video-placeholder {
	border-radius: 25px;
}
.bw-story-card > h3 {
	margin-top: 20px !important;
	line-height: 1.3;
}
.bw-story-card > h3 + p {
	margin-top: 4px !important;
	font-size: 0.9375rem;
	line-height: 1.5;
}
.bw-story-card p:empty {
	display: none;
}
/* Story card video placeholder, as in the mockup: light fill, navy play button. */
.bw-story-card .wp-block-group.is-style-video-placeholder {
	border-color: #b8c4cf;
	background: var(--wp--preset--color--line);
}
.is-style-section-sand .bw-story-card .wp-block-group.is-style-video-placeholder {
	border-color: #b3aa94;
	background: var(--wp--preset--color--surface);
}
.bw-story-card .wp-block-group.is-style-video-placeholder::before {
	width: 60px;
	height: 60px;
	background: var(--wp--preset--color--primary);
}
.bw-story-card .wp-block-group.is-style-video-placeholder::after {
	border-left-color: var(--wp--preset--color--base);
}

/* ------------------------------------------------------------ Header: current page
 * inc/menu-current.php marks the link to the page being viewed (.current-menu-item) and its
 * top-level section (.current-menu-ancestor). The section keeps the bold red underline (the
 * same look as an open dropdown, set above) even when its dropdown is closed; the current link
 * in a dropdown has a red title. On a chapter (location) page, the link to the page listing it
 * (.current-menu-parent, e.g. Programs on /mumbai/) looks the same. */
.st-site-header .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content .wp-block-navigation-item__label,
.st-site-header .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content:hover .wp-block-navigation-item__label,
.st-site-header .wp-block-navigation__submenu-container .current-menu-parent > .wp-block-navigation-item__content .wp-block-navigation-item__label,
.st-site-header .wp-block-navigation__submenu-container .current-menu-parent > .wp-block-navigation-item__content:hover .wp-block-navigation-item__label {
	color: var(--wp--preset--color--secondary);
}
@media (min-width: 840px) {
	.st-site-header .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content,
	.st-site-header .wp-block-navigation__submenu-container .current-menu-parent > .wp-block-navigation-item__content {
		background: var(--wp--preset--color--surface);
	}
}
/* Phone menu: the current section title is underlined and the current link has a red edge. */
.st-site-header .is-menu-open .wp-block-navigation__container > .current-menu-ancestor > .wp-block-navigation-item__content {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--secondary);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}
.st-site-header .is-menu-open .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content,
.st-site-header .is-menu-open .wp-block-navigation__submenu-container .current-menu-parent > .wp-block-navigation-item__content {
	border-left-color: var(--wp--preset--color--secondary);
}

/* ======================================================================= Programs & locations */

/* Empty photo slot (bw_image_slot): dashed box with a photo icon until a picture is chosen. */
.bw-image-placeholder,
.bw-haven-row .wp-block-media-text__media:empty {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	border: 2px dashed #b8c4cf;
	border-radius: 25px;
	background: var(--wp--preset--color--line);
}
.is-style-section-sand .bw-image-placeholder,
.is-style-section-sand .bw-haven-row .wp-block-media-text__media:empty {
	border-color: #b3aa94;
	background: var(--wp--preset--color--surface);
}
.bw-image-placeholder::after,
.bw-haven-row .wp-block-media-text__media:empty::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 36px;
	height: 36px;
	transform: translate(-50%, -50%);
	background: var(--wp--preset--color--contrast-2);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Chapter card (Programs & Projects): wide photo, title, text, Read more. */
.wp-block-group.bw-chapter-grid {
	row-gap: 48px;
}
.wp-block-group.bw-chapter-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.bw-chapter-card > * {
	margin: 0 !important;
}
.bw-chapter-card .wp-block-image img,
.bw-chapter-card .bw-image-placeholder {
	width: 100%;
	aspect-ratio: 584 / 280;
	object-fit: cover;
}
.bw-chapter-card > h3 {
	margin-top: 8px !important;
	line-height: 1.25;
}
.bw-chapter-card > .bw-media-link {
	margin-top: 4px !important;
}

/* Giving Tree stat box. */
.wp-block-group.bw-stat-box {
	padding: 20px 24px;
	border-radius: 15px;
}
.bw-stat-box > * {
	margin: 0 !important;
}

/* Location page hero: breadcrumb, facts under a rule, tall photo. */
p.bw-breadcrumb {
	font-size: 0.875rem;
	font-weight: 700;
}
p.bw-breadcrumb a {
	color: var(--wp--preset--color--primary);
}
.wp-block-group.bw-location-stats {
	margin-top: 12px !important;
	padding-top: 24px;
	border-top: 2px solid #d6cfbd;
}
.bw-location-stats .is-style-stat {
	color: var(--wp--preset--color--primary);
	line-height: 1.1;
}
.bw-location-stats p {
	margin: 0;
}
.bw-image-placeholder.bw-location-photo {
	aspect-ratio: 14 / 13;
}

/* Project information rows (Media & Text): photo 40% with a 56px gap, rows divided by a line.
 * The photo side is switched with "Show media on left / right" in the block toolbar. */
.wp-block-group.bw-haven-list > .bw-haven-row {
	margin: 0;
}
.wp-block-group.bw-haven-list > .bw-haven-row + .bw-haven-row {
	margin-top: 48px;
	padding-top: 48px;
	border-top: 2px solid var(--wp--preset--color--line);
}
.bw-haven-row .wp-block-media-text__media img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 25px;
}
.wp-block-media-text.bw-haven-row .wp-block-media-text__content {
	padding: 0 0 0 56px;
}
.wp-block-media-text.bw-haven-row.has-media-on-the-right .wp-block-media-text__content {
	padding: 0 56px 0 0;
}
.bw-haven-row .wp-block-media-text__content > * {
	margin-block: 0 14px;
}
.bw-haven-row .wp-block-media-text__content > :last-child {
	margin-bottom: 0;
}
.bw-haven-row .wp-block-media-text__content h3 {
	line-height: 1.2;
}
@media (max-width: 600px) {
	.wp-block-media-text.bw-haven-row .wp-block-media-text__content,
	.wp-block-media-text.bw-haven-row.has-media-on-the-right .wp-block-media-text__content {
		padding: 24px 0 0;
	}
}

/* Project information row: the photo is always 40% wide (the width setting is ignored), so the
 * "Est." label below always lands on the photo. */
.wp-block-media-text.bw-haven-row {
	position: relative;
}
@media (min-width: 601px) {
	.wp-block-media-text.bw-haven-row {
		grid-template-columns: 40% auto !important;
	}
	.wp-block-media-text.bw-haven-row.has-media-on-the-right {
		grid-template-columns: auto 40% !important;
	}
}

/* "Est." label (paragraph .bw-est in the row's text). On the site it sits on the photo's top-left
 * corner as a white pill and follows the photo when the row is flipped; left empty, it's hidden.
 * In the editor it stays in the text (so it's easy to see and edit) with a "shows on photo" tag. */
.bw-haven-row p.bw-est {
	margin: 0 !important;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 1px;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
}
body:not(.editor-styles-wrapper) .bw-haven-row p.bw-est {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--base);
}
body:not(.editor-styles-wrapper) .bw-haven-row.has-media-on-the-right p.bw-est {
	left: calc(60% + 16px);
}
/* Rows after the first have 48px above the photo (the divider line's spacing). */
body:not(.editor-styles-wrapper) .bw-haven-list > .bw-haven-row + .bw-haven-row p.bw-est {
	top: 64px;
}
body:not(.editor-styles-wrapper) .bw-haven-row p.bw-est:empty {
	display: none;
}
@media (max-width: 600px) {
	body:not(.editor-styles-wrapper) .bw-haven-row.has-media-on-the-right p.bw-est {
		left: 16px;
	}
}
.editor-styles-wrapper .bw-haven-row p.bw-est {
	display: flex;
	align-items: center;
	gap: 8px;
}
/* ::before (not ::after, which WordPress uses for the empty-paragraph hint), shown after the text. */
.editor-styles-wrapper .bw-haven-row p.bw-est::before {
	content: "Shows on photo";
	order: 2;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--secondary);
	font-size: 0.6875rem;
	letter-spacing: 0.5px;
	text-transform: none;
}

/* ------------------------------------------------------------- Program rows (Giving Tree Program)
 * A row (Columns, class "bw-approach") has an icon, heading and text beside a photo grid. The icon
 * is an Image with "Icon in circle"; here the circle is red and the icon white. Add "bw-text-right"
 * to the Columns to put the text on the right on wide screens (it stays first when stacked).
 * Photo grid (Group, class "bw-photo-grid"): 3 across, 220px tall photos; give a photo the class
 * "bw-wide" to span two columns. "bw-photo-grid-tall": 2 photos, the second twice as wide, 420px. */
.bw-approach .wp-block-image.is-style-icon {
	width: 48px;
	height: 48px;
	background: var(--wp--preset--color--secondary);
}
@media (min-width: 1025px) {
	.wp-block-columns.bw-approach.bw-text-right > .wp-block-column:first-child {
		order: 2;
	}
}
.wp-block-group.bw-photo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.wp-block-group.bw-photo-grid > * {
	margin: 0;
}
.wp-block-group.bw-photo-grid > .bw-wide {
	grid-column: span 2;
}
.bw-photo-grid .wp-block-image img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 20px;
}
.wp-block-group.bw-photo-grid.bw-photo-grid-tall {
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}
.bw-photo-grid-tall .wp-block-image img {
	height: 420px;
}
@media (max-width: 781px) {
	.wp-block-group.bw-photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.bw-photo-grid .wp-block-image img {
		height: 140px;
	}
	.bw-photo-grid .wp-block-image.bw-wide img {
		height: 160px;
	}
	.wp-block-group.bw-photo-grid.bw-photo-grid-tall {
		grid-template-columns: minmax(0, 1fr);
	}
	.bw-photo-grid-tall .wp-block-image img {
		height: 300px;
	}
	.bw-photo-grid-tall .wp-block-image + .wp-block-image img {
		height: 180px;
	}
}

/* ------------------------------------------------------------- Speaking & Workshops
 * Small pieces used on /speaking/ (each is a class on a normal block, Advanced → Additional CSS):
 * - bw-play-link (Paragraph with a link): a play icon before the link, e.g. "Watch Seena's TEDx Talk".
 * - bw-note-pill (Paragraph): soft coral pill with a heart, e.g. "100% of proceeds ...".
 * - bw-card-note (Paragraph, last in a Card): footnote pushed to the card's bottom, line above it.
 * - bw-tile-grid (Group of Card Outline groups): 4 across (2 on tablet, 1 on phones); give the last
 *   tile "bw-tile-wide" to run across the full width with icon, title and text side by side.
 * - bw-rule-top (Columns): a line above, on navy sections.
 * - bw-photo-left (Image): crops toward the left of the photo instead of the middle. */
p.bw-play-link a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
	text-underline-offset: 4px;
}
p.bw-play-link a::before {
	content: "";
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163866' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M10 8l6 4-6 4z' fill='%23163866'/%3E%3C/svg%3E") center / contain no-repeat;
}
p.bw-note-pill {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--primary);
	font-weight: 800;
	line-height: 1.5;
}
p.bw-note-pill::before {
	content: "";
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e25041' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 599px) {
	p.bw-note-pill {
		border-radius: 20px;
	}
}
.is-style-card > p.bw-card-note {
	margin-top: auto !important;
	padding-top: 18px;
	border-top: 2px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--contrast-2);
	font-weight: 700;
}
.wp-block-group.bw-tile-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.wp-block-group.bw-tile-grid > * {
	margin: 0;
}
.wp-block-group.bw-tile-grid > .bw-tile-wide {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 48px 240px minmax(0, 1fr);
	align-items: center;
	column-gap: 24px;
}
.wp-block-group.bw-tile-grid > .bw-tile-wide > * {
	margin: 0;
}
.bw-tile-grid .wp-block-image.is-style-icon {
	width: 48px;
	height: 48px;
}
@media (min-width: 782px) and (max-width: 1024px) {
	.wp-block-group.bw-tile-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 781px) {
	.wp-block-group.bw-tile-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.wp-block-group.bw-tile-grid > .bw-tile-wide {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		row-gap: 0.875rem;
	}
}
.wp-block-columns.bw-rule-top {
	padding-top: 32px;
	border-top: 2px solid #2c4e7d;
}
.wp-block-image.bw-photo-left img {
	object-position: 22% center;
}

/* ======================================================================= Tablet portrait
 * iPad in portrait (782–1024px), where desktop layouts are squeezed. The rules follow a section's
 * structure or class, not the page, so a section copied to another page behaves the same.
 * - Middle-aligned columns align to the top.
 * - 4 columns, or a Grid of 4 items, show 2 per row; 5 columns show 3 + 2 (page content only,
 *   not the footer).
 * - Columns with the class "bw-stack-tablet" (Advanced → Additional CSS class) stack to one
 *   column from 1024px instead of 781px: used for two-part heroes and form rows.
 * - Logo grids show 3 + 2; Timelines show 2 per row; project cards put the video above the text.
 */
@media (min-width: 782px) and (max-width: 1024px) {
	.wp-block-columns.are-vertically-aligned-center {
		align-items: flex-start !important;
	}
	.wp-block-column.is-vertically-aligned-center {
		align-self: flex-start !important;
	}

	/* 4 columns → 2 per row; 5 columns → 3, then 2 centered. */
	main .wp-block-columns:has(> .wp-block-column:nth-child(4):last-child),
	main .wp-block-columns:has(> .wp-block-column:nth-child(5):last-child) {
		flex-wrap: wrap !important;
		justify-content: center;
		row-gap: var(--wp--preset--spacing--50) !important;
	}
	main .wp-block-columns:has(> .wp-block-column:nth-child(4):last-child) > .wp-block-column {
		flex: 1 1 calc(50% - 2rem) !important;
	}
	main .wp-block-columns:has(> .wp-block-column:nth-child(5):last-child) > .wp-block-column {
		flex: 0 1 calc(33.333% - 2rem) !important;
	}
	/* Arrows between: no arrow at the end of a row. */
	.wp-block-columns.is-style-arrows:has(> .wp-block-column:nth-child(4):last-child) > .wp-block-column:nth-child(2n)::after {
		display: none;
	}

	/* Grid of exactly 4 items (e.g. stats, Ways to Give) and the annual report grid → 2 per row. */
	.wp-block-group.is-layout-grid:has(> :nth-child(4):last-child),
	.wp-block-group.bw-annual-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	/* Stack early: two-part heroes and form rows. */
	.wp-block-columns.bw-stack-tablet {
		flex-wrap: wrap !important;
	}
	.wp-block-columns.bw-stack-tablet > .wp-block-column {
		flex-basis: 100% !important;
	}

	/* Logo grid: 3 across, then the rest centered. */
	.wp-block-group.is-style-logos {
		display: flex !important;
		flex-wrap: wrap;
		justify-content: center;
	}
	.wp-block-group.is-style-logos > * {
		flex: 0 0 calc(33.333% - 2rem);
	}

	/* Timeline: 2 per row (the connecting line only fits a single row, so it's hidden). */
	.wp-block-group.is-style-timeline {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.wp-block-group.is-style-timeline::before {
		display: none;
	}

	/* Plus between: smaller card titles so one-word titles ("Consistency") stay on one line. */
	.wp-block-columns.is-style-plus .wp-block-heading {
		font-size: 1.375rem !important;
	}
}

/* Project card on tablets: the vertical video fills the card width, text below. */
@media (min-width: 600px) and (max-width: 1024px) {
	.wp-block-group.bw-project-card {
		flex-direction: column;
		align-items: stretch;
	}
	.bw-project-card > .wp-block-embed,
	.bw-project-card > .bw-embed-slot-video {
		flex-basis: auto;
		width: 100%;
	}
}

/* Library cards list: 2 per row on tablet portrait. */
@media (min-width: 782px) and (max-width: 1024px) {
	ul.is-style-library {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ======================================================================== Campaign page
 * "Light Up a Child's World" (holiday campaign). Built from normal blocks:
 * - Section style "Night sky" (Group): dark navy with stars and glowing fireflies. Pick a Night
 *   gradient under Color → Background for the shading (Night Sky, dark to deep, glow, deep to dark).
 * - `bw-campaign-hero` (Cover): the jar photo fades into the night sky; on phones the text sits
 *   above the photo. Overlay: the "Night Fade (from left)" gradient.
 * - `bw-firefly-btn` (Button): a glowing dot before the label.
 * - `bw-glow-frame` (Image): soft gold ring and glow.
 * - `bw-progress` (Paragraph "16 of 300 funded · 90 by Dec 1"): count + bar (inc/campaign.php).
 * - `bw-goal-pill` (Paragraph): gold outlined box.
 * - `bw-gift-picker` / `bw-gift` / `bw-gift-submit`: amount cards and their button (main.js). */

.is-style-section-night,
.wp-block-cover.bw-campaign-hero {
	--bw-gold: var(--wp--preset--color--gold, #f6c85f);
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
/* Stars: one large, randomly scattered star field (assets/images/night-stars.svg, 1440×1000), so
 * there are no rows or columns of dots. Each section starts at a different spot in it. */
.is-style-section-night::before,
.wp-block-cover.bw-campaign-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: url("../images/night-stars.svg") 0 0 / 1440px 1000px repeat;
}
.is-style-section-night:nth-child(4n+2)::before { background-position: -523px -311px; }
.is-style-section-night:nth-child(4n+3)::before { background-position: -967px -683px; }
.is-style-section-night:nth-child(4n)::before { background-position: -241px -857px; }
/* Fireflies: soft gold glows spread across the section; they glow up and down slowly. */
.is-style-section-night::after,
.wp-block-cover.bw-campaign-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		radial-gradient(circle at 4% 18%, #ffe7a3 0 2px, rgba(246, 200, 95, 0.5) 3px, transparent 11px),
		radial-gradient(circle at 13% 72%, #ffe7a3 0 1.5px, rgba(246, 200, 95, 0.5) 2.5px, transparent 8px),
		radial-gradient(circle at 27% 35%, #ffe7a3 0 1.5px, rgba(246, 200, 95, 0.45) 2.5px, transparent 8px),
		radial-gradient(circle at 41% 88%, #ffe7a3 0 2px, rgba(246, 200, 95, 0.5) 3px, transparent 10px),
		radial-gradient(circle at 58% 12%, #ffe7a3 0 1.5px, rgba(246, 200, 95, 0.45) 2.5px, transparent 8px),
		radial-gradient(circle at 69% 64%, #ffe7a3 0 2px, rgba(246, 200, 95, 0.5) 3px, transparent 12px),
		radial-gradient(circle at 83% 28%, #ffe7a3 0 2.5px, rgba(246, 200, 95, 0.55) 3.5px, transparent 13px),
		radial-gradient(circle at 92% 81%, #ffe7a3 0 1.5px, rgba(246, 200, 95, 0.5) 2.5px, transparent 9px),
		radial-gradient(circle at 97% 46%, #ffe7a3 0 2px, rgba(246, 200, 95, 0.5) 3px, transparent 10px);
	animation: bw-fireflies 5s ease-in-out infinite alternate;
}
@keyframes bw-fireflies {
	from { opacity: 0.55; }
	to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.is-style-section-night::after,
	.wp-block-cover.bw-campaign-hero::after {
		animation: none;
	}
}
.is-style-section-night > * {
	position: relative;
	z-index: 1;
}

/* Live fireflies (main.js): each drifts on its own slow path and blinks; the outer span is pushed
 * away from the cursor. Once they're added, the still CSS glows above are hidden. */
.is-style-section-night.has-live-fireflies::after,
.wp-block-cover.bw-campaign-hero.has-live-fireflies::after {
	display: none;
}
.is-style-section-night > .bw-fireflies,
.wp-block-cover.bw-campaign-hero > .bw-fireflies,
.wp-block-cover.bw-slides > .bw-fireflies {
	position: absolute;
	inset: 0;
	z-index: 1;
	max-width: none;
	margin: 0 !important;
	overflow: hidden;
	pointer-events: none;
}
.is-style-section-night > .bw-fireflies {
	z-index: 0;
}
/* Slideshow Covers: fireflies fly over the photos but behind the heading and gift form. */
.wp-block-cover.bw-slides > .wp-block-cover__inner-container {
	z-index: 2;
}
.bw-firefly {
	position: absolute;
	transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.bw-firefly__glow {
	display: block;
	border-radius: 50%;
	background: #ffe7a3;
	box-shadow: 0 0 8px 3px rgba(246, 200, 95, 0.7), 0 0 22px 8px rgba(246, 200, 95, 0.25);
	animation-name: bw-firefly-drift, bw-firefly-blink;
	animation-timing-function: ease-in-out, ease-in-out;
	animation-iteration-count: infinite, infinite;
}
.bw-fireflies.is-paused .bw-firefly__glow {
	animation-play-state: paused;
}
@keyframes bw-firefly-drift {
	0%, 100% { transform: translate(0, 0); }
	25% { transform: translate(var(--x1), var(--y1)); }
	50% { transform: translate(var(--x2), var(--y2)); }
	75% { transform: translate(var(--x3), var(--y3)); }
}
@keyframes bw-firefly-blink {
	0%, 100% { opacity: 0.15; }
	35% { opacity: 0.25; }
	45%, 60% { opacity: 1; }
	75% { opacity: 0.2; }
}
/* Sparks that rise from a gift card when it's picked. */
.bw-spark {
	position: absolute;
	width: 5px;
	height: 5px;
	margin: -2.5px 0 0 -2.5px;
	border-radius: 50%;
	background: #ffe7a3;
	box-shadow: 0 0 10px 4px rgba(246, 200, 95, 0.8);
	opacity: 0;
	animation: bw-spark 1.3s ease-out forwards;
}
@keyframes bw-spark {
	0% { opacity: 0; transform: translate(0, 0) scale(0.6); }
	15% { opacity: 1; }
	100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(1.1); }
}

/* Hero: night sky behind the cover; the jar photo fills the lower 90% and fades in and out at
 * its top and bottom; text lines up with the wide content edge. */
.wp-block-cover.bw-campaign-hero {
	background: var(--wp--preset--gradient--night-sky);
	align-items: flex-start;
	padding-top: clamp(48px, 10.11px + 9.714vw, 150px);
	/* % here is the post content's inner width, so add its side padding back to get the screen width. */
	padding-inline: max(var(--wp--style--root--padding-left, 1.25rem), calc((100% + var(--wp--style--root--padding-left, 0px) + var(--wp--style--root--padding-right, 0px) - var(--wp--style--global--wide-size, 1200px)) / 2));
}
.wp-block-cover.bw-campaign-hero > .wp-block-cover__image-background,
.wp-block-cover.bw-campaign-hero > picture > .wp-block-cover__image-background {
	top: auto;
	height: 90%;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}
.wp-block-cover.bw-campaign-hero::before { z-index: 1; }
.wp-block-cover.bw-campaign-hero::after { z-index: 1; }
.wp-block-cover.bw-campaign-hero > .wp-block-cover__inner-container {
	z-index: 2;
	max-width: 520px;
	margin: 0;
	width: 100%;
}
.wp-block-cover.bw-campaign-hero h1 {
	margin: 0;
	font-family: var(--wp--preset--font-family--nunito);
	font-size: clamp(42px, 29.37px + 3.238vw, 76px);
	font-weight: 900;
	line-height: 1.02;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.wp-block-cover.bw-campaign-hero h1 + p {
	margin: clamp(16px, 13.77px + 0.571vw, 22px) 0 0;
	font-family: var(--wp--preset--font-family--nunito);
	font-size: clamp(26px, 20.80px + 1.333vw, 40px);
	font-weight: 900;
	line-height: 1.2;
	text-shadow: 0 0 24px rgba(246, 200, 95, 0.45);
}
.wp-block-cover.bw-campaign-hero .wp-block-buttons {
	margin: clamp(22px, 16.80px + 1.333vw, 36px) 0 0;
}

/* Campaign sections (class `bw-campaign`): type as in the mockup, phone → desktop. Headings use
 * Nunito Black here, like the mockup, rather than the site's heading font. */
.bw-campaign h2 {
	font-family: var(--wp--preset--font-family--nunito);
	font-size: clamp(30px, 24.80px + 1.333vw, 44px);
	font-weight: 900;
	line-height: 1.15;
}
.bw-campaign:has(.bw-progress) h2 {
	font-size: clamp(30px, 23.31px + 1.714vw, 48px);
}
/* Body text (WordPress gives every paragraph the class wp-block-paragraph, so match on "no style"). */
.bw-campaign p:not([class*="is-style"]):not([class*="bw-progress"]) {
	font-size: clamp(16px, 14.89px + 0.286vw, 19px);
	line-height: clamp(26px, 24.51px + 0.381vw, 30px);
}
/* Spacing between blocks, as in the mockup (WordPress drops clamp() gaps set on the block). */
.bw-campaign.is-layout-constrained > * + * {
	margin-block-start: clamp(20px, 17.77px + 0.571vw, 26px);
}
.bw-campaign.is-layout-constrained > p + p {
	margin-block-start: 20px;
}
.bw-campaign.is-layout-constrained:has(.bw-gift-picker) > * + * {
	margin-block-start: clamp(24px, 21.03px + 0.762vw, 32px);
}
.bw-campaign.is-layout-constrained > .bw-gift-picker + p,
.bw-campaign.is-layout-constrained > .bw-quote + .wp-block-buttons {
	margin-block-start: clamp(24px, 16.57px + 1.905vw, 36px);
}
.bw-campaign .is-style-statement {
	font-size: clamp(22px, 19.77px + 0.571vw, 28px);
	font-weight: 800;
	line-height: 1.3;
}
.bw-campaign .is-style-statement.bw-goal-pill {
	font-size: clamp(18px, 16.51px + 0.381vw, 22px);
	line-height: 1.4;
}
.bw-campaign .is-style-statement.bw-quote {
	font-size: clamp(20px, 17.77px + 0.571vw, 26px);
	font-weight: 700;
	line-height: 1.4;
}
.bw-campaign .is-style-statement.bw-closing {
	font-size: clamp(18px, 17.26px + 0.190vw, 20px);
	line-height: normal;
}
@media (max-width: 781px) {
	/* Phones: text first, then the (portrait) photo, which overlaps the text area by 40px. */
	.wp-block-cover.bw-campaign-hero {
		flex-direction: column;
		flex-wrap: nowrap;
		min-height: 0 !important;
		padding-top: 48px;
		padding-bottom: 0;
	}
	.wp-block-cover.bw-campaign-hero > .wp-block-cover__background {
		display: none;
	}
	.wp-block-cover.bw-campaign-hero > .wp-block-cover__image-background,
	.wp-block-cover.bw-campaign-hero > picture > .wp-block-cover__image-background {
		position: relative;
		order: 2;
		z-index: 0;
		width: calc(100% + var(--wp--style--root--padding-left, 1.25rem) + var(--wp--style--root--padding-right, 1.25rem));
		max-width: none;
		height: auto;
		aspect-ratio: 760 / 1050;
		margin: -40px calc(-1 * var(--wp--style--root--padding-left, 1.25rem)) 0;
		-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
		mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
	}
	.wp-block-cover.bw-campaign-hero > .wp-block-cover__inner-container {
		order: 1;
	}
	.wp-block-cover.bw-campaign-hero h1 {
		line-height: 1.05;
	}
	/* Story section: a little more room under the hero photo on phones. */
	.bw-campaign:has(.bw-glow-frame) {
		padding-top: 16px !important;
	}
}
@media (min-width: 600px) and (max-width: 781px) {
	/* Large phones / small tablets: keep the portrait photo from getting taller than ~800px. */
	.wp-block-cover.bw-campaign-hero > .wp-block-cover__image-background,
	.wp-block-cover.bw-campaign-hero > picture > .wp-block-cover__image-background {
		width: 580px;
		align-self: center;
		margin: -40px auto 0;
		-webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
		mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
	}
}

/* Magic jar (main.js): a layer over the jar in the hero photo. */
.wp-block-cover.bw-campaign-hero > .bw-jar {
	position: absolute;
	z-index: 1;
	margin: 0;
	max-width: none;
	pointer-events: none;
	border-radius: 14% / 9%;
	overflow: hidden;
}
.bw-jar__glow {
	position: absolute;
	inset: -5%;
	background: radial-gradient(ellipse 55% 50% at 50% 50%, rgba(255, 214, 120, 0.55) 0%, rgba(255, 200, 95, 0.22) 45%, transparent 75%);
	mix-blend-mode: screen;
	opacity: 0.5;
	animation: bw-jar-breathe 4.5s ease-in-out infinite alternate;
	transition: filter 0.6s ease;
}
@keyframes bw-jar-breathe {
	0% { opacity: 0.35; transform: scale(0.97); }
	55% { opacity: 0.85; transform: scale(1.02); }
	70% { opacity: 0.6; }
	100% { opacity: 0.9; transform: scale(1); }
}
.bw-jar.is-lit .bw-jar__glow {
	filter: brightness(1.6) saturate(1.2);
}
/* Sparkles: twinkle and drift upward inside the glass. */
.bw-jar__spark {
	position: absolute;
	width: var(--s, 4px);
	height: var(--s, 4px);
	border-radius: 50%;
	background: var(--c, #ffe7a3);
	box-shadow: 0 0 6px 2px var(--c, #ffe7a3);
	opacity: 0;
	animation: bw-jar-spark 4.5s ease-in-out infinite;
}
@keyframes bw-jar-spark {
	0% { opacity: 0; transform: translateY(0) scale(0.4); }
	30% { opacity: 1; transform: translateY(-10px) scale(1); }
	60% { opacity: 0.3; transform: translateY(-22px) scale(0.7); }
	75% { opacity: 0.9; transform: translateY(-28px) scale(1); }
	100% { opacity: 0; transform: translateY(-40px) scale(0.4); }
}
.bw-jar.is-lit .bw-jar__spark {
	animation-duration: 2.2s;
}
@media (prefers-reduced-motion: reduce) {
	.bw-jar__glow {
		animation: none;
	}
}

/* Button with a glowing firefly dot before the label. */
.wp-block-button.bw-firefly-btn > .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 60px;
	padding-inline: 36px;
	font-size: 18px;
	border-radius: var(--wp--preset--border-radius--small);
}
.wp-block-button.bw-firefly-btn > .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wp--preset--color--gold);
	box-shadow: 0 0 10px 3px rgba(246, 200, 95, 0.8);
}
@media (max-width: 781px) {
	.bw-gift-submit.wp-block-button,
	.bw-gift-submit.wp-block-button > .wp-block-button__link {
		width: 100%;
	}
}

/* Story photo: gold ring and glow. */
.wp-block-image.bw-glow-frame img {
	box-shadow: 0 0 0 6px rgba(246, 200, 95, 0.22), 0 0 60px rgba(246, 200, 95, 0.18);
}
@media (max-width: 781px) {
	.wp-block-image.bw-glow-frame img {
		height: 300px !important;
	}
	.bw-campaign .wp-block-columns {
		gap: 32px;
	}
}

/* Progress: big count, bar with a coral milestone tick, scale underneath. */
.wp-block-group .bw-progress {
	width: 100%;
	max-width: 960px;
	margin-inline: auto;
	text-align: center;
}
.bw-progress__count {
	margin: 0 0 clamp(20px, 17.77px + 0.571vw, 26px);
	font-family: var(--wp--preset--font-family--nunito);
	font-weight: 900;
	line-height: 1;
}
.bw-progress__num {
	font-size: clamp(56px, 44.11px + 3.048vw, 88px);
	color: var(--wp--preset--color--gold);
	text-shadow: 0 0 30px rgba(246, 200, 95, 0.5);
}
.bw-progress__of {
	font-size: clamp(22px, 19.03px + 0.762vw, 30px);
	color: var(--wp--preset--color--base);
}
.bw-progress__bar {
	position: relative;
	height: 20px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.14);
}
.bw-progress__fill {
	display: block;
	height: 100%;
	max-width: 100%;
	border-radius: 10px;
	background: var(--wp--preset--color--gold);
	box-shadow: 0 0 16px rgba(246, 200, 95, 0.9);
}
.bw-progress__tick {
	position: absolute;
	top: -7px;
	width: 3px;
	height: 34px;
	margin-left: -1.5px;
	border-radius: 2px;
	background: var(--wp--preset--color--accent);
}
.bw-progress__scale {
	position: relative;
	height: 22px;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--wp--preset--color--line);
}
.bw-progress__scale > span {
	position: absolute;
	left: 0;
}
.bw-progress__scale > span:last-child {
	left: auto;
	right: 0;
}
.bw-progress__scale > .bw-progress__milestone {
	transform: translateX(-50%);
	white-space: nowrap;
	color: var(--wp--preset--color--accent);
}

/* Gold outlined box ("Our first goal: …"). */
.bw-goal-pill {
	padding: 18px 26px;
	border: 2px solid rgba(246, 200, 95, 0.5);
	border-radius: var(--wp--preset--border-radius--medium);
	background: rgba(246, 200, 95, 0.12);
}

/* Gift picker: three amount cards; the chosen one glows gold. */
.wp-block-group.bw-gift-picker {
	width: 100%;
	max-width: 1000px;
	margin-inline: auto;
}
.bw-gift-picker > .bw-gift {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 28px;
	border: 3px solid rgba(255, 255, 255, 0.25);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.06);
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.bw-gift-picker > .bw-gift > * {
	margin: 0;
}
.bw-gift-picker > .bw-gift .is-style-stat {
	font-size: clamp(32px, 27.54px + 1.143vw, 44px);
	line-height: 1;
}
.bw-gift-picker > .bw-gift > p:not(.is-style-stat) {
	font-size: clamp(16px, 15.26px + 0.190vw, 18px);
	font-weight: 700;
	line-height: 1.3;
}
.bw-gift-picker > .bw-gift:hover {
	border-color: rgba(255, 255, 255, 0.5);
}
.bw-gift-picker > .bw-gift:focus-visible {
	outline: 3px solid var(--wp--preset--color--base);
	outline-offset: 3px;
}
.bw-gift-picker > .bw-gift.is-selected {
	border-color: var(--wp--preset--color--gold);
	background: rgba(246, 200, 95, 0.14);
	box-shadow: 0 0 30px rgba(246, 200, 95, 0.25);
}
/* A firefly in the chosen card's corner. */
.bw-gift-picker > .bw-gift.is-selected::after {
	content: "";
	position: absolute;
	top: 18px;
	right: 18px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffe7a3;
	box-shadow: 0 0 12px 5px rgba(246, 200, 95, 0.85);
}
/* The whole card is the link (the amount's link is stretched over it). */
.bw-gift-picker > .bw-gift a {
	color: inherit !important;
	text-decoration: none;
}
.bw-gift-picker > .bw-gift a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}
@media (max-width: 781px) {
	.wp-block-group.bw-gift-picker {
		grid-template-columns: minmax(0, 1fr) !important; /* core sets 3 columns inline */
		gap: 12px;
	}
	.bw-gift-picker > .bw-gift {
		flex-direction: row;
		align-items: center;
		gap: 14px;
		padding: 18px 44px 18px 20px;
	}
	.bw-gift-picker > .bw-gift.is-selected::after {
		top: 50%;
		margin-top: -4px;
	}
}

/* ---------------------------------------------------------- Announcement bar
 * Theme Settings → Announcement Bar (inc/announcement-bar.php). Sits above the header.
 * --dark: white text, gold button. --light: night text, night button. */
.bw-announcement {
	--bw-ann-text: var(--wp--preset--color--base);
	--bw-ann-btn-bg: var(--wp--preset--color--gold);
	--bw-ann-btn-text: var(--wp--preset--color--night);
	color: var(--bw-ann-text);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
}
.bw-announcement--light {
	--bw-ann-text: var(--wp--preset--color--night);
	--bw-ann-btn-bg: var(--wp--preset--color--night);
	--bw-ann-btn-text: var(--wp--preset--color--base);
}
.bw-announcement__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 1.25rem;
	max-width: var(--wp--style--global--wide-size, 1280px);
	margin-inline: auto;
	padding: 0.625rem var(--wp--style--root--padding-right, 1.25rem) 0.625rem var(--wp--style--root--padding-left, 1.25rem);
	text-align: center;
}
.bw-announcement__text {
	margin: 0;
	font-weight: 600;
}
.bw-announcement__button {
	display: inline-block;
	padding: 0.375rem 1rem;
	border-radius: var(--wp--preset--border-radius--small, 6px);
	background-color: var(--bw-ann-btn-bg);
	color: var(--bw-ann-btn-text);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.15s ease;
}
.bw-announcement__button:hover,
.bw-announcement__button:focus-visible {
	opacity: 0.88;
	color: var(--bw-ann-btn-text);
	text-decoration: none;
}
.bw-announcement__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Our Process Hero Updates */
.page-id-74 .wp-block-cover:has(> .wp-block-cover__image-background, > picture) h1, 
.page-id-74 .wp-block-cover:has(> .wp-block-cover__image-background, > picture) h1 + p {
	text-shadow: none;
}

.wp-embed-responsive #donors .wp-embed-aspect-4-3 .wp-block-embed__wrapper::before {
	padding-top: 56.25%;
}

/* GDPR */
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton, 
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton,
#moove_gdpr_cookie_modal .moove-gdpr-modal-content.moove_gdpr_modal_theme_v1 .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton, 
#moove_gdpr_cookie_modal .moove-gdpr-modal-content.moove_gdpr_modal_theme_v1 .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton {
	border: 0 !important;
	border-radius: 8px !important;
	color: #fff !important;
	font-family: Nunito, system-ui, sans-serif !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton:hover, 
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton:hover,
#moove_gdpr_cookie_modal .moove-gdpr-modal-content.moove_gdpr_modal_theme_v1 .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton:hover, 
#moove_gdpr_cookie_modal .moove-gdpr-modal-content.moove_gdpr_modal_theme_v1 .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton:hover {
	background-color: #163866 !important;
}