:root {
  --ink: #16233d;
  --ink-soft: #2a3a5c;
  --soil: #a6402e;
  --soil-deep: #832f21;
  --gold: #f2b705;
  --gold-soft: #f8d25c;
  --leaf: #2f6b4f;
  --leaf-deep: #204b37;
  --cream: #fbf3e6;
  --cream-deep: #f3e6d2;
  --leaf-tint: #e9f1e7;
  --white: #ffffff;
  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;
  --font-label: "Space Grotesk", sans-serif;
  --container: 1180px;
}

* {
  /* margin: 0;
    padding: 0; */
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  line-height: 1.1;
  font-weight: 600;
}
p {
  margin: 0 0 1em;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--soil);
  margin: 0 0 0.9em;
}
.eyebrow-light {
  color: var(--gold-soft);
}

:focus-visible {
  outline: 3px solid var(--sky, #3e7c90);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.85em 1.6em;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--soil);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--soil-deep);
}
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-on-dark {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}
.btn-on-dark:hover {
  background: var(--gold-soft);
  color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(242, 183, 5, 0.18);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand-mark {
  width: 8rem;
  height: 6rem;
  flex: none;
  border-radius: 25% 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  color: var(--cream);
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-text small {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: var(--font-label);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.85;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover {
  opacity: 1;
}
.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* slides */

.hero .slider {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 15s infinite;
}

/* Set each image */
.bg1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),url("images/ESD_69e8c39b62b6b.png");
  animation-delay: 0s;
}

.bg2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),url("images/471172906_899311095647133_7745159389986555329_n.png");
  animation-delay: 5s;
}

.bg3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),url("images/UMPS.png");
  animation-delay: 10s;
}
/* .bg4 {
  background-image: url("../images/images\(3\).png");
  animation-delay: 15s;
} */

/* Text stays on top */
.slider .content {
  font-size: 2.2rem;
  font-weight: bolder;
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
}
.content .sub{
  color: red;
  font-weight: bolder;
}

