:root {
  --school-green: #005738;
  --school-green-dark: #003e28;
  --school-green-soft: #eaf3ee;
  --school-gold: #e5a30c;
  --school-burgundy: #85151d;
  --school-cream: #f7f1e7;
  --school-ink: #26322d;
  --school-muted: #6f7974;
  --school-border: #e8ece9;
  --school-shadow: 0 14px 34px rgba(0, 62, 40, .1);
  --school-radius: 14px;
  --site-width: 1200px;
  --heading-font: "Palatino Linotype", Palatino, "Libre Baskerville", "Book Antiqua", Georgia, serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--school-ink);
  background: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(229, 163, 12, .65);
  outline-offset: 3px;
}

.site-container {
  max-width: calc(var(--site-width) + 1.5rem);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  padding: .8rem 1rem;
  border-radius: .5rem;
  color: #fff;
  background: var(--school-green-dark);
  text-decoration: none;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.admin-notice-card {
  margin: 1.5rem 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(229, 163, 12, .35);
  border-radius: 14px;
  color: var(--school-green-dark);
  background: #fff8e6;
}

.admin-notice-card p {
  margin: .35rem 0 0;
}

.admin-notice-card-dark {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

/* Header */
.site-header {
  top: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(0, 87, 56, .08);
  box-shadow: 0 6px 24px rgba(20, 43, 32, .04);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header .navbar {
  min-height: 92px;
  padding-block: .5rem;
}

.navbar-brand-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
}

.navbar-brand,
.custom-logo-link {
  display: flex;
  align-items: center;
  margin-right: 1.5rem;
}

.navbar-brand img,
.custom-logo {
  width: clamp(210px, 19vw, 270px);
  max-height: 66px;
  object-fit: contain;
}

.navbar-toggler {
  flex: 0 0 auto;
  border-color: rgba(0, 87, 56, .22);
  padding: .6rem .7rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(0, 87, 56, .12);
}

.navbar-collapse {
  min-width: 0;
}

.manantial-menu {
  align-items: center;
}

.manantial-menu .nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.manantial-menu .nav-link {
  position: relative;
  padding: .72rem .62rem !important;
  color: var(--school-green-dark);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.manantial-menu .nav-link:hover,
.manantial-menu .nav-link:focus,
.manantial-menu .nav-link.active {
  color: var(--school-green);
}

.manantial-menu .nav-link.active::before,
.manantial-menu .nav-link:hover::before,
.manantial-menu .nav-link:focus::before {
  position: absolute;
  left: 50%;
  bottom: .25rem;
  width: 34px;
  height: 3px;
  border-radius: 50px;
  content: "";
  background: var(--school-gold);
  transform: translateX(-50%);
}

.submenu-toggle {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  margin-left: -.45rem;
  border: 0;
  border-radius: 50%;
  color: var(--school-green-dark);
  background: transparent;
  transition: background-color .2s ease, transform .2s ease;
}

.submenu-toggle:hover,
.submenu-toggle:focus {
  color: var(--school-green);
  background: var(--school-green-soft);
}

.menu-item-has-children.is-open > .submenu-toggle i {
  transform: rotate(180deg);
}

.school-dropdown {
  z-index: 1150;
  min-width: 276px;
  padding: .75rem .95rem;
  border: 1px solid rgba(0, 87, 56, .06);
  border-radius: 14px;
  background: var(--school-cream);
  box-shadow: var(--school-shadow);
}

.school-dropdown .dropdown-item {
  display: block;
  width: 100%;
  padding: .76rem .55rem;
  border-bottom: 1px dashed rgba(38, 50, 45, .18);
  color: var(--school-green-dark);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
}

.school-dropdown li:last-child > .dropdown-item {
  border-bottom: 0;
}

.school-dropdown .dropdown-item:hover,
.school-dropdown .dropdown-item:focus {
  color: var(--school-burgundy);
  background: transparent;
}

.btn-application,
.btn-school-secondary {
  border: 0;
  color: #fff;
  background: var(--school-burgundy);
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(133, 21, 29, .18);
}

.btn-application {
  min-width: 146px;
  padding: .72rem 1.05rem;
  border-radius: 10px;
  font-size: .8rem;
}

.btn-application:hover,
.btn-application:focus,
.btn-school-secondary:hover,
.btn-school-secondary:focus {
  color: #fff;
  background: #6f0f16;
  transform: translateY(-2px);
}

/* Hero Smart Slider */
.hero-section {
  padding: 0;
  background: #fff;
}

.smartslider-hero {
  position: relative;
  z-index: 1;
}

.hero-slider-fullwidth {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
}

.hero-slider-fullwidth .n2-section-smartslider,
.hero-slider-fullwidth .n2-ss-slider {
  width: 100% !important;
  max-width: none !important;
}

.hero-slider-fullwidth .n2-ss-slide,
.hero-slider-fullwidth .n2-ss-slider-1 {
  min-height: clamp(440px, 40vw, 520px);
}

/* Shared sections */
.section {
  padding: clamp(3.1rem, 5vw, 4.8rem) 0;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 2.4rem;
}

.compact-heading {
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: .7rem;
  color: var(--school-gold);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-heading h1,
.section-heading h2,
.document-strip h2,
.contact-section h2,
.inner-header h1,
.single-content h1,
.single-content h2 {
  color: var(--school-green-dark);
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: 0;
}

.section-heading h1,
.section-heading h2 {
  position: relative;
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 2.7vw, 2.75rem);
  line-height: 1.2;
}

.section-heading h1::after,
.section-heading h2::after {
  display: block;
  width: 58px;
  height: 4px;
  margin: .8rem auto 0;
  border-radius: 99px;
  content: "";
  background: var(--school-gold);
}

.section-heading p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--school-muted);
  font-size: .96rem;
}

.btn-school-primary,
.btn-school-secondary,
.btn-community {
  padding: .75rem 1.35rem;
  border-radius: 10px;
  font-size: .9rem;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.btn-school-primary {
  border: 0;
  color: #fff;
  background: var(--school-green);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 87, 56, .2);
}

.btn-school-primary:hover,
.btn-school-primary:focus {
  color: #fff;
  background: var(--school-green-dark);
  transform: translateY(-2px);
}

/* Stats and promos */
.why-section {
  background: #fff;
}

.stats-grid {
  margin-bottom: 2.8rem;
}

.stat-card {
  height: 100%;
  min-height: 174px;
  padding: 1.05rem .65rem;
  text-align: center;
  border-right: 1px solid var(--school-border);
}

.stats-grid .col:last-child .stat-card {
  border-right: 0;
}

.stat-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin: 0 auto .65rem;
  place-items: center;
  border-radius: 50%;
  color: var(--school-green);
  background: var(--school-green-soft);
  font-size: 1.45rem;
}

