/**
 * Home page — modern spacing, smooth scroll (when enabled via JS), AOS-friendly sections
 */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.home-page {
  overflow-x: hidden;
  font-size: 1.25rem;
  line-height: 1.7;
  /* Logo-aligned palette (logonew.png: navy crest + mustard/gold) */
  --logo-navy: #1e3a5f;
  --logo-navy-mid: #2c5282;
  --logo-navy-dark: #152a45;
  --logo-gold: #fc9928;
  --logo-gold-mid: #e67e22;
  --logo-gold-deep: #c4711a;
  --logo-gold-soft: rgba(252, 153, 40, 0.16);
  --logo-cream: #fffbf5;
  --logo-cream-warm: #fff5e6;
  /* Aliases used across existing rules */
  --cbk-orange: var(--logo-gold-mid);
  --cbk-orange-bright: var(--logo-gold);
  --cbk-orange-soft: var(--logo-gold-soft);
  --cbk-slate: var(--logo-navy);
  --cbk-slate-dark: var(--logo-navy-dark);
  --cbk-text: #1f2933;
  --cbk-muted: #5c6b7a;
}

/* Section kicker labels — readable size (overrides bad 5rem if present) */
.home-page .section-title > span {
  letter-spacing: 0.14em;
  font-size: 0.9375rem !important;
  margin-bottom: 0.65rem;
  color: var(--cbk-orange);
  font-weight: 700;
}

.home-page .section-title h2 {
  font-size: clamp(2.05rem, 3.1vw, 2.95rem);
  line-height: 1.2;
  margin-bottom: 0.35em;
}

/* Home — About block (18 / 20 / 22px, logo colours) */
.home-page .home-about__kicker {
  display: block;
  font-size: 18px !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--logo-gold-mid);
  margin-bottom: 0.5rem;
}

.home-page .home-about__headline {
  margin: 0;
  line-height: 1.28;
}

.home-page .home-about__welcome {
  display: block;
  font-size: 22px !important;
  font-weight: 800;
  color: var(--logo-navy);
  margin-bottom: 0.35rem;
}

.home-page .home-about__brand-line {
  display: block;
  font-size: 20px !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--logo-navy);
}

.home-page .home-about__brand {
  color: var(--logo-navy);
}

.home-page .home-about__brand-accent {
  color: var(--logo-gold-mid);
}

.home-page .home-about__quote {
  font-size: 18px !important;
  line-height: 1.65;
  font-style: italic;
  color: var(--cbk-muted);
  border-left: 3px solid var(--logo-gold-mid);
  padding: 0.35rem 0 0.35rem 1rem;
  margin-left: 0;
}

.home-page .home-about__text {
  font-size: 18px !important;
  line-height: 1.75;
  color: #3d4d5c;
}

.home-page .home-about__text strong {
  color: var(--logo-navy);
  font-weight: 700;
}

.home-page .home-about__btn {
  font-size: 18px !important;
  font-weight: 600 !important;
  padding: 0.6rem 1.35rem !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  border: none !important;
  background: linear-gradient(
    145deg,
    var(--logo-gold) 0%,
    var(--logo-gold-mid) 55%,
    var(--logo-gold-deep) 100%
  ) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(196, 113, 26, 0.32);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.home-page .home-about__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(196, 113, 26, 0.4);
  color: #fff !important;
}

.home-page .home-about__thumb {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(30, 58, 95, 0.1);
  border: 1px solid rgba(44, 62, 80, 0.08);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.home-page .home-about__thumb:hover {
  box-shadow: 0 18px 48px rgba(30, 58, 95, 0.14);
}

.home-page .home-about__thumb img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .home-about__thumb:hover img {
  transform: scale(1.03);
}

/* Ethos cards */
.home-page .course-area .card p {
  font-size: clamp(1rem, 1.35vw, 5.2rem);
  line-height: 1.7;
}

.home-page .course-area .card h4 {
  font-size: clamp(1rem, 1.35vw, 5.2rem);
}

/* Faculty teaser */
.home-page .teacher-area .section-title p {
  font-size: clamp(1rem, 1.35vw, 5.2rem);
  line-height: 1.75;
}

/* ========== Events / Spotlight / Parents (home) — larger type + brand colors ========== */

.home-page .home-events .section-title > span {
  font-size: 18px !important;
  letter-spacing: 0.14em;
  color: var(--logo-gold-mid);
}

.home-page .home-events .section-title h2 {
  font-size: 22px !important;
  line-height: 1.2;
  color: var(--logo-navy);
  font-weight: 800;
}

.home-page .home-events .btn {
  font-size: 18px !important;
  font-weight: 600;
  padding: 0.6rem 1.35rem;
  border: none;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  background: linear-gradient(
    145deg,
    var(--logo-gold) 0%,
    var(--logo-gold-mid) 55%,
    var(--logo-gold-deep) 100%
  );
  box-shadow: 0 8px 22px rgba(196, 113, 26, 0.32);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease, filter 0.3s ease;
}

.home-page .home-events .btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(
    145deg,
    #ffc45c 0%,
    var(--logo-gold) 100%
  );
  box-shadow: 0 12px 28px rgba(196, 113, 26, 0.4);
}