@keyframes fade {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* ---------- Hill divider (signature) ---------- */
.hill-divider {
  line-height: 0;
  margin-top: -1px;
}
.hill-divider svg {
  width: 100%;
  height: 44px;
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  max-width: 14ch;
  color: var(--ink);
}
.hero-sub {
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.hero-sub span {
  color: var(--soil);
  font-weight: 600;
  font-style: italic;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin: 2em 0 0;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-illustration {
  margin-top: 36px;
  position: relative;
}
.hero-illustration svg {
  width: 100%;
  height: auto;
}
.sun-disc {
  transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
  .sun-disc {
    animation: spin 90s linear infinite;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Welcome / facts ---------- */
.welcome {
  background: var(--cream);
  padding: 10px 0 70px;
}
.section-intro {
  max-width: 62ch;
  font-size: 1.12rem;
  color: var(--ink-soft);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.fact-card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 4px;
  padding: 22px 20px;
  border-top: 3px solid var(--gold);
}
.fact-label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--soil);
  margin-bottom: 0.5em;
}
.fact-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- About ---------- */
.about {
  background: var(--cream);
  padding: 70px 0 84px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 16ch;
}
.about-copy p {
  color: var(--ink-soft);
  max-width: 52ch;
}
.about-copy .motto-block {
  margin-top: 1.6em;
  background: var(--ink);
  color: var(--cream);
  padding: 26px 28px;
  border-radius: 4px;
  border-left: 4px solid var(--gold);
}
.motto-block .motto-label {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--gold-soft);
  margin-bottom: 0.4em;
  font-weight: 500;
}
.motto-block .motto-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  margin: 0;
  color: white;
}

.values-list {
  display: grid;
  gap: 22px;
}
.values-list li {
  padding-left: 20px;
  border-left: 2px solid var(--leaf);
}
.values-list h3 {
  font-size: 1.05rem;
  color: var(--leaf-deep);
}
.values-list p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Journey timeline ---------- */
.journey {
  background: var(--leaf-tint);
  padding: 78px 0 90px;
}
.journey h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 18ch;
}
.timeline {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.rung {
  background: var(--white);
  border-radius: 4px;
  padding: 20px 16px 22px;
  border-bottom: 3px solid var(--soil);
  position: relative;
}
.rung-no {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cream);
  background: var(--soil);
  border-radius: 2px;
  padding: 3px 9px;
  margin-bottom: 0.8em;
}
.rung h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35em;
  color: var(--ink);
}
.rung p {
  font-size: 0.83rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Life at school ---------- */
.life {
  background: var(--cream);
  padding: 78px 0 90px;
}
.life h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 18ch;
}
.life-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.life-card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 6px;
  padding: 26px 24px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.life-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px rgba(22, 35, 61, 0.35);
}
.life-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
}
.life-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35em;
}
.life-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Admissions ---------- */
.admissions {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 90px;
}
.admissions h2 {
  color: var(--cream);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 20ch;
}
.admissions-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  margin-top: 40px;
  align-items: start;
}
.steps {
  display: grid;
  gap: 22px;
}
.step {
  display: flex;
  gap: 18px;
}
.step-no {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 {
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 0.3em;
}
.step p {
  color: rgba(251, 243, 230, 0.72);
  font-size: 0.93rem;
  margin: 0;
}

.requirements {
  background: var(--ink-soft);
  border-radius: 6px;
  padding: 28px;
}
.requirements h3 {
  color: var(--gold-soft);
  font-size: 0.95rem;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1em;
}
.requirements ul {
  display: grid;
  gap: 10px;
  margin-bottom: 1.4em;
}
.requirements li {
  font-size: 0.92rem;
  padding-left: 22px;
  position: relative;
  color: rgba(251, 243, 230, 0.85);
}
.requirements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.requirements .note {
  font-size: 0.82rem;
  color: rgba(251, 243, 230, 0.6);
  border-top: 1px solid rgba(251, 243, 230, 0.15);
  padding-top: 14px;
  margin: 0;
}

/* ---------- Voices ---------- */
.voices {
  background: var(--cream);
  padding: 80px 0 90px;
}
.voices h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 18ch;
}
.voices-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.voice-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 26px 24px;
  border-radius: 2px;
}
.voice-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
}
.voice-attr {
  font-family: var(--font-label);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soil);
  margin: 0;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--leaf-tint);
  padding: 80px 0 90px;
}
.contact h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 18ch;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  margin-top: 40px;
}
.info-block {
  display: grid;
  gap: 22px;
}
.info-item {
  display: flex;
  gap: 14px;
}
.info-icon {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--soil);
  margin-top: 2px;
}
.info-item h3 {
  font-size: 0.98rem;
  margin-bottom: 0.2em;
}
.info-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.contact-form {
  background: var(--white);
  border-radius: 6px;
  padding: 30px;
  display: grid;
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-family: var(--font-label);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--cream-deep);
  border-radius: 4px;
  background: var(--cream);
  color: var(--ink);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--soil);
}
.form-note {
  font-size: 0.85rem;
  color: var(--leaf-deep);
  margin: 0;
  display: none;
}
.form-note.show {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(251, 243, 230, 0.75);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(251, 243, 230, 0.12);
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.footer-brand strong {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.05rem;
}
.footer-about p {
  font-size: 0.9rem;
  max-width: 36ch;
}
.footer-col h4 {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--gold-soft);
  margin: 0 0 1em;
}
.footer-col ul {
  display: grid;
  gap: 10px;
}
.footer-col a {
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: var(--cream);
}
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .about-grid,
  .admissions-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline {
    grid-template-columns: repeat(4, 1fr);
  }
  .life-grid,
  .voices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .header-inner {
    padding: 12px 20px;
  }
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .life-grid,
  .voices-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 20px;
  }
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--ink);
  padding: 90px 28px 28px;
  flex-direction: column;
  gap: 26px;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  font-family: var(--font-label);
  font-size: 1.2rem;
  color: var(--cream);
}
.mobile-nav .btn {
  align-self: flex-start;
  margin-top: 10px;
}
.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ==========================================================================
   ABOUT PAGE CONTENT SPECIFIC STYLES
   ========================================================================== */

/* ---------- Hill divider (signature) ---------- */
.hill-divider {
  line-height: 0;
  margin-top: -1px;
}
.hill-divider svg {
  width: 100%;
  height: 44px;
  display: block;
}

