/* ============================================================
   Stephen's Prep School — Main Stylesheet
   Version: 1.0.0
   Colors: Maroon #891C1C | Dark #5E0000 | Gold #F1A21D
           Cream #FDF2DF | Parchment #FADCAB | Ruby #AC6062
   Font: Poppins (Google Fonts)
   ============================================================ */

/* ── 1. CSS Custom Properties ──────────────────────────────────────────── */
:root {
  --brown:       #891C1C;
  --dark:        #5E0000;
  --gold:        #F1A21D;
  --gold-light:  #F9D69B;
  --gold-dark:   #B3780D;
  --cream:       #FDF2DF;
  --parchment:   #FADCAB;
  --ruby:        #AC6062;
  --ruby-dark:   #790000;
  --text-dark:   #000000;
  --text-mid:    #5A1212;
  --text-light:  #FFFF8C;
  --border:      rgba(219,77,77,0.25);
  --shadow-sm:   0 2px 8px rgba(121,0,0,0.12);
  --shadow-md:   0 4px 20px rgba(121,0,0,0.18);
  --shadow-lg:   0 8px 40px rgba(121,0,0,0.24);
  --radius:      6px;
  --radius-lg:   12px;
  --transition:  0.25s ease;
  --font:        'Poppins', system-ui, sans-serif;
  --container:   1200px;
  --nav-height:  48px;
  --header-height: 100px;
  --topbar-height: 34px;
}

/* ── 2. Reset & Base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

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

/* ── 3. Layout Utilities ────────────────────────────────────────────────── */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden-mobile { display: block; }

/* ── 4. Typography ──────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-title--light { color: var(--cream); }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.eyebrow--light { color: var(--gold-light); }

.gold-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 0.5rem;
}

.gold-divider--center { margin: 0.75rem auto 0; }

/* ── 5. Buttons ─────────────────────────────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(241,162,29,0.4);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  background: transparent;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-1px);
}

.btn-brown {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.3rem;
  background: var(--brown);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-brown:hover { background: var(--dark); color: var(--gold); transform: translateY(-1px); }

.btn-ruby {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.3rem;
  background: var(--ruby);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-ruby:hover { background: var(--ruby-dark); color: #fff; transform: translateY(-1px); }

.btn-sm { padding: 0.45rem 1rem; font-size: 0.78rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── 6. Top Bar ─────────────────────────────────────────────────────────── */
.topbar {
  position: relative;
  z-index: 100;
  background: var(--dark);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem;
  gap: 1rem;
  overflow: hidden;
}

.topbar__ticker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.topbar__label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--ruby);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.55rem;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar__marquee-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.topbar__marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  color: var(--text-light);
  font-size: 0.72rem;
}

.topbar__marquee:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.topbar__links a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
}
.topbar__links a:hover { color: var(--gold); }

.topbar__sep {
  color: rgba(255,255,140,0.3);
  font-size: 0.7rem;
}

/* ── 7. Site Header ─────────────────────────────────────────────────────── */
.site-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--brown) 60%, #B33A3A 100%);
  position: relative;
  z-index: 90;
  border-bottom: 2px solid var(--gold);
}