.home-page .home-event-card__title {
  font-size: 20px !important;
  line-height: 1.3;
  font-weight: 700;
}

.home-page .home-event-card__meta {
  font-size: 18px !important;
  line-height: 1.65;
  color: var(--cbk-muted);
}

/* CTA strip */
.home-page .home-cta__title {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.25;
}

/* Hero — logo gradients (no photo backgrounds) */
.home-hero {
  --hero-navy: #1e3a5f;
  --hero-navy-mid: #2c5282;
  --hero-navy-dark: #152a45;
  --hero-gold: #fc9928;
  --hero-gold-mid: #e67e22;
}

.home-hero .home-hero-slide {
  position: relative;
  background-image: none !important;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Slide A: navy depth + gold glow (top-right) */
.home-hero .home-hero-slide--1 {
  background: radial-gradient(
      ellipse 85% 65% at 88% 12%,
      rgba(252, 153, 40, 0.22) 0%,
      transparent 52%
    ),
    linear-gradient(
      145deg,
      var(--hero-navy-dark) 0%,
      var(--hero-navy) 42%,
      var(--hero-navy-mid) 100%
    );
}

/* Slide B: gold wash (bottom-left) + cooler navy */
.home-hero .home-hero-slide--2 {
  background: radial-gradient(
      ellipse 75% 55% at 12% 88%,
      rgba(252, 153, 40, 0.18) 0%,
      transparent 50%
    ),
    linear-gradient(
      135deg,
      var(--hero-navy) 0%,
      #1a3050 48%,
      var(--hero-navy-dark) 100%
    );
}

/* Slide C: brighter mid band + gold centre glow */
.home-hero .home-hero-slide--3 {
  background: radial-gradient(
      circle at 58% 35%,
      rgba(252, 153, 40, 0.2) 0%,
      transparent 48%
    ),
    linear-gradient(
      165deg,
      var(--hero-navy-dark) 0%,
      var(--hero-navy-mid) 55%,
      #1e3352 100%
    );
}

/* Light vignette for text contrast (no heavy photo overlay) */
.home-hero .slider_item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 22, 35, 0.45) 0%,
    rgba(15, 22, 35, 0.12) 48%,
    rgba(15, 22, 35, 0.28) 100%
  );
  pointer-events: none;
}

.home-hero .slider_item .container {
  position: relative;
  z-index: 1;
}

/* Hero slide copy */
.home-hero .slider-content p {
  font-size: clamp(1rem, 1.35vw, 5.2rem);
  line-height: 1.65;
}

.home-hero .slider-content h1 {
  font-size: clamp(2.05rem, 4.25vw, 10.15rem);
  line-height: 1.2;
}

.home-hero .slider-content h3 {
  font-size: clamp(1rem, 1.35vw, 5.2rem);
  letter-spacing: 0.12em;
}

.home-page .about-area.home-about {
  background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 55%);
}

.home-page .course-area .card {
  border-radius: 14px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .course-area .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 26, 26, 0.12) !important;
}

.home-page .course-area .card h4 i {
  margin-right: 0.35rem;
  opacity: 0.95;
}

/* Faculty — logo navy + gold band */
.home-page .home-faculty.teacher-area {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--logo-cream) 0%,
    #ffffff 55%,
    #f7f9fc 100%
  );
  border-top: 1px solid rgba(30, 58, 95, 0.1);
  border-bottom: 1px solid rgba(252, 153, 40, 0.35);
  box-shadow: inset 0 4px 0 0 var(--logo-gold);
}

.home-page .home-faculty .section-title > span {
  color: var(--logo-gold-mid) !important;
}

