@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600..900&display=swap");

:root {
  --blue: #0757a0;
  --deep: #062b52;
  --ink: #102b44;
  --emerald: #0e7665;
  --mint: #d9f0e7;
  --gold: #f6bd4b;
  --paper: #f7f8f5;
  --line: #dce4e6;
  --white: #fff;
  --shadow: 0 18px 50px rgba(5, 38, 73, 0.12);
  --hero-image: url("images/hero-picture.jpg");
  --header-image: url("images/header-picture.jpg");
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.6 "DM Sans",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Fraunces", Manrope, serif;
  line-height: 1.08;
  letter-spacing: 0;
}
h1 {
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  max-width: 800px;
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(2.3rem, 4.5vw, 4.8rem);
  max-width: 700px;
  margin-bottom: 24px;
}
h3 {
  font-size: 2rem;
}
em {
  color: var(--emerald);
  font-style: normal;
}
.announcement {
  background: var(--deep);
  color: #dff5ed;
  padding: 9px 5%;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.announcement a {
  color: var(--gold);
  font-weight: 700;
}
.site-header {
  height: 88px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 248, 245, 0.94);
  position: relative;
  z-index: 2;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(247, 248, 245, 0.78), rgba(247, 248, 245, 0.78)), var(--header-image);
  background-position: center;
  background-size: cover;
  opacity: 0.56;
  pointer-events: none;
  z-index: 0;
}
.site-header > * {
  position: relative;
  z-index: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--deep);
  font-size: 0.98rem;
  line-height: 1.08;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.brand b {
  color: var(--emerald);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue) url("images/logo.jpg") center / contain no-repeat;
  color: var(--gold);
  font: bold 0.82rem Manrope;
  font-size: 0;
  letter-spacing: -0.05em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  padding: 10px 12px 10px 24px;
  border-left: 1px solid rgba(6, 43, 82, 0.2);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 700;
}
.site-nav > a {
  color: #547083;
}
.site-nav > a:hover,
.site-nav > a.active {
  color: var(--blue);
}
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 14px 19px;
  background: var(--blue);
  color: white !important;
  font-weight: 700;
}
.nav-cta {
  padding: 11px 16px;
}
.nav-cta span,
.button span {
  font-size: 1.2em;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 1.5rem;
  color: var(--deep);
}
.hero {
  min-height: 620px;
  padding: 8% 5%;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 5%;
  align-items: center;
}
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 248, 245, 0.88), rgba(247, 248, 245, 0.72)), var(--hero-image) center / cover;
  opacity: 0.52;
  pointer-events: none;
  z-index: -1;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
}
.hero-text,
.page-hero > p:last-child {
  font-size: 1.08rem;
  max-width: 480px;
  color: #557083;
}
.hero-actions {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 36px;
}
.button-gold {
  background: var(--gold);
  color: var(--deep) !important;
}
.button-blue {
  background: var(--blue);
}
.text-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
}
.text-link span {
  margin-left: 10px;
  font-size: 1.25rem;
}
.hero-art {
  min-height: 500px;
  background: var(--mint);
  position: relative;
  overflow: hidden;
}
.art-sun {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--gold);
  top: 40px;
  right: 17%;
}
.art-shape {
  position: absolute;
  background: var(--blue);
  border-radius: 50% 50% 0 0;
}
.art-shape-one {
  height: 310px;
  width: 210px;
  bottom: -60px;
  left: 12%;
  transform: rotate(14deg);
}
.art-shape-two {
  height: 230px;
  width: 180px;
  bottom: -45px;
  right: 7%;
  background: var(--emerald);
  transform: rotate(-13deg);
}
.art-label,
.art-quote {
  position: absolute;
  z-index: 1;
}
.art-label {
  left: 7%;
  top: 9%;
  display: grid;
  gap: 3px;
  color: var(--deep);
}
.art-label strong {
  font: 2rem Manrope;
}
.art-label span,
.art-quote {
  font-size: 0.78rem;
}
.art-quote {
  bottom: 10%;
  left: 9%;
  color: white;
  font: 1.2rem Manrope;
}
.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--gold);
  padding: 19px 5%;
  font: 700 0.82rem Manrope;
}
.ticker div + div {
  border-left: 1px solid rgba(16, 43, 68, 0.25);
  padding-left: 30px;
}
.section {
  padding: 8% 5%;
  max-width: 1400px;
  margin: auto;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: end;
}
.lead {
  font-size: 1.35rem;
  line-height: 1.45;
  color: #496579;
  margin-bottom: 30px;
}
.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 0;
  gap: 1px;
}
.feature-panel {
  padding: 42px;
  background: var(--mint);
  min-height: 320px;
}
.feature-panel-dark {
  background: var(--deep);
  color: white;
}
.feature-panel-gold {
  background: var(--gold);
}
.feature-number,
.program-age {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.feature-panel h3 {
  margin-top: 65px;
}
.feature-panel p {
  max-width: 250px;
  color: inherit;
  opacity: 0.75;
}
.callout {
  text-align: center;
  padding-bottom: 12%;
  background: var(--mint);
  max-width: none;
}
.callout h2 {
  margin: 0 auto 30px;
}
.site-footer {
  background: var(--deep);
  color: white;
  padding: 55px 5% 25px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: start;
}
.brand-footer {
  color: white;
}
.site-footer p {
  color: #97b0be;
  font-size: 0.8rem;
  margin: 20px 0 0;
}
.footer-links {
  display: flex;
  gap: 70px;
}
.footer-links div {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  color: #a9c0c9;
}
.footer-links b {
  color: var(--gold);
  margin-bottom: 8px;
}
.site-footer small {
  color: #66899d;
  font-size: 0.7rem;
  align-self: end;
}
.page-hero {
  padding: 9% 5% 8%;
  background: var(--mint);
  min-height: 430px;
}
.page-hero > p:last-child {
  max-width: 530px;
}
.contact-hero {
  background-image: linear-gradient(90deg, rgba(217, 240, 231, 0.94), rgba(217, 240, 231, 0.7)), var(--hero-image);
  background-position: center;
  background-size: cover;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12%;
  align-items: center;
}
.contact-intro h2,
.location-band h2 {
  font-size: clamp(2.3rem, 4.5vw, 4.5rem);
}
.contact-intro > p:not(.eyebrow) {
  max-width: 560px;
  color: #557083;
}
.contact-details {
  border-top: 1px solid var(--line);
}
.contact-details a {
  display: grid;
  gap: 4px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-details > div {
  display: grid;
  gap: 4px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-details span {
  color: var(--emerald);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-details strong {
  color: var(--deep);
  font: 700 clamp(1rem, 2vw, 1.35rem) "DM Sans", sans-serif;
  overflow-wrap: anywhere;
}
.location-band {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 10%;
  align-items: stretch;
  background: var(--deep);
  color: white;
}
.location-band h2 {
  max-width: 600px;
}
.location-band p:not(.eyebrow) {
  max-width: 600px;
  color: #c2d5d9;
}
.location-band .eyebrow {
  color: var(--gold);
}
.location-map {
  min-height: 300px;
  display: grid;
  align-content: space-between;
  padding: 28px;
  background: linear-gradient(145deg, rgba(14, 118, 101, 0.82), rgba(7, 87, 160, 0.72)), var(--hero-image) center / cover;
}
.location-map span {
  color: var(--gold);
  font: 700 0.75rem "DM Sans", sans-serif;
  letter-spacing: 0.16em;
}
.location-map strong {
  font: 2rem/1.05 "Fraunces", serif;
}
.faq-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  background: var(--mint);
}
.faq-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}
.faq-list {
  border-top: 1px solid rgba(6, 43, 82, 0.2);
}
.faq-list details {
  padding: 21px 0;
  border-bottom: 1px solid rgba(6, 43, 82, 0.2);
}
.faq-list summary {
  color: var(--deep);
  font: 700 1.05rem "DM Sans", sans-serif;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  color: var(--emerald);
  font-size: 1.4rem;
  line-height: 1;
}
.faq-list details[open] summary::after {
  content: "-";
}
.faq-list details p {
  max-width: 640px;
  margin: 14px 35px 0 0;
  color: #557083;
  font-size: 0.9rem;
}
.story-grid,
.admissions-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 12%;
  align-items: start;
}
.story-stamp {
  width: 170px;
  height: 170px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--blue);
  font: 2.2rem Manrope;
  line-height: 0.9;
  transform: rotate(-8deg);
}
.story-stamp span {
  font: 700 0.7rem "DM Sans";
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: 10px;
}
.story-grid p:not(.lead) {
  max-width: 650px;
  color: #557083;
}
.values-band {
  background: var(--deep);
  color: white;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.values-grid article {
  border-top: 1px solid #47667a;
  padding-top: 20px;
}
.values-grid span {
  color: var(--gold);
  font-size: 0.75rem;
}
.values-grid h3 {
  margin-top: 60px;
}
.values-grid p {
  color: #a8bdc7;
}
.program-list {
  display: grid;
  gap: 18px;
}
.program-card {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 8%;
  padding: 55px 6%;
  background: #d9eaf4;
  min-height: 290px;
}
.program-card-green {
  background: var(--mint);
}
.program-card-gold {
  background: var(--gold);
}
.program-card h2 {
  margin: 15px 0;
}
.program-card p {
  max-width: 530px;
  color: #506d7c;
}
.quote-band {
  text-align: center;
  padding-top: 3%;
  padding-bottom: 10%;
}
.quote-band p {
  font: clamp(1.8rem, 3.5vw, 3.6rem) Manrope;
  max-width: 900px;
  margin: auto;
  color: var(--blue);
}
.quote-band span {
  display: block;
  color: #607887;
  margin-top: 20px;
}
.admissions-grid {
  grid-template-columns: 1fr 1fr;
}
.steps {
  margin-top: 45px;
}
.steps > div {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.steps span {
  color: var(--blue);
  font-weight: 700;
}
.steps p {
  font-size: 0.9rem;
  color: #607887;
}
.steps b {
  color: var(--deep);
}
.enquiry-form {
  background: white;
  padding: 38px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 17px;
}
.enquiry-form label {
  display: grid;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--deep);
}
input,
select,
textarea {
  font: inherit;
  border: 1px solid var(--line);
  padding: 13px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.enquiry-form .button {
  border: 0;
  justify-content: space-between;
  cursor: pointer;
}
.form-status {
  color: var(--emerald);
  font-size: 0.8rem;
  margin: 0;
}
.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.gallery-toolbar h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}
.gallery-empty-state {
  min-height: 285px;
  margin: 28px 0 36px;
  padding: 38px clamp(24px, 6vw, 82px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  color: white;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(6, 43, 82, 0.92), rgba(6, 43, 82, 0.48)), var(--hero-image) center / cover;
}
.gallery-empty-state > * {
  position: relative;
  z-index: 1;
}
.gallery-empty-state h2 {
  max-width: 600px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}
.gallery-empty-state p:last-child {
  max-width: 540px;
  margin: 0;
  color: #d9f0e7;
}
.gallery-empty-state .eyebrow {
  color: var(--gold);
  margin-bottom: 14px;
}
.gallery-empty-state > span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.gallery-empty-state[hidden] {
  display: none;
}
.upload-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}
.upload-wrap input {
  display: none;
}
.clear-gallery {
  border: 0;
  background: none;
  color: #bd4a3e;
  font: 700 0.75rem inherit;
  cursor: pointer;
}
.drop-zone {
  border: 1px dashed #a9c6c9;
  padding: 25px;
  display: grid;
  place-items: center;
  gap: 4px;
  margin: 38px 0 25px;
  color: #66808a;
}
.drop-zone.dragging {
  background: var(--mint);
  border-color: var(--emerald);
}
.drop-icon {
  font-size: 1.7rem;
  color: var(--emerald);
}
.drop-zone b {
  color: var(--deep);
}
.drop-zone span:last-child {
  font-size: 0.75rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.gallery-item {
  margin: 0;
}
.gallery-item-wide {
  grid-column: span 2;
}
.photo-placeholder {
  height: 270px;
  display: flex;
  align-items: end;
  padding: 25px;
  color: white;
  font: 1.8rem Manrope;
  position: relative;
  overflow: hidden;
}
.photo-placeholder:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 30%, rgba(0, 0, 0, 0.22));
}
.photo-placeholder span {
  position: relative;
  z-index: 1;
}
.photo-one {
  background: linear-gradient(135deg, #2086a6, #0757a0 55%, #0e7665);
}
.photo-two {
  background: linear-gradient(135deg, #e5b74d, #e47e40);
}
.photo-three {
  background: linear-gradient(135deg, #0e7665, #063e6d);
}
.photo-four {
  background: linear-gradient(135deg, #0757a0, #78b5c0);
}
.gallery-item-tall .photo-placeholder {
  height: 390px;
}
.gallery-item figcaption {
  padding: 12px 0;
  color: #587281;
  font-size: 0.78rem;
}
.gallery-item figcaption span {
  color: var(--blue);
  font-weight: 700;
  margin-right: 12px;
}
.gallery-note {
  font-size: 0.72rem;
  color: #78909a;
  margin-top: 25px;
}
.uploaded-photo {
  height: 270px;
  background: var(--deep);
  position: relative;
  overflow: hidden;
}
.uploaded-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

  .uploaded-photo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #102b2b;
  }
.uploaded-photo button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--deep);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.gallery-section .upload-wrap,
.gallery-section .drop-zone {
  display: none;
}
.gallery-readonly {
  margin: 0;
  color: #557083;
  font-size: 0.85rem;
}
.admin-note {
  background: var(--gold);
  padding: 16px 20px;
  color: var(--deep);
  font-size: 0.84rem;
}
.admin-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.admin-panel {
  background: #fff;
  padding: 35px;
  box-shadow: var(--shadow);
}
.admin-panel h2 {
  font-size: 2.2rem;
}
.admin-panel .drop-zone {
  display: grid;
  margin: 20px 0;
}
.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.admin-gallery-grid .uploaded-photo {
  height: 190px;
}
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 25px;
}
.admin-toolbar h2 {
  font-size: 2.4rem;
  margin: 0;
}
.admin-status {
  color: var(--emerald);
  font-size: 0.8rem;
  margin: 12px 0 0;
}
@media (max-width: 800px) {
  .announcement {
    padding: 9px 20px;
  }
  .announcement span:first-child {
    max-width: 190px;
  }
  .site-header {
    height: 75px;
    padding: 0 20px;
  }
  .brand {
    font-size: 0.84rem;
  }
  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 0.72rem;
  }
  .menu-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 22px 20px;
    box-shadow: var(--shadow);
    border-left: 0;
    padding: 22px 20px;
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: column;
    align-items: stretch;
    gap: 19px;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-cta {
    justify-content: space-between;
  }
  .hero {
    display: block;
    padding: 70px 20px;
  }
  .hero-art {
    min-height: 390px;
    margin-top: 55px;
  }
  .ticker {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 18px 20px;
  }
  .ticker div + div {
    border: 0;
    padding-left: 0;
  }
  .section {
    padding: 70px 20px;
  }
  .intro-grid,
  .story-grid,
  .admissions-grid,
  .contact-layout,
  .location-band,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .feature-band {
    display: block;
    padding: 0 20px;
  }
  .feature-panel {
    margin-bottom: 1px;
  }
  .page-hero {
    padding: 70px 20px;
    min-height: 350px;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .values-grid h3 {
    margin-top: 30px;
  }
  .program-card {
    display: block;
    padding: 32px 25px;
  }
  .program-card h2 {
    font-size: 2.4rem;
    margin-top: 35px;
  }
  .gallery-toolbar {
    display: block;
  }
  .upload-wrap {
    margin-top: 25px;
    flex-wrap: wrap;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gallery-item-wide {
    grid-column: span 2;
  }
  .photo-placeholder,
  .gallery-item-tall .photo-placeholder {
    height: 240px;
  }
  .gallery-item-wide .photo-placeholder {
    height: 210px;
  }
  .site-footer {
    display: block;
    padding: 45px 20px 25px;
  }
  .footer-links {
    margin: 40px 0;
    gap: 45px;
    flex-wrap: wrap;
  }
  .site-footer small {
    display: block;
  }
  .enquiry-form {
    padding: 25px;
  }
}
@media (max-width: 430px) {
  h1 {
    font-size: 3.2rem;
  }
  .gallery-grid {
    display: block;
  }
  .gallery-item {
    margin-bottom: 20px;
  }
  .gallery-item-wide .photo-placeholder,
  .photo-placeholder,
  .gallery-item-tall .photo-placeholder {
    height: 260px;
  }
  .admin-layout {
    display: block;
  }
  .admin-panel {
    padding: 24px;
  }
  .admin-gallery-grid {
    grid-template-columns: 1fr;
  }
  .admin-toolbar {
    display: block;
  }
  .admin-toolbar .button {
    margin-top: 20px;
  }
}
@media (max-width: 430px) {
  h1 {
    font-size: 3.2rem;
  }
  .gallery-grid {
    display: block;
  }
  .gallery-item {
    margin-bottom: 20px;
  }
  .gallery-item-wide .photo-placeholder,
  .photo-placeholder,
  .gallery-item-tall .photo-placeholder,
  .uploaded-photo {
    height: 260px;
  }
  .admin-layout {
    display: block;
  }
  .admin-panel {
    padding: 24px;
  }
  .admin-gallery-grid {
    grid-template-columns: 1fr;
  }
  .admin-toolbar {
    display: block;
  }
  .admin-toolbar .button {
    margin-top: 20px;
  }
}
.form-label {
  display: grid;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 15px 0;
}
.form-label small {
  font-weight: 400;
  color: #66808a;
}
.staff-list {
  display: grid;
  gap: 10px;
}
.staff-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: white;
  padding: 18px 20px;
  box-shadow: 0 8px 25px rgba(5, 38, 73, 0.07);
}
.staff-row div {
  display: grid;
  gap: 3px;
}
.staff-row span,
.staff-row small {
  font-size: 0.78rem;
  color: #66808a;
}
.staff-row small {
  text-transform: capitalize;
}
.staff-row .clear-gallery {
  white-space: nowrap;
}
.hero-art {
  background-image:
    linear-gradient(145deg, rgba(6, 43, 82, 0.15), rgba(6, 43, 82, 0.58)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 43, 82, 0.05),
    rgba(6, 43, 82, 0.48)
  );
  z-index: 0;
}
.hero-art .art-sun,
.hero-art .art-shape {
  opacity: 0.78;
}
.hero-art .art-label,
.hero-art .art-quote {
  z-index: 1;
}
.programs-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(217, 240, 231, 0.96) 0%,
      rgba(217, 240, 231, 0.82) 46%,
      rgba(217, 240, 231, 0.15) 100%
    ),
    url("https://images.unsplash.com/photo-1588072432836-e10032774350?auto=format&fit=crop&w=1800&q=85");
  background-position: center;
  background-size: cover;
}
.program-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(6, 43, 82, 0.82), rgba(6, 43, 82, 0.35)),
    url("images/creche.jpg");
  background-size: cover;
  background-position: center;
  color: white;
}
.program-card:nth-child(2) {
  background-image:
    linear-gradient(90deg, rgba(14, 118, 101, 0.82), rgba(14, 118, 101, 0.3)),
    url("images/prenursery.jpg");
}
.program-card:nth-child(3) {
  background-image:
    linear-gradient(90deg, rgba(193, 135, 27, 0.86), rgba(193, 135, 27, 0.32)),
    url("images/nursery.jpg");
}
.program-card:nth-child(4) {
  background-image:
    linear-gradient(90deg, rgba(6, 43, 82, 0.86), rgba(6, 43, 82, 0.3)),
    url("images/basic school.jpg");
}
.program-card:nth-child(5) {
  background-image:
    linear-gradient(90deg, rgba(14, 118, 101, 0.86), rgba(14, 118, 101, 0.3)),
    url("images/junior school.jpg");
}
.program-card:nth-child(6) {
  background-image:
    linear-gradient(90deg, rgba(193, 135, 27, 0.86), rgba(193, 135, 27, 0.32)),
    url("images/senior school.jpg");
}
.program-card > div {
  max-width: 650px;
  padding: 30px 34px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(6, 43, 82, 0.18);
}
.program-card p {
  color: rgba(255, 255, 255, 0.88);
}
.program-card .text-link {
  color: white;
}
.program-card .program-age {
  position: relative;
  z-index: 1;
  color: #fff;
}
.teacher-band {
  background-image:
    linear-gradient(90deg, rgba(6, 43, 82, 0.94), rgba(6, 43, 82, 0.62)),
    url("https://images.unsplash.com/photo-1544717305-2782549b5136?auto=format&fit=crop&w=1600&q=85");
  background-position: center;
  background-size: cover;
}
.login-page {
  min-height: calc(100vh - 45px);
  display: grid;
  place-items: center;
  padding: 60px 20px;
  background: var(--mint);
}
.login-card {
  width: min(100%, 520px);
  background: var(--paper);
  padding: 55px;
  box-shadow: var(--shadow);
}
.login-card .brand {
  margin-bottom: 70px;
}
.login-card h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
}
.login-card > p:not(.eyebrow) {
  color: #557083;
}
.login-card form {
  display: grid;
  gap: 16px;
  margin: 35px 0;
}
.login-card label {
  display: grid;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
}
.login-card .button {
  border: 0;
  justify-content: space-between;
  cursor: pointer;
}
.login-card .form-status {
  color: #bd4a3e;
  font-size: 0.8rem;
  margin: 0;
}
.password-wrap {
  display: block;
  position: relative;
}
.password-wrap input {
  padding-right: 52px;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  transform: translateY(-50%);
  background: transparent;
  color: #66808a;
  cursor: pointer;
}
.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--blue);
}
.password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.password-toggle.is-visible {
  color: var(--blue);
}
.teacher-band {
  background: var(--deep);
  color: white;
  margin: 0 5% 8%;
  padding: 65px 7%;
  max-width: 1200px;
}
.teacher-band h2 {
  max-width: 700px;
}
.teacher-band p:last-child {
  max-width: 650px;
  color: #b3c8d0;
  font-size: 1.05rem;
}
.events-hero {
  background-image: linear-gradient(90deg, rgba(217, 240, 231, 0.96), rgba(217, 240, 231, 0.7)), var(--hero-image);
  background-size: cover;
  background-position: center;
}
.events-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.calendar-panel,
.upcoming-panel {
  background: var(--white);
  padding: 34px;
  box-shadow: var(--shadow);
}
.calendar-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 25px;
}
.calendar-heading h2,
.upcoming-panel h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 0;
}
.calendar-controls {
  display: flex;
  gap: 8px;
}
.calendar-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--blue);
  font-size: 1.15rem;
  cursor: pointer;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.calendar-day-name,