.site-header__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0.75rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-height);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.site-header__logo-wrap {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.site-header__logo-wrap img,
.site-header__logo-wrap .custom-logo { width: 70px; height: 70px; object-fit: contain; }

.site-logo { width: 70px; height: 70px; object-fit: contain; }
.site-logo-text {
  color: #FFFF8C;
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.site-header__name {
  font-family: 'Great Vibes', cursive;
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.15rem;
}
.site-header__name a { color: #FFFF8C; }
.site-header__name a:hover { color: #FFFF00; }

.site-header__location {
  color: var(--text-light);
  font-size: 0.72rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.site-header__meta {
  color: rgba(255,255,140,0.65);
  font-size: 0.65rem;
}

.site-header__banner {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
}

.site-header__banner-img {
  max-height: 70px;
  margin: 0 auto 0.3rem;
  border-radius: var(--radius);
}

.site-header__quote {
  color: var(--parchment);
  font-size: 0.75rem;
  font-style: italic;
  opacity: 0.85;
	    display: none;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.site-header__stats {
  display: flex;
  gap: 1.2rem;
}

.site-stat {
  text-align: center;
  padding: 0.3rem 0.6rem;
  border-left: 1px solid var(--border);
}

.site-stat__key {
  display: block;
  color: rgba(255,255,140,0.6);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.1rem;
}

.site-stat__val {
  display: block;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
}

/* Fee Button */
.fee-btn {
  padding: 0.7rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Jubilee Badge */
.jubilee-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: radial-gradient(circle, rgba(241,162,29,0.15) 0%, transparent 70%);
  padding: 0.4rem;
  text-align: center;
  line-height: 1;
}

.jubilee-badge__line1,
.jubilee-badge__line2 {
  display: block;
  color: var(--gold);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jubilee-badge__number {
  display: block;
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.jubilee-badge__year {
  display: block;
  color: rgba(241,162,29,0.7);
  font-size: 0.52rem;
  font-weight: 500;
}

/* ── 8. Primary Navigation ──────────────────────────────────────────────── */
.primary-nav {
  background: var(--brown);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(241,162,29,0.2);
  box-shadow: 0 2px 12px rgba(94,0,0,0.3);
}

.primary-nav__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 0.5rem;
}

.primary-nav__menu-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0;
}

.primary-nav__home,
.primary-nav__contact {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.9rem;
  height: var(--nav-height);
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.primary-nav__home:hover,
.primary-nav__contact:hover {
  background: rgba(241,162,29,0.12);
  color: var(--gold);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  height: var(--nav-height);
}

.nav-menu > li {
  position: relative;
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  padding: 0 0.85rem;
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  border-bottom: 2px solid transparent;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
  background: rgba(241,162,29,0.12);
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Dropdown */
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 300;
}

.sub-menu li a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--text-light);
  font-size: 0.76rem;
  font-weight: 400;
  border-bottom: 1px solid rgba(241,162,29,0.08);
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}

.sub-menu li a:hover {
  background: rgba(241,162,29,0.1);
  color: var(--gold);
  padding-left: 1.3rem;
}

.sub-menu li:last-child a { border-bottom: none; }

/* Search form in nav */
.primary-nav__search { margin-left: auto; }

.search-form__inner {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(241,162,29,0.2);
  border-radius: 20px;
  overflow: hidden;
  height: 30px;
}

.search-form__input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-light);
  font-size: 0.72rem;
  font-family: var(--font);
  padding: 0 0.7rem;
  width: 130px;
}

.search-form__input::placeholder { color: rgba(255,255,140,0.4); }

.search-form__btn {
  padding: 0 0.6rem;
  height: 100%;
  color: var(--gold);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.search-form__btn:hover { color: var(--gold-light); }

/* Hamburger */
.primary-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  margin-left: auto;
}

.primary-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.primary-nav__hamburger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.primary-nav__hamburger.is-active span:nth-child(2) { opacity: 0; }
.primary-nav__hamburger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 0.5rem 0 1rem;
}

.mobile-nav-menu li a {
  display: block;
  padding: 0.65rem 1.5rem;
  color: var(--text-light);
  font-size: 0.83rem;
  border-bottom: 1px solid rgba(241,162,29,0.06);
  transition: background var(--transition), color var(--transition);
}

.mobile-nav-menu li a:hover { background: rgba(241,162,29,0.1); color: var(--gold); }
.mobile-nav-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: rgba(0,0,0,0.2); }
.mobile-nav-menu .sub-menu li a { padding-left: 2.5rem; font-size: 0.78rem; }

.mobile-menu__actions {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem 0.5rem;
}
.mobile-menu__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu__btn:hover { background: var(--gold); color: var(--dark); }

/* ── 9. Floating Nav ────────────────────────────────────────────────────── */
.floating-nav {
  position: fixed;
  top: -80px;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(94,0,0,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: top 0.35s cubic-bezier(0.4,0,0.2,1);
}

.floating-nav.is-visible { top: 0; }

.floating-nav__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 56px;
  gap: 1.5rem;
}

.floating-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.floating-nav__logo img,
.floating-nav__logo .custom-logo { width: 36px; height: 36px; object-fit: contain; }

.floating-nav__name {
  color: #FFFF8C;
  font-family: 'Great Vibes', cursive;
  font-size: 1.1rem;
  font-weight: 400;
  white-space: nowrap;
}

.floating-nav__menu {
  display: flex;
  align-items: center;
  flex: 1;
  height: 56px;
}

.floating-nav__menu > li { position: relative; height: 56px; display: flex; align-items: center; }

.floating-nav__menu > li > a {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 0.75rem;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 500;
  transition: color var(--transition);
}
.floating-nav__menu > li > a:hover { color: var(--gold); }

.floating-nav__menu .sub-menu {
  top: 56px;
  min-width: 180px;
}

/* ── 10. Hero Carousel ──────────────────────────────────────────────────── */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: var(--dark);
}

.hero-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-slide--active {
  opacity: 1;
  pointer-events: all;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.hero-slide--active .hero-slide__bg { transform: scale(1); }

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(94,0,0,0.55) 0%,
    rgba(94,0,0,0.3) 50%,
    rgba(94,0,0,0.08) 100%
  );
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 100%;
/*   margin: 0 auto; */
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
  padding-left: 10%;
}

.hero-slide__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hero-slide--active .hero-slide__eyebrow { opacity: 1; transform: translateY(0); }

.hero-slide__eyebrow span:last-child {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-slide__line {
  width: 32px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-slide__heading {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}

.hero-slide--active .hero-slide__heading { opacity: 1; transform: translateY(0); }

.hero-slide__sub {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.hero-slide--active .hero-slide__sub { opacity: 1; transform: translateY(0); }

.hero-slide__btns {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.65s, transform 0.6s ease 0.65s;
}

.hero-slide--active .hero-slide__btns { opacity: 1; transform: translateY(0); }

/* Carousel Controls */
.hero-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(94,0,0,0.55);
  border: 1.5px solid rgba(241,162,29,0.4);
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.hero-carousel__btn:hover {
  background: rgba(241,162,29,0.2);
  border-color: var(--gold);
}

.hero-carousel__btn--prev { left: 1.2rem; }
.hero-carousel__btn--next { right: 1.2rem; }

/* Dots */
.hero-carousel__dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 10;
}

.hero-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: background var(--transition), width var(--transition);
}

.hero-carousel__dot--active {
  background: var(--gold);
  border-color: var(--gold);
  width: 22px;
  border-radius: 4px;
}

/* Counter */
.hero-carousel__counter {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 10;
}

#carouselCurrent { color: var(--gold); font-weight: 700; }

/* ── 11. Quick Links Bar ────────────────────────────────────────────────── */
.quick-links-bar {
  background: var(--parchment);
  border-bottom: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.quick-links-bar__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-links-bar__inner::-webkit-scrollbar { display: none; }

.quick-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.1rem;
  color: var(--text-mid);
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  border-right: 1px solid rgba(137,28,28,0.08);
  min-width: 80px;
}

.quick-link-item:last-child { border-right: none; }

.quick-link-item svg { color: var(--brown); transition: color var(--transition); }

.quick-link-item:hover {
  background: rgba(137,28,28,0.06);
  color: var(--brown);
}

.quick-link-item:hover svg { color: var(--gold-dark); }

/* ── 12. Content Section (3 columns) ───────────────────────────────────── */
.content-section {
  background: var(--cream);
  padding: 2.5rem 0;
}

.content-section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 600px 240px 1.5fr;
  gap: 1.5rem;
  align-items: start;
}