.home-page .home-faculty .section-title h2 {
  color: var(--logo-navy) !important;
}

.home-page .home-faculty .section-title p {
  font-size: 1.2rem !important;
  line-height: 1.7 !important;
  color: #4a5568 !important;
  max-width: 38rem;
}

.home-page .home-faculty .btn.btn-primary {
  background: linear-gradient(
    145deg,
    var(--logo-gold) 0%,
    var(--logo-gold-mid) 50%,
    var(--logo-gold-deep) 100%
  ) !important;
  border-color: var(--logo-gold-mid) !important;
  color: #fff !important;
  font-size: 1.1rem !important;
  padding: 0.7rem 1.75rem !important;
  text-transform: none !important;
  letter-spacing: 0.03em !important;
  box-shadow: 0 8px 24px rgba(196, 113, 26, 0.35);
}

.home-page .home-faculty .btn.btn-primary:hover {
  background: linear-gradient(145deg, #fdb44b 0%, var(--logo-gold) 100%) !important;
  border-color: var(--logo-gold) !important;
}

/* --- Events (home) — logo cream + navy frame --- */
.home-page .home-events {
  background: linear-gradient(
    180deg,
    #e8eef5 0%,
    var(--logo-cream) 38%,
    #ffffff 100%
  );
  border-top: 1px solid rgba(30, 58, 95, 0.12);
  border-bottom: 1px solid rgba(252, 153, 40, 0.2);
  box-shadow: inset 0 1px 0 0 rgba(252, 153, 40, 0.25);
}

.home-events__head {
  margin-bottom: 0;
}

/* Card grid: tidy bottom spacing */
@media (min-width: 768px) {
  .home-events__grid .col-md-6:nth-last-child(-n + 2) {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767px) {
  .home-events__grid .col-md-6:last-child {
    margin-bottom: 0 !important;
  }
}

.home-event-card {
  display: flex;
  align-items: stretch;
  gap: 1.35rem;
  background: #fff;
  border: 1px solid rgba(44, 62, 80, 0.1);
  border-radius: 18px;
  padding: 1.5rem 1.5rem;
  height: 100%;
  box-shadow: 0 8px 28px rgba(26, 37, 47, 0.06);
  transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}

.home-event-card:hover,
.home-page .home-event-card:hover {
  border-color: rgba(252, 153, 40, 0.45);
  box-shadow: 0 18px 44px rgba(30, 58, 95, 0.1);
  transform: translateY(-5px);
}

.home-event-card__badge {
  flex: 0 0 auto;
  width: 118px;
  min-height: 112px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.6rem 0.4rem;
  color: #fff;
  background: linear-gradient(155deg, #f39c12 0%, #e67e22 45%, #d35400 100%);
  box-shadow: 0 10px 26px rgba(211, 84, 0, 0.34);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.home-event-card:hover .home-event-card__badge,
.home-page .home-event-card:hover .home-event-card__badge {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(211, 84, 0, 0.42);
}

.home-event-card__badge-kicker {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}

.home-event-card__badge-kicker sub {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

.home-event-card__badge-value {
  display: block;
  margin-top: 0.35rem;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.12;
  word-break: break-word;
}

.home-event-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.15rem 0;
}

.home-event-card__title {
  margin: 0 0 0.5rem;
}

.home-event-card__title a {
  color: var(--logo-navy);
  text-decoration: none;
  transition: color 0.25s ease;
}

.home-event-card__title a:hover {
  color: var(--logo-gold-mid);
}

.home-event-card__meta {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.home-event-card__meta i {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  font-size: 18px;
  color: var(--logo-gold-mid);
}

.home-event-card__meta span {
  flex: 1 1 auto;
  min-width: 0;
}

/* CTA strip */
.home-cta {
  position: relative;
  overflow: hidden;
}

.home-cta::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 45%;
  height: 180%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.home-cta .container {
  position: relative;
  z-index: 1;
}

.home-cta__row {
  align-items: center;
}

.home-cta__eyebrow {
  letter-spacing: 0.14em;
  opacity: 0.95;
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
}

/* --- Ethos section — 18 / 20 / 22px + calm hovers --- */
.ethos-section {
  background: radial-gradient(
      ellipse 120% 80% at 50% 0%,
      rgba(252, 153, 40, 0.06) 0%,
      transparent 55%
    ),
    linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.home-page .ethos-section .ethos-head__title > span {
  font-size: 18px !important;
  letter-spacing: 0.14em;
  color: var(--logo-gold-mid);
}

.home-page .ethos-section .ethos-head__title h2 {
  font-size: 22px !important;
  line-height: 1.2;
  font-weight: 800;
  color: var(--logo-navy);
}

.ethos-head__lead {
  max-width: 38rem;
}

.home-page .ethos-section .ethos-head__lead {
  font-size: 18px !important;
  line-height: 1.7;
  color: var(--cbk-muted) !important;
}

.home-page .ethos-section .ethos-card__heading {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--logo-navy);
}

.home-page .ethos-section .ethos-card__text {
  font-size: 18px !important;
  line-height: 1.65 !important;
  color: #4a5568;
}

.ethos-card {
  position: relative;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(44, 62, 80, 0.1);
  box-shadow: 0 8px 28px rgba(26, 37, 47, 0.06);
  transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
  overflow: hidden;
}

.ethos-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #fc9928, #f39c12);
  opacity: 1;
}

.ethos-card--mission::before {
  background: linear-gradient(180deg, #f39c12, #e67e22);
}

.ethos-card--vision::before {
  background: linear-gradient(180deg, #e67e22, #d35400);
}

.ethos-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(30, 58, 95, 0.1);
  border-color: rgba(252, 153, 40, 0.45);
}

.ethos-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.35rem 1.25rem 1.35rem 1.5rem;
}

.ethos-card__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #fc9928, #e67e22);
  box-shadow: 0 6px 18px rgba(252, 153, 40, 0.28);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.ethos-card:hover .ethos-card__icon {
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(252, 153, 40, 0.35);
}

.ethos-card--mission .ethos-card__icon {
  background: linear-gradient(145deg, #f39c12, #d35400);
  box-shadow: 0 6px 18px rgba(243, 156, 18, 0.28);
}

.ethos-card--vision .ethos-card__icon {
  background: linear-gradient(145deg, #e67e22, #c0392b);
  box-shadow: 0 6px 18px rgba(230, 126, 34, 0.28);
}

.ethos-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

/* Special features — split highlight + content */
.ethos-features__shell {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(26, 37, 47, 0.08);
  border: 1px solid rgba(44, 62, 80, 0.1);
  background: #fff;
  margin: 20px 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-page .ethos-section .ethos-features__shell:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(30, 58, 95, 0.12);
  border-color: rgba(252, 153, 40, 0.35);
}

.ethos-features__grid {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 width: 100%;
 height: 100%;
 background-color: #fff;
 border-radius: 20px;
 overflow: hidden;
}

@media (min-width: 992px) {
  .ethos-features__grid {
    grid-template-columns: minmax(260px, 38%) 1fr;
    min-height: 280px;
  }
}

.ethos-features__highlight {
  position: relative;
  padding: 1.75rem 1.5rem 2rem;
  background: linear-gradient(
    155deg,
    #1a1a1a 0%,
    #2c3e50 48%,
    #1f2d3a 100%
  );
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  overflow: hidden;
}

.ethos-features__highlight::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -30%;
  width: 70%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(252, 153, 40, 0.22) 0%,
    transparent 65%
  );
  pointer-events: none;
}

@media (min-width: 992px) {
  .ethos-features__highlight {
    padding: 2rem 1.75rem 2.25rem;
    justify-content: center;
    min-height: 100%;
  }
}

.ethos-features__badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(252, 153, 40, 0.2);
  color: #f39c12;
  border: 1px solid rgba(252, 153, 40, 0.35);
  position: relative;
  z-index: 1;
}

.home-page .ethos-section .ethos-features__badge {
  font-size: 18px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ethos-features__icon-ring {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #fc9928, #e67e22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.home-page .ethos-section .ethos-features__shell:hover .ethos-features__icon-ring {
  transform: scale(1.06);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.ethos-features__quote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0.96;
}

.home-page .ethos-section .ethos-features__quote {
  font-size: 18px !important;
  line-height: 1.65;
  font-style: italic;
}

.ethos-features__main {
  padding: 1.75rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.home-page .ethos-section .ethos-features__desc {
  font-size: 18px !important;
  line-height: 1.7;
  color: #4a5568;
}

@media (min-width: 992px) {
  .ethos-features__main {
    padding: 2rem 2.25rem 2.25rem 2.5rem;
  }
}

.ethos-features__cta {
  margin-top: 15px;
}

.ethos-features__btn {
  font-size: 18px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  padding: 0.65rem 1.35rem !important;
  box-shadow: 0 8px 22px rgba(196, 113, 26, 0.32);
  transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.3s ease;
}

.ethos-features__btn:hover {
  box-shadow: 0 12px 28px rgba(196, 113, 26, 0.4);
  transform: translateY(-2px);
}

/* --- Programme highlights (home) --- */
.home-page .home-spotlight .section-title > span {
  font-size: 18px !important;
  letter-spacing: 0.14em;
  color: var(--logo-gold-mid);
}

.home-page .home-spotlight .section-title h2 {
  font-size: 22px !important;
  line-height: 1.2;
  font-weight: 800;
  color: var(--logo-navy);
}

.home-page .home-parents .section-title > span {
  font-size: 18px !important;
  letter-spacing: 0.14em;
  color: var(--logo-gold-mid);
}

.home-page .home-parents .section-title h2 {
  font-size: 22px !important;
  font-weight: 800;
  color: var(--logo-navy);
  line-height: 1.2;
}

.home-page .home-spotlight {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    var(--logo-cream-warm) 40%,
    #f0f4f8 100%
  );
  border-top: 1px solid rgba(30, 58, 95, 0.1);
  box-shadow: inset 0 3px 0 0 var(--logo-gold);
}

.home-page .home-spotlight__lead {
  font-size: 18px !important;
  line-height: 1.7;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--cbk-muted) !important;
}

.home-spotlight-card {
  display: block;
  height: 100%;
  padding: 1.65rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(44, 62, 80, 0.1);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(26, 37, 47, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-spotlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(30, 58, 95, 0.1);
  border-color: rgba(252, 153, 40, 0.45);
  text-decoration: none;
  color: inherit;
}

.home-spotlight-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin-bottom: 1.1rem;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(
    145deg,
    var(--logo-gold) 0%,
    var(--logo-gold-mid) 45%,
    var(--logo-gold-deep) 100%
  );
  box-shadow: 0 10px 24px rgba(196, 113, 26, 0.32);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.home-spotlight-card:hover .home-spotlight-card__icon {
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(196, 113, 26, 0.4);
}

.home-spotlight-card__title {
  font-size: 20px !important;
  font-weight: 700;
  color: var(--logo-navy);
  margin-bottom: 0.55rem;
  transition: color 0.25s ease;
}

.home-spotlight-card:hover .home-spotlight-card__title {
  color: var(--logo-gold-mid);
}

.home-spotlight-card__text {
  font-size: 18px;
  line-height: 1.65;
  color: var(--cbk-muted);
  margin-bottom: 1.1rem;
}

.home-spotlight-card__more {
  font-size: 18px;
  font-weight: 700;
  color: #d35400;
  transition: color 0.25s ease;
}

.home-spotlight-card:hover .home-spotlight-card__more {
  color: var(--logo-gold-deep);
}

.home-spotlight-card__more .fa {
  margin-left: 0.25rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-spotlight-card:hover .home-spotlight-card__more .fa {
  transform: translateX(4px);
}

/* --- For parents (home) — logo navy wash + cream --- */
.home-page .home-parents {
  background: linear-gradient(
    165deg,
    #f0f4f8 0%,
    var(--logo-cream) 50%,
    #e8edf3 100%
  );
  border-top: 1px solid rgba(30, 58, 95, 0.12);
}

.home-page .home-parents__intro {
  font-size: 18px !important;
  line-height: 1.75;
  color: #3d4d5c;
  font-weight: 400;
}

.home-page .home-parents__intro a {
  color: #d35400;
  font-weight: 700;
  font-size: 18px !important;
  text-decoration: underline;
  text-decoration-color: rgba(211, 84, 0, 0.35);
  text-underline-offset: 3px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease, transform 0.25s ease;
}

.home-page .home-parents__intro a:hover {
  color: var(--logo-gold-mid);
  text-decoration-color: var(--logo-gold);
}

.home-parents-tile {
  background: #fff;
  border: 1px solid rgba(44, 62, 80, 0.1);
  border-radius: 18px;
  padding: 1.85rem 1.65rem;
  box-shadow: 0 8px 28px rgba(26, 37, 47, 0.07);
  transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease,
    background-color 0.35s ease;
}

.home-parents-tile:hover {
  box-shadow: 0 18px 44px rgba(30, 58, 95, 0.12);
  transform: translateY(-5px);
  border-color: rgba(252, 153, 40, 0.5);
}

.home-parents-tile__icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 26px;
  color: #d35400;
  background: var(--logo-gold-soft);
  border: 1px solid rgba(252, 153, 40, 0.25);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease, background 0.35s ease, color 0.25s ease;
}

.home-parents-tile:hover .home-parents-tile__icon:not(.home-parents-tile__icon--light) {
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(252, 153, 40, 0.3);
  color: var(--logo-gold-deep);
}

.home-parents-tile__title {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin-bottom: 0.55rem !important;
}

.home-parents-tile__title a {
  color: var(--logo-navy);
  text-decoration: none;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}

.home-parents-tile__title a:hover {
  color: var(--logo-gold-mid);
  letter-spacing: 0.02em;
}

.home-parents-tile__text {
  font-size: 18px !important;
  line-height: 1.65 !important;
  color: #4a5568 !important;
  font-weight: 400;
}

/* Theme sets .btn to 14px + uppercase — override */
.home-page .home-parents-tile__btn {
  font-size: 18px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  padding: 0.65rem 1.45rem !important;
  border-radius: 50px !important;
  margin-top: 0.15rem;
  border-width: 2px !important;
  border-color: var(--logo-gold-mid) !important;
  color: var(--logo-navy) !important;
  background: transparent !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease,
    color 0.3s ease, border-color 0.3s ease;
}

.home-page .home-parents-tile__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(196, 113, 26, 0.38);
  background: linear-gradient(
    145deg,
    var(--logo-gold) 0%,
    var(--logo-gold-mid) 100%
  ) !important;
  border-color: var(--logo-gold-deep) !important;
  color: #fff !important;
}

.home-page .home-parents-tile__btn--light {
  font-size: 18px !important;
  color: var(--logo-navy) !important;
  border: none !important;
  background: #fff !important;
}

.home-page .home-parents-tile__btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  background: var(--logo-cream-warm) !important;
  color: var(--logo-navy-dark) !important;
}

.home-parents-tile--accent {
  background: linear-gradient(
    155deg,
    var(--logo-navy-mid) 0%,
    var(--logo-navy) 45%,
    var(--logo-navy-dark) 100%
  );
  border-color: rgba(252, 153, 40, 0.35);
  color: #fff;
  box-shadow: 0 8px 28px rgba(30, 58, 95, 0.35);
}

.home-parents-tile--accent:hover {
  border-color: rgba(252, 153, 40, 0.75);
  box-shadow: 0 22px 50px rgba(30, 58, 95, 0.45);
  filter: brightness(1.05);
}

.home-parents-tile--accent .home-parents-tile__title a {
  color: #fff;
}

.home-parents-tile--accent .home-parents-tile__title a:hover {
  color: #f39c12;
}

.home-parents-tile__icon--light {
  background: rgba(255, 255, 255, 0.12);
  color: #f39c12;
  border-color: rgba(255, 255, 255, 0.2);
}

.home-parents-tile--accent:hover .home-parents-tile__icon--light {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.home-parents-tile__text--light {
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
}

@media (prefers-reduced-motion: reduce) {
  .home-spotlight-card,
  .home-parents-tile,
  .home-event-card,
  .home-page .home-events .btn,
  .home-page .home-about__btn,
  .home-page .home-about__thumb,
  .home-page .home-about__thumb img,
  .ethos-card,
  .ethos-features__shell,
  .ethos-features__btn {
    transition: none;
  }

  .home-spotlight-card:hover,
  .home-parents-tile:hover,
  .home-event-card:hover,
  .home-page .home-events .btn:hover,
  .home-page .home-about__btn:hover,
  .ethos-card:hover,
  .home-page .ethos-section .ethos-features__shell:hover,
  .ethos-features__btn:hover {
    transform: none;
  }

  .home-page .home-about__thumb:hover img {
    transform: none;
  }

  .home-event-card:hover .home-event-card__badge {
    transform: none;
  }

  .home-spotlight-card:hover .home-spotlight-card__icon {
    transform: none;
  }

  .ethos-card:hover .ethos-card__icon {
    transform: none;
  }

  .home-page .ethos-section .ethos-features__shell:hover .ethos-features__icon-ring {
    transform: none;
  }
}