.stat-number,
.stat-label {
  color: var(--school-gold);
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.1;
}

.stat-number {
  font-size: 1.9rem;
}

.stat-label {
  min-height: 2.4rem;
  font-size: 1.05rem;
}

.stat-card p {
  max-width: 190px;
  margin: .55rem auto 0;
  color: #5e6964;
  font-size: .78rem;
  line-height: 1.45;
}

.promo-row {
  align-items: stretch;
}

.promo-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(160px, .85fr);
  overflow: hidden;
  height: 100%;
  border-radius: var(--school-radius);
  color: #fff;
  background:
    radial-gradient(circle at 90% 18%, rgba(229, 163, 12, .24), transparent 28%),
    linear-gradient(135deg, var(--school-green-dark), var(--school-green));
  box-shadow: 0 12px 30px rgba(0, 62, 40, .08);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}

.promo-card:hover,
.promo-card:focus {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 62, 40, .12);
}

.promo-card-admission {
  color: var(--school-green-dark);
  background:
    radial-gradient(circle at 90% 16%, rgba(229, 163, 12, .26), transparent 30%),
    linear-gradient(135deg, #fffdf7, var(--school-cream));
}

.promo-card-admission:hover,
.promo-card-admission:focus {
  color: var(--school-green-dark);
}

.promo-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 245px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.35rem, 2.4vw, 2rem);
}