.content-col { background: #fff; border-radius: var(--radius-lg); overflow: hidden; }

.section-head {
  padding: 1rem 1.2rem 0.8rem;
  border-bottom: 1px solid var(--parchment);
}

.section-head__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── 13. News Cards ─────────────────────────────────────────────────────── */
.news-list { padding: 0.5rem 0; }

.news-card {
  padding: 0.75rem 1.2rem;
  border-bottom: 1px solid var(--parchment);
  cursor: pointer;
  transition: background var(--transition);
}

.news-card:hover { background: var(--cream); }
.news-card:last-child { border-bottom: none; }

.news-date-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 3px;
  margin-bottom: 0.3rem;
  letter-spacing: 0.03em;
}

.news-card__title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 0.3rem;
  transition: color var(--transition);
}

.news-card:hover .news-card__title { color: var(--brown); }

.news-card__excerpt {
  font-size: 0.75rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-top: 0.3rem;
  display: block;
}

.news-card.is-expanded .news-card__excerpt { display: block; }

.news-card__more {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 600;
  transition: color var(--transition);
}
.news-card__more:hover { color: var(--brown); }

.view-all-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  justify-content: flex-end;
  padding: 0.65rem 1.2rem;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 600;
  transition: color var(--transition);
  border-top: 1px solid var(--parchment);
}
.view-all-link:hover { color: var(--brown); }

/* ── 14. Calendar Section ───────────────────────────────────────────────── */
.content-col--calendar { background: #fff; }

.calendar-list { padding: 0.4rem 0; }

.calendar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem;
  border-bottom: 1px solid var(--parchment);
  font-size: 0.77rem;
}

.calendar-item:last-child { border-bottom: none; }

.calendar-item__date {
  flex-shrink: 0;
  min-width: 44px;
  background: var(--gold);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  text-align: center;
  padding: 0.2rem 0.3rem;
  border-radius: 4px;
  line-height: 1.3;
}

.calendar-item__event {
  color: var(--text-dark);
  font-size: 0.76rem;
  line-height: 1.35;
}

.content-col--calendar .btn-brown {
  display: flex;
  margin: 0.75rem 1.2rem;
  background: var(--gold);
  color: var(--dark);
}
.content-col--calendar .btn-brown:hover {
  background: var(--dark);
  color: var(--gold);
}

/* ── 15. Notifications ──────────────────────────────────────────────────── */
.content-col--notices {}

.notices-list { padding: 0.5rem 0; }

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem;
  border-bottom: 1px solid var(--parchment);
  font-size: 0.78rem;
}

.notice-item:last-child { border-bottom: none; }

.notice-item__dot {
  flex-shrink: 0;
  margin-top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ruby);
}

.notice-item__content strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.notice-item__content p {
  font-size: 0.72rem;
  color: var(--text-mid);
  line-height: 1.4;
}

/* Payments Box */
.payments-box {
  margin: 0.75rem 1.2rem 1rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--brown) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.payments-box__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.payments-box__desc {
  color: var(--text-light);
  font-size: 0.7rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

/* ── 16. Saint Section ──────────────────────────────────────────────────── */
.saint-section {
  background: var(--parchment);
  padding: 4rem 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

.saint-section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.saint-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.saint-section__body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.saint-section__image-wrap {
  position: relative;
}

.saint-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--border);
}

