/* ===================================================================
   Sonrise Christian School — design system
   Grounded in the school's own logo: a sun rising over a horizon line,
   in Sonrise Blue and Sunrise Orange. Built on flexbox/grid, not the
   old Bootstrap 3 float grid, so mixed-size real photos never break
   the layout again.
   =================================================================== */

:root {
  --ink: #0a2540;
  --blue: #0071c1;
  --blue-deep: #045a94;
  --orange: #ff5a2f;
  --orange-deep: #e1471e;
  --green: #2f8557;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --text: #263449;
  --muted: #5b6672;
  --border: #e3e8ee;
  --blue-tint: #e6f2fb;
  --orange-tint: #ffece2;
  --green-tint: #e6f4eb;
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Karla', 'Segoe UI', sans-serif;
  --container: 1160px;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(10, 37, 64, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { color: var(--orange-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--surface); }
.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--orange-deep);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.eyebrow--blue { color: var(--blue-deep); }
.eyebrow--green { color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); color: #fff; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-outline-blue { background: transparent; border-color: var(--blue); color: var(--blue-deep); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }

/* ===== Top utility bar + nav ===== */
.topbar {
  background: var(--ink);
  color: #cfe0f0;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contact a { color: #cfe0f0; }
.topbar-contact a:hover { color: #fff; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { color: #cfe0f0; font-size: 1rem; }
.topbar-social a:hover { color: var(--orange); }

.site-header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 12px rgba(10,37,64,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { height: 42px; width: auto; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.1;
  color: var(--ink);
}
.brand-word small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-brand-mark { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-mark img { height: 40px; width: auto; }
.footer-brand-mark span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.1;
}
.footer-brand-mark span small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9fb3c8;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 8px;
}
.main-nav a:hover { background: var(--bg); color: var(--blue-deep); }
.main-nav a.active { color: var(--blue-deep); }
.main-nav .btn { margin-left: 10px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
}
.has-dropdown { position: relative; }
.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 10px;
  padding: 8px;
  min-width: 220px;
}
.has-dropdown:hover .dropdown-panel { display: block; }
.dropdown-panel a { display: block; white-space: nowrap; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,37,64,0.55) 0%, rgba(10,37,64,0.8) 70%, rgba(10,37,64,0.88) 100%),
    radial-gradient(ellipse at 50% 120%, rgba(255,90,47,0.55) 0%, rgba(255,90,47,0) 55%);
}
.hero-content {
  position: relative;
  padding: 110px 0 150px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 {
  color: #fff;
  font-size: 3.2rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.hero p.tagline {
  font-size: 1.2rem;
  color: #e4edf5;
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-horizon {
  position: relative;
  height: 90px;
  margin-top: -1px;
}
.hero-horizon svg { display: block; width: 100%; height: 100%; }

/* ===== Quick links band (replaces old 3-box service section) ===== */
.quicklinks {
  display: flex;
  gap: 2px;
  background: var(--border);
  margin-top: -60px;
  position: relative;
  z-index: 5;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.quicklink {
  padding: 28px 24px;
  text-align: center;
  flex: 1 1 0;
  transition: transform 0.15s ease;
}
.quicklink:hover { transform: translateY(-3px); }
.quicklink h3 { font-size: 1.05rem; margin-bottom: 6px; }
.quicklink p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.quicklink a.quicklink-hit { display: block; }
.quicklink:nth-child(1) { border-top: 4px solid var(--blue); background: var(--blue-tint); }
.quicklink:nth-child(2) { border-top: 4px solid var(--green); background: var(--green-tint); }
.quicklink:nth-child(3) { border-top: 4px solid var(--orange); background: var(--orange-tint); }

/* ===== About ===== */
.about-grid {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.about-text { flex: 1 1 420px; }
.about-media { flex: 1 1 380px; position: relative; }
.about-media::before {
  content: '';
  position: absolute;
  top: -18px;
  right: -18px;
  width: 100%;
  height: 100%;
  background: var(--orange-tint);
  border: 3px solid var(--orange);
  border-radius: var(--radius);
  z-index: 0;
}
.about-media img { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: var(--shadow); }
.pullquote {
  border-left: 4px solid var(--orange);
  padding-left: 18px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 24px 0;
}

/* ===== Vision / sport / dates split ===== */
.split-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.split-grid > .info-card { flex: 1 1 380px; }
.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.info-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.info-card.sport { background: var(--orange-tint); }
.info-card.sport .icon { background: var(--orange); }
.info-card.dates { background: var(--blue-tint); }
.info-card.dates .icon { background: var(--blue); }
.info-card ul { margin: 0; padding-left: 1.1em; color: var(--text); }
.info-card ul li { margin-bottom: 6px; }

/* Term tabs (Important Dates) */
.term-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.term-tab {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.term-tab.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.term-panel { display: none; }
.term-panel.is-active { display: block; }
.date-row {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10,37,64,0.09);
  font-size: 0.94rem;
}
.date-row:last-child { border-bottom: none; }
.date-row .date-when {
  flex: 0 0 100px;
  color: var(--blue-deep);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.85rem;
}

/* ===== Teachers ===== */
.teacher-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.teacher-card { text-align: center; flex: 1 1 calc(25% - 20px); min-width: 180px; }
.teacher-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--border);
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--blue);
}
.teacher-card:nth-child(3n+2) .teacher-photo { border-bottom-color: var(--orange); }
.teacher-card:nth-child(3n+3) .teacher-photo { border-bottom-color: var(--green); }
.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.teacher-card h4 { font-size: 1.02rem; margin-bottom: 2px; }
.teacher-card span { color: var(--muted); font-size: 0.88rem; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #c9d7e6;
  padding: 56px 0 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid > div { flex: 1 1 220px; }
.footer-grid > .footer-brand { flex: 1.6 1 280px; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid a { color: #c9d7e6; }
.footer-grid a:hover { color: var(--orange); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-brand img { height: 48px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { color: #9fb3c8; font-size: 0.9rem; max-width: 320px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.85rem;
  color: #9fb3c8;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== Page header (breadcrumb band) ===== */
.page-header {
  background: linear-gradient(120deg, var(--ink) 0%, var(--blue-deep) 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 8px; }
.page-header .crumbs { color: #9fb3c8; font-size: 0.9rem; }
.page-header .crumbs a { color: #cfe0f0; }

/* ===== News ===== */
.news-list { display: flex; flex-direction: column; }
.news-row {
  display: flex;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.news-row:first-child { padding-top: 0; }
.news-thumb {
  flex: 0 0 260px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row-body { flex: 1; }
.news-date { color: var(--orange-deep); font-weight: 700; font-size: 0.82rem; font-family: var(--font-display); }
.news-row-body h3 { margin: 6px 0 8px; }
.news-row-body p { color: var(--muted); margin-bottom: 10px; }
.news-featured-tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.article-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
  height: 420px;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2, .article-body h3 { margin-top: 1.4em; }
.article-body p { color: var(--text); font-size: 1.05rem; }
.related-heading { margin-top: 60px; margin-bottom: 20px; }
.related-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.related-grid > .related-card { flex: 1 1 calc(33.333% - 16px); min-width: 220px; }
.related-card { display: block; }
.related-thumb { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--border); margin-bottom: 10px; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-card h4 { font-size: 1rem; }

/* ===== Curriculum ===== */
.curriculum-banner { border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; height: 300px; }
.curriculum-banner img { width: 100%; height: 100%; object-fit: cover; }
.curriculum-sections { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 46px; }
.curriculum-section h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.curriculum-section h3::before {
  content: '';
  width: 34px;
  height: 3px;
  background: var(--orange);
  display: inline-block;
}
.curriculum-section:nth-child(3n+2) h3::before { background: var(--blue); }
.curriculum-section:nth-child(3n+3) h3::before { background: var(--green); }
.curriculum-section .body p { font-size: 1.05rem; }

/* ===== Enrollment ===== */
.enroll-intro { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.steps { max-width: 760px; margin: 0 auto 64px; position: relative; }
.step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 14px rgba(0,113,193,0.3);
}
.step:nth-child(4n+2) .step-num { background: var(--orange); box-shadow: 0 6px 14px rgba(255,90,47,0.3); }
.step:nth-child(4n+3) .step-num { background: var(--green); box-shadow: 0 6px 14px rgba(47,133,87,0.3); }
.step:nth-child(4n+4) .step-num { background: var(--blue-deep); box-shadow: 0 6px 14px rgba(4,90,148,0.3); }
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: -12px;
  width: 2px;
  background: var(--border);
}
.step-body { padding-top: 6px; }
.step-body h3 { margin-bottom: 6px; font-size: 1.15rem; }
.step-body p { color: var(--muted); margin: 0; }

.fee-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 960px;
  margin: 0 auto;
}
.fee-card-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.fee-card-head h3 { margin: 0; font-size: 1.1rem; }
.fee-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.fee-table th {
  text-align: left;
  font-family: var(--font-display);
  color: var(--ink);
  border-bottom: 2px solid var(--blue);
  padding: 10px 12px;
  font-size: 0.8rem;
}
.fee-table td { padding: 12px; border-bottom: 1px solid var(--border); }
.fee-table tr:hover td { background: var(--bg); }
.fee-note {
  background: var(--bg);
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 24px;
  font-size: 0.92rem;
  color: var(--text);
}
.fee-note p { margin: 0 0 8px; }
.fee-note p:last-child { margin-bottom: 0; }

/* ===== Gallery ===== */
.gallery-video { background: var(--ink); padding: 56px 0; text-align: center; }
.gallery-video h2 { color: #fff; }
.gallery-video video { max-width: 100%; border-radius: var(--radius); margin-top: 20px; box-shadow: var(--shadow); }
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.gallery-filter {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.gallery-filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery-filter:nth-of-type(2).is-active { background: var(--orange); border-color: var(--orange); }
.gallery-filter:nth-of-type(3).is-active { background: var(--blue); border-color: var(--blue); }
.gallery-filter:nth-of-type(4).is-active { background: var(--green); border-color: var(--green); }
.gallery-filter:nth-of-type(5).is-active { background: var(--orange-deep); border-color: var(--orange-deep); }
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.gallery-item { display: block; flex: 1 1 calc(33.333% - 12px); min-width: 240px; }
.gallery-item.is-hidden { display: none; }
.gallery-photo {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
  position: relative;
  cursor: pointer;
}
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-photo:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(10,37,64,0.75), transparent);
  color: #fff;
  padding: 26px 14px 12px;
  font-size: 0.85rem;
  font-weight: 700;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,37,64,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 30px;
  color: #fff;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form label { display: block; font-weight: 700; font-family: var(--font-display); font-size: 0.85rem; margin-bottom: 6px; color: var(--ink); }
.contact-form .field { margin-bottom: 18px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--surface);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 420px; border: none; display: block; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.empty-note { color: var(--muted); font-style: italic; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.is-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 12px 24px 20px;
    box-shadow: var(--shadow);
  }
  .site-header.is-open .main-nav a { padding: 12px 4px; }
  .has-dropdown:hover .dropdown-panel { display: none; }
  .site-header.is-open .has-dropdown .dropdown-panel {
    display: block;
    position: static;
    box-shadow: none;
    padding-left: 10px;
  }
  .quicklinks { flex-direction: column; margin-top: -30px; }
  .teacher-card { flex-basis: calc(50% - 13px); }
  .footer-grid { gap: 28px; }
  .footer-grid > div, .footer-grid > .footer-brand { flex-basis: 100%; }
  .related-grid > .related-card { flex-basis: 100%; }
  .gallery-item { flex-basis: calc(50% - 9px); }
  .contact-grid { grid-template-columns: 1fr; }
  .news-row { flex-direction: column; }
  .news-thumb { flex: none; width: 100%; }
  .hero h1 { font-size: 2.2rem; }
  .article-hero { height: 260px; }
  .curriculum-banner { height: 200px; }
}
@media (max-width: 560px) {
  .teacher-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .section { padding: 48px 0; }
  h1 { font-size: 2rem; }
  .hero-content { padding: 80px 0 120px; }
}
