/*
Theme Name: Mrs. Rosa's Pre-K Learning Center
Theme URI: https://example.com/mrs-rosas-prek
Author: Andrew
Author URI: https://example.com
Description: A warm, trust-building WordPress theme built for Mrs. Rosa's Pre-K Learning Center in Midland, Texas. Includes a conversion-focused homepage, About, Program, Enrollment, Parent Information, Gallery, FAQ and Contact page templates, a tour-request form, testimonial and gallery post types, and a full Customizer panel for contact details.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mrs-rosas-prek
Tags: education, custom-colors, custom-menu, custom-logo, featured-images, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--navy: #1f3a5f;
	--navy-dark: #16293f;
	--navy-soft: #2f5480;
	--gold: #c8912a;
	--gold-light: #e2b45c;
	--teal: #2f8f83;
	--coral: #e2734a;
	--cream: #fdf8f0;
	--cream-deep: #f6ecdc;
	--paper: #ffffff;
	--ink: #2c3038;
	--ink-soft: #5b6472;
	--line: #e7ddcc;
	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--radius-pill: 999px;
	--shadow-sm: 0 2px 10px rgba(31, 58, 95, .07);
	--shadow: 0 12px 32px rgba(31, 58, 95, .10);
	--shadow-lg: 0 24px 60px rgba(31, 58, 95, .16);
	--wrap: 1160px;
	--wrap-narrow: 820px;
	--font-head: "Baloo 2", "Trebuchet MS", "Segoe UI", sans-serif;
	--font-body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   2. Reset and base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-soft); text-decoration: none; }
a:hover, a:focus { color: var(--gold); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--navy);
	line-height: 1.18;
	margin: 0 0 .6em;
	font-weight: 700;
	letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.12rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

blockquote {
	margin: 0 0 1.4em;
	padding: 1.2em 1.5em;
	background: var(--paper);
	border-left: 5px solid var(--gold);
	border-radius: var(--radius-sm);
	font-size: 1.06rem;
}

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px; left: 12px;
	z-index: 999;
	width: auto; height: auto;
	clip: auto;
	padding: .7rem 1.1rem;
	background: var(--navy);
	color: #fff;
	border-radius: var(--radius-sm);
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2.4rem, 5vw, 3.6rem) 0; }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream-deep); }
.section--navy { background: var(--navy); color: #eaf0f7; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 0; }
.section--navy .section-head p { color: #c7d5e6; }

.eyebrow {
	display: inline-block;
	font-family: var(--font-head);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: .6rem;
}

.grid { display: grid; gap: clamp(1.2rem, 2.4vw, 1.9rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: start; }
.split--center { align-items: center; }

.text-center { text-align: center; }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.02rem;
	line-height: 1;
	padding: .95rem 1.7rem;
	border: 2px solid transparent;
	border-radius: var(--radius-pill);
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none !important;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover, .btn:focus { transform: translateY(-2px); }

.btn--primary { background: var(--gold); color: #26210f; box-shadow: 0 8px 20px rgba(200, 145, 42, .32); }
.btn--primary:hover, .btn--primary:focus { background: var(--gold-light); color: #26210f; }

.btn--secondary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(31, 58, 95, .25); }
.btn--secondary:hover, .btn--secondary:focus { background: var(--navy-soft); color: #fff; }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover, .btn--outline:focus { background: var(--navy); color: #fff; }

.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover, .btn--light:focus { background: var(--cream-deep); color: var(--navy); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost-light:hover, .btn--ghost-light:focus { background: #fff; color: var(--navy); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row--center { justify-content: center; }

/* ==========================================================================
   5. Header
   ========================================================================== */
.topbar {
	background: var(--navy);
	color: #dbe6f2;
	font-size: .92rem;
}
.topbar__inner {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1.5rem;
	align-items: center;
	justify-content: center;
	padding: .6rem 24px;
	text-align: center;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--gold-light); }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__item svg { width: 16px; height: 16px; flex: none; fill: var(--gold-light); }

.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	padding: .85rem 24px;
	max-width: var(--wrap);
	margin: 0 auto;
}