.saint-image--placeholder {
  width: 100%;
  height: 340px;
  background: linear-gradient(135deg, var(--brown) 0%, var(--dark) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
}

.saint-image__shadow {
  position: absolute;
  bottom: -10px;
  left: 10%;
  right: 10%;
  height: 20px;
  background: radial-gradient(ellipse, rgba(94,0,0,0.3) 0%, transparent 70%);
}

.saint-image__caption {
  text-align: center;
  color: var(--text-mid);
  font-size: 0.68rem;
  font-style: italic;
  margin-top: 0.7rem;
  opacity: 0.75;
}

.saint-section__text p {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.saint-section__text p:last-child { margin-bottom: 0; }

.saint-quote {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.saint-quote p {
  color: var(--text-mid) !important;
  font-size: 0.85rem !important;
  font-style: italic;
  margin-bottom: 0 !important;
}

/* ── 17. Gallery Slider ─────────────────────────────────────────────────── */
.gallery-strip {
  background: var(--dark);
  padding: 2.5rem 0;
  overflow: hidden;
}

.gallery-strip__header {
  max-width: var(--container);
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-slider {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.gallery-slider__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0.5rem 0;
}

.gallery-slider__track::-webkit-scrollbar { display: none; }

.gallery-slider__item {
  flex: 0 0 calc(25% - 0.75rem);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  aspect-ratio: 4/3;
}

.gallery-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-slider__placeholder {
  width: 100%;
  height: 100%;
  background: var(--brown);
}

.gallery-slider__item:hover .gallery-slider__img { transform: scale(1.08); }

.gallery-slider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(94,0,0,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-slider__item:hover .gallery-slider__overlay { opacity: 1; }

.gallery-slider__overlay span {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
}

.gallery-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.gallery-slider__btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.gallery-slider__btn--prev { left: 0.5rem; }
.gallery-slider__btn--next { right: 0.5rem; }

/* ── 18. Contact Section ────────────────────────────────────────────────── */
.contact-section {
  background: var(--cream);
  padding: 4rem 0;
}

.contact-section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-section__body {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Contact Info */
.contact-info { }

.contact-info__school {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.contact-info__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.contact-info__icon-wrap {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(137,28,28,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
}

.office-hours {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.office-hours__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.office-hours p {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.office-hours__closed {
  color: var(--ruby) !important;
  font-size: 0.72rem !important;
  margin-top: 0.25rem;
}

/* Map */
.map-placeholder {
  width: 100%;
  height: 180px;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1rem;
}

.map-placeholder iframe { display: block; }

.map-placeholder__empty {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--text-mid);
}

.map-placeholder__empty p {
  font-size: 0.75rem;
  color: var(--text-mid);
}

/* Contact Form */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--parchment);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1rem; }
.form-group:last-child { margin-bottom: 0; }

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-mid);
}

.form-input {
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--parchment);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(241,162,29,0.15);
  background: #fff;
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-select { appearance: none; cursor: pointer; }

.btn-submit {
  margin-top: 0.5rem;
  padding: 0.7rem 1.8rem;
  font-size: 0.85rem;
}

.form-response {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 500;
}

.form-response--success {
  background: rgba(39,120,60,0.1);
  color: #1a6635;
  border: 1px solid rgba(39,120,60,0.25);
}

.form-response--error {
  background: rgba(139,26,26,0.08);
  color: var(--ruby);
  border: 1px solid rgba(139,26,26,0.2);
}

/* ── 19. Affiliations Bar ───────────────────────────────────────────────── */
.affiliations-bar {
  background: var(--brown);
  border-top: 2px solid var(--border);
  padding: 0.6rem 0;
  overflow: hidden;
}

.affiliations-bar__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
}

.affiliations-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.8rem;
  color: var(--text-light);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-right: 1px solid rgba(241,162,29,0.2);
}

.affiliations-bar__item:last-child { border-right: none; }

.affiliations-bar__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── 20. Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: var(--text-light);
}

.site-footer__main {
  max-width: 100%;
  margin: 0 auto;
  padding: 3rem 5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 280px 1fr 1fr 220px;
  gap: 2.5rem;
}

.site-footer__col--brand {}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-wrap img,
.footer-logo-wrap .custom-logo { width: 100px; height: 65px; object-fit: contain; }



.footer-school-name {
  font-family: 'Great Vibes', cursive;
  font-size: 1.2rem;
  font-weight: 400;
  color: #FFFF8C;
  line-height: 1.2;
}

.footer-school-loc {
  font-size: 0.7rem;
  color: rgba(255,255,140,0.5);
  margin-top: 0.1rem;
}

.footer-about {
  font-size: 0.76rem;
  line-height: 1.7;
  color: rgba(255,255,140,0.65);
  margin-bottom: 1.2rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-social__link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(241,162,29,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.footer-social__link:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-badge {
  background: rgba(241,162,29,0.1);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.25rem 0.55rem;
}

.footer-badge span {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-nav-list li a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0;
  color: rgba(255,255,140,0.7);
  font-size: 0.78rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-nav-list li a::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0.5;
}

.footer-nav-list li a:hover {
  color: var(--gold);
  padding-left: 0.3rem;
}

.footer-nav-list li a:hover::before { opacity: 1; }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: rgba(255,255,140,0.7);
  line-height: 1.5;
}

.footer-contact-item svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--gold); }

.footer-cbse-box {
  background: rgba(241,162,29,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.footer-cbse-label {
  font-size: 0.62rem;
  color: rgba(255,255,140,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.1rem;
}

.footer-cbse-no {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.footer-cert-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--gold);
  font-size: 0.72rem;
  transition: color var(--transition);
  text-decoration: underline;
  text-decoration-color: transparent;
}
.footer-cert-link:hover { color: var(--gold-light); text-decoration-color: var(--gold-light); }

/* Footer Bottom */
.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,140,0.45);
}

.footer-bottom-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-bottom-nav li a {
  color: rgba(255,255,140,0.45);
  font-size: 0.7rem;
  padding: 0 0.6rem;
  border-right: 1px solid rgba(241,162,29,0.15);
  transition: color var(--transition);
}

.footer-bottom-nav li a:hover { color: var(--gold); }
.footer-bottom-nav li:last-child a { border-right: none; }

/* ── 21. Page Hero ──────────────────────────────────────────────────────── */
.page-hero {
  background: var(--dark);
}

.page-hero__inner {
  position: relative;
  min-height: 150px;
  display: flex;
  align-items: center;
}

.page-hero--short .page-hero__inner { min-height: 180px; }

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(94,0,0,0.8) 0%, rgba(137,28,28,0.6) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

.page-hero__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { font-size: 0.65rem; opacity: 0.5; }

/* Page Content */
.page-content { padding: 2.5rem 1.5rem; }

.entry-content {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 760px;
}

.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--dark); margin: 1.5rem 0 0.75rem; }
.entry-content p { margin-bottom: 1rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; list-style: initial; }
.entry-content a { color: #fff; text-decoration: underline; }
.entry-content a:hover { color: #fff }
.entry-content img { border-radius: var(--radius); margin: 1rem auto; box-shadow: var(--shadow-sm); }
.entry-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  background: var(--parchment);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
}

/* ── 22. Single Article ─────────────────────────────────────────────────── */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  padding: 2rem 0 3rem;
  align-items: start;
}