/* ---------- Page hero ---------- */
.about-hero {
  background: var(--cream);
  padding: 64px 0 46px;
}
.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.hero-copy {
  max-width: 48ch;
}
.about-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
}
.about-hero .lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 56ch;
}
.hero-sunmark {
  flex: none;
  width: 96px;
  height: 96px;
  opacity: 0.9;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-sunmark .rays {
    animation: spin 90s linear infinite;
    transform-origin: center;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.breadcrumb {
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 1.4em;
}
.breadcrumb a {
  color: var(--soil);
}

/* ---------- Story ---------- */
.story {
  background: var(--cream);
  padding: 10px 0 78px;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}
.story-copy p {
  color: var(--ink-soft);
  max-width: 58ch;
}
.motto-block {
  background: var(--ink);
  color: var(--cream);
  padding: 26px 28px;
  border-radius: 4px;
  border-left: 4px solid var(--gold);
}
.motto-label {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--gold-soft);
  margin-bottom: 0.4em;
}
.motto-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  margin: 0;
}
.quick-facts {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.quick-fact {
  background: var(--white);
  border-top: 3px solid var(--leaf);
  border-radius: 4px;
  padding: 18px 20px;
}
.quick-fact span {
  display: block;
}
.quick-fact .fl {
  font-family: var(--font-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--soil);
  margin-bottom: 0.4em;
}
.quick-fact .fv {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

/* ---------- History timeline ---------- */
.history {
  background: var(--leaf-tint);
  padding: 78px 0 90px;
}
.history h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 20ch;
}
.timeline-vertical {
  position: relative;
  margin-top: 44px;
  padding-left: 30px;
  border-left: 2px solid var(--soil);
  max-width: 70ch;
}
.timeline-item {
  position: relative;
  padding-bottom: 38px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--soil);
  border: 3px solid var(--leaf-tint);
}
.timeline-year {
  font-family: var(--font-label);
  font-weight: 700;
  color: var(--soil);
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.3em;
  display: block;
}
.timeline-item h3 {
  font-size: 1.12rem;
  margin-bottom: 0.3em;
}
.timeline-item p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 60ch;
}

/* ---------- Mission & Vision ---------- */
.mission-vision {
  background: var(--cream);
  padding: 80px 0 20px;
}
.mission-vision h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 20ch;
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.mv-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 32px 28px;
}
.mv-card h3 {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--soil);
  margin-bottom: 0.9em;
}
.mv-card p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
  margin: 0;
  line-height: 1.45;
}

/* ---------- Values ---------- */
.values {
  background: var(--cream);
  padding: 60px 0 90px;
}
.values h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 20ch;
}
.values-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 6px;
  padding: 26px 22px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px rgba(22, 35, 61, 0.35);
}
.value-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
}
.value-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4em;
}
.value-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Faith & Heritage (dark) ---------- */
.faith {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 90px;
}
.faith h2 {
  color: var(--cream);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
}
.faith-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  margin-top: 36px;
  align-items: start;
}
.faith-copy p {
  color: rgba(251, 243, 230, 0.78);
  max-width: 58ch;
}
.faith-fact {
  background: var(--ink-soft);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 16px;
}
.faith-fact h3 {
  color: var(--gold-soft);
  font-family: var(--font-label);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.5em;
}
.faith-fact p {
  color: rgba(251, 243, 230, 0.82);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Facilities ---------- */
.facilities {
  background: var(--cream);
  padding: 80px 0 90px;
}
.facilities h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 20ch;
}
.facilities-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.facility-card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 6px;
  padding: 26px 24px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px rgba(22, 35, 61, 0.35);
}
.facility-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
}
.facility-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35em;
}
.facility-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Leadership ---------- */
.leadership {
  background: var(--leaf-tint);
  padding: 80px 0 90px;
}
.leadership h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
}
.leadership .lead-note {
  max-width: 62ch;
  color: var(--ink-soft);
}
.leader-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.leader-card {
  background: var(--white);
  border-radius: 6px;
  padding: 24px;
  border-top: 3px solid var(--leaf);
}
.leader-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--soil);
}
.leader-card h3 {
  font-size: 1rem;
  margin-bottom: 0.15em;
}
.leader-role {
  font-family: var(--font-label);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--soil);
  display: block;
  margin-bottom: 0.6em;
}
.leader-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--soil-deep);
  color: var(--cream);
  padding: 66px 0;
  text-align: center;
}
.cta-band h2 {
  color: var(--cream);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-band p {
  color: rgba(251, 243, 230, 0.82);
  max-width: 52ch;
  margin: 0 auto 1.6em;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Responsive Breakpoints Extra Rules ---------- */
@media (max-width: 980px) {
  .story-grid,
  .faith-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .mv-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .facilities-grid,
  .leader-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-top {
    flex-direction: column;
  }
  .hero-sunmark {
    display: none;
  }
}
@media (max-width: 640px) {
  .values-grid,
  .facilities-grid,
  .leader-grid {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================================================
   ADMISSIONS PAGE – page-specific styles
   ========================================================================== */

/* ---------- Page hero (admissions) ---------- */
.adm-hero {
  background: var(--cream);
  padding: 60px 0 50px;
}
.adm-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  max-width: 20ch;
}
.adm-hero .lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

/* ---------- Admission highlights (why us) ---------- */
.adm-highlights {
  background: var(--cream);
  padding: 60px 0 78px;
}
.adm-highlights h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 20ch;
}
.highlights-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.highlight-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 24px 20px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px rgba(22, 35, 61, 0.3);
}
.highlight-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--soil);
  line-height: 1;
  margin-bottom: 0.3em;
  display: block;
}
.highlight-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35em;
}
.highlight-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- How to apply (light bg full-page version) ---------- */
.how-to-apply {
  background: var(--leaf-tint);
  padding: 78px 0 90px;
}
.how-to-apply h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 20ch;
}
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 40px;
  align-items: start;
}
.steps-light {
  display: grid;
  gap: 28px;
}
.step-light {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.step-light .step-no {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--soil);
  color: var(--cream);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-light h3 {
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 0.3em;
}
.step-light p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  margin: 0;
}
.apply-aside {
  display: grid;
  gap: 20px;
}
.apply-aside-card {
  background: var(--white);
  border-radius: 6px;
  padding: 24px;
  border-left: 4px solid var(--leaf);
}
.apply-aside-card h3 {
  font-size: 0.95rem;
  color: var(--leaf-deep);
  margin-bottom: 0.6em;
}
.apply-aside-card p,
.apply-aside-card li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}
.apply-aside-card ul {
  display: grid;
  gap: 8px;
}
.apply-aside-card li {
  padding-left: 18px;
  position: relative;
}
.apply-aside-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--leaf);
  font-weight: 700;
}