.promo-card-kicker {
  margin-bottom: .5rem;
  color: var(--school-gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.promo-card-title {
  max-width: 350px;
  font-family: var(--heading-font);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  font-weight: 700;
  line-height: 1.12;
}

.promo-card-text {
  max-width: 380px;
  margin-top: .7rem;
  color: rgba(255, 255, 255, .78);
  font-size: .86rem;
  line-height: 1.5;
}

.promo-card-admission .promo-card-text {
  color: #59675f;
}

.promo-card-button {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  width: fit-content;
  margin-top: 1.15rem;
  padding: .62rem .85rem;
  border-radius: 999px;
  color: #fff;
  background: var(--school-burgundy);
  font-size: .78rem;
  font-weight: 800;
}

.promo-card-button i {
  color: var(--school-gold);
}

.promo-card-media {
  position: relative;
  display: flex;
  min-height: 245px;
  align-items: end;
  justify-content: center;
  padding: 1rem 1rem 0;
}

.promo-card-photo-placeholder {
  display: block;
  width: min(190px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: 90px 90px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .2)),
    rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}

.promo-card-admission .promo-card-photo-placeholder {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(229, 163, 12, .12)),
    rgba(0, 87, 56, .08);
  box-shadow: inset 0 0 0 1px rgba(0, 87, 56, .1);
}

/* Activities */
.activities-section {
  background: #fbfcfb;
}

.activities-grid,
.posts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.activity-card,
.post-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--school-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 62, 40, .045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.activity-card:hover,
.activity-card:focus-within,
.post-card:hover,
.post-card:focus-within {
  border-color: rgba(229, 163, 12, .55);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 62, 40, .1);
}

.activity-image-link,
.post-card-image {
  display: block;
  overflow: hidden;
  background: var(--school-green-soft);
}

.activity-image-link img,
.post-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.16 / .78;
  object-fit: cover;
}

.activity-content,
.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: .92rem .95rem 1rem;
}

.activity-meta,
.post-card-body time {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-bottom: .75rem;
  color: var(--school-muted);
  font-size: .75rem;
  font-weight: 700;
}

.activity-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .25rem .55rem;
  color: var(--school-green-dark);
  background: var(--school-green-soft);
}

.activity-card h3,
.post-card h2 {
  margin: 0 0 .45rem;
  color: var(--school-green-dark);
  font-family: var(--heading-font);
  font-size: 1rem;
  line-height: 1.25;
}

.activity-card h3 a,
.post-card h2 a {
  color: inherit;
  text-decoration: none;
}

.activity-content p,
.post-card-body p {
  flex: 1;
  margin: 0 0 1rem;
  color: #5f6b65;
  font-size: .84rem;
  line-height: 1.5;
}

.read-more-link {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  color: var(--school-burgundy);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.read-more-link:hover,
.read-more-link:focus {
  color: var(--school-green-dark);
}

/* Community */
.community-section {
  background: #fff;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.experience-card {
  position: relative;
  display: block;
  min-height: 230px;
  overflow: hidden;
  grid-column: span 3;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 62, 40, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.experience-card:nth-child(1) {
  grid-column: span 6;
}

.experience-card:nth-child(n+4) {
  grid-column: span 4;
}

.experience-card:hover,
.experience-card:focus {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 62, 40, .13);
}

.experience-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.experience-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 62, 40, .86));
}

.experience-caption {
  position: absolute;
  right: .9rem;
  bottom: .9rem;
  left: .9rem;
  z-index: 1;
  display: flex;
  gap: .7rem;
  align-items: center;
  padding: .68rem .75rem;
  border-radius: 12px;
  background: rgba(0, 87, 56, .92);
}

.experience-caption i {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid rgba(229, 163, 12, .55);
  border-radius: 50%;
  color: var(--school-gold);
  font-size: 1.15rem;
}

.experience-caption strong,
.experience-caption small {
  display: block;
}

.experience-caption strong {
  font-size: .84rem;
  line-height: 1.2;
}

.experience-caption small {
  margin-top: .12rem;
  color: rgba(255, 255, 255, .82);
  font-size: .7rem;
  line-height: 1.35;
}

.btn-community {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  background: var(--school-green);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 87, 56, .18);
}

.btn-community:hover,
.btn-community:focus {
  color: #fff;
  background: var(--school-green-dark);
  transform: translateY(-2px);
}

.btn-community i {
  color: var(--school-gold);
  font-size: 1.25rem;
}

/* Documents */
.document-strip {
  padding: 3.6rem 0;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(229, 163, 12, .22), transparent 28%),
    linear-gradient(135deg, var(--school-green-dark), var(--school-green));
}