.single-article {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.single-article__meta {
  padding: 1.2rem 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.single-article__date,
.single-article__author {
  font-size: 0.75rem;
  color: var(--text-mid);
}

.single-article__date { color: var(--gold-dark); font-weight: 600; }

.single-article__thumb {
  padding: 1rem 1.5rem;
}

.single-article__thumb img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.single-article .entry-content {
  padding: 0 1.5rem 2rem;
  max-width: 100%;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
}

.sidebar .widget {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--parchment);
}

.widget-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold);
}

.recent-posts-list { list-style: none; }

.recent-posts-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--parchment);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.recent-posts-list li:last-child { border-bottom: none; }

.recent-posts-list a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.3;
  transition: color var(--transition);
}

.recent-posts-list a:hover { color: var(--brown); }

.recent-posts-list span {
  font-size: 0.65rem;
  color: var(--text-mid);
  opacity: 0.7;
}

/* ── 23. Archive Grids ──────────────────────────────────────────────────── */

/* News Archive */
.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
}

.news-archive-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--parchment);
}

.news-archive-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-archive-card__thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.news-archive-card__body { padding: 1.1rem; }

.news-archive-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0.4rem 0;
}

.news-archive-card__title a { color: var(--dark); }
.news-archive-card__title a:hover { color: var(--brown); }

.news-archive-card__excerpt {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

/* Gallery Archive */
.gallery-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem 0;
}

.gallery-archive-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}

.gallery-archive-card a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-archive-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-archive-card:hover .gallery-archive-card__img { transform: scale(1.06); }

.gallery-archive-card__placeholder {
  width: 100%;
  height: 100%;
  background: var(--parchment);
}

.gallery-archive-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(94,0,0,0.8) 0%, transparent 60%);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-archive-card:hover .gallery-archive-card__overlay { opacity: 1; }

.gallery-archive-card__overlay h3 {
  color: #fff;
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}

.gallery-archive-card__overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
}

/* Event Archive */
.event-archive-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2rem 0;
}

.event-archive-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--parchment);
  transition: background var(--transition);
}

.event-archive-item:first-child { border-top: 1px solid var(--parchment); }

.event-archive-item__date {
  flex-shrink: 0;
  width: 64px;
  background: var(--brown);
  color: var(--gold);
  text-align: center;
  padding: 0.5rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}

.event-archive-item__body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-mid);
  margin-bottom: 0.3rem;
}

.event-archive-item__body p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* Posts Grid (index.php, search.php) */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
}

.post-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--parchment);
  transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.post-card__thumb img { width: 100%; height: 160px; object-fit: cover; display: block; }

.post-card__body { padding: 1.1rem; }

.post-card__date {
  font-size: 0.7rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.post-card__title { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; }
.post-card__title a { color: var(--dark); }
.post-card__title a:hover { color: var(--brown); }

.post-card__excerpt { font-size: 0.78rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 0.75rem; }

.no-results {
  padding: 3rem 0;
  text-align: center;
  color: var(--text-mid);
  font-size: 0.9rem;
}

.no-content {
  padding: 1rem 1.2rem;
  font-size: 0.78rem;
  color: var(--text-mid);
  font-style: italic;
}

/* ── 24. Posts Navigation / Pagination ─────────────────────────────────── */
.nav-links, .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0;
}

.nav-links a, .nav-links span,
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--parchment);
  font-size: 0.8rem;
  color: var(--text-mid);
  transition: all var(--transition);
}

.nav-links a:hover, .page-numbers.current, .page-numbers:hover {
  background: var(--brown);
  color: var(--gold);
  border-color: var(--brown);
}