.site-brand { display: flex; align-items: center; gap: .7rem; flex: 0 0 auto; max-width: 216px; text-decoration: none !important; }
.site-brand:hover { text-decoration: none; }
.site-brand__mark {
	width: 50px; height: 50px;
	flex: none;
	border-radius: 50%;
	background: linear-gradient(140deg, var(--gold) 0%, var(--coral) 100%);
	display: grid; place-items: center;
	color: #fff;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1.32rem;
	box-shadow: var(--shadow-sm);
}
.site-brand__mark img { border-radius: 50%; }
.site-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.site-brand__name {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1.06rem;
	line-height: 1.2;
	color: var(--navy);
}
.site-brand__tag { font-size: .72rem; white-space: nowrap; color: var(--gold); font-weight: 700; letter-spacing: .04em; }

.nav-toggle {
	display: none;
	align-items: center;
	gap: .5rem;
	background: var(--navy);
	color: #fff;
	border: 0;
	border-radius: var(--radius-pill);
	padding: .6rem 1rem;
	font-family: var(--font-head);
	font-weight: 700;
	cursor: pointer;
}
.nav-toggle__bars { display: inline-block; width: 18px; height: 12px; position: relative; }
.nav-toggle__bars span,
.nav-toggle__bars span::before,
.nav-toggle__bars span::after {
	position: absolute; left: 0;
	width: 18px; height: 2px;
	background: #fff; border-radius: 2px;
	content: "";
}
.nav-toggle__bars span { top: 5px; }
.nav-toggle__bars span::before { top: -5px; }
.nav-toggle__bars span::after { top: 5px; }

.main-nav { min-width: 0; flex: 1 1 auto; }
.main-nav ul { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.main-nav li { margin: 0; position: relative; }
.main-nav a {
	display: block;
	padding: .5rem .52rem;
	border-radius: var(--radius-pill);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .9rem;
	color: var(--navy);
	text-decoration: none !important;
	white-space: nowrap;
}
.main-nav a:hover, .main-nav a:focus { background: var(--cream-deep); color: var(--navy-dark); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { background: var(--navy); color: #fff; }

.main-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0;
	min-width: 210px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	padding: .4rem;
	flex-direction: column;
	align-items: stretch;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { display: flex; }
.main-nav .sub-menu a { white-space: normal; }

.header-cta { display: flex; align-items: center; gap: .6rem; }
.header-cta .btn { padding: .8rem 1.3rem; font-size: .96rem; }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1000px 460px at 12% -10%, rgba(226, 180, 92, .28), transparent 60%),
		radial-gradient(900px 460px at 92% 8%, rgba(47, 143, 131, .20), transparent 62%),
		var(--cream);
	padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(3rem, 6vw, 4.8rem);
}
.hero__inner { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: start; }
.hero h1 { margin-bottom: .5rem; }
.hero__tagline {
	font-family: var(--font-head);
	font-size: clamp(1.2rem, 2.2vw, 1.6rem);
	font-weight: 700;
	color: var(--gold);
	margin-bottom: 1rem;
}
.hero__lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 56ch; }
.hero__buttons { margin-top: 1.6rem; }

.hero__card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: clamp(1.4rem, 3vw, 2rem);
}
.hero__card h2 { font-size: 1.3rem; margin-bottom: 1rem; }

.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.fact-list li { display: flex; gap: .8rem; align-items: flex-start; margin: 0; }
.fact-list__icon {
	flex: none;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--cream-deep);
	display: grid; place-items: center;
}
.fact-list__icon svg { width: 17px; height: 17px; fill: var(--navy); }
.fact-list__label {
	display: block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: .82rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gold);
	line-height: 1.4;
}
.fact-list__value { display: block; font-weight: 600; color: var(--navy); line-height: 1.45; }

.hero__media {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	margin-bottom: 1.4rem;
}
.hero__media img { width: 100%; object-fit: cover; }