.document-strip h2 {
  margin-bottom: .8rem;
  color: #fff;
  font-size: clamp(1.75rem, 2.5vw, 2.45rem);
}

.document-strip p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
}

.eyebrow-light {
  color: #ffd258;
}

.document-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.document-links a {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background-color .2s ease, transform .2s ease;
}

.document-links a:hover,
.document-links a:focus {
  background: rgba(255, 255, 255, .15);
  transform: translateY(-3px);
}

.document-links i {
  margin-right: .8rem;
  color: #ffd258;
  font-size: 1.5rem;
}

.document-links span {
  font-size: .92rem;
  font-weight: 700;
}

/* Contact */
.contact-section {
  background: var(--school-cream);
}

.contact-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.contact-section p {
  color: var(--school-muted);
}

.contact-panel-list {
  display: grid;
  gap: .8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-panel-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .95rem 1rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 62, 40, .06);
}

.contact-panel-list i {
  color: var(--school-gold);
}

.contact-panel-list a {
  color: var(--school-green-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-form-shell {
  padding: clamp(1.1rem, 3vw, 2rem);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--school-shadow);
}

.contact-section .wpcf7 form {
  display: grid;
  gap: 1rem;
}

.contact-section .wpcf7 label {
  display: grid;
  gap: .35rem;
  color: var(--school-green-dark);
  font-size: .86rem;
  font-weight: 800;
}

.contact-section .wpcf7 input[type="text"],
.contact-section .wpcf7 input[type="email"],
.contact-section .wpcf7 input[type="tel"],
.contact-section .wpcf7 select,
.contact-section .wpcf7 textarea {
  width: 100%;
  min-height: 48px;
  padding: .78rem .9rem;
  border: 1px solid var(--school-border);
  border-radius: 12px;
  color: var(--school-ink);
  background: #fbfcfb;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact-section .wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-section .wpcf7 input:focus,
.contact-section .wpcf7 select:focus,
.contact-section .wpcf7 textarea:focus {
  border-color: rgba(0, 87, 56, .55);
  background: #fff;
  box-shadow: 0 0 0 .2rem rgba(0, 87, 56, .1);
  outline: 0;
}

.contact-section .wpcf7-not-valid {
  border-color: var(--school-burgundy) !important;
}

.contact-section .wpcf7-not-valid-tip {
  margin-top: .3rem;
  color: var(--school-burgundy);
  font-size: .8rem;
  font-weight: 700;
}

.contact-section .wpcf7-acceptance label {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-weight: 600;
}

.contact-section .wpcf7-submit {
  min-width: 190px;
  min-height: 50px;
  padding: .85rem 1.5rem;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--school-burgundy);
  font-weight: 800;
  transition: transform .2s ease, background-color .2s ease;
}

.contact-section .wpcf7-submit:hover,
.contact-section .wpcf7-submit:focus {
  background: #6f0f16;
  transform: translateY(-2px);
}

.contact-section .wpcf7-spinner {
  margin-inline: .8rem 0;
}

.contact-section .wpcf7 form .wpcf7-response-output {
  margin: .25rem 0 0;
  padding: .85rem 1rem;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
}

.contact-section .wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--school-green);
  color: var(--school-green-dark);
  background: var(--school-green-soft);
}

/* Inner templates */
.inner-main {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: #fbfcfb;
}

.inner-header {
  max-width: 880px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.inner-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.16;
}

.archive-description {
  margin-top: 1rem;
  color: var(--school-muted);
}

.single-content {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 62, 40, .06);
}

.single-content .entry-content {
  color: #33443c;
}

.single-content .entry-content > * + * {
  margin-top: 1.1rem;
}

.single-content a {
  color: var(--school-burgundy);
  font-weight: 700;
}

.single-featured-image {
  overflow: hidden;
  margin: 0 0 2rem;
  border-radius: 18px;
}

.single-featured-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.post-navigation,
.navigation.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 920px;
  margin: 2rem auto 0;
}

.post-navigation a,
.navigation.pagination a,
.navigation.pagination span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .65rem .9rem;
  border-radius: 10px;
  color: var(--school-green-dark);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 62, 40, .06);
}

.search-form {
  display: flex;
  gap: .6rem;
  justify-content: center;
  margin-top: 1.3rem;
}

.search-form label {
  margin: 0;
}