/* ── 25. Animations ─────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(241,162,29,0); }
  50%       { box-shadow: 0 0 0 6px rgba(241,162,29,0.15); }
}

/* ── 26. Responsive — 1024px ────────────────────────────────────────────── */
@media (max-width: 1024px) {

  .content-section__inner {
    grid-template-columns: 1fr 1fr;
  }

  .content-col--notices { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .content-col--notices .section-head { grid-column: 1 / -1; }
  .content-col--notices .notices-list { border-right: 1px solid var(--parchment); }

  .saint-section__body { grid-template-columns: 220px 1fr; gap: 2rem; }

  .gallery-slider__item { flex: 0 0 calc(33.333% - 0.667rem); }
  .gallery-thumb:nth-child(5),
  .gallery-thumb:nth-child(6) { display: none; }

  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer__col--brand { grid-column: 1 / -1; }

  .contact-section__body { grid-template-columns: 1fr; }

  .news-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-archive-grid { grid-template-columns: repeat(3, 1fr); }

  .site-header__banner { display: none; }
	
	p.site-header__quote {
    display: none;
}

  .primary-nav__search input { width: 100px; }
}

/* ── 27. Responsive — 768px ─────────────────────────────────────────────── */
@media (max-width: 768px) {

  :root { --nav-height: 52px; }

  .hidden-mobile { display: none; }

  /* Topbar */
  .topbar { padding: 0 1rem; }
  .topbar__links { display: none; }
  .topbar__marquee-wrap { flex: 1; }

  /* Header */
  .site-header__inner { padding: 0.6rem 1rem; gap: 0.75rem; min-height: 80px; }
  .site-header__logo-wrap { width: 52px; height: 52px; }
  .site-header__logo-wrap img, .site-logo { width: 52px; height: 52px; }
  .site-header__name { font-size: 0.95rem; }
  .site-header__meta { display: none; }
  .site-header__right { display: none; }

  /* Primary Nav */
  .primary-nav__menu-wrap .nav-menu { display: none; }
  .primary-nav__home, .primary-nav__contact { display: none; }
  .primary-nav__search { display: none; }
  .primary-nav__hamburger { display: flex; }
  .primary-nav__inner { justify-content: space-between; }

  /* Floating Nav */
  .floating-nav__menu { display: none; }
  .floating-nav__inner { justify-content: space-between; }

  /* Hero */
  .hero-carousel { height: 360px; }
  .hero-slide__heading { font-size: 1.4rem; }
  .hero-slide__sub { display: none; }
  .hero-carousel__btn { width: 36px; height: 36px; font-size: 1.2rem; }

  /* Quick Links */
  .quick-links-bar__inner { gap: 0; }
  .quick-link-item { min-width: 70px; padding: 0.7rem 0.7rem; }

  /* Content Section */
  .content-section__inner { grid-template-columns: 1fr; }
  .content-col--notices { display: block; }
  .content-col--notices .notices-list { border-right: none; }

  /* Saint Section */
  .saint-section__body { grid-template-columns: 1fr; }
  .saint-section__image-wrap { max-width: 240px; margin: 0 auto; }

  /* Gallery Strip */
  .gallery-slider__item { flex: 0 0 calc(50% - 0.5rem); }
  .gallery-thumb:nth-child(5),
  .gallery-thumb:nth-child(6) { display: none; }

  /* Footer */
  .site-footer__main { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1rem 1.5rem; }
  .site-footer__col--brand { grid-column: 1; }
  .site-footer__bottom { flex-direction: column; align-items: center; gap: 0.75rem; padding: 1rem; text-align: center; }
  .footer-bottom-nav { flex-wrap: wrap; justify-content: center; row-gap: 0.35rem; }

  /* Quick Links */
  .quick-links-bar__inner { flex-wrap: wrap; overflow-x: visible; justify-content: center; gap: 0; }
  .quick-link-item { flex: 1 1 25%; min-width: 0; white-space: normal; padding: 0.9rem 0.5rem; border-right: 1px solid rgba(137,28,28,0.08); border-bottom: 1px solid rgba(137,28,28,0.08); }
  .quick-link-item:nth-child(4n) { border-right: none; }
  .quick-link-item:last-child { border-right: none; }

  /* Single Layout */
  .single-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; top: auto; }

  /* Archive grids */
  .news-archive-grid { grid-template-columns: 1fr; }
  .gallery-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: 1fr; }

  /* Contact Section */
  .contact-section__body { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Page content */
  .container { padding: 0 1rem; }
  .page-content { padding: 1.5rem 1rem; }

  /* Affiliations Bar */
  .affiliations-bar__inner { gap: 0; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .affiliations-bar__item { white-space: nowrap; }
}

@media (max-width: 480px) {
  .hero-carousel { height: 280px; }
  .hero-slide__heading { font-size: 1.15rem; }
  .hero-slide__btns { flex-direction: column; align-items: flex-start; }
  .hero-slide__btns .btn-gold,
  .hero-slide__btns .btn-outline-gold { width: 100%; justify-content: center; max-width: 220px; }

  .quick-link-item { flex: 1 1 33.333%; font-size: 0.58rem; min-width: 0; padding: 0.7rem 0.4rem; gap: 0.25rem; }
  .quick-link-item:nth-child(4n) { border-right: 1px solid rgba(137,28,28,0.08); }
  .quick-link-item:nth-child(3n) { border-right: none; }
  .quick-link-item svg { width: 16px; height: 16px; }

  .gallery-slider__item { flex: 0 0 calc(75% - 0.5rem); }
  .gallery-archive-grid { grid-template-columns: 1fr; }

  .site-header__logo-wrap { width: 44px; height: 44px; }
  .site-header__logo-wrap img, .site-logo { width: 44px; height: 44px; }
  .site-header__name { font-size: 0.82rem; }

  .contact-form-wrap { padding: 1.2rem; }

  .page-hero__title { font-size: 1.2rem; }

  .footer-bottom-nav li a { padding: 0 0.4rem; font-size: 0.65rem; }
  .site-footer__bottom p { font-size: 0.65rem; }
}

/* ── 28. WP Core / Admin Bar ────────────────────────────────────────────── */
.admin-bar .primary-nav { top: 32px; }
.admin-bar .floating-nav.is-visible { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .primary-nav { top: 46px; }
  .admin-bar .floating-nav.is-visible { top: 46px; }
}

/* ── 29. WordPress Alignment Classes ────────────────────────────────────── */
.alignleft { float: left; margin: 0.5rem 1.5rem 0.5rem 0; }
.alignright { float: right; margin: 0.5rem 0 0.5rem 1.5rem; }
.aligncenter { display: block; margin: 1rem auto; }
.alignwide { margin-left: -2rem; margin-right: -2rem; max-width: none; }
.alignfull { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); max-width: 100vw; }