/* ---------- Grade entry requirements ---------- */
.grade-reqs {
  background: var(--cream);
  padding: 78px 0 90px;
}
.grade-reqs h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
}
.grade-reqs .section-lead {
  max-width: 60ch;
  color: var(--ink-soft);
  margin-top: 0.4em;
}
.grade-req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.grade-req-card {
  background: var(--white);
  border-radius: 6px;
  padding: 26px 24px;
  border-bottom: 3px solid var(--soil);
}
.grade-badge {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--ink);
  color: var(--gold-soft);
  border-radius: 3px;
  padding: 4px 10px;
  letter-spacing: 0.05em;
  margin-bottom: 1em;
}
.grade-req-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5em;
}
.grade-req-card ul {
  display: grid;
  gap: 8px;
}
.grade-req-card li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.grade-req-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--soil);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.2;
}

/* ---------- Fees overview ---------- */
.fees-section {
  background: var(--ink);
  color: var(--cream);
  padding: 78px 0 90px;
}
.fees-section h2 {
  color: var(--cream);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
}
.fees-section .section-lead-light {
  color: rgba(251, 243, 230, 0.75);
  max-width: 56ch;
  margin-top: 0.4em;
}
.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.fee-card {
  background: var(--ink-soft);
  border-radius: 6px;
  padding: 26px 24px;
  border-top: 3px solid var(--gold);
}
.fee-card h3 {
  font-family: var(--font-label);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold-soft);
  margin-bottom: 0.6em;
}
.fee-amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  display: block;
  margin-bottom: 0.3em;
}
.fee-period {
  font-size: 0.82rem;
  color: rgba(251, 243, 230, 0.6);
  display: block;
  margin-bottom: 0.8em;
}
.fee-card p {
  font-size: 0.88rem;
  color: rgba(251, 243, 230, 0.75);
  margin: 0;
}
.fees-note {
  margin-top: 28px;
  padding: 20px 24px;
  background: rgba(242, 183, 5, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 0.9rem;
  color: rgba(251, 243, 230, 0.82);
}

/* ---------- FAQ accordion ---------- */
.faq-section {
  background: var(--leaf-tint);
  padding: 78px 0 90px;
}
.faq-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 20ch;
}
.faq-list {
  margin-top: 40px;
  max-width: 76ch;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--cream-deep);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s ease;
}
.faq-question:hover {
  background: var(--cream);
}
.faq-icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--soil);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--cream-deep);
  padding-top: 16px;
}
.faq-answer-inner p {
  margin: 0;
}