.search-field {
  min-height: 46px;
  padding: .7rem .9rem;
  border: 1px solid var(--school-border);
  border-radius: 10px;
}

.search-submit {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--school-green);
  font-weight: 700;
}

/* Footer */
.site-footer {
  padding: 3.6rem 0 1.25rem;
  color: rgba(255, 255, 255, .82);
  background: #004a2f;
}

.footer-brand,
.footer-logo,
.site-footer .custom-logo-link {
  display: inline-flex;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.footer-brand {
  display: flex;
  width: 100%;
}

.footer-brand img,
.footer-logo img,
.site-footer .custom-logo {
  width: 96px;
  max-height: 86px;
  object-fit: contain;
}

.footer-tagline {
  max-width: 270px;
  margin: 1.2rem 0 1.35rem;
  color: rgba(255, 255, 255, .72);
  font-size: .86rem;
}

.footer-rich :where(p, ul, ol) {
  margin: 0;
}

.footer-rich :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.footer-rich li + li {
  margin-top: .7rem;
}

.footer-rich a {
  color: rgba(255, 255, 255, .74);
  text-decoration: none;
}

.footer-rich a:hover,
.footer-rich a:focus {
  color: #ffd258;
}

.footer-list-rich,
.contact-list-rich {
  color: rgba(255, 255, 255, .74);
  font-size: .82rem;
}

.footer-title {
  margin: 0 0 1.2rem;
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.footer-list,
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li + li,
.contact-list li + li {
  margin-top: .7rem;
}

.footer-list a,
.contact-list a {
  color: rgba(255, 255, 255, .74);
  font-size: .82rem;
  text-decoration: none;
}

.footer-list a:hover,
.contact-list a:hover {
  color: #ffd258;
}

.contact-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .82rem;
}

.contact-list i {
  flex: 0 0 auto;
  margin-top: .12rem;
  color: var(--school-gold);
}

.social-links {
  display: flex;
  gap: .65rem;
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--school-gold);
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}

.social-links img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.social-links a:hover,
.social-links a:focus {
  background: #c98b00;
  transform: translateY(-3px);
}

.footer-bottom {
  display: block;
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .55);
  font-size: .75rem;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 1030;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .2);
  transition: transform .2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: scale(1.07);
}

.whatsapp-float img {
  width: 58px;
  height: 58px;
}

@media (min-width: 992px) {
  .manantial-menu > .menu-item-has-children {
    padding-right: .25rem;
  }

  .manantial-menu .menu-item-has-children:hover > .sub-menu,
  .manantial-menu .menu-item-has-children:focus-within > .sub-menu,
  .manantial-menu .menu-item-has-children.is-open > .sub-menu {
    display: block;
  }

  .manantial-menu > .menu-item-has-children::after {
    position: absolute;
    right: 0;
    bottom: -1rem;
    left: 0;
    height: 1rem;
    content: "";
  }

  .school-dropdown {
    position: absolute;
    top: calc(100% + .35rem);
    left: 0;
    margin: 0;
  }

  .dropdown-submenu {
    position: relative;
    display: flex;
    align-items: center;
  }

  .dropdown-submenu > .dropdown-item {
    padding-right: 2.4rem;
  }

  .dropdown-submenu > .submenu-toggle {
    position: absolute;
    top: 50%;
    right: .25rem;
    transform: translateY(-50%);
  }

  .dropdown-submenu > .submenu-toggle i {
    transform: rotate(-90deg);
  }

  .dropdown-submenu.is-open > .submenu-toggle i,
  .dropdown-submenu:hover > .submenu-toggle i,
  .dropdown-submenu:focus-within > .submenu-toggle i {
    transform: translateY(0) rotate(90deg);
  }

  .dropdown-submenu > .sub-menu {
    top: -.75rem;
    left: calc(100% + .35rem);
  }

  .dropdown-submenu > .sub-menu.open-left {
    right: calc(100% + .35rem);
    left: auto;
  }
}

