/*
Theme Name: Bright Dreamers Club
Theme URI: https://brightdreamers.org/
Author: Bright Dreamers Club
Author URI: https://brightdreamers.org/
Description: Custom theme for Bright Dreamers Club — a nonprofit community inspiring children through learning, creativity, and opportunity.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bright-dreamers-club
Tags: custom-logo, custom-menu, featured-images, translation-ready, blog
*/

/* --------------------------------------------------------------------------
   CSS Custom Properties — brand palette from logo
   (Room reserved below for green, purple, cream as sections are built.)
   -------------------------------------------------------------------------- */
:root {
	/* Brand */
	--color-pink: #de6995;
	--color-pink-alt: #f25d82;
	--color-yellow: #fec006;
	--color-brown: #7c4c26;
	--color-teal: #4aabb1;
	--color-tan: #c5996d;
	--color-orange: #d49664;
	--color-purple: #8b5cad;
	--color-green: #5aaf6e;

	/* Neutrals / surfaces */
	--color-cream: #fff9f2;
	--color-footer-bg: #fdf9ee; /* extracted from approved footer mockup */
	--color-footer-text: #4d3a3a; /* dark plum/brown body text in footer */
	--color-announcement: #fcf5f2;
	--color-text: #2b2b2b;
	--color-text-muted: #5c5c5c;
	--color-border: #eadfd6;
	--color-white: #ffffff;
	--color-black: #000000;

	/* Typography */
	--font-sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-display: "Fredoka", "Nunito", "Segoe UI", system-ui, sans-serif;
	--font-size-base: 1rem;
	--line-height: 1.6;

	/* Spacing */
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;
	--space-2xl: 6rem;

	/* Layout */
	--container: 74rem;
	--header-logo-height: 5.75rem;
	--radius-pill: 999rem;
	--radius: 0.375rem;
	--transition: 0.2s ease;
	--nav-breakpoint: 64rem;
}

/*
 * GLOBAL RULE: Multi-card/icon-grid sections (e.g. program cards,
 * "what children learn" icon grids, testimonials) — if cards don't
 * fit in a single row on tablet/mobile breakpoints, they become a
 * horizontal SLIDER/carousel (swipeable), NOT a wrapped multi-row
 * grid. Simple content sections (hero, text+image, single-column
 * content) stack normally (no slider).
 */

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

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--font-size-base);
	line-height: var(--line-height);
	color: var(--color-text);
	background-color: var(--color-white);
}

body.bdc-nav-open {
	overflow: hidden;
}

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

a {
	color: var(--color-pink);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	transition: color var(--transition);
}

a:hover,
a:focus-visible {
	color: var(--color-pink-alt);
}

a:focus-visible {
	outline: 0.125rem solid var(--color-pink);
	outline-offset: 0.125rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-display);
	line-height: 1.25;
	margin: 0 0 var(--space-sm);
}

p {
	margin: 0 0 var(--space-sm);
}

ul,
ol {
	margin: 0 0 var(--space-sm);
	padding-left: 1.25rem;
}

button,
input,
select,
textarea {
	font: inherit;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.bdc-container {
	width: min(100% - 2rem, var(--container));
	margin-inline: auto;
}

.bdc-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.bdc-site__main {
	flex: 1;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--color-white);
	clip: auto !important;
	clip-path: none;
	color: var(--color-text);
	display: block;
	font-size: 0.875rem;
	height: auto;
	left: 0.3125rem;
	line-height: normal;
	padding: 0.9375rem 1.4375rem;
	text-decoration: none;
	top: 0.3125rem;
	width: auto;
	z-index: 100000;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.bdc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 2.5rem;
	padding: 0.45rem 1.35rem;
	border-radius: var(--radius-pill);
	border: 0.125rem solid transparent;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition:
		background-color var(--transition),
		color var(--transition),
		border-color var(--transition),
		box-shadow var(--transition);
}

.bdc-btn:focus-visible {
	outline: 0.125rem solid var(--color-brown);
	outline-offset: 0.125rem;
}

.bdc-btn--primary {
	background-color: var(--color-pink);
	border-color: var(--color-pink);
	color: var(--color-white);
}