/* ---------- Enquiry form section ---------- */
.enquiry-section {
  background: var(--cream);
  padding: 78px 0 90px;
}
.enquiry-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
}
.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  margin-top: 40px;
  align-items: start;
}
.enquiry-info p {
  color: var(--ink-soft);
  max-width: 44ch;
}
.enquiry-contact-list {
  display: grid;
  gap: 20px;
  margin-top: 1.4em;
}
.enq-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.enq-contact-item svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--soil);
  margin-top: 2px;
}
.enq-contact-item h4 {
  font-family: var(--font-label);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soil);
  margin: 0 0 0.2em;
}
.enq-contact-item p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}
.enquiry-form {
  background: var(--white);
  border-radius: 6px;
  padding: 32px;
  display: grid;
  gap: 16px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--cream-deep);
  border-radius: 4px;
  background: var(--cream);
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232A3A5C' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.field select:focus {
  outline: none;
  border-color: var(--soil);
}

/* ---------- Admissions responsive ---------- */
@media (max-width: 980px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .apply-grid,
  .enquiry-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .grade-req-grid,
  .fees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .highlights-grid,
  .grade-req-grid,
  .fees-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SHARED – Nav current-page indicator
   ========================================================================== */
.main-nav a.current {
  opacity: 1;
  color: var(--gold-soft);
}
.main-nav a.current::after {
  transform: scaleX(1);
}
.mobile-nav a.current {
  color: var(--gold-soft);
}

/* ==========================================================================
   SHARED – Generic page hero (contact · news · staff · gallery)
   ========================================================================== */
.page-hero {
  background: var(--cream);
  padding: 60px 0 54px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  max-width: 20ch;
}
.page-hero .lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 58ch;
}
.page-hero .hero-actions {
  justify-content: flex-start;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-cards-section {
  background: var(--cream);
  padding: 60px 0 70px;
}
.contact-cards-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 20ch;
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.contact-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 24px 22px;
}
.contact-card-icon {
  width: 36px;
  height: 36px;
  color: var(--soil);
  margin-bottom: 14px;
}
.contact-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4em;
}
.contact-card p,
.contact-card a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}
.contact-card a:hover {
  color: var(--soil);
}

.directions-section {
  background: var(--ink);
  color: var(--cream);
  padding: 78px 0 90px;
}
.directions-section h2 {
  color: var(--cream);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
}
.directions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 40px;
  align-items: start;
}
.directions-copy p {
  color: rgba(251, 243, 230, 0.78);
  max-width: 50ch;
}
.direction-step {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.direction-step:last-child {
  margin-bottom: 0;
}
.direction-step-num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.direction-step h4 {
  font-size: 0.95rem;
  color: var(--cream);
  margin: 0 0 0.2em;
}
.direction-step p {
  font-size: 0.88rem;
  color: rgba(251, 243, 230, 0.72);
  margin: 0;
}
.map-illustration {
  background: var(--ink-soft);
  border-radius: 6px;
  padding: 24px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   NEWS PAGE
   ========================================================================== */
.news-featured-section {
  background: var(--cream);
  padding: 60px 0 0;
}
.news-featured-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
}
.news-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--cream-deep);
  margin-top: 36px;
}
.news-feat-img {
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.news-feat-img svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.news-feat-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-tag {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  background: var(--soil);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 0.9em;
}
.news-tag-leaf {
  background: var(--leaf);
}
.news-tag-gold {
  background: var(--gold);
  color: var(--ink);
}
.news-tag-ink {
  background: var(--ink);
}
.news-feat-body h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  margin-bottom: 0.5em;
}
.news-meta {
  font-family: var(--font-label);
  font-size: 0.76rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.9em;
}
.news-excerpt {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1.4em;
}

.news-archive-section {
  background: var(--cream);
  padding: 70px 0 90px;
}
.news-archive-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
}
.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 6px;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px rgba(22, 35, 61, 0.35);
}
.news-card-img {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.news-card-img svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.news-card-img .card-img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  display: block;
}
.news-card-body {
  padding: 20px 20px 22px;
}
.news-card-body h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4em;
}
.news-card-body p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1em;
}
.news-read-more {
  font-family: var(--font-label);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soil);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s ease;
}
.news-read-more:hover {
  gap: 10px;
}
.news-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}
.pagination-btn {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  border: 1.5px solid var(--cream-deep);
  background: var(--white);
  font-family: var(--font-label);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.pagination-btn:hover,
.pagination-btn.active {
  background: var(--soil);
  color: var(--cream);
  border-color: var(--soil);
}
.newsletter-section {
  background: var(--leaf-tint);
  padding: 70px 0 84px;
}
.newsletter-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
}
.newsletter-section > .container > p {
  max-width: 52ch;
  color: var(--ink-soft);
}
.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 1.4em;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-deep);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--soil);
}