.calendar-date {
  min-height: 76px;
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.calendar-day-name {
  min-height: auto;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.calendar-date {
  position: relative;
  font-weight: 600;
}
.calendar-date.muted {
  color: #aab9bd;
  background: #fafbf9;
}
.calendar-date.event-day {
  background: var(--mint);
  color: var(--deep);
}
.calendar-date.event-day::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.calendar-date small {
  display: block;
  max-width: 75px;
  margin-top: 6px;
  color: var(--emerald);
  font-size: 0.62rem;
  line-height: 1.1;
}
.event-list {
  margin-top: 28px;
}
.event-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.event-row time {
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 8px 4px;
  background: var(--gold);
  color: var(--deep);
  line-height: 1;
}
.event-row time b {
  font: 1.7rem Manrope;
}
.event-row time span,
.event-type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.event-type {
  color: var(--emerald);
}
.event-row h3 {
  margin: 7px 0;
  font-size: 1.25rem;
}
.event-row p {
  margin: 0;
  color: #66808a;
  font-size: 0.82rem;
  line-height: 1.45;
}
.term-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  background: var(--deep);
  color: var(--white);
  max-width: none;
}
.term-list > div {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid #47667a;
}
.term-list span {
  color: var(--gold);
}
.term-list b,
.term-list small {
  grid-column: 2;
}
.term-list small {
  color: #a8bdc7;
}
.news-hero {
  background-image: linear-gradient(90deg, rgba(217, 240, 231, 0.96), rgba(217, 240, 231, 0.7)), var(--hero-image);
  background-position: center;
  background-size: cover;
}
.news-section {
  max-width: 1280px;
}
.featured-news {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  margin-bottom: 90px;
  background: var(--deep);
  color: var(--white);
  overflow: hidden;
}
.featured-news-copy {
  padding: 58px;
}
.featured-news-copy .eyebrow,
.featured-news-copy .news-date {
  color: var(--gold);
}
.featured-news-copy h2 {
  max-width: 600px;
  margin-top: 22px;
}
.featured-news-copy > p:not(.eyebrow) {
  max-width: 570px;
  color: #b3c8d0;
  font-size: 1.02rem;
}
.news-date {
  display: block;
  color: #66808a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.featured-news-art {
  display: grid;
  place-items: center;
  min-height: 390px;
  background: linear-gradient(145deg, rgba(14, 118, 101, 0.35), rgba(7, 87, 160, 0.8)), url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1000&q=85") center / cover;
  font: clamp(2.8rem, 5vw, 5rem) Manrope;
  line-height: 0.9;
  text-align: center;
}
.featured-news-art b {
  color: var(--gold);
  font-size: 0.55em;
}
.news-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 35px;
}
.news-heading h2 {
  margin: 0;
}
.news-filter {
  display: flex;
  gap: 8px;
}
.news-filter button {
  border: 1px solid var(--line);
  padding: 10px 14px;
  background: transparent;
  color: var(--blue);
  font: 700 0.75rem "DM Sans", sans-serif;
  cursor: pointer;
}
.news-filter button.active,
.news-filter button:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.news-card {
  min-height: 330px;
  padding: 30px;
  background: #d9eaf4;
}
.news-card-green {
  background: var(--mint);
}
.news-card-gold {
  background: var(--gold);
}
.news-card-number {
  display: block;
  margin-bottom: 58px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
}
.news-card h3 {
  margin: 12px 0;
  font-size: 1.65rem;
}
.news-card p {
  min-height: 72px;
  color: #557083;
  font-size: 0.88rem;
}
.teachers-hero {
  background-image: linear-gradient(90deg, rgba(217, 240, 231, 0.96), rgba(217, 240, 231, 0.68)), var(--hero-image);
  background-position: center;
  background-size: cover;
}
.leader-profile {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8%;
  align-items: center;
}
.owner-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
  padding-top: 10%;
  padding-bottom: 10%;
  background: var(--deep);
  color: white;
  max-width: none;
}
.owner-photo {
  min-height: 590px;
  display: grid;
  place-items: end start;
  padding: 40px;
  background: linear-gradient(145deg, rgba(7, 87, 160, 0.2), rgba(6, 43, 82, 0.82)), url("https://images.unsplash.com/photo-1544717305-2782549b5136?auto=format&fit=crop&w=1200&q=85") center / cover;
  font: clamp(2.3rem, 5vw, 5rem) Manrope;
  line-height: 0.9;
}
.owner-photo img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.owner-photo span {
  position: relative;
  z-index: 1;
  padding: 12px 18px;
  background: rgba(6, 43, 82, 0.68);
  color: white;
  font: 1.15rem "DM Sans", sans-serif;
}
.owner-photo b {
  color: var(--gold);
}
.owner-copy {
  max-width: 650px;
}
.owner-copy .eyebrow,
.owner-copy .profile-role {
  color: var(--gold);
}
.owner-copy > p:not(.eyebrow):not(.lead) {
  color: #b3c8d0;
}
.leader-photo {
  min-height: 470px;
  display: grid;
  place-items: end start;
  padding: 30px;
  background: linear-gradient(145deg, rgba(7, 87, 160, 0.25), rgba(6, 43, 82, 0.82)), url("https://images.unsplash.com/photo-1544717305-2782549b5136?auto=format&fit=crop&w=900&q=85") center / cover;
  color: white;
  font: 1.8rem Manrope;
  line-height: 1;
}
.leader-photo b {
  color: var(--gold);
}
.leader-copy h2 {
  margin-bottom: 8px;
}
.profile-role {
  display: block;
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.leader-copy > p:not(.eyebrow):not(.lead) {
  max-width: 560px;
  color: #557083;
}
.profile-facts {
  display: flex;
  gap: 55px;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.profile-facts div {
  display: grid;
  gap: 3px;
}
.profile-facts b {
  color: var(--blue);
  font: 1.3rem Manrope;
}
.profile-facts span,
.teacher-qualification,
.teacher-note {
  color: #66808a;
  font-size: 0.75rem;
}
.teachers-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 35px;
}
.teachers-heading h2 {
  margin: 0;
}
.teacher-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.teacher-filter button {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--blue);
  font: 700 0.75rem "DM Sans", sans-serif;
  cursor: pointer;
}
.teacher-filter button.active,
.teacher-filter button:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.teacher-card {
  background: white;
  box-shadow: 0 10px 28px rgba(5, 38, 73, 0.08);
  display: flex;
  flex-direction: column;
}
.teacher-card.is-filtered-out,
.teacher-card[hidden] {
  display: none !important;
}
.teacher-card[data-teacher-department="admin"] {
  order: 1;
}
.teacher-card[data-teacher-department="early"] {
  order: 2;
}
.teacher-card[data-teacher-department="primary"] {
  order: 3;
}
.teacher-card[data-teacher-department="secondary"] {
  order: 4;
}
.teacher-card[data-teacher-department="all"] {
  order: 5;
}
.teacher-photo {
  height: 255px;
  display: grid;
  place-items: end start;
  padding: 18px;
  background-size: cover;
  background-position: center;
  color: white;
  font: 1.5rem Manrope;
}
.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teacher-photo-one { background-image: linear-gradient(145deg, rgba(7, 87, 160, 0.3), rgba(6, 43, 82, 0.7)), url("https://images.unsplash.com/photo-1544717305-2782549b5136?auto=format&fit=crop&w=700&q=85"); }
.teacher-photo-two { background-image: linear-gradient(145deg, rgba(14, 118, 101, 0.25), rgba(6, 43, 82, 0.72)), url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=700&q=85"); }
.teacher-photo-three { background-image: linear-gradient(145deg, rgba(193, 135, 27, 0.28), rgba(6, 43, 82, 0.72)), url("https://images.unsplash.com/photo-1580894732444-8ecded7900cd?auto=format&fit=crop&w=700&q=85"); }
.teacher-photo-four { background-image: linear-gradient(145deg, rgba(7, 87, 160, 0.25), rgba(6, 43, 82, 0.75)), url("https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=700&q=85"); }
.teacher-photo-yemisi {
  overflow: hidden;
  background: var(--mint);
}
.teacher-photo-yemisi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teacher-photo-named {
  overflow: hidden;
  padding: 0;
  background: var(--mint);
}
.teacher-photo-named img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teacher-info {
  padding: 20px;
  flex: 1;
}
.teacher-info h3 {
  margin: 8px 0;
  font-size: 1.35rem;
}
.teacher-info p {
  min-height: 48px;
  color: #557083;
  font-size: 0.82rem;
}
.teacher-note {
  margin-top: 24px;
}
.dashboard-body {
  min-height: 100vh;
  background: #edf3f1;
}
.dashboard-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5%;
  background: var(--deep);
  color: white;
}
.dashboard-header .brand {
  color: white;
}
.dashboard-user {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.8rem;
}
.dashboard-staff-link {
  color: var(--gold);
  font-weight: 700;
}
.dashboard-staff-link span {
  margin-left: 5px;
}
.dashboard-user button {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 10px 14px;
  background: transparent;
  color: white;
  font: inherit;
  cursor: pointer;
}
.dashboard-shell {
  width: min(1280px, 90%);
  margin: 0 auto;
  padding: 70px 0 100px;
}
.dashboard-intro,
.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}
.dashboard-intro h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  margin-bottom: 18px;
}
.dashboard-intro > p,
.dashboard-intro div > p:last-child,
.dashboard-hint {
  color: #557083;
}
.dashboard-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin: 55px 0 25px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}
.dashboard-tabs button {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 14px 18px;
  background: transparent;
  color: #66808a;
  font: 700 0.8rem "DM Sans", sans-serif;
  cursor: pointer;
}
.dashboard-tabs button.active,
.dashboard-tabs button:hover {
  border-bottom-color: var(--gold);
  color: var(--blue);
}
.dashboard-view {
  display: none;
}
.dashboard-view.active {
  display: block;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dashboard-stats article {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: white;
  box-shadow: 0 10px 28px rgba(5, 38, 73, 0.07);
}
.dashboard-stats span,
.dashboard-stats small {
  color: #66808a;
  font-size: 0.75rem;
}
.dashboard-stats strong {
  color: var(--blue);
  font: 2.5rem Manrope;
}
.dashboard-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.dashboard-panel {
  padding: 36px;
  background: white;
}
.dashboard-panel-dark {
  background: var(--deep);
  color: white;
}
.dashboard-panel p:not(.eyebrow) {
  color: #66808a;
  max-width: 500px;
}
.dashboard-panel-dark p:not(.eyebrow) {
  color: #b3c8d0;
}
.dashboard-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
}
.dashboard-form-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 30px 0;
}
.dashboard-gallery-upload,
#dashboard-gallery-upload {
  display: none;
}
.dashboard-upload {
  cursor: pointer;
}
.dashboard-status {
  color: var(--emerald);
  font-size: 0.8rem;
}
.dashboard-form {
  display: grid;
  gap: 16px;
  max-width: 700px;
  margin: 30px 0 45px;
  padding: 30px;
  background: white;
  box-shadow: var(--shadow);
}
.dashboard-form label {
  display: grid;
  gap: 7px;
  color: var(--deep);
  font-size: 0.75rem;
  font-weight: 700;
}
.dashboard-form textarea {
  resize: vertical;
}
.dashboard-record-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dashboard-record {
  min-height: 170px;
  padding: 24px;
  background: white;
  box-shadow: 0 8px 25px rgba(5, 38, 73, 0.06);
}
.dashboard-record > span {
  color: var(--emerald);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dashboard-record h3 {
  margin: 12px 0 8px;
  font-size: 1.25rem;
}
.dashboard-record p {
  color: #66808a;
  font-size: 0.82rem;
}
@media (max-width: 800px) {
  .dashboard-shell {
    width: calc(100% - 40px);
    padding-top: 45px;
  }
  .dashboard-intro,
  .dashboard-heading,
  .dashboard-panels {
    display: block;
  }
  .dashboard-intro .button,
  .dashboard-heading .button {
    margin-top: 25px;
  }
  .dashboard-stats,
  .dashboard-record-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-panel + .dashboard-panel {
    margin-top: 12px;
  }
}
@media (max-width: 430px) {
  .dashboard-header {
    align-items: start;
    gap: 15px;
  }
  .dashboard-user {
    display: grid;
    justify-items: end;
    gap: 6px;
  }
  .dashboard-staff-link {
    font-size: 0.7rem;
  }
  .dashboard-stats,
  .dashboard-record-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-form-row {
    display: block;
  }
  .dashboard-status {
    margin-top: 12px;
  }
}
.page-hero,
.programs-hero,
.events-hero,
.news-hero,
.teachers-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(217, 240, 231, 0.96) 0%,
      rgba(217, 240, 231, 0.78) 48%,
      rgba(6, 43, 82, 0.2) 100%
    ),
    url("images/hero-picture.jpg");
  background-position: center;
  background-size: cover;
}
@media (max-width: 900px) {
  .teacher-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .leader-profile,
  .owner-profile,
  .teachers-heading {
    display: block;
  }
  .leader-copy,
  .owner-copy {
    margin-top: 35px;
  }
  .teacher-filter {
    margin-top: 25px;
  }
}
@media (max-width: 430px) {
  .owner-photo {
    min-height: 390px;
    padding: 24px;
  }
  .leader-photo {
    min-height: 330px;
  }
  .profile-facts {
    gap: 25px;
  }
  .teacher-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  .featured-news,
  .news-grid {
    display: block;
  }
  .featured-news-art {
    min-height: 260px;
  }
  .news-card {
    margin-top: 12px;
  }
  .news-heading {
    display: block;
  }
  .news-filter {
    margin-top: 24px;
  }
}
@media (max-width: 430px) {
  .featured-news-copy {
    padding: 30px 24px;
  }
}
@media (max-width: 800px) {
  .events-layout,
  .term-band {
    display: block;
  }
  .upcoming-panel {
    margin-top: 20px;
  }
  .term-band > div + div {
    margin-top: 35px;
  }
}
@media (max-width: 430px) {
  .calendar-panel,
  .upcoming-panel {
    padding: 22px 16px;
  }
  .calendar-date {
    min-height: 54px;
    padding: 7px;
    font-size: 0.8rem;
  }
  .calendar-date small {
    display: none;
  }
  .calendar-date.event-day::after {
    right: 6px;
    bottom: 6px;
  }
}