@media (max-width: 1199.98px) {
  .manantial-menu .nav-link {
    padding-inline: .48rem !important;
    font-size: .78rem;
  }

  .btn-application {
    min-width: auto;
    padding-inline: 1rem;
  }

  .activities-grid,
  .posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 86px;
  }

  .admin-bar .site-header {
    top: 32px;
  }

  .site-header .navbar {
    min-height: 84px;
  }

  .navbar-brand,
  .custom-logo-link {
    margin-right: .75rem;
  }

  .navbar-collapse {
    max-height: calc(100vh - 84px);
    margin-top: .65rem;
    padding: 1rem 0 1.5rem;
    overflow-y: auto;
    overflow-x: clip;
    border-top: 1px solid var(--school-border);
  }

  .manantial-menu {
    align-items: stretch !important;
  }

  .manantial-menu .nav-item {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .manantial-menu .nav-link,
  .school-dropdown .dropdown-item {
    flex: 1 1 auto;
    min-width: 0;
    padding: .8rem .25rem !important;
    font-size: .9rem;
    white-space: normal;
  }

  .manantial-menu .nav-link.active::before,
  .manantial-menu .nav-link:hover::before,
  .manantial-menu .nav-link:focus::before {
    left: 0;
    bottom: .25rem;
    transform: none;
  }

  .submenu-toggle {
    margin-left: .25rem;
  }

  .school-dropdown {
    position: static;
    display: none;
    width: 100%;
    margin: 0 0 .8rem !important;
    padding: .35rem .85rem .65rem;
    box-shadow: none;
  }

  .menu-item-has-children.is-open > .school-dropdown {
    display: block;
  }

  .dropdown-submenu {
    display: flex;
    flex-wrap: wrap;
  }

  .dropdown-submenu > .submenu-toggle {
    margin-top: .45rem;
  }

  .btn-application {
    width: 100%;
  }

  .hero-slider-fullwidth .n2-ss-slide,
  .hero-slider-fullwidth .n2-ss-slider-1 {
    min-height: 500px;
  }

  .stat-card {
    border-right: 0;
    border-bottom: 1px solid var(--school-border);
  }

  .experience-card,
  .experience-card:nth-child(1),
  .experience-card:nth-child(n+4) {
    grid-column: span 6;
  }

  .document-strip {
    text-align: center;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: .95rem;
  }

  .navbar-brand img,
  .custom-logo {
    width: 205px;
    max-height: 56px;
  }

  .section {
    padding: 4.2rem 0;
  }

  .section-heading {
    margin-bottom: 2.4rem;
  }

  .stats-grid {
    margin-bottom: 2.7rem;
  }

  .activities-grid,
  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-grid {
    gap: .85rem;
  }

  .experience-card,
  .experience-card:nth-child(1),
  .experience-card:nth-child(n+4) {
    grid-column: span 12;
  }

  .experience-card img {
    min-height: 260px;
  }

  .document-links {
    grid-template-columns: 1fr;
  }

  .search-form {
    flex-direction: column;
  }

  .search-field,
  .search-submit {
    width: 100%;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-container {
    padding-inline: 1rem;
  }

  .site-header .navbar {
    min-height: 74px;
  }

  .navbar-brand img,
  .custom-logo {
    width: min(178px, 58vw);
  }

  .navbar-toggler {
    padding: .45rem .55rem;
  }

  .navbar-collapse {
    max-height: calc(100vh - 74px);
  }

  .hero-slider-fullwidth .n2-ss-slide,
  .hero-slider-fullwidth .n2-ss-slider-1 {
    min-height: 430px;
  }

  .activities-grid,
  .posts-grid {
    grid-template-columns: 1fr;
    max-width: 390px;
    margin-inline: auto;
  }

  .activity-image-link img,
  .post-card-image img {
    aspect-ratio: 1.35 / .8;
  }

  .promo-card {
    grid-template-columns: 1fr;
  }

  .promo-card-content {
    min-height: 0;
  }

  .promo-card-media {
    min-height: 150px;
    padding-top: 0;
  }

  .promo-card-photo-placeholder {
    width: min(150px, 52%);
  }

  .stat-card {
    min-height: 185px;
    padding-inline: .25rem;
  }

  .stat-card p {
    font-size: .72rem;
  }

  .contact-form-shell,
  .single-content {
    border-radius: 14px;
  }

  .whatsapp-float {
    right: .9rem;
    bottom: .9rem;
    width: 58px;
    height: 58px;
  }

  .whatsapp-float img {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 390px) {
  .btn-community,
  .btn-school-primary,
  .btn-school-secondary {
    width: 100%;
    justify-content: center;
  }

  .document-links a,
  .contact-panel-list li {
    padding-inline: .85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}