.bdc-btn--primary:hover,
.bdc-btn--primary:focus-visible {
	background-color: var(--color-pink-alt);
	border-color: var(--color-pink-alt);
	color: var(--color-white);
}

.bdc-btn--outline {
	background-color: var(--color-white);
	border-color: var(--color-pink);
	color: var(--color-pink);
}

.bdc-btn--outline:hover,
.bdc-btn--outline:focus-visible {
	background-color: var(--color-pink);
	color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Announcement bar
   -------------------------------------------------------------------------- */
.bdc-announcement {
	background-color: var(--color-announcement);
	color: var(--color-text-muted);
	font-size: 0.8125rem;
	border-bottom: 0.0625rem solid var(--color-border);
}

.bdc-announcement__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm);
	min-height: 2.25rem;
	padding-block: 0.4rem;
	position: relative;
}

.bdc-announcement__text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	text-align: center;
	line-height: 1.4;
	max-width: 48rem;
}

.bdc-announcement__heart {
	display: inline-flex;
	color: var(--color-pink);
	flex-shrink: 0;
}

.bdc-announcement__heart svg {
	display: block;
}

.bdc-social {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bdc-social--announcement {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.bdc-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	color: var(--color-pink);
	text-decoration: none;
	border-radius: var(--radius);
	transition: color var(--transition), background-color var(--transition);
}

.bdc-social__link:hover,
.bdc-social__link:focus-visible {
	color: var(--color-pink-alt);
	background-color: var(--color-white);
}

.bdc-social__icon {
	width: 0.95rem;
	height: 0.95rem;
	fill: currentColor;
}

@media (max-width: 40rem) {
	.bdc-social--announcement {
		display: none;
	}

	.bdc-announcement__text {
		font-size: 0.75rem;
		padding-inline: 0.25rem;
	}
}

/* --------------------------------------------------------------------------
   Site header (sticky)
   -------------------------------------------------------------------------- */
.bdc-header {
	background-color: var(--color-white);
	border-bottom: 0.0625rem solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 200;
}

.bdc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-sm);
	min-height: 5.75rem;
	padding-block: 0.75rem;
}

.bdc-header__branding {
	flex-shrink: 0;
	z-index: 2;
}

.bdc-header__logo-link {
	display: inline-flex;
	text-decoration: none;
}

.bdc-header__logo {
	height: 4.25rem;
	width: auto;
	max-width: 14rem;
	object-fit: contain;
}

.bdc-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
	z-index: 2;
}

.bdc-header__ctas {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.4rem;
}

.bdc-header__ctas--desktop {
	display: none;
}

.bdc-header__ctas .bdc-btn {
	min-width: 9.5rem;
	padding-inline: 1.1rem;
	font-size: 0.75rem;
}

/* Hamburger */
.bdc-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0.0625rem solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-white);
	color: var(--color-brown);
	cursor: pointer;
}

.bdc-nav-toggle:hover,
.bdc-nav-toggle:focus-visible,
.bdc-nav-toggle[aria-expanded="true"] {
	border-color: var(--color-pink);
	color: var(--color-pink);
}

.bdc-nav-toggle__box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.28rem;
	width: 1.15rem;
}

.bdc-nav-toggle__bar {
	display: block;
	height: 0.125rem;
	width: 100%;
	background-color: currentColor;
	border-radius: 999rem;
	transition: transform var(--transition), opacity var(--transition);
}

.bdc-nav-toggle[aria-expanded="true"] .bdc-nav-toggle__bar:nth-child(1) {
	transform: translateY(0.405rem) rotate(45deg);
}

.bdc-nav-toggle[aria-expanded="true"] .bdc-nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.bdc-nav-toggle[aria-expanded="true"] .bdc-nav-toggle__bar:nth-child(3) {
	transform: translateY(-0.405rem) rotate(-45deg);
}

/* Mobile / tablet nav panel */
.bdc-nav {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(20.5rem, 88vw);
	height: 100vh;
	height: 100dvh;
	background-color: var(--color-white);
	padding: 5.5rem 1.25rem 1.5rem;
	overflow-y: auto;
	transform: translateX(105%);
	transition: transform 0.28s ease;
	z-index: 190;
	box-shadow: -0.5rem 0 1.5rem rgba(0, 0, 0, 0.08);
}