/* ==========================================================================
   STAFF PAGE
   ========================================================================== */
.staff-leadership-section {
  background: var(--cream);
  padding: 60px 0 70px;
}
.staff-leadership-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
}
.staff-lead-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.staff-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--cream-deep);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px rgba(22, 35, 61, 0.3);
}
.staff-card-photo {
  height: 200px;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.staff-card-photo svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.staff-card-body {
  padding: 20px 20px 22px;
  border-top: 3px solid var(--leaf);
}
.staff-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.1em;
}
.staff-role-label {
  font-family: var(--font-label);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--soil);
  display: block;
  margin-bottom: 0.6em;
}
.staff-subject-tag {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--leaf-deep);
  background: var(--leaf-tint);
  padding: 3px 8px;
  border-radius: 2px;
  margin: 0 4px 4px 0;
}
.staff-bio {
  font-size: 0.87rem;
  color: var(--ink-soft);
  margin: 0.8em 0 0;
}

.staff-teachers-section {
  background: var(--leaf-tint);
  padding: 70px 0 84px;
}
.staff-teachers-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
}
.staff-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.staff-grid-4 .staff-card-photo {
  height: 160px;
}

.staff-support-section {
  background: var(--cream);
  padding: 70px 0 60px;
}
.staff-support-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.support-card {
  background: var(--white);
  border-radius: 4px;
  border-left: 4px solid var(--gold);
  padding: 20px 22px;
}
.support-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.1em;
}

.vacancies-section {
  background: var(--soil-deep);
  color: var(--cream);
  padding: 70px 0 80px;
}
.vacancies-section h2 {
  color: var(--cream);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 22ch;
}
.vacancies-section > .container > p {
  color: rgba(251, 243, 230, 0.82);
  max-width: 58ch;
}
.vacancies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}
.vacancy-card {
  background: var(--ink-soft);
  border-radius: 6px;
  padding: 24px;
  border-top: 3px solid var(--gold);
}
.vacancy-card h3 {
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 0.3em;
}
.vacancy-card p {
  font-size: 0.9rem;
  color: rgba(251, 243, 230, 0.72);
  margin: 0 0 1em;
}
.vacancy-type {
  font-family: var(--font-label);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}

/* ==========================================================================
   GALLERY PAGE
   ========================================================================== */
.gallery-section {
  background: var(--cream);
  padding: 50px 0 80px;
}
.gallery-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  max-width: 20ch;
}
.gallery-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0 36px;
}
.filter-btn {
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 3px;
  border: 1.5px solid var(--cream-deep);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--soil);
  color: var(--cream);
  border-color: var(--soil);
}
.gallery-grid {
  columns: 3;
  column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item-inner {
  position: relative;
  overflow: hidden;
}
.gallery-placeholder {
  width: 100%;
  display: block;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 35, 61, 0);
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  transition: background 0.25s ease;
}
.gallery-item:hover .gallery-overlay {
  background: rgba(22, 35, 61, 0.55);
}
.gallery-cap-text {
  font-family: var(--font-label);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--cream);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.gallery-item:hover .gallery-cap-text {
  opacity: 1;
  transform: none;
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(22, 35, 61, 0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-overlay.open {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 780px;
  width: 100%;
  background: var(--ink);
  border-radius: 6px;
  overflow: hidden;
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1;
  line-height: 1;
}
.lightbox-img-wrap {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-soft);
}
.lightbox-img-wrap svg {
  width: 100%;
}
.lightbox-caption {
  padding: 14px 20px;
  font-family: var(--font-label);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}

/* ==========================================================================
   RESPONSIVE – All new pages
   ========================================================================== */
@media (max-width: 980px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .directions-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .news-featured-card {
    grid-template-columns: 1fr;
  }
  .news-feat-img {
    min-height: 240px;
  }
  .news-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .staff-lead-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .staff-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-grid,
  .vacancies-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    columns: 2;
  }
}
@media (max-width: 640px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
  .news-grid-3 {
    grid-template-columns: 1fr;
  }
  .staff-lead-grid,
  .staff-grid-4 {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    columns: 1;
  }
  .newsletter-form {
    flex-direction: column;
  }
}

/* ==========================================================================
   SHARED – Form alerts, honeypot, category tabs, card footer
   (Added when the PHP backend was wired up: contact/admissions/newsletter
   forms, news filtering & pagination, homepage news & events teaser.)
   ========================================================================== */

/* Success / error banners shown above forms after a submit + redirect */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
}
.alert-success {
  background: var(--leaf-tint);
  border: 1px solid var(--leaf);
  color: var(--leaf-deep);
}
.alert-error {
  background: #fbe9e6;
  border: 1px solid var(--soil);
  color: var(--soil-deep);
}
.alert-error ul {
  margin: 0;
  padding-left: 1.1em;
}
.alert-error li {
  margin: 2px 0;
}
.alert p {
  margin: 0 0 4px;
}
.alert p:last-child {
  margin-bottom: 0;
}

/* Honeypot field — invisible to people, visible to simple bots that fill in every input */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Category filter tabs on the news archive */
.news-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 32px;
}
.cat-tab {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.cat-tab:hover {
  border-color: var(--soil);
  color: var(--soil);
}
.cat-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* News card footer (date + read more), used on news.php and the homepage teaser */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 20px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.news-read-more {
  color: var(--soil);
  font-weight: 600;
  text-decoration: none;
}
.news-read-more:hover {
  text-decoration: underline;
}

/* Homepage "News & upcoming events" teaser */
.news-teaser {
  background: var(--leaf-tint);
  padding: 70px 0;
}
.news-events-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-top: 28px;
  align-items: start;
}
.news-teaser-heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.news-teaser .news-grid-3 {
  grid-template-columns: 1fr;
  gap: 20px;
}

.events-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.event-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--cream);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--cream-deep);
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  padding: 8px 6px;
  font-family: "Space Grotesk", sans-serif;
}
.event-day {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}
.event-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}
.event-body h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.event-location {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .news-events-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ADMIN PANEL — login screen, dashboard, tables
   Shares the same design tokens (--ink/--soil/--gold/--leaf/--cream) and
   fonts as the public site so it never feels like a bolted-on template.
   ========================================================================== */
.admin-body {
  background: var(--cream-deep);
  min-height: 100vh;
}

/* ---------- Login screen ---------- */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.admin-login-card {
  background: #fff;
  border-radius: 18px;
  padding: 44px 40px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(22, 35, 61, 0.16);
}
.admin-login-brand {
  text-align: center;
  margin-bottom: 28px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;  
}
.admin-login-logo {
  border-radius: 45%;
  object-fit: cover;
  margin-bottom: 12px;
}
.admin-login-brand h1 {
  font-size: 1.5rem;
  margin: 0 0 4px;
}
.admin-login-brand p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
}
.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.admin-login-btn {
  width: 100%;
  justify-content: center;
}
.admin-login-back {
  text-align: center;
  margin-top: 22px;
  font-size: 0.85rem;
}
.admin-login-back a {
  color: var(--ink-soft);
}

/* ---------- Shell layout ---------- */
.admin-shell {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 26px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.admin-sidebar-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.admin-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--cream);
  opacity: 0.78;
  font-size: 0.92rem;
  text-decoration: none;
  transition:
    background 0.15s ease,
    opacity 0.15s ease;
}
.admin-nav a:hover {
  background: var(--ink-soft);
  opacity: 1;
}
.admin-nav a.current {
  background: var(--ink-soft);
  opacity: 1;
  font-weight: 600;
}
.admin-nav-badge {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 8px;
}
.admin-sidebar-footer {
  border-top: 1px solid rgba(251, 243, 230, 0.15);
  padding-top: 16px;
  font-size: 0.85rem;
}
.admin-sidebar-footer p {
  margin: 0 0 12px;
  opacity: 0.85;
}
.admin-logout-btn {
  width: 100%;
  justify-content: center;
  border-color: rgba(251, 243, 230, 0.4);
  color: var(--cream);
  padding: 9px 14px;
  font-size: 0.85rem;
}
.admin-logout-btn:hover {
  background: var(--cream);
  color: var(--ink);
}