/* ── 30. Print ──────────────────────────────────────────────────────────── */
@media print {
  .topbar, .site-header, .primary-nav, .floating-nav,
  .hero-carousel, .quick-links-bar, .gallery-strip,
  .contact-section, .affiliations-bar, .site-footer { display: none !important; }

  body { background: #fff; color: #000; font-size: 11pt; }
  .entry-content { max-width: 100%; }
}
/* -- Maintenance Mode Overrides ---------------------------------------- */
.wp-block-group.has-white-color,
.wp-block-group.has-white-color .wp-block-themeisle-blocks-advanced-heading,
.wp-block-group.has-white-color p {
    color: #ffffff !important;
}

.wp-block-button .wp-block-button__link.has-contrast-color.has-accent-1-background-color {
    background-color: #FFC107 !important;
    color: #000000 !important;
    border-color: #FFC107 !important;
}

.wp-block-button .wp-block-button__link.has-contrast-color.has-accent-1-background-color:hover {
    background-color: #FFD54F !important;
}

/* ── Admission Form ─────────────────────────────────────────────────────── */
.admission-main {
  background: var(--cream);
  min-height: 60vh;
}
.admission-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}
.admission-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.admission-progress__step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.admission-progress__step.is-active,
.admission-progress__step.is-done {
  opacity: 1;
}
.admission-progress__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.admission-progress__step.is-done .admission-progress__num {
  background: var(--gold);
}
.admission-progress__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.admission-step__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
}
.admission-step__desc {
  color: var(--text-mid);
  margin-bottom: 24px;
}
.admission-form__group {
  margin-bottom: 20px;
}
.admission-form__group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.admission-form__group .required {
  color: var(--brown);
}
.admission-form__input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--parchment);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.admission-form__input:focus {
  outline: none;
  border-color: var(--gold);
}
.admission-form__hint {
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 4px;
}
.admission-form__actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.admission-btn {
  position: relative;
  min-width: 160px;
}
.admission-btn__loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sps-spin 0.6s linear infinite;
}
.admission-btn__loader:not([hidden]) {
  display: inline-block;
}
@keyframes sps-spin {
  to { transform: rotate(360deg); }
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 2px solid var(--brown);
  border-radius: 6px;
  background: transparent;
  color: var(--brown);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}
.btn-outline:hover {
  background: var(--brown);
  color: #fff;
}
.admission-msg {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 16px;
}
.admission-msg--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.admission-msg--success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.admission-qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  padding: 24px;
  background: #fff;
  border: 2px dashed var(--parchment);
  border-radius: 12px;
}
.admission-qr {
  max-width: 240px;
  height: auto;
}
.admission-qr-placeholder {
  color: var(--text-mid);
  font-size: 14px;
  text-align: center;
}
.admission-success {
  text-align: center;
  padding: 48px 24px;
}
.admission-success__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.admission-success__title {
  font-size: 28px;
  font-weight: 700;
  color: #166534;
  margin-bottom: 12px;
}
.admission-success__text {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 24px;
}
/* Modal */
.admission-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.admission-modal:not([hidden]) {
  display: flex;
}
.admission-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.admission-modal__box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 440px;
  width: 90%;
  z-index: 1;
}
.admission-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 12px;
}
.admission-modal__text {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.admission-header-btn {
  margin-right: 8px;
}
@media (max-width: 600px) {
  .admission-form-wrap {
    padding: 24px 16px 40px;
  }
  .admission-progress {
    gap: 4px;
  }
  .admission-progress__label {
    display: none;
  }
  .admission-form__actions {
    flex-direction: column;
  }
  .admission-btn {
    width: 100%;
  }
}

/* ── Fee Structure Page ───────────────────────────────────── */
.entry-content:has(.fee-structure-page) { max-width:none; }
.page-id-292 .entry-content, 
.page-id-292 .page-content,
.page-id-293 .entry-content,
.page-id-293 .page-content,
.page-id-294 .entry-content,
.page-id-294 .page-content,
.page-id-317 .entry-content,
.page-id-317 .page-content { max-width:none; padding-left:0; padding-right:0; }
.fee-structure-page { max-width:var(--container,1200px); margin:0 auto; padding:0 1rem; }
.print-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; line-height:1; }
.print-btn svg { flex-shrink:0; display:block; }
.print-btn span { line-height:1; }