.bdc-nav.is-open {
	transform: translateX(0);
}

.bdc-nav-overlay {
	position: fixed;
	inset: 0;
	background-color: rgba(44, 30, 20, 0.35);
	z-index: 180;
}

.bdc-nav-overlay[hidden] {
	display: none;
}

.bdc-nav__list {
	list-style: none;
	margin: 0 0 var(--space-md);
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.bdc-nav__list a {
	display: block;
	padding: 0.7rem 0.5rem;
	color: var(--color-text);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	border-radius: var(--radius);
}

.bdc-nav__list a:hover,
.bdc-nav__list a:focus-visible {
	color: var(--color-pink);
	background-color: var(--color-cream);
}

.bdc-nav__list .current-menu-item > a,
.bdc-nav__list .current_page_item > a {
	color: var(--color-pink);
	font-weight: 600;
}

.bdc-header__ctas--mobile {
	display: flex;
	padding-top: var(--space-sm);
	border-top: 0.0625rem solid var(--color-border);
}

.bdc-header__ctas--mobile .bdc-btn {
	width: 100%;
	min-width: 0;
	font-size: 0.875rem;
	min-height: 2.75rem;
}

@media (min-width: 30rem) {
	.bdc-header__logo {
		height: 5rem;
		max-width: 16.5rem;
	}
}

/* Desktop header — matches approved screenshot layout */
@media (min-width: 64rem) {
	.bdc-header__inner {
		display: grid;
		grid-template-columns: auto 1fr auto;
		align-items: center;
		gap: 1.25rem;
		min-height: 6.5rem;
	}

	.bdc-header__logo {
		height: var(--header-logo-height);
		max-width: 18.5rem;
	}

	.bdc-nav-toggle,
	.bdc-nav-overlay,
	.bdc-header__ctas--mobile {
		display: none;
	}

	.bdc-nav {
		position: static;
		inset: auto;
		width: auto;
		height: auto;
		padding: 0;
		overflow: visible;
		transform: none;
		box-shadow: none;
		background: transparent;
		justify-self: center;
	}

	.bdc-nav__list {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 0.15rem 0.1rem;
		margin: 0;
	}

	.bdc-nav__list a {
		padding: 0.35rem 0.7rem;
		font-size: 0.875rem;
		font-weight: 500;
		color: var(--color-text);
		background: transparent;
		position: relative;
	}

	.bdc-nav__list a::after {
		content: "";
		position: absolute;
		left: 0.7rem;
		right: 0.7rem;
		bottom: 0.1rem;
		height: 0.125rem;
		background-color: var(--color-pink);
		border-radius: 999rem;
		transform: scaleX(0);
		transform-origin: center;
		transition: transform 0.25s ease;
	}

	.bdc-nav__list a:hover,
	.bdc-nav__list a:focus-visible {
		background: transparent;
		color: var(--color-pink);
	}

	.bdc-nav__list a:hover::after,
	.bdc-nav__list a:focus-visible::after,
	.bdc-nav__list .current-menu-item > a::after,
	.bdc-nav__list .current_page_item > a::after {
		transform: scaleX(1);
	}

	.bdc-nav__list .current-menu-item > a,
	.bdc-nav__list .current_page_item > a {
		color: var(--color-pink);
		font-weight: 600;
	}

	.bdc-header__ctas--desktop {
		display: flex;
	}

	.bdc-header__actions {
		justify-self: end;
	}
}

@media (min-width: 75rem) {
	.bdc-nav__list a {
		padding-inline: 0.85rem;
		font-size: 0.9rem;
	}

	.bdc-header__ctas .bdc-btn {
		min-width: 10.25rem;
		font-size: 0.8125rem;
	}
}

/* --------------------------------------------------------------------------
   Content
   -------------------------------------------------------------------------- */
.bdc-content {
	padding-block: var(--space-lg);
}

.bdc-entry__title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.bdc-entry__content > *:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.bdc-footer {
	background-color: var(--color-footer-bg);
	color: var(--color-footer-text);
	padding-block: var(--space-xl) var(--space-md);
	margin-top: auto;
}

.bdc-footer a {
	color: var(--color-footer-text);
	text-decoration: none;
}

.bdc-footer a:hover,
.bdc-footer a:focus-visible {
	color: var(--color-pink);
	text-decoration: none;
}

.bdc-footer__grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}

.bdc-footer__brand {
	max-width: 18rem;
}

.bdc-footer__logo-link {
	display: inline-flex;
	text-decoration: none;
}

.bdc-footer__logo {
	height: 4rem;
	width: auto;
	max-width: 13.5rem;
	object-fit: contain;
}

.bdc-footer__tagline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin: 0.85rem 0 0.6rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.bdc-footer__tagline-sep {
	color: var(--color-tan);
	font-weight: 400;
}

.bdc-footer__tagline-word--dream {
	color: var(--color-teal);
}

.bdc-footer__tagline-word--create {
	color: var(--color-pink);
}

.bdc-footer__tagline-word--grow {
	color: var(--color-orange);
}

.bdc-footer__tagline-word--give {
	color: var(--color-brown);
}

.bdc-footer__mission {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--color-footer-text);
}

.bdc-footer__heading {
	font-size: 1.0625rem;
	font-weight: 700;
	margin: 0 0 1rem;
	color: var(--color-footer-text);
	letter-spacing: 0.01em;
}

.bdc-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bdc-footer__menu li + li {
	margin-top: 0.7rem;
}

.bdc-footer__menu a {
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.45;
}

.bdc-footer__newsletter-label {
	display: block;
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--color-footer-text);
}

.bdc-footer__newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.bdc-footer__newsletter-input {
	width: 100%;
	min-height: 2.85rem;
	padding: 0.65rem 1rem;
	border: 0.0625rem solid var(--color-border);
	border-radius: 0.5rem;
	background-color: var(--color-white);
	color: var(--color-footer-text);
	font-size: 0.9375rem;
}

.bdc-footer__newsletter-input::placeholder {
	color: #9a8b84;
}

.bdc-footer__newsletter-input:focus-visible {
	outline: 0.125rem solid var(--color-pink);
	outline-offset: 0.125rem;
}

.bdc-footer__newsletter-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.85rem;
	padding: 0.65rem 1.2rem;
	border: 0;
	border-radius: 0.5rem;
	background-color: var(--color-pink-alt);
	color: var(--color-white);
	cursor: pointer;
	font-size: 0.9375rem;
	font-weight: 700;
	white-space: nowrap;
	transition: background-color var(--transition);
}

.bdc-footer__newsletter-submit:hover,
.bdc-footer__newsletter-submit:focus-visible {
	background-color: var(--color-pink);
}

.bdc-footer__newsletter-submit .bdc-icon-heart-outline {
	display: block;
	flex-shrink: 0;
	width: 0.95rem;
	height: 0.95rem;
}

.bdc-footer__note {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 1.15rem 0 0;
	font-size: 0.875rem;
	line-height: 1.4;
	color: var(--color-footer-text);
}

.bdc-footer__note-heart {
	display: inline-flex;
	color: var(--color-pink-alt);
	flex-shrink: 0;
}

.bdc-footer__note-heart .bdc-icon-heart-outline {
	display: block;
	width: 0.85rem;
	height: 0.85rem;
}

.bdc-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 0.0625rem solid #e8dfd4;
	text-align: center;
}

.bdc-footer__copyright {
	margin: 0;
	max-width: 48rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--color-footer-text);
}

.bdc-social--footer {
	gap: 0.5rem;
	margin-top: 0.15rem;
}

.bdc-social__link--footer {
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 50%;
	background-color: var(--color-pink-alt);
	color: var(--color-white);
}

.bdc-social__link--footer:hover,
.bdc-social__link--footer:focus-visible {
	background-color: var(--color-pink);
	color: var(--color-white);
}

.bdc-social__link--footer .bdc-social__icon {
	width: 0.95rem;
	height: 0.95rem;
	fill: currentColor;
}

/* Tablet: logo full-width, then 2 columns */
@media (min-width: 48rem) {
	.bdc-footer__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem 1.75rem;
	}

	.bdc-footer__brand {
		grid-column: 1 / -1;
		max-width: 22rem;
	}

	.bdc-footer__newsletter-form {
		flex-direction: row;
		align-items: stretch;
	}

	.bdc-footer__newsletter-input {
		flex: 1;
		min-width: 0;
	}
}

/* Desktop: 5 columns — brand + Explore + Get Involved + Legal + Stay Connected */
@media (min-width: 64rem) {
	.bdc-footer {
		padding-block: 3.75rem 1.75rem;
	}

	.bdc-footer__grid {
		grid-template-columns: minmax(13rem, 1.2fr) repeat(3, minmax(0, 0.9fr)) minmax(15rem, 1.3fr);
		column-gap: 1.75rem;
		row-gap: 2rem;
		align-items: start;
	}

	.bdc-footer__brand {
		grid-column: auto;
		max-width: none;
		padding-right: 0.5rem;
	}

	.bdc-footer__logo {
		height: 4.5rem;
		max-width: 15rem;
	}

	.bdc-footer__heading {
		font-size: 1.125rem;
	}

	.bdc-footer__menu a {
		font-size: 1rem;
	}

	.bdc-footer__menu li + li {
		margin-top: 0.8rem;
	}

	.bdc-footer__newsletter-label,
	.bdc-footer__mission {
		font-size: 1rem;
	}

	.bdc-footer__bottom {
		margin-top: 2.75rem;
		padding-top: 1.35rem;
	}

	.bdc-footer__copyright {
		font-size: 0.9375rem;
	}
}

/* --------------------------------------------------------------------------
   Front page — Hero / Banner (flex)
   Left photo larger + flush bottom | right wordmark smaller + text + CTAs
   -------------------------------------------------------------------------- */
.bdc-front-page {
	overflow-x: clip;
}

.bdc-hero {
	position: relative;
	isolation: isolate;
	padding-top: clamp(1.25rem, 3vw, 2.25rem);
	padding-bottom: 0;
	background-color: #fffaf6;
	overflow: hidden;
}

.bdc-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-color: #fffaf6;
	background-image: var(--bdc-hero-bg);
	background-position: left top;
	background-size: cover;
	background-repeat: no-repeat;
	pointer-events: none;
}

.bdc-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.bdc-hero__media {
	flex: 0 0 auto;
	width: min(100%, 22rem);
	margin: 0;
	line-height: 0;
	align-self: center;
}

.bdc-hero__photo-wrap {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
}

.bdc-hero__photo {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	object-fit: contain;
	object-position: bottom center;
}

.bdc-hero__doodle {
	position: absolute;
	display: block;
	line-height: 0;
	pointer-events: none;
}

.bdc-hero__doodle svg {
	display: block;
	width: 100%;
	height: 100%;
}

.bdc-hero__doodle--star-1 {
	top: -0.4rem;
	left: 16%;
	width: 1.4rem;
	color: var(--color-pink);
	transform: rotate(-12deg);
}

.bdc-hero__doodle--heart {
	top: -0.2rem;
	left: 40%;
	width: 1.2rem;
	color: var(--color-pink-alt);
}

.bdc-hero__doodle--star-2 {
	top: 0.3rem;
	left: 56%;
	width: 1.05rem;
	color: var(--color-yellow);
	transform: rotate(8deg);
}

.bdc-hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.85rem;
	width: 100%;
	max-width: 22rem;
	padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.bdc-hero__wordmark-wrap {
	width: min(100%, 18rem);
}

.bdc-hero__wordmark {
	display: block;
	width: 100%;
	height: auto;
	margin-inline: auto;
	object-fit: contain;
}

.bdc-hero__text {
	margin: 0;
	max-width: 20rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--color-footer-text);
}

.bdc-hero__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.55rem;
	width: min(100%, 18rem);
	margin-top: 0.25rem;
}

.bdc-btn--hero {
	min-height: 2.5rem;
	padding: 0.45rem 1.15rem;
	font-size: 0.8125rem;
}

.bdc-btn__heart {
	flex-shrink: 0;
	width: 0.85rem;
	height: 0.85rem;
}

@media (min-width: 30rem) {
	.bdc-hero__actions {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		width: auto;
	}

	.bdc-btn--hero {
		min-width: 9.5rem;
	}
}

@media (min-width: 48rem) {
	.bdc-hero {
		padding-top: clamp(1.5rem, 2.5vw, 2.25rem);
	}

	.bdc-hero__inner {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 1.5rem 2rem;
		min-height: 22rem;
	}

	.bdc-hero__media {
		flex: 1 1 58%;
		width: auto;
		max-width: none;
		min-width: 0;
		align-self: flex-end;
	}

	.bdc-hero__content {
		flex: 0 1 38%;
		align-items: flex-start;
		align-self: center;
		text-align: left;
		max-width: 20rem;
		gap: 0.75rem;
		padding-bottom: clamp(2rem, 3.5vw, 3rem);
	}

	.bdc-hero__wordmark-wrap {
		width: min(100%, 19.5rem);
	}

	.bdc-hero__text {
		max-width: 19rem;
		font-size: 0.9375rem;
		text-align: left;
	}

	.bdc-hero__actions {
		justify-content: flex-start;
		width: auto;
	}

	.bdc-hero__doodle--star-1 {
		width: 1.65rem;
		top: -0.55rem;
		left: 14%;
	}

	.bdc-hero__doodle--heart {
		width: 1.4rem;
		left: 38%;
	}

	.bdc-hero__doodle--star-2 {
		width: 1.25rem;
		left: 54%;
	}
}

@media (min-width: 64rem) {
	.bdc-hero {
		padding-top: 2rem;
	}

	.bdc-hero__inner {
		gap: 1.75rem 2.5rem;
		min-height: 26rem;
	}

	.bdc-hero__media {
		flex: 1 1 60%;
	}

	.bdc-hero__content {
		flex: 0 1 34%;
		max-width: 21rem;
		gap: 0.85rem;
		padding-bottom: 3rem;
	}

	.bdc-hero__wordmark-wrap {
		width: min(100%, 20.5rem);
	}

	.bdc-hero__text {
		font-size: 0.9375rem;
		line-height: 1.6;
		max-width: 20rem;
	}

	.bdc-btn--hero {
		min-height: 2.6rem;
		padding: 0.5rem 1.25rem;
		font-size: 0.8125rem;
	}
}

@media (min-width: 75rem) {
	.bdc-hero__inner {
		gap: 2rem 3rem;
		min-height: 28rem;
	}

	.bdc-hero__media {
		flex: 1 1 62%;
	}

	.bdc-hero__content {
		flex: 0 1 32%;
		max-width: 22rem;
	}

	.bdc-hero__wordmark-wrap {
		width: min(100%, 21.5rem);
	}
}

/* --------------------------------------------------------------------------
   Home — Mission / Values — match reference screenshot
   Icon grid becomes horizontal slider below 64rem (global card-grid rule).
   -------------------------------------------------------------------------- */
.bdc-mission {
	background-color: #fffbf0;
	padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
}

.bdc-mission__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
}

.bdc-mission__star {
	flex: 0 0 auto;
	width: min(100%, 11rem);
	line-height: 0;
}

.bdc-mission__star img {
	display: block;
	width: 100%;
	height: auto;
}

.bdc-mission__copy {
	text-align: center;
	max-width: 36rem;
}

.bdc-mission__heading {
	margin: 0 0 0.75rem;
	font-family: var(--font-sans);
	font-size: clamp(1.25rem, 2.6vw, 1.4rem);
	font-weight: 700;
	line-height: 1.28;
	color: #2f2f2f;
}

.bdc-mission__text {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: #4a4a4a;
}

.bdc-mission__pillars-wrap {
	width: 100%;
	min-width: 0;
}

.bdc-mission__pillars {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Mobile / tablet: horizontal swipe slider */
.bdc-mission__pillars.bdc-slider {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--color-yellow) transparent;
}

.bdc-mission__pillar {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	flex: 0 0 10.5rem;
	max-width: 10.5rem;
	scroll-snap-align: center;
	text-align: center;
	padding: 0.15rem 0.75rem;
	box-sizing: border-box;
	position: relative;
	border-left: 0.1rem dashed #e8c84a;
}

.bdc-mission__pillar-icon {
	display: block;
	width: 3rem;
	height: 3rem;
	margin: 0 auto 0.4rem;
	object-fit: contain;
	flex-shrink: 0;
}

.bdc-mission__pillar-title {
	margin: 0 0 0.25rem;
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.15;
}

.bdc-mission__pillar-title--purple {
	color: var(--color-purple);
}

.bdc-mission__pillar-title--pink {
	color: var(--color-pink-alt);
}

.bdc-mission__pillar-title--teal {
	color: var(--color-teal);
}

.bdc-mission__pillar-title--yellow {
	color: var(--color-yellow);
}

.bdc-mission__pillar-desc {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.35;
	color: #4a4a4a;
	max-width: 7.25rem;
}

/* Desktop — tight proportions matching reference */
@media (min-width: 64rem) {
	.bdc-mission__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem 1rem;
		width: min(100% - 2rem, var(--container));
		max-width: none;
	}

	.bdc-mission__star {
		width: 10.5rem;
		flex: 0 0 10.5rem;
	}

	.bdc-mission__copy {
		flex: 0 1 22.5rem;
		text-align: left;
		max-width: 22.5rem;
		min-width: 0;
		padding-right: 0.35rem;
	}

	.bdc-mission__heading {
		font-size: 1.375rem;
		line-height: 1.28;
		max-width: 22rem;
	}

	.bdc-mission__text {
		font-size: 0.8125rem;
		line-height: 1.5;
	}

	.bdc-mission__pillars-wrap {
		flex: 0 0 auto;
		width: auto;
		max-width: none;
	}

	.bdc-mission__pillars.bdc-slider {
		overflow: visible;
		scroll-snap-type: none;
		width: max-content;
		align-items: stretch;
	}

	.bdc-mission__pillar {
		flex: 0 0 6.75rem;
		width: 6.75rem;
		max-width: 6.75rem;
		padding: 0 0.55rem;
		border-left: 0.1rem dashed #e8c84a;
	}

	.bdc-mission__pillar:last-child {
		padding-right: 0.15rem;
	}

	.bdc-mission__pillar-icon {
		width: 2.85rem;
		height: 2.85rem;
		margin-bottom: 0.35rem;
	}

	.bdc-mission__pillar-title {
		font-size: 0.9375rem;
	}

	.bdc-mission__pillar-desc {
		font-size: 0.7rem;
		line-height: 1.3;
		max-width: 6.25rem;
	}
}

@media (min-width: 75rem) {
	.bdc-mission__inner {
		gap: 0.85rem 1.15rem;
	}

	.bdc-mission__star {
		width: 11.25rem;
		flex-basis: 11.25rem;
	}

	.bdc-mission__copy {
		flex-basis: 23.5rem;
		max-width: 23.5rem;
	}

	.bdc-mission__heading {
		font-size: 1.4375rem;
		max-width: 23rem;
	}

	.bdc-mission__pillar {
		flex-basis: 7.15rem;
		width: 7.15rem;
		max-width: 7.15rem;
		padding: 0 0.6rem;
	}

	.bdc-mission__pillar-icon {
		width: 3.1rem;
		height: 3.1rem;
	}

	.bdc-mission__pillar-desc {
		font-size: 0.72rem;
		max-width: 6.5rem;
	}
}

/* --------------------------------------------------------------------------
   Home — What Children Learn (6-card grid / slider)
   -------------------------------------------------------------------------- */
.bdc-learn {
	background-color: var(--color-white);
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.bdc-learn__inner {
	width: min(100% - 2rem, var(--container));
	margin-inline: auto;
	padding-inline: 0;
	box-sizing: border-box;
}

.bdc-learn__heading {
	margin: 0 0 1.75rem;
	padding: 0;
	font-family: var(--font-sans);
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	font-weight: 700;
	line-height: 1.2;
	color: #2f2f2f;
	text-align: left;
}

.bdc-learn__heading-text {
	display: inline-block;
	position: relative;
	padding-bottom: 0.45rem;
}

.bdc-learn__heading-text::after {
	content: "";
	position: absolute;
	left: 0.15em;
	right: -0.15em;
	bottom: 0;
	height: 0.45rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c30-6 60 4 90-2s60 5 106-3' fill='none' stroke='%23FEC006' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	pointer-events: none;
}

.bdc-learn__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

/* Mobile / tablet: horizontal slider (global card-grid rule) */
.bdc-learn__grid.bdc-slider {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 1rem;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--color-yellow) transparent;
	padding: 0 0 0.35rem;
	margin: 0;
	width: 100%;
}

.bdc-learn__card {
	flex: 0 0 78%;
	max-width: 16.5rem;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background-color: var(--color-white);
	border: 0.0625rem solid #eee6dc;
	border-radius: 1.15rem;
	box-shadow: 0 0.35rem 1rem rgba(80, 60, 40, 0.06);
	padding: 1.35rem 1.1rem 1.4rem;
	box-sizing: border-box;
}

.bdc-learn__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	margin: 0 0 0.85rem;
	border-radius: 50%;
	flex-shrink: 0;
}

.bdc-learn__card--pink .bdc-learn__icon-wrap {
	background-color: #fde6ef;
}

.bdc-learn__card--yellow .bdc-learn__icon-wrap {
	background-color: #fff3c9;
}

.bdc-learn__card--teal .bdc-learn__icon-wrap {
	background-color: #d7f0f2;
}

.bdc-learn__card--purple .bdc-learn__icon-wrap {
	background-color: #ebe0f5;
}

.bdc-learn__card--green .bdc-learn__icon-wrap {
	background-color: #ddf0e3;
}

.bdc-learn__icon {
	display: block;
	width: 2.65rem;
	height: 2.65rem;
	object-fit: contain;
}

.bdc-learn__icon-placeholder {
	display: block;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.35;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bdc-learn__card--pink .bdc-learn__icon-placeholder,
.bdc-learn__card--pink .bdc-learn__title {
	color: var(--color-pink);
}

.bdc-learn__card--yellow .bdc-learn__icon-placeholder,
.bdc-learn__card--yellow .bdc-learn__title {
	color: var(--color-yellow);
}

.bdc-learn__card--teal .bdc-learn__icon-placeholder,
.bdc-learn__card--teal .bdc-learn__title {
	color: var(--color-teal);
}

.bdc-learn__card--purple .bdc-learn__icon-placeholder,
.bdc-learn__card--purple .bdc-learn__title {
	color: var(--color-purple);
}

.bdc-learn__card--green .bdc-learn__icon-placeholder,
.bdc-learn__card--green .bdc-learn__title {
	color: var(--color-green);
}

.bdc-learn__title {
	margin: 0 0 0.5rem;
	font-family: var(--font-sans);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
}

.bdc-learn__desc {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #5c5c5c;
}

@media (min-width: 40rem) {
	.bdc-learn__card {
		flex-basis: 44%;
		max-width: 15.5rem;
	}
}

/* Desktop: single row of 6 cards — full container width */
@media (min-width: 64rem) {
	.bdc-learn__heading {
		margin-bottom: 2rem;
	}

	.bdc-learn__grid.bdc-slider {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 0.85rem;
		overflow: visible;
		scroll-snap-type: none;
		padding: 0;
		width: 100%;
	}

	.bdc-learn__card {
		flex: none;
		max-width: none;
		width: 100%;
		min-width: 0;
		padding: 1.25rem 0.75rem 1.35rem;
	}

	.bdc-learn__icon-wrap {
		width: 4.25rem;
		height: 4.25rem;
	}

	.bdc-learn__icon {
		width: 2.5rem;
		height: 2.5rem;
	}

	.bdc-learn__title {
		font-size: 0.95rem;
	}

	.bdc-learn__desc {
		font-size: 0.75rem;
		line-height: 1.4;
	}
}

@media (min-width: 75rem) {
	.bdc-learn__grid.bdc-slider {
		gap: 1.15rem;
	}

	.bdc-learn__card {
		padding: 1.4rem 0.9rem 1.5rem;
		border-radius: 1.25rem;
	}

	.bdc-learn__title {
		font-size: 1rem;
	}

	.bdc-learn__desc {
		font-size: 0.8125rem;
	}
}