.admin-main {
  flex: 1;
  padding: 36px 44px;
  max-width: 1100px;
}
.admin-topbar {
  margin-bottom: 26px;
}
.admin-topbar h1 {
  font-size: 1.9rem;
  margin: 0 0 4px;
}
.admin-topbar p {
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Stat cards ---------- */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.admin-stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--cream-deep);
}
.admin-stat-num {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--soil);
}
.admin-stat-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* ---------- Panels & tables ---------- */
.admin-panels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.admin-panel {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--cream-deep);
  margin-bottom: 22px;
}
.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.admin-panel-head h2 {
  font-size: 1.15rem;
  margin: 0;
}
.admin-panel-head a {
  font-size: 0.85rem;
  color: var(--soil);
  text-decoration: none;
}
.admin-empty {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th {
  text-align: left;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 8px 10px;
  border-bottom: 1px solid var(--cream-deep);
}
.admin-table td {
  padding: 10px;
  border-bottom: 1px solid var(--cream-deep);
}
.admin-table a {
  color: var(--soil);
  text-decoration: none;
  font-weight: 600;
}
.admin-row-unread {
  background: var(--leaf-tint);
  font-weight: 600;
}

.admin-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.admin-badge-new,
.admin-badge-contacted {
  background: #fff3cd;
  color: #7a5c00;
}
.admin-badge-enrolled {
  background: var(--leaf-tint);
  color: var(--leaf-deep);
}
.admin-badge-declined {
  background: #fbe9e6;
  color: var(--soil-deep);
}

/* ---------- Detail views ---------- */
.admin-message-detail dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 10px;
}
.admin-message-detail dd {
  margin: 2px 0 0;
}
.admin-detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 24px;
}
.admin-message-body {
  background: var(--cream);
  border-radius: 10px;
  padding: 16px;
  margin: 18px 0;
  line-height: 1.6;
}
.admin-actions,
.admin-status-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.admin-status-form {
  flex-direction: column;
  align-items: stretch;
  max-width: 420px;
}
.btn-danger {
  background: var(--soil-deep);
  color: var(--cream);
}
.btn-danger:hover {
  background: #5e2015;
}
.admin-filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

/* ---------- Topbar with an action button (News & Stories, etc.) ---------- */
.admin-topbar-with-action {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- News management: thumbnails, badges, row actions ---------- */
.admin-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.admin-thumb-color {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: block;
}

.admin-badge-published {
  background: var(--leaf-tint);
  color: var(--leaf-deep);
}
.admin-badge-draft {
  background: #eee;
  color: var(--ink-soft);
}
.admin-badge-featured {
  background: var(--gold-soft);
  color: var(--ink);
  margin-left: 8px;
}

.admin-table-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  white-space: nowrap;
}
.admin-table-actions form {
  margin: 0;
}
.link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--soil);
  cursor: pointer;
  text-decoration: none;
}
.link-btn:hover {
  text-decoration: underline;
}
.link-btn-danger {
  color: var(--soil-deep);
}

/* ---------- Article add/edit form ---------- */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
}
.admin-form .field-row {
  display: flex;
  gap: 18px;
}
.admin-form .field-row .field {
  flex: 1;
}
.admin-checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
}
.admin-checkbox-inline input {
  width: 16px;
  height: 16px;
}
.admin-image-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  padding: 10px;
  background: var(--cream);
  border-radius: 10px;
}
.admin-image-preview img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

/* ---------- Category list panel ---------- */
.admin-panel-narrow {
  max-width: 480px;
}
.admin-category-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-category-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}
.admin-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.admin-inline-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.admin-inline-form input[type="text"] {
  flex: 1;
  min-width: 160px;
  padding: 10px 12px;
  border: 1px solid var(--cream-deep);
  border-radius: 8px;
  font-family: "Manrope", sans-serif;
}
.admin-inline-form input[type="color"] {
  width: 44px;
  height: 40px;
  padding: 2px;
  border: 1px solid var(--cream-deep);
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .admin-shell {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .admin-sidebar-footer {
    margin-left: auto;
    border: none;
    padding: 0;
  }
  .admin-nav {
    flex-direction: row;
  }
  .admin-main {
    padding: 24px;
  }
  .admin-panels-grid,
  .admin-detail-list {
    grid-template-columns: 1fr;
  }
  .admin-form .field-row {
    flex-direction: column;
    gap: 18px;
  }
  .admin-table-news thead {
    display: none;
  }
}

/* ==========================================================================
   ARTICLE PAGE (article.php) — single news story
   ========================================================================== */
.article-section {
  padding: 10px 0 60px;
}
.article-hero-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 34px;
  display: block;
}
.article-body {
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
}
.article-back {
  margin-top: 40px;
}