/* School Uniform Grid */
.uniform-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:20px; margin-top:20px; }
.uniform-section { margin-top:32px; }
.uniform-section__title { font-size:18px; color:var(--brown,#891c1c); text-align:center; margin-bottom:12px; padding-bottom:8px; border-bottom:2px solid var(--gold,#f1a21d); }
.uniform-main-img { display:block; max-width:700px; width:100%; height:auto; margin:0 auto; }
.uniform-card { position:relative; border-radius:8px; overflow:hidden; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,0.08); }
.uniform-card img { width:100%; height:auto; display:block; }
.uniform-card__dl { position:absolute; bottom:16px; right:16px; display:inline-flex; align-items:center; justify-content:center; background:var(--brown,#891c1c); color:#fff; border:1px solid rgba(255,255,255,0.3); width:40px; height:40px; border-radius:6px; cursor:pointer; text-decoration:none; transition:all .25s; box-shadow:0 2px 8px rgba(0,0,0,0.3); }
.uniform-card__dl:hover { background:var(--gold,#f1a21d); color:#fff; border-color:var(--gold); transform:translateY(-1px); box-shadow:0 4px 14px rgba(0,0,0,0.35); }
.uniform-card__dl svg { width:16px; height:16px; fill:currentColor; }

/* Lightbox */
.lightbox { position:fixed; inset:0; z-index:99999; background:rgba(0,0,0,0.9); display:flex; align-items:center; justify-content:center; cursor:pointer; }
.lightbox img { max-width:90vw; max-height:90vh; object-fit:contain; border-radius:6px; box-shadow:0 0 40px rgba(0,0,0,0.5); cursor:default; }
.lightbox__close { position:absolute; top:20px; right:30px; color:#fff; font-size:32px; cursor:pointer; line-height:1; width:40px; height:40px; display:flex; align-items:center; justify-content:center; }
.lightbox__close:hover { color:#f1a21d; }

.fee-intro { text-align:center; margin-bottom:32px; }
.fee-intro h3 { font-size:22px; color:var(--brown,#891c1c); margin-bottom:8px; }
.fee-intro p { color:#666; font-size:15px; }

.fee-layout { display:grid; grid-template-columns:65% 35%; gap:24px; align-items:start; }
.fee-layout-main { min-width:0; }
.fee-layout-side { }
.fee-sidebar-img { width:100%; height:auto; border-radius:8px; }
@media (max-width:768px) {
  .fee-layout { grid-template-columns:1fr; }
  .fee-layout-side { max-width:320px; margin:0 auto; }
}

.fee-accordion { margin-bottom:10px; }
.fee-accordion details { border:1px solid #e8ddd0; border-radius:8px; margin-bottom:8px; overflow:hidden; background:#fff; }
.fee-accordion summary { padding:16px 20px; background:linear-gradient(135deg, #fdf5e6, #fdf2df); cursor:pointer; font-weight:700; font-size:16px; color:var(--brown,#891c1c); list-style:none; display:flex; justify-content:space-between; align-items:center; }
.fee-accordion summary::-webkit-details-marker { display:none; }
.fee-accordion summary::after { content:"+"; font-size:22px; font-weight:300; color:var(--gold-dark,#c78a14); transition:transform .25s; }
.fee-accordion details[open] summary::after { content:"\2212"; transform:rotate(180deg); }
.fee-accordion .fee-body { padding:20px 24px 24px; }

.fee-table-wrap { overflow-x:auto; margin:12px 0 20px; }
.fee-table { width:100%; border-collapse:collapse; font-size:14px; }
.fee-table thead th { background:var(--brown,#891c1c); color:#fff; padding:12px 14px; font-size:15px; text-align:center; letter-spacing:.5px; }
.fee-table thead th:first-child { border-radius:6px 0 0 0; }
.fee-table thead th:last-child { border-radius:0 6px 0 0; }
.fee-table tbody td { padding:11px 14px; text-align:center; border-bottom:1px solid #eee; color:#444; }
.fee-table tbody tr:nth-child(even) td { background:#fdf8f0; }
.fee-table tbody tr:last-child td:first-child { border-radius:0 0 0 6px; }
.fee-table tbody tr:last-child td:last-child { border-radius:0 0 6px 0; }
.fee-table tbody td:first-child { font-weight:600; color:#5a1212; }

.fee-deadlines { background:#fdf5e6; border-left:4px solid var(--gold,#f1a21d); padding:14px 18px; border-radius:0 6px 6px 0; margin-top:8px; }
.fee-deadlines h5 { margin:0 0 8px; color:var(--brown,#891c1c); font-size:14px; text-transform:uppercase; letter-spacing:.5px; }
.fee-deadlines ul { margin:0; padding-left:18px; color:#666; font-size:13px; line-height:1.9; }
.fee-deadlines ul li { margin-bottom:2px; }

.fee-rules-section { border:1px solid #e8ddd0; border-radius:8px; background:#fff; overflow:hidden; margin-top:24px; }
.fee-rules-section details summary { padding:16px 20px; background:linear-gradient(135deg, #fdf5e6, #fdf2df); cursor:pointer; font-weight:700; font-size:16px; color:var(--brown,#891c1c); list-style:none; display:flex; justify-content:space-between; align-items:center; }
.fee-rules-section details summary::-webkit-details-marker { display:none; }
.fee-rules-section details summary::after { content:"+"; font-size:22px; font-weight:300; color:var(--gold-dark,#c78a14); }
.fee-rules-section details[open] summary::after { content:"\2212"; }
.fee-rules-section .fee-body { padding:20px 24px 24px; }
.fee-rules-section ul { padding-left:20px; color:#555; line-height:2; font-size:14px; }

.txn-table { width:100%; border-collapse:collapse; margin:14px 0; font-size:13px; }
.txn-table th { background:#5a1212; color:#fff; padding:10px 12px; text-align:left; }
.txn-table td { padding:10px 12px; border-bottom:1px solid #eee; }
.txn-table tbody tr:nth-child(even) td { background:#fdf8f0; }

.fee-note { background:#fdf5e6; border:1px solid var(--gold,#f1a21d); border-radius:6px; padding:12px 16px; margin-top:16px; color:#855a0a; font-size:13px; text-align:center; }

@media (max-width:600px) {
  .fee-accordion summary, .fee-rules-section details summary { font-size:14px; padding:12px 16px; }
  .fee-body { padding:14px 16px !important; }
  .fee-table { font-size:12px; }
  .fee-table thead th, .fee-table tbody td { padding:8px 10px; }
}



.page-id-317 .page-hero {
    display: none;
}