/**
 * Made by Me Fall Programs 2026 — brand: #FF1493 · #FEDF00 · #0076CE
 * Aligned with After School landing: white surfaces, Source Sans, soft brand atmosphere.
 * Scoped to .mbm-template--fall-programs / .mbm-fall
 */

.mbm-template--fall-programs {
	--mbm-fall-pink: #ff1493;
	--mbm-fall-yellow: #fedf00;
	--mbm-fall-blue: #0076ce;
	--mbm-fall-ink: #0076ce;
	--mbm-fall-muted: rgba(0, 118, 206, 0.72);
	--mbm-fall-line: rgba(0, 118, 206, 0.14);
	--mbm-fall-font: "Source Sans 3", system-ui, sans-serif;
	--mbm-fall-shell: min(100% - 12vw, 72rem);

	background: #fff;
	color: var(--mbm-fall-ink);
	font-family: var(--mbm-fall-font);
}

body.mbm-homepage:has(.mbm-template--fall-programs),
body:has(.mbm-template--fall-programs),
body:has(.mbm-template--fall-programs) #page,
body:has(.mbm-template--fall-programs) #content,
body:has(.mbm-template--fall-programs) .site-content,
body:has(.mbm-template--fall-programs) .ast-container,
body:has(.mbm-template--fall-programs) #primary,
body:has(.mbm-template--fall-programs) .site-main,
body:has(.mbm-template--fall-programs) .mbm-fall {
	background: #fff !important;
	background-color: #fff !important;
	background-image: none !important;
}

body:has(.mbm-template--fall-programs) .ast-container {
	display: block;
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.mbm-template--fall-programs ::selection {
	background: var(--mbm-fall-yellow);
	color: var(--mbm-fall-pink);
}

.mbm-fall {
	overflow-x: clip;
}

.mbm-fall__shell {
	width: var(--mbm-fall-shell);
	margin-inline: auto;
}

.mbm-fall__section {
	padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.mbm-fall__section-eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mbm-fall-pink);
}

.mbm-fall__section-title {
	margin: 0 0 0.85rem;
	font-weight: 900;
	font-size: clamp(1.7rem, 3.2vw, 2.45rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--mbm-fall-blue);
}

.mbm-fall__section-lead,
.mbm-fall__lead {
	margin: 0 0 1.1rem;
	max-width: 46rem;
	font-size: clamp(1.05rem, 2vw, 1.2rem);
	line-height: 1.55;
	color: var(--mbm-fall-muted);
}

/* -------------------------------------------------------------------------
   Hero — two-column, white, brand-first (matches After School)
   ------------------------------------------------------------------------- */

.mbm-fall__hero {
	position: relative;
	isolation: isolate;
	padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.75rem, 5vw, 4rem);
	overflow: hidden;
}

.mbm-fall__hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse 70% 80% at 88% 20%, rgba(255, 20, 147, 0.14), transparent 55%),
		radial-gradient(ellipse 55% 70% at 8% 80%, rgba(0, 118, 206, 0.12), transparent 50%),
		linear-gradient(180deg, #fff 0%, rgba(254, 223, 0, 0.1) 48%, #fff 100%);
}

.mbm-fall__hero-inner {
	position: relative;
	z-index: 1;
	width: var(--mbm-fall-shell);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: center;
}

.mbm-fall__brand {
	margin: 0 0 0.75rem;
	font-weight: 900;
	font-size: clamp(1.55rem, 3.2vw, 2.15rem);
	letter-spacing: -0.02em;
	line-height: 1.05;
	color: var(--mbm-fall-pink);
}

.mbm-fall__status {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1rem;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: rgba(0, 118, 206, 0.1);
	color: var(--mbm-fall-blue);
	font-weight: 800;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.3;
}

.mbm-fall__status-dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	background: var(--mbm-fall-pink);
	box-shadow: 0 0 0 0.2rem rgba(255, 20, 147, 0.2);
}

.mbm-fall__title {
	margin: 0 0 0.85rem;
	font-weight: 900;
	font-size: clamp(1.85rem, 4.2vw, 2.85rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--mbm-fall-blue);
	text-wrap: balance;
}

.mbm-fall__tagline {
	margin: 0 0 1.5rem;
	max-width: 34rem;
	font-size: clamp(1.05rem, 2vw, 1.22rem);
	font-weight: 500;
	line-height: 1.5;
	color: var(--mbm-fall-muted);
}

.mbm-fall__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: stretch;
}

.mbm-fall__hero-actions--center {
	justify-content: center;
}

.mbm-fall__assessment-note {
	margin: 0.95rem 0 0;
	max-width: 34rem;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.45;
	color: var(--mbm-fall-blue);
}

.mbm-fall__assessment-note--inline {
	margin: 0 0 1.35rem;
	padding: 0.85rem 1rem;
	border-radius: 0.65rem;
	background: rgba(0, 118, 206, 0.06);
	border-left: 4px solid var(--mbm-fall-pink);
	color: var(--mbm-fall-blue);
}

.mbm-fall__hero-media {
	display: grid;
	align-content: start;
	gap: 0.85rem;
}

.mbm-fall__hero-visual {
	margin: 0;
}

.mbm-fall__hero-visual--logo {
	display: grid;
	place-items: center;
	min-height: min(22rem, 52vh);
	padding: 2.5rem 2rem;
	border-radius: 2rem 2rem 1rem 1rem;
	border: 10px solid #fff;
	background:
		radial-gradient(circle at 30% 25%, rgba(254, 223, 0, 0.45), transparent 55%),
		radial-gradient(circle at 75% 70%, rgba(255, 20, 147, 0.16), transparent 50%),
		linear-gradient(155deg, rgba(0, 118, 206, 0.12), rgba(255, 255, 255, 0.9));
	box-shadow:
		0 1.25rem 2.75rem rgba(0, 118, 206, 0.18),
		0 0 0 1px rgba(255, 20, 147, 0.12);
}

.mbm-fall__hero-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(34rem, 72vh);
	object-fit: cover;
	object-position: center;
	border-radius: 2rem 2rem 1rem 1rem;
	border: 10px solid #fff;
	box-shadow:
		0 1.25rem 2.75rem rgba(0, 118, 206, 0.18),
		0 0 0 1px rgba(255, 20, 147, 0.12);
}

.mbm-fall__hero-img--logo {
	width: auto;
	max-width: min(18rem, 70%);
	max-height: 10rem;
	height: auto;
	object-fit: contain;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.mbm-fall__hero-bubbles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mbm-fall__hero-bubble {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	background: #fff;
	border: 2px solid rgba(0, 118, 206, 0.14);
	box-shadow: 0 0.35rem 0.9rem rgba(0, 118, 206, 0.08);
	color: var(--mbm-fall-blue);
	font-family: var(--mbm-fall-font);
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
}

.mbm-fall__hero-bubble--accent {
	background: var(--mbm-fall-yellow);
	border-color: var(--mbm-fall-yellow);
	color: var(--mbm-fall-pink);
}

.mbm-fall__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.8rem 1.25rem;
	border-radius: 0.55rem;
	font-weight: 800;
	font-size: 0.88rem;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-align: center;
	text-decoration: none !important;
	border: 2px solid transparent;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.mbm-fall__btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.03);
}

.mbm-fall__btn--primary {
	background: var(--mbm-fall-yellow) !important;
	color: var(--mbm-fall-pink) !important;
	border-color: var(--mbm-fall-yellow) !important;
	box-shadow: 0 4px 15px rgba(255, 20, 147, 0.28);
}

.mbm-fall__btn--secondary {
	background: var(--mbm-fall-blue) !important;
	color: #fff !important;
	border-color: var(--mbm-fall-blue) !important;
}

.mbm-fall__btn--ghost {
	background: #fff !important;
	color: var(--mbm-fall-pink) !important;
	border-color: var(--mbm-fall-pink) !important;
}

.mbm-fall__btn--card {
	background: var(--mbm-fall-yellow) !important;
	color: var(--mbm-fall-pink) !important;
	border-color: var(--mbm-fall-yellow) !important;
	justify-self: start;
}

/* -------------------------------------------------------------------------
   Program cards — 3 per row
   ------------------------------------------------------------------------- */

.mbm-fall__programs {
	padding-top: clamp(2rem, 4vw, 3rem);
}

.mbm-fall__programs .mbm-fall__section-title {
	margin-bottom: 0.35rem;
}

.mbm-fall__featured-grid,
.mbm-fall__secondary-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.15rem;
	margin-top: 1.65rem;
}

.mbm-fall__secondary-grid {
	margin-top: 1.15rem;
}

.mbm-fall__coming-grid {
	display: grid;
	gap: 1rem;
	margin-top: 1.35rem;
	max-width: 40rem;
}

.mbm-fall__coming-cta {
	margin-top: 1.25rem;
}

.mbm-fall__card {
	display: grid;
	grid-template-rows: auto 1fr;
	grid-template-columns: 1fr;
	align-items: stretch;
	background: #fff;
	border: 2px solid rgba(0, 118, 206, 0.12);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 0.55rem 1.35rem rgba(0, 118, 206, 0.06);
}

.mbm-fall__card--hero {
	border-color: rgba(255, 20, 147, 0.28);
	box-shadow:
		0 5px 0 rgba(254, 223, 0, 0.55),
		0 0.75rem 1.65rem rgba(0, 118, 206, 0.08);
}

.mbm-fall__card--featured {
	border-color: rgba(0, 118, 206, 0.2);
}

.mbm-fall__card--secondary {
	border-color: rgba(0, 118, 206, 0.12);
}

.mbm-fall__card--soon,
.mbm-fall__card--coming {
	border-style: dashed;
	border-color: rgba(0, 118, 206, 0.28);
	background: rgba(0, 118, 206, 0.03);
}

.mbm-fall__card-media {
	margin: 0;
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 11;
	background:
		radial-gradient(circle at 30% 30%, rgba(254, 223, 0, 0.35), transparent 55%),
		linear-gradient(145deg, rgba(0, 118, 206, 0.16), rgba(255, 20, 147, 0.14));
}

.mbm-fall__card-ribbon {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	width: 100%;
	padding: 0.45rem 0.65rem;
	background: var(--mbm-fall-pink);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
	box-shadow: 0 -0.2rem 0.65rem rgba(0, 0, 0, 0.12);
	pointer-events: none;
}

.mbm-fall__card-media--placeholder {
	min-height: 8.5rem;
}

.mbm-fall__card-media--logo {
	display: grid;
	place-items: center;
	padding: 1.25rem;
	aspect-ratio: 16 / 11;
	background:
		radial-gradient(circle at 50% 40%, rgba(254, 223, 0, 0.28), transparent 60%),
		rgba(0, 118, 206, 0.06);
}

.mbm-fall__card-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mbm-fall__card-img--logo {
	width: auto;
	max-width: 65%;
	max-height: 4.75rem;
	height: auto;
	object-fit: contain;
}

.mbm-fall__card-body {
	display: grid;
	gap: 0.45rem;
	align-content: center;
	padding: 1.1rem 1.2rem 1.25rem;
}

.mbm-fall__card-eyebrow {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mbm-fall-pink);
}

.mbm-fall__card-title {
	margin: 0;
	font-weight: 900;
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	line-height: 1.2;
	color: var(--mbm-fall-blue);
}

.mbm-fall__card-blurb,
.mbm-fall__card-soon-label {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--mbm-fall-muted);
}

.mbm-fall__card-soon-label {
	font-weight: 600;
	color: var(--mbm-fall-blue);
}

/* -------------------------------------------------------------------------
   Extra events
   ------------------------------------------------------------------------- */

.mbm-fall__event-list {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.mbm-fall__event-link {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.45rem 1rem;
	padding: 0.95rem 1.1rem;
	border-radius: 0.75rem;
	border: 1px solid var(--mbm-fall-line);
	text-decoration: none !important;
	color: inherit;
	background: #fff;
}

.mbm-fall__event-link:hover {
	border-color: rgba(255, 20, 147, 0.35);
}

.mbm-fall__event-name {
	font-weight: 800;
	color: var(--mbm-fall-blue);
}

.mbm-fall__event-cta {
	font-weight: 700;
	color: var(--mbm-fall-pink);
}

/* -------------------------------------------------------------------------
   Academic
   ------------------------------------------------------------------------- */

.mbm-fall__academic {
	background: rgba(0, 118, 206, 0.03);
}

.mbm-fall__points {
	margin: 0 0 1.4rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.6rem;
	max-width: 48rem;
}

.mbm-fall__points li {
	position: relative;
	padding-left: 1.3rem;
	font-size: 1rem;
	line-height: 1.5;
	color: rgba(0, 118, 206, 0.9);
}

.mbm-fall__points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--mbm-fall-yellow);
	box-shadow: 0 0 0 2px var(--mbm-fall-pink);
}

.mbm-fall__notice-strip {
	margin: 0;
	padding: 0.95rem 1.1rem;
	border-radius: 0.75rem;
	background: var(--mbm-fall-yellow);
	border: 1px solid rgba(255, 20, 147, 0.22);
	font-weight: 800;
	font-size: clamp(0.88rem, 1.8vw, 1rem);
	line-height: 1.45;
	text-align: center;
	color: var(--mbm-fall-pink);
}

.mbm-fall__notice-strip--schedule {
	margin: 0 auto 1.75rem;
	max-width: 46rem;
	text-align: center;
	font-weight: 700;
}

/* -------------------------------------------------------------------------
   Final CTA
   ------------------------------------------------------------------------- */

.mbm-fall__cta-band {
	padding: clamp(3rem, 6.5vw, 4.75rem) 0;
	background: #fff;
	border-top: 1px solid var(--mbm-fall-line);
}

.mbm-fall__cta-inner {
	text-align: center;
}

.mbm-fall__cta-title {
	margin: 0 0 0.7rem;
	font-weight: 900;
	font-size: clamp(1.7rem, 3.3vw, 2.35rem);
	line-height: 1.12;
	color: var(--mbm-fall-blue);
}

.mbm-fall__cta-lead {
	margin: 0 auto 1.35rem;
	max-width: 38rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--mbm-fall-muted);
}

.mbm-fall__contact {
	display: grid;
	justify-items: center;
	gap: 0.4rem;
	margin-top: 1.65rem;
}

.mbm-fall__contact-lead {
	margin: 0;
	font-weight: 700;
	color: var(--mbm-fall-blue);
}

.mbm-fall__contact-whatsapp,
.mbm-fall__contact-phone {
	font-weight: 800;
	text-decoration: none !important;
	color: var(--mbm-fall-pink);
}

.mbm-fall__contact-phone {
	color: var(--mbm-fall-blue);
	font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------------------------
   Motion
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	.mbm-fall__hero-copy {
		animation: mbm-fall-rise 0.65s ease both;
	}

	.mbm-fall__hero-media {
		animation: mbm-fall-rise 0.7s ease 0.08s both;
	}

	.mbm-fall__card--hero {
		animation: mbm-fall-rise 0.7s ease 0.12s both;
	}
}

@keyframes mbm-fall-rise {
	from {
		opacity: 0;
		transform: translateY(0.7rem);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mbm-fall__hero-copy,
	.mbm-fall__hero-media,
	.mbm-fall__card--hero,
	.mbm-fall__btn {
		animation: none !important;
		transition: none !important;
	}
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 960px) {
	.mbm-fall__hero-inner {
		grid-template-columns: 1fr;
	}

	.mbm-fall__hero-media {
		order: -1;
	}

	.mbm-fall__hero-img {
		max-height: min(22rem, 52vh);
	}

	.mbm-fall__featured-grid,
	.mbm-fall__secondary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.mbm-fall__featured-grid,
	.mbm-fall__secondary-grid {
		grid-template-columns: 1fr;
	}

	.mbm-fall__hero-actions {
		display: grid;
	}

	.mbm-fall__btn {
		width: 100%;
	}
}

/* -------------------------------------------------------------------------
   Map band (shared program-split map chrome)
   ------------------------------------------------------------------------- */

.mbm-fall__connect {
	background: transparent;
	padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.mbm-fall__map-band {
	margin-top: 0;
}

.mbm-fall__map-note {
	margin: 0.75rem 0 0;
	font-family: var(--mbm-fall-font);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--mbm-fall-muted);
}