/* Photo placeholder shown until real center photography is added */
.photo-ph {
	position: relative;
	display: grid;
	place-items: center;
	gap: .4rem;
	aspect-ratio: 4 / 3;
	background:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, .5) 0 12px, transparent 12px 24px),
		linear-gradient(150deg, var(--cream-deep), #e8dcc6);
	color: var(--navy);
	text-align: center;
	padding: 1.2rem;
	border-radius: var(--radius);
	border: 1px dashed rgba(31, 58, 95, .28);
}
.photo-ph__icon { width: 40px; height: 40px; fill: rgba(31, 58, 95, .45); }
.photo-ph__label { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.photo-ph__hint { font-size: .82rem; color: var(--ink-soft); max-width: 26ch; }
.photo-ph--wide { aspect-ratio: 16 / 9; }
.photo-ph--tall { aspect-ratio: 3 / 4; }

/* ==========================================================================
   7. Cards and features
   ========================================================================== */
.card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.3rem, 2.4vw, 1.8rem);
	box-shadow: var(--shadow-sm);
	height: 100%;
	transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card__icon {
	width: 52px; height: 52px;
	border-radius: 16px;
	display: grid; place-items: center;
	margin-bottom: 1rem;
	background: var(--cream-deep);
}
.card__icon svg { width: 26px; height: 26px; fill: var(--navy); }
.card--gold .card__icon { background: rgba(200, 145, 42, .16); }
.card--teal .card__icon { background: rgba(47, 143, 131, .16); }
.card--teal .card__icon svg { fill: var(--teal); }
.card--coral .card__icon { background: rgba(226, 115, 74, .16); }
.card--coral .card__icon svg { fill: var(--coral); }

.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat {
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--radius);
	padding: 1.4rem 1.2rem;
	text-align: center;
}
.stat__num {
	display: block;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: clamp(1.8rem, 3.4vw, 2.5rem);
	color: var(--gold-light);
	line-height: 1.05;
}
.stat__label { font-size: .95rem; color: #cfdcea; }

.checklist { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: .65rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; margin: 0; }
.checklist li::before {
	content: "";
	flex: none;
	width: 22px; height: 22px;
	margin-top: .18rem;
	border-radius: 50%;
	background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}
.checklist--gold li::before { background-color: var(--gold); }

/* Curriculum / subject list */
.subject { display: grid; grid-template-columns: 54px 1fr; gap: 1rem; align-items: start; }
.subject__icon { width: 54px; height: 54px; border-radius: 18px; background: var(--cream-deep); display: grid; place-items: center; }
.subject__icon svg { width: 26px; height: 26px; fill: var(--navy); }
.subject h3 { font-size: 1.14rem; margin-bottom: .3rem; }
.subject p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* Schedule timeline */
.schedule { list-style: none; margin: 0; padding: 0; position: relative; }
.schedule::before {
	content: "";
	position: absolute;
	left: 92px; top: 8px; bottom: 8px;
	width: 2px;
	background: var(--line);
}
.schedule li {
	display: grid;
	grid-template-columns: 92px 34px 1fr;
	gap: 0 1rem;
	align-items: start;
	margin: 0 0 1.35rem;
}
.schedule li:last-child { margin-bottom: 0; }
.schedule__time {
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--navy);
	text-align: right;
	font-size: .95rem;
	padding-top: .1rem;
}
.schedule__dot { position: relative; }
.schedule__dot::before {
	content: "";
	position: absolute;
	left: 3px; top: 5px;
	width: 14px; height: 14px;
	border-radius: 50%;
	background: var(--gold);
	border: 3px solid var(--cream);
	box-shadow: 0 0 0 1px var(--line);
}
.section--paper .schedule__dot::before { border-color: #fff; }
.schedule__text { color: var(--ink-soft); padding-top: .05rem; }
.schedule__text strong { color: var(--navy); font-family: var(--font-head); display: block; }

/* Pricing */
.tuition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.price-card {
	background: var(--paper);
	border: 2px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 3vw, 2.1rem);
	text-align: center;
	box-shadow: var(--shadow-sm);
}
.price-card--feature { border-color: var(--gold); box-shadow: var(--shadow); }
.price-card__label {
	display: block;
	font-family: var(--font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: .82rem;
	color: var(--gold);
}
.price-card__amount {
	display: block;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: clamp(2.3rem, 5vw, 3.1rem);
	color: var(--navy);
	line-height: 1.1;
	margin: .35rem 0 .1rem;
}
.price-card__meta { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* Testimonials */
.quote-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.4rem, 2.6vw, 1.9rem);
	box-shadow: var(--shadow-sm);
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: .9rem;
}
.quote-card__mark { font-family: var(--font-head); font-size: 2.6rem; line-height: .6; color: var(--gold); }
.quote-card blockquote.quote-card__text {
	padding: 0 0 0 1rem;
	background: none;
	border-radius: 0;
	border-left: 4px solid var(--gold-soft, #eedcb4);
}
.quote-card__text { font-size: 1.03rem; color: var(--ink); margin: 0; }
.quote-card__author { margin-top: auto; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.quote-card__role { display: block; font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: var(--ink-soft); }
.stars { color: var(--gold); letter-spacing: .1em; font-size: 1rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	background: var(--cream-deep);
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__caption {
	position: absolute;
	inset: auto 0 0 0;
	padding: .8rem 1rem;
	background: linear-gradient(to top, rgba(22, 41, 63, .88), transparent);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .95rem;
}

/* FAQ accordion */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
.faq summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1.05rem 1.3rem;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.06rem;
	color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	flex: none;
	width: 28px; height: 28px;
	border-radius: 50%;
	background: var(--cream-deep);
	color: var(--navy);
	display: grid; place-items: center;
	font-size: 1.25rem;
	line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; background: var(--gold); color: #fff; }
.faq__answer { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }
.faq__answer p:last-child { margin-bottom: 0; }

/* Info / notice boxes */
.notice {
	background: var(--paper);
	border: 1px solid var(--line);
	border-left: 5px solid var(--gold);
	border-radius: var(--radius-sm);
	padding: 1.1rem 1.3rem;
	box-shadow: var(--shadow-sm);
}
.notice h4 { margin-bottom: .35rem; }
.notice p { margin-bottom: 0; color: var(--ink-soft); }
.notice--teal { border-left-color: var(--teal); }
.notice--coral { border-left-color: var(--coral); }

/* ==========================================================================
   8. Page header, content, forms
   ========================================================================== */
.page-hero {
	background:
		radial-gradient(700px 320px at 85% -20%, rgba(226, 180, 92, .30), transparent 62%),
		var(--navy);
	color: #e8eef6;
	padding: clamp(2.6rem, 6vw, 4.2rem) 0;
	text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero p { color: #c8d6e7; max-width: 62ch; margin: 0 auto; font-size: 1.06rem; }
.breadcrumbs { font-size: .9rem; color: #a9bdd4; margin-bottom: .9rem; }
.breadcrumbs a { color: var(--gold-light); }

.entry-content { max-width: var(--wrap-narrow); margin: 0 auto; }
.entry-content > * { margin-bottom: 1.2em; }
.entry-content img { border-radius: var(--radius); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; }
.entry-content th { background: var(--cream-deep); font-family: var(--font-head); }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .88rem; color: var(--ink-soft); }

.post-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
}
.post-card__body { padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-card__meta { font-size: .86rem; color: var(--ink-soft); }
.post-card h3 { margin: 0; font-size: 1.2rem; }
.post-card p { color: var(--ink-soft); margin: 0; }
.post-card .btn { align-self: flex-start; margin-top: .6rem; }

.form-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 3vw, 2.2rem);
	box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--navy); }
.field .req { color: var(--coral); }
.field input, .field select, .field textarea {
	width: 100%;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--ink);
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: .8rem .95rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
	background: #fff;
	border-color: var(--gold);
	outline: none;
	box-shadow: 0 0 0 3px rgba(200, 145, 42, .18);
}
.field__hint { font-size: .84rem; color: var(--ink-soft); }
.form-note { font-size: .88rem; color: var(--ink-soft); margin-top: 1rem; }

.form-alert {
	border-radius: var(--radius-sm);
	padding: .95rem 1.2rem;
	margin-bottom: 1.4rem;
	font-weight: 600;
}
.form-alert--ok { background: rgba(47, 143, 131, .12); border: 1px solid rgba(47, 143, 131, .4); color: #1c5f57; }
.form-alert--err { background: rgba(226, 115, 74, .12); border: 1px solid rgba(226, 115, 74, .45); color: #a2431f; }

.contact-panel { display: grid; gap: 1rem; }
.contact-row { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.contact-row__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--cream-deep); display: grid; place-items: center; }
.contact-row__icon svg { width: 20px; height: 20px; fill: var(--navy); }
.contact-row__label { display: block; margin-bottom: .1rem; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); }
.contact-row__value { display: block; color: var(--navy); font-weight: 600; }
.contact-row__value a { color: var(--navy); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* CTA band */
.cta-band {
	background: linear-gradient(135deg, var(--navy) 0%, #24507f 100%);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: clamp(1.9rem, 4vw, 3rem);
	display: grid;
	grid-template-columns: 1.3fr auto;
	gap: 1.6rem;
	align-items: center;
	box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: #cddaea; margin: 0; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.4rem; }
.pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 42px; height: 42px;
	padding: 0 .7rem;
	border-radius: var(--radius-pill);
	background: #fff;
	border: 1px solid var(--line);
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--navy);
	text-decoration: none !important;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.site-footer { background: var(--navy-dark); color: #bdcde0; padding: clamp(2.6rem, 5vw, 4rem) 0 0; }
.site-footer h4 { color: #fff; font-size: 1.06rem; margin-bottom: .9rem; }
.site-footer a { color: #dbe6f2; }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(1.4rem, 3vw, 2.6rem); }
.footer-brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: .3rem; }
.footer-brand p { font-size: .96rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; font-size: .96rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.footer-social a:hover { background: var(--gold); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom {
	margin-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid rgba(255, 255, 255, .13);
	padding: 1.2rem 0;
	font-size: .89rem;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	justify-content: space-between;
	color: #9fb3cb;
}

/* Mobile sticky call bar */
.mobile-bar { display: none; }

/* ==========================================================================
   10. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.header-cta .btn { padding: .78rem 1.05rem; font-size: .92rem; }
	.main-nav a { padding: .5rem .45rem; font-size: .88rem; }
	.site-brand { max-width: 190px; }
}

@media (max-width: 1080px) {
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
	.hero__inner, .split { grid-template-columns: 1fr; }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cta-band { grid-template-columns: 1fr; text-align: center; }
	.cta-band .btn-row { justify-content: center; }

	.nav-toggle { display: inline-flex; }
	.header-cta { display: none; }
	.main-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		padding: .8rem 24px 1.2rem;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
	.main-nav a { padding: .8rem 1rem; border-radius: var(--radius-sm); }
	.main-nav .sub-menu {
		display: block;
		position: static;
		box-shadow: none;
		border: 0;
		padding: 0 0 0 1rem;
		min-width: 0;
	}
}

@media (max-width: 940px) {
	body.has-mobile-bar { padding-bottom: 74px; }
	.mobile-bar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: .5rem;
		position: fixed;
		bottom: 0; left: 0; right: 0;
		z-index: 95;
		padding: .6rem .7rem;
		background: rgba(255, 255, 255, .97);
		border-top: 1px solid var(--line);
		box-shadow: 0 -6px 20px rgba(31, 58, 95, .12);
	}
	.mobile-bar .btn { padding: .85rem 1rem; font-size: .95rem; white-space: nowrap; }
}

@media (max-width: 700px) {
	body { font-size: 16.5px; }
	.grid--2, .grid--3, .grid--4, .tuition-grid, .form-grid { grid-template-columns: 1fr; }
	.gallery-grid { grid-template-columns: 1fr; }
	.stat-band { grid-template-columns: 1fr; }
	.topbar__inner { font-size: .86rem; }
	.schedule::before { left: 8px; }
	.schedule li { grid-template-columns: 34px 1fr; }
	.schedule__time { grid-column: 2; text-align: left; color: var(--gold); font-size: .88rem; padding-top: 0; }
	.schedule__dot { grid-row: 1 / span 2; }
	.schedule__text { grid-column: 2; }
	.btn { width: 100%; }
	.btn-row { flex-direction: column; }
	.header-cta .btn { width: auto; }
	.nav-toggle { width: auto; }

	body.has-mobile-bar { padding-bottom: 74px; }
	.mobile-bar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: .5rem;
		position: fixed;
		bottom: 0; left: 0; right: 0;
		z-index: 95;
		padding: .6rem .7rem;
		background: rgba(255, 255, 255, .97);
		border-top: 1px solid var(--line);
		box-shadow: 0 -6px 20px rgba(31, 58, 95, .12);
	}
	.mobile-bar .btn { padding: .85rem 1rem; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.site-header, .topbar, .mobile-bar, .site-footer, .cta-band { display: none !important; }
	body { background: #fff; }
}

/* ==========================================================================
   11. Design refinements (v1.1) - brand colors taken from the center's logo
   ========================================================================== */
:root {
	--logo-red: #d92b21;
	--logo-yellow: #f6b52c;
	--logo-green: #6ab43e;
	--logo-blue: #2179c9;
	--chalk: #414347;
	--gold-soft: #f0dcb0;
}

/* Multicolor crayon stripe borrowed from the logo blocks */
.crayon-stripe {
	height: 6px;
	background: linear-gradient(
		to right,
		var(--logo-red) 0 25%,
		var(--logo-yellow) 25% 50%,
		var(--logo-green) 50% 75%,
		var(--logo-blue) 75% 100%
	);
}
.site-footer .crayon-stripe { height: 7px; }

/* Header logo */
.site-brand--image { max-width: none; gap: 0; }
.site-brand__logo { display: block; line-height: 0; }
.site-brand__logo .site-logo-img {
	display: block;
	width: auto;
	height: 86px;
	max-width: 300px;
	object-fit: contain;
	border-radius: 10px;
	transition: transform .2s ease;
}
.site-brand--image:hover .site-logo-img { transform: rotate(-1.2deg) scale(1.02); }

.footer-logo { margin: 0 0 1rem; line-height: 0; }
.footer-logo .site-logo-img {
	display: block;
	width: 100%;
	max-width: 250px;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}

/* Rotating logo colors across card icons so grids feel playful, not uniform */
.grid .card:nth-child(4n + 1) .card__icon { background: rgba(217, 43, 33, .12); }
.grid .card:nth-child(4n + 1) .card__icon svg { fill: var(--logo-red); }
.grid .card:nth-child(4n + 2) .card__icon { background: rgba(246, 181, 44, .20); }
.grid .card:nth-child(4n + 2) .card__icon svg { fill: #b07d12; }
.grid .card:nth-child(4n + 3) .card__icon { background: rgba(106, 180, 62, .16); }
.grid .card:nth-child(4n + 3) .card__icon svg { fill: #4d8a2b; }
.grid .card:nth-child(4n + 4) .card__icon { background: rgba(33, 121, 201, .14); }
.grid .card:nth-child(4n + 4) .card__icon svg { fill: var(--logo-blue); }

/* Cards: crayon accent bar that draws in on hover */
.card { position: relative; overflow: hidden; }
.card::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 4px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .28s ease;
	background: linear-gradient(to right, var(--logo-red), var(--logo-yellow), var(--logo-green), var(--logo-blue));
}
.card:hover::after, .card:focus-within::after { transform: scaleX(1); }
.card:hover .card__icon { transform: rotate(-4deg) scale(1.06); }
.card__icon { transition: transform .25s ease; }

/* Hero: soft crayon-colored blobs behind the content */
.hero { position: relative; overflow: hidden; }
.hero::before,
.hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}
.hero::before {
	width: 320px; height: 320px;
	top: -120px; left: -110px;
	background: radial-gradient(circle at 35% 35%, rgba(246, 181, 44, .34), rgba(246, 181, 44, 0) 70%);
}
.hero::after {
	width: 380px; height: 380px;
	bottom: -160px; right: -120px;
	background: radial-gradient(circle at 60% 40%, rgba(106, 180, 62, .26), rgba(106, 180, 62, 0) 70%);
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 { letter-spacing: -.015em; }
.hero__media { position: relative; }
.hero__media::before {
	content: "";
	position: absolute;
	inset: 16px -16px -16px 16px;
	border-radius: var(--radius-lg);
	background: var(--gold-soft);
	opacity: .45;
	z-index: -1;
}

/* Stat band: crayon underline under each number */
.stat { position: relative; }
.stat__num { position: relative; display: table; margin: 0 auto; padding-bottom: .4rem; }
.stat__num::after {
	content: "";
	position: absolute;
	left: 12%; right: 12%; bottom: 0;
	height: 4px;
	border-radius: 4px;
	background: var(--logo-yellow);
}
.stat:nth-child(2) .stat__num::after { background: var(--logo-green); }
.stat:nth-child(3) .stat__num::after { background: var(--logo-blue); }
.stat:nth-child(4) .stat__num::after { background: var(--logo-red); }

/* Eyebrow gets a small crayon dash */
.eyebrow::before {
	content: "";
	display: inline-block;
	width: 22px; height: 3px;
	border-radius: 3px;
	margin-right: .55rem;
	vertical-align: .22em;
	background: var(--logo-red);
}
.section-head .eyebrow::before { display: none; }

/* Section headings keep a soft chalk underline */
.section-head h2 { position: relative; display: table; margin-left: auto; margin-right: auto; padding-bottom: .6rem; }
.section-head h2::after {
	content: "";
	position: absolute;
	left: 50%; transform: translateX(-50%);
	bottom: 0;
	width: 78px; height: 5px;
	border-radius: 5px;
	background: linear-gradient(to right, var(--logo-red), var(--logo-yellow), var(--logo-green), var(--logo-blue));
}
.section--navy .section-head h2::after { opacity: .9; }

/* Buttons: firmer press feedback */
.btn--primary { box-shadow: 0 6px 0 rgba(150, 104, 20, .35); }
.btn--primary:hover, .btn--primary:focus { box-shadow: 0 8px 0 rgba(150, 104, 20, .35); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 3px 0 rgba(150, 104, 20, .35); }
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--logo-blue);
	outline-offset: 2px;
}

/* Photo placeholders read as friendly chalkboard frames */
.photo-ph { position: relative; }
.photo-ph::after {
	content: "";
	position: absolute;
	inset: 10px;
	border-radius: inherit;
	border: 2px dashed rgba(31, 58, 95, .18);
	pointer-events: none;
}

/* FAQ open state */
details[open] > summary { color: var(--logo-red); }

/* Scroll reveal - only applied once JS marks the document ready */
.js-reveal .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s ease, transform .6s ease;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
	.site-brand__logo .site-logo-img { height: 74px; }
}

@media (max-width: 940px) {
	.site-brand__logo .site-logo-img { height: 68px; }
	.hero__media::before { display: none; }
}

@media (max-width: 700px) {
	.site-brand__logo .site-logo-img { height: 56px; max-width: 200px; }
	.footer-logo .site-logo-img { max-width: 210px; }
	.hero::before, .hero::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   12. Palette-driven overrides (v1.2)
   Everything below reads from the CSS variables generated by the Customizer,
   so switching a color scheme repaints the whole site.
   ========================================================================== */
.hero { background: var(--hero-bg, var(--cream)); }
.hero::before { background: radial-gradient(circle at 35% 35%, var(--crayon-2-soft), transparent 70%); }
.hero::after { background: radial-gradient(circle at 60% 40%, var(--crayon-3-soft), transparent 70%); }

.card__icon { border-radius: var(--radius-sm); }
.card--gold .card__icon { background: var(--crayon-2-soft); }
.card--teal .card__icon { background: var(--crayon-3-soft); }
.card--coral .card__icon { background: var(--crayon-1-soft); }

.grid .card:nth-child(4n + 1) .card__icon { background: var(--crayon-1-soft); }
.grid .card:nth-child(4n + 1) .card__icon svg { fill: var(--crayon-1-ink); }
.grid .card:nth-child(4n + 2) .card__icon { background: var(--crayon-2-soft); }
.grid .card:nth-child(4n + 2) .card__icon svg { fill: var(--crayon-2-ink); }
.grid .card:nth-child(4n + 3) .card__icon { background: var(--crayon-3-soft); }
.grid .card:nth-child(4n + 3) .card__icon svg { fill: var(--crayon-3-ink); }
.grid .card:nth-child(4n + 4) .card__icon { background: var(--crayon-4-soft); }
.grid .card:nth-child(4n + 4) .card__icon svg { fill: var(--crayon-4-ink); }

.btn--primary { color: var(--on-accent); box-shadow: var(--btn-shadow); }
.btn--primary:hover, .btn--primary:focus { box-shadow: var(--btn-shadow); }
.btn--primary:active { transform: translateY(2px); box-shadow: none; }
.section--navy, .site-footer { color: var(--on-primary); }
.section--navy h2, .section--navy h3 { color: var(--on-primary); }

.crayon-stripe {
	background: linear-gradient(
		to right,
		var(--logo-red) 0 25%,
		var(--logo-yellow) 25% 50%,
		var(--logo-green) 50% 75%,
		var(--logo-blue) 75% 100%
	);
}

.photo-ph::after { border-color: var(--line); }
details[open] > summary { color: var(--logo-red); }
.btn:focus-visible, a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline-color: var(--logo-blue);
}

/* Motion can be switched off entirely from the Customizer. */
.no-animations .reveal,
.no-animations.js-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-animations .card::after { display: none; }
.no-animations .card:hover .card__icon,
.no-animations .site-brand--image:hover .site-logo-img { transform: none; }
