﻿*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(var(--primary-color-rgb), 0.12), transparent 24%),
        linear-gradient(180deg, #fffdf9 0%, var(--sch-bg) 100%);
    color: var(--sch-text-color);
    font-family: var(--primary-font, "Poppins", sans-serif);
    font-size: 16px;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.school-shell {
    width: var(--sch-shell);
    margin: 0 auto;
}

.school-site {
    overflow: clip;
}

.school-main-content,
.school-homepage-content {
    min-height: 60vh;
}

.school-section {
    position: relative;
    padding: 42px 0;
}

.school-section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.school-section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.school-section-heading--split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
}

.school-section-heading h1,
.school-section-heading h2,
.school-page-header h1,
.school-richtext h1,
.school-richtext h2,
.school-richtext h3,
.school-richtext h4 {
    margin: 0;
    color: var(--sch-title-color);
    line-height: 1.1;
}

.school-section-heading h2,
.school-page-header h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.school-section-heading p,
.school-page-header p {
    margin: 12px 0 0;
    color: var(--sch-text-muted);
    font-size: 1.03rem;
}

.school-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.school-section__eyebrow::before {
    content: "";
    width: 36px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.school-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.school-button:hover {
    transform: translateY(-1px);
}

.school-button--primary {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
    color: #fff;
}

.school-button--secondary {
    background: #fff;
    border-color: rgba(19, 35, 60, 0.12);
    color: var(--sch-title-color);
}

.school-button--ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    backdrop-filter: blur(8px);
}

.school-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.school-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
}

.school-link-arrow::after {
    content: "->";
}

.school-page-header {
    padding: 34px 0 16px;
}

.school-breadcrumbs {
    margin-top: 16px;
}

.school-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    list-style: none;
}

.school-breadcrumbs li {
    position: relative;
    color: var(--sch-text-muted);
}

.school-breadcrumbs li:not(:last-child)::after {
    content: "/";
    position: absolute;
    right: -10px;
}

.school-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
}

.school-content-card,
.school-sidebar,
.school-post-list-item,
.school-gallery-card,
.school-empty-card {
    border: 1px solid rgba(13, 28, 51, 0.06);
    border-radius: var(--sch-radius-md);
    background: var(--sch-surface);
    box-shadow: 0 18px 36px rgba(17, 27, 47, 0.08);
}

.school-content-card {
    padding: 28px;
}

.school-content-card--transparent {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.school-sidebar {
    padding: 24px;
}

.school-sidebar .sidebar-item + .sidebar-item {
    margin-top: 24px;
}

.school-sidebar .sidebar-item-head {
    margin-bottom: 14px;
    color: var(--sch-title-color);
    font-size: 1rem;
    font-weight: 700;
}

.school-richtext {
    color: var(--sch-text-color);
}

.school-richtext > *:first-child {
    margin-top: 0;
}

.school-richtext > *:last-child {
    margin-bottom: 0;
}

.school-richtext blockquote {
    padding: 18px 22px;
    border-left: 4px solid var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.06);
}

.school-post-list {
    display: grid;
    gap: 20px;
}

.school-post-list-item {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
    overflow: hidden;
}

.school-post-list-item__body {
    padding: 22px 24px 24px 0;
}

.school-pagination {
    margin-top: 32px;
}

.school-pagination .pagination,
.school-pagination ul.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.school-pagination .pagination li,
.school-pagination ul.pagination li {
    list-style: none;
}

.school-pagination .pagination a,
.school-pagination .pagination span,
.school-pagination ul.pagination a,
.school-pagination ul.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--sch-title-color);
    box-shadow: 0 10px 24px rgba(17, 27, 47, 0.08);
}

.school-pagination .active span,
.school-pagination .current {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
    color: #fff !important;
}

.school-topbar__inner,
.school-topbar__meta,
.school-topbar__aside,
.school-social-links,
.school-topbar__nav .menu {
    display: flex;
    align-items: center;
}

.school-topbar__inner {
    justify-content: space-between;
    gap: 18px;
    min-height: 48px;
}

.school-topbar__meta,
.school-topbar__aside,
.school-social-links,
.school-topbar__nav .menu,
.school-main-nav .menu,
.school-site-footer__nav .menu,
.school-contact-list,
.school-chip-list,
.school-tag-list,
.school-tag-list div {
    gap: 18px;
    list-style: none;
}

.school-topbar__nav li {
    position: relative;
}

.school-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.school-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.school-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(17, 27, 47, 0.08);
}

.school-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.school-brand__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.school-brand__copy strong {
    color: var(--sch-title-color);
    font-size: clamp(1rem, 2.5vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.school-brand__copy small {
    color: var(--sch-text-muted);
    font-size: 0.9rem;
}

.school-header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(19, 35, 60, 0.1);
    border-radius: 50%;
    background: #fff;
    color: var(--sch-title-color);
}

.school-header-action--menu {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.school-header-action--menu span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

/* Edupress alignment overrides */

.school-topbar {
    background: #222e3a;
    color: rgba(255, 255, 255, 0.88);
}

.school-topbar__meta a,
.school-topbar__meta span,
.school-topbar__aside a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.school-topbar__nav li + li::before {
    background: rgba(255, 255, 255, 0.45);
}

.school-topbar__aside {
    position: relative;
    z-index: 1;
    padding: 9px 30px;
}

.school-topbar__aside::before,
.school-topbar__aside::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
    background: var(--sch-main-color);
    z-index: -1;
}

.school-topbar__aside::before {
    top: 0;
    transform: skew(30deg, 0deg);
}

.school-topbar__aside::after {
    bottom: 0;
    transform: skew(-30deg, 0deg);
}

.school-site-header {
    background: rgba(255, 252, 247, 0.97);
    border-bottom: 0;
    box-shadow: 0 10px 28px rgba(19, 35, 60, 0.08);
}

.school-site-header__branding {
    position: relative;
    background: #ffffff;
}

.school-site-header__branding::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: rgba(19, 35, 60, 0.08);
}

.school-site-header__branding-inner,
.school-main-nav-wrap__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.school-site-header__branding-inner {
    min-height: 104px;
}

.school-site-header__utility {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.school-header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(430px, 42vw);
    min-height: 50px;
    padding: 2px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(19, 35, 60, 0.12);
}

.school-header-search__input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 126px 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--sch-title-color);
}

.school-header-search__input:focus {
    outline: none;
}

.school-header-search__button {
    position: absolute;
    top: 2px;
    right: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 104px;
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.school-header-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
    color: #fff;
    box-shadow: 0 18px 34px rgba(var(--primary-color-rgb), 0.24);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.school-main-nav-wrap {
    background: #222e3a;
    border-bottom: 2px solid var(--primary-color);
}

.school-main-nav-wrap__inner {
    min-height: 70px;
}

.school-main-nav-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 70px;
    padding: 0 30px;
    border-radius: 0;
    background: var(--sch-main-color);
    color: #fff;
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 300;
    white-space: nowrap;
}

.school-main-nav .menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 70px;
    gap: 0;
}

.school-main-nav .menu > li {
    position: relative;
}

.school-main-nav .menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 70px;
    padding: 0 30px;
    color: #fff;
    font-size: 15px;
    font-weight: 300;
}

.school-main-nav .menu > li.current > a,
.school-main-nav .menu > li > a:hover {
    color: #fff;
    background: var(--sch-main-color);
}

.school-main-nav .menu li ul {
    position: absolute;
    left: 0;
    z-index: 99999;
    width: 240px;
    padding: 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 0;
    box-shadow: 0 8px 20px rgb(0 0 0 / 20%);
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0) translateZ(100px);
    transform-origin: top center;
    top: 100%;
    border-radius: 0;
    transition: opacity 0.2s, visibility 0.2s, transform 0.4s;
}

.school-main-nav .menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1) translateZ(0);
}

.school-main-nav .menu li ul a {
    display: block;
    padding: 10px 20px;
    color: #222e3a;
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
    border-bottom: 1px solid rgba(238, 238, 238, 0.08);
    transition: 0.17s;
}

.school-main-nav .menu li ul a:hover {
    color: #fff;
    background: var(--sch-main-color);
}

.school-hero-section {
    padding-top: 0;
}

.school-hero-slider.owl-carousel,
.school-people-carousel.owl-carousel,
.school-facility-carousel.owl-carousel {
    display: block;
}

.school-hero-slider--fallback {
    position: relative;
    overflow: hidden;
}

.school-hero-slider--fallback .school-hero-slide {
    display: none;
}

.school-hero-slider--fallback .school-hero-slide.is-active {
    display: block;
}

.school-hero-slide {
    min-height: clamp(470px, 74vh, 900px);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        var(--sch-hero-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.school-hero-slide__inner {
    display: flex;
    align-items: center;
    min-height: inherit;
    padding: 92px 0 120px;
}

.school-hero-slide__content {
    position: relative;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.school-hero-slide .school-section__eyebrow {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.school-hero-slide .school-section__eyebrow::before {
    background: var(--primary-color);
}

.school-hero-slide__title {
    max-width: 11ch;
    color: #fff;
    font-size: clamp(2.7rem, 7vw, 4.8rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}

.school-hero-slide__description {
    max-width: 54ch;
    color: #fff;
    margin: 0;
}

.school-hero-slide .school-actions {
    gap: 10px;
    margin-top: 0;
}

.school-hero-slide .school-button {
    min-height: 50px;
    padding: 0 32px;
    border-radius: 4px;
    font-size: 16px;
}

.school-hero-slide .school-button--primary {
    background: var(--sch-main-color);
}

.school-hero-slide .school-button--ghost {
    background: #222e3a;
    border-color: transparent;
    color: #fff;
    backdrop-filter: none;
}

.school-hero-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.school-hero-slider .owl-dot span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transition: background 0.3s;
}

.school-hero-slider .owl-dot.active span,
.school-hero-slider .owl-dot:hover span {
    background: var(--sch-main-color);
}

.school-hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.school-hero-slider .owl-prev,
.school-hero-slider .owl-next {
    position: absolute;
    pointer-events: auto;
    width: 46px;
    height: 46px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    border: 0;
    font-size: 20px;
    cursor: pointer;
    transition: 0.5s;
    overflow: hidden;
}

.school-hero-slider .owl-prev {
    left: 0;
    transform: translate(30%, 0);
}

.school-hero-slider .owl-next {
    right: 0;
    transform: translate(-30%, 0);
}

.school-hero-slider .owl-prev:hover,
.school-hero-slider .owl-next:hover {
    background: var(--sch-main-color) !important;
}

@keyframes school-flipInX {
    from { opacity: 0; transform: perspective(400px) rotateX(90deg); }
    40%  { transform: perspective(400px) rotateX(-20deg); }
    60%  { transform: perspective(400px) rotateX(10deg); opacity: 1; }
    80%  { transform: perspective(400px) rotateX(-5deg); }
    to   { opacity: 1; transform: perspective(400px) rotateX(0deg); }
}

@keyframes school-fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.owl-item.active .school-section__eyebrow {
    animation: school-fadeInUp 0.8s 0.4s both;
}

.owl-item.active .school-hero-slide__title {
    animation: school-flipInX 1s 0.8s both;
}

.owl-item.active .school-hero-slide__description {
    animation: school-fadeInUp 1s 1.3s both;
}

.owl-item.active .school-hero-slide .school-actions {
    animation: school-fadeInUp 1s 1.6s both;
}

.school-overview-section,
.school-quick-links-section {
    z-index: 4;
}

.school-overview-section {
    margin-top: -90px;
    padding-top: 0;
    padding-bottom: 0;
}

.school-overview-section--homepage {
    z-index: 5;
}

.school-overview-section--homepage .school-shell {
    position: relative;
    max-width: 1170px;
    padding: 40px;
    border-radius: 10px 10px 0 0;
    background: #222e3a;
    box-shadow: 0 0 40px rgba(29, 58, 83, 0.15);
}

.school-leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 860px;
    margin: 0 auto;
}

.school-leader-card {
    position: relative;
    min-height: 228px;
    padding: 0;
    border: 0;
    border-radius: 28px;
    background: #1c2940;
    box-shadow: 0 20px 40px rgba(17, 27, 47, 0.22);
    overflow: hidden;
}

.school-leader-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 16, 28, 0.12) 0%, rgba(10, 16, 28, 0.72) 100%);
    z-index: 1;
}

.school-leader-card__media {
    width: 100%;
    height: 228px;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(var(--primary-color-rgb), 0.24) 0%, rgba(8, 18, 34, 0.2) 100%),
        rgba(var(--primary-color-rgb), 0.08);
}

.school-leader-card__body {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    display: grid;
    gap: 6px;
}

.school-leader-card__type {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.school-leader-card__name,
.school-leader-card__role {
    margin: 0;
    color: #fff;
}

.school-leader-card__name {
    font-size: 1.12rem;
    line-height: 1.3;
}

.school-leader-card__role {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.school-leader-card__media img,
.school-post-card__media img,
.school-post-list-item__media img,
.school-gallery-card__media img,
.school-facility-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-person-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.school-quick-links-section {
    padding-top: 0;
}

.school-quick-links-section--homepage {
    padding-bottom: 0;
    z-index: 6;
}

.school-quick-links-section--homepage .school-shell {
    max-width: 1170px;
}

.school-quick-links-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 860px;
    margin: -22px auto 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.school-quick-links-section--homepage {
    z-index: 6;
}

.school-quick-link-card {
    position: relative;
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 12px;
    min-height: 136px;
    padding: 18px 18px 16px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(var(--primary-color-rgb), 0.96) 0%, rgba(var(--primary-color-rgb), 0.78) 100%);
    color: #fff;
    box-shadow: 0 18px 28px rgba(17, 27, 47, 0.18);
    overflow: hidden;
}

.school-quick-link-card:nth-child(2) {
    background: linear-gradient(180deg, #158f7f 0%, #1f7f6a 100%);
}

.school-quick-link-card:nth-child(3) {
    background: linear-gradient(180deg, #3052b0 0%, #243f8a 100%);
}

.school-quick-link-card:nth-child(4) {
    background: linear-gradient(180deg, #b14d37 0%, #94402d 100%);
}

.school-quick-link-card::after {
    content: "";
    position: absolute;
    inset: auto -24px -24px auto;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.school-quick-link-card__icon,
.school-quick-link-card__label,
.school-quick-link-card__arrow {
    position: relative;
    z-index: 1;
}

.school-quick-link-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.school-quick-link-card__label {
    max-width: 13ch;
    margin-top: auto;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.32;
    color: #fff;
}

.school-quick-link-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.82rem;
}

.school-overview-section--homepage .school-leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    gap: 40px;
}

.school-overview-section--homepage .school-leader-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    min-height: 168px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.school-overview-section--homepage .school-leader-card::before {
    display: none;
}

.school-overview-section--homepage .school-leader-card__media {
    flex-shrink: 0;
    order: 2;
    width: 140px;
    height: 140px;
    border-radius: 1000px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 4px rgba(var(--primary-color-rgb), 0.18),
        0 18px 28px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.school-overview-section--homepage .school-leader-card__body {
    position: static;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    min-width: 0;
}

.school-overview-section--homepage .school-leader-card__type {
    display: none;
}

.school-overview-section--homepage .school-leader-card__role {
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.35;
}

.school-overview-section--homepage .school-leader-card__name {
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.school-overview-section--homepage .school-leader-card:first-child {
    padding-right: 0;
}

.school-overview-section--homepage .school-leader-card:last-child {
    padding-left: 0;
    border-left: 0;
}

.school-quick-links-section--homepage .school-quick-links-panel {
    max-width: 1170px;
    margin: 0 auto;
    gap: 0;
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: 0 0 40px rgba(29, 58, 83, 0.15);
    overflow: hidden;
}

.school-quick-links-section--homepage .school-quick-link-card {
    min-height: 186px;
    padding: 50px 30px;
    justify-items: center;
    gap: 23px 0;
    border-right: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    color: var(--sch-title-color);
    box-shadow: none;
}

.school-quick-links-section--homepage .school-quick-link-card:last-child {
    border-right: 0;
}

.school-quick-links-section--homepage .school-quick-link-card::after {
    display: none;
}

.school-quick-links-section--homepage .school-quick-link-card__icon {
    width: auto;
    height: auto;
    background: transparent;
    color: var(--primary-color);
    box-shadow: none;
    font-size: 50px;
    line-height: 1;
}

.school-quick-links-section--homepage .school-quick-link-card__label {
    max-width: none;
    margin-top: 0;
    color: var(--sch-title-color);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

.school-quick-links-section--homepage .school-quick-link-card__arrow {
    display: none;
}

.school-welcome-section {
    padding-top: 28px;
}

.school-welcome-grid {
    display: grid;
    grid-template-columns: minmax(250px, 0.34fr) minmax(0, 0.66fr);
    gap: 28px;
    align-items: start;
}

.school-welcome-media {
    display: flex;
    position: relative;
    align-items: end;
    padding-bottom: 14px;
}

.school-welcome-media::before {
    content: "";
    position: absolute;
    inset: auto 18px -4px 18px;
    height: 82%;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(var(--primary-color-rgb), 0.16) 0%, rgba(var(--primary-color-rgb), 0.06) 100%);
}

.school-welcome-media__frame {
    position: relative;
    max-width: 100%;
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(17, 27, 47, 0.12);
}

.school-welcome-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-welcome-media__caption {
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    z-index: 2;
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 28px rgba(17, 27, 47, 0.1);
}

.school-welcome-media__caption strong,
.school-welcome-copy__signature strong {
    color: var(--sch-title-color);
    font-size: 1rem;
}

.school-welcome-media__caption span,
.school-welcome-copy__signature span {
    color: var(--sch-text-muted);
    font-size: 0.9rem;
}

.school-welcome-copy__panel,
.school-stat-strip,
.school-highlight-card {
    position: relative;
    overflow: hidden;
}

.school-welcome-copy__panel {
    padding: 30px 34px 32px;
    border-radius: 24px;
    border: 1px solid rgba(19, 35, 60, 0.06);
    background: #fff;
    box-shadow: 0 18px 36px rgba(19, 35, 60, 0.08);
}

.school-welcome-copy {
    align-self: stretch;
}

.school-welcome-copy .school-section__eyebrow {
    margin-bottom: 10px;
}

.school-welcome-copy h2 {
    margin-bottom: 10px;
    font-size: clamp(1.9rem, 4vw, 2.85rem);
}

.school-welcome-copy__intro {
    margin: 0;
    max-width: 60ch;
    color: var(--sch-text-color);
}

.school-welcome-copy__excerpt {
    margin: 16px 0 0;
    padding-left: 16px;
    border-left: 3px solid rgba(var(--primary-color-rgb), 0.34);
    color: var(--sch-title-color);
    font-weight: 600;
    line-height: 1.7;
}

.school-welcome-copy__body {
    margin-top: 18px;
    color: var(--sch-text-color);
    font-size: 0.97rem;
}

.school-welcome-copy__body > *:first-child {
    margin-top: 0;
}

.school-welcome-copy__body > *:last-child {
    margin-bottom: 0;
}

.school-welcome-copy__body h3 {
    margin: 16px 0 8px;
    color: var(--sch-title-color);
    font-size: 1.02rem;
}

.school-welcome-copy__body p {
    margin: 0 0 12px;
}

.school-welcome-copy__signature {
    display: grid;
    gap: 4px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(19, 35, 60, 0.08);
}

.school-stats-section {
    padding-top: 6px;
}

.school-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid rgba(19, 35, 60, 0.06);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(19, 35, 60, 0.08);
}

.school-stat-card {
    display: grid;
    justify-items: start;
    gap: 10px;
    padding: 24px 24px 22px;
    border-right: 1px solid rgba(19, 35, 60, 0.08);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.school-stat-card:last-child {
    border-right: 0;
}

.school-stat-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    font-size: 0.84rem;
}

.school-stat-card strong {
    font-size: 1.45rem;
    line-height: 1;
}

.school-stat-card span:last-child {
    color: var(--sch-title-color);
    font-weight: 700;
}

.school-stat-card small {
    max-width: 22ch;
    color: var(--sch-text-muted);
    font-size: 0.84rem;
}

.school-people-section {
    padding-top: 30px;
}

.school-people-section .school-section-heading,
.school-facilities-section .school-section-heading,
.school-highlights-section .school-section-heading,
.school-contact-section .school-section-heading,
.school-latest-posts-section .school-section-heading {
    margin-bottom: 24px;
}

.school-people-carousel .owl-stage-outer {
    padding: 20px 0 8px;
    overflow: visible;
}

.school-people-carousel .owl-stage,
.school-people-carousel .owl-item {
    display: flex;
}

.school-people-carousel .owl-item {
    align-items: stretch;
}

.school-people-carousel .owl-dots {
    display: flex;
    justify-content: center;
    gap: 0 10px;
    margin: 10px 0;
}

.school-people-carousel .owl-dot span {
    display: block;
    width: 25px;
    height: 10px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.09);
    transition: background 0.5s;
}

.school-people-carousel .owl-dot.active span,
.school-people-carousel .owl-dot:hover span {
    background: var(--primary-color);
}

.school-carousel--fallback {
    display: grid;
    gap: 24px;
}

.school-people-carousel.school-carousel--fallback {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.school-facility-carousel.school-carousel--fallback {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.school-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.school-person-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.school-person-card__media {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 8px rgba(220, 220, 220, 0.55);
}

.school-person-card__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-hover));
    border-radius: 50%;
}

.school-person-card__body {
    width: 100%;
    margin-top: -46px;
    padding: 62px 20px 24px;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(29, 58, 83, 0.15);
    background: #fff;
    text-align: center;
    color: #81868a;
    position: relative;
}

.school-person-card__body h3 {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--sch-title-color);
}

.school-person-card__position {
    color: #81868a;
    font-weight: 400;
}

.school-person-card__detail,
.school-person-card__excerpt {
    margin-top: 2px;
    color: #81868a;
}

.school-person-card--carousel {
    width: 100%;
    height: 100%;
}

.school-person-card--carousel .school-person-card__body {
    flex: 1;
}

.school-person-card--carousel .school-person-card__excerpt {
    display: none;
}

.school-facility-grid,
.school-post-grid--news {
    gap: 18px;
}

.school-facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.school-facility-carousel .school-facility-card {
    height: 100%;
}

.school-facility-card {
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 30px rgba(29, 58, 83, 0.15);
    overflow: hidden;
}

.school-facility-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.school-facility-card__body {
    padding: 18px 18px 20px;
}

.school-facility-card__heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.school-facility-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}

.school-facility-card__heading h3 {
    font-size: 1.05rem;
}

.school-facility-card p {
    margin-top: 10px;
}

.school-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.school-highlight-card {
    min-height: 100%;
    border: 0;
    border-radius: 10px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 0 30px rgba(29, 58, 83, 0.15);
}

.school-highlight-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 48px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(var(--primary-color-rgb), 0.12);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 800;
}

.school-highlight-card__body {
    display: grid;
    gap: 10px;
    padding-top: 54px;
}

.school-highlight-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}

.school-post-card__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(var(--primary-color-rgb), 0.12);
    color: var(--primary-color);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.school-post-card,
.school-gallery-card {
    overflow: hidden;
}

.school-post-card__media,
.school-gallery-card__media {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.school-post-card__body,
.school-gallery-card__body {
    display: grid;
    gap: 10px;
    padding: 18px 20px 22px;
}

.school-post-card__meta {
    display: flex;
    flex-wrap: wrap;
}

.school-post-grid--news {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.school-post-grid--news .school-post-card {
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 30px rgba(29, 58, 83, 0.15);
    overflow: hidden;
}

.school-post-grid--news .school-post-card__media {
    aspect-ratio: 3 / 2;
}

.school-post-grid--news .school-post-card__media::after {
    display: none;
}

.school-post-grid--news .school-post-card__body {
    padding: 18px 20px 22px;
    gap: 10px;
}

.school-post-grid--news .school-post-card__body h3 {
    font-size: 1.08rem;
    line-height: 1.45;
}

.school-post-grid--news .school-post-card__body p,
.school-post-grid--news .school-link-arrow {
    display: none;
}

.school-post-grid--news .school-post-card__meta {
    gap: 8px 14px;
    color: var(--sch-text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.school-contact-section {
    padding-top: 18px;
}

.school-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.school-contact-card,
.school-contact-map,
.school-contact-form-card {
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 40px rgba(29, 58, 83, 0.15);
}

.school-contact-card {
    padding: 28px;
}

.school-contact-card .school-section__eyebrow {
    margin-bottom: 10px;
}

.school-contact-list {
    display: grid;
    gap: 14px;
}

.school-contact-list li {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(13, 28, 51, 0.08);
}

.school-contact-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.school-contact-list li span {
    display: block;
    color: var(--sch-text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.school-contact-list li strong {
    display: block;
    margin-top: 4px;
    color: var(--sch-title-color);
}

.school-contact-map {
    min-height: 420px;
    padding: 16px;
}

.school-contact-map iframe {
    width: 100%;
    min-height: 100%;
    border: 0;
    border-radius: 6px;
}

.school-contact-form-card {
    grid-column: 1 / -1;
    padding: 28px;
}

.school-contact-card h3,
.school-contact-form-card h3 {
    margin: 0 0 18px;
    color: var(--sch-title-color);
}

.school-site-footer {
    position: relative;
    margin-top: 58px;
    color: rgba(255, 255, 255, 0.78);
    background:
        radial-gradient(circle at top right, rgba(var(--primary-color-rgb), 0.2), transparent 26%),
        linear-gradient(180deg, #1b2436 0%, #0f1727 100%);
}

.school-site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 22%, rgba(var(--primary-color-rgb), 0.12), transparent 20%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 40%);
}

.school-site-footer__main {
    position: relative;
    z-index: 1;
    padding: 54px 0 26px;
}

.school-site-footer__main-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(360px, 1.3fr) minmax(280px, 0.95fr);
    gap: 28px;
    align-items: start;
}

.school-site-footer__brand,
.school-site-footer__contact-card {
    min-height: 100%;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.school-site-footer__brand {
    display: grid;
    gap: 18px;
}

.school-site-footer__brand-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.school-site-footer__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    padding: 12px;
    border-radius: 20px;
    background: #fff;
}

.school-site-footer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.school-site-footer__brand strong,
.school-site-footer__contact-card h4 {
    display: block;
    color: #fff;
}

.school-site-footer__contact-card {
    display: grid;
    gap: 14px;
}

.school-site-footer__brand-head p,
.school-site-footer__summary,
.school-site-footer__contact-card p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.school-site-footer__summary {
    margin-top: 0;
}

.school-site-footer__meta-list,
.school-site-footer__contact-links {
    display: grid;
    gap: 12px;
}

.school-site-footer__meta-list a,
.school-site-footer__meta-list div,
.school-site-footer__contact-links a,
.school-site-footer__map-link {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.school-site-footer__meta-list a:hover,
.school-site-footer__contact-links a:hover,
.school-site-footer__map-link:hover {
    color: #fff;
}

.school-site-footer__meta-list i,
.school-site-footer__contact-links i,
.school-site-footer__map-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.school-site-footer__social-block {
    display: grid;
    gap: 12px;
}

.school-site-footer__social-block > span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.school-social-links--footer {
    margin-top: 0;
}

.school-social-links--footer a,
.school-site-footer__bottom-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.school-social-links--footer a:hover,
.school-site-footer__bottom-social a:hover {
    background: rgba(var(--primary-color-rgb), 0.26);
    color: #fff;
}

.school-site-footer__widgets {
    padding-top: 2px;
    min-width: 0;
}

.school-footer-widget-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
    align-items: start;
}

.school-footer-panel {
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 100%;
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.school-footer-panel__head {
    position: relative;
    margin: 0;
    padding-bottom: 14px;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.school-footer-panel__head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 3px;
    border-radius: 999px;
    background: rgba(var(--primary-color-rgb), 0.42);
}

.school-footer-panel__body,
.school-footer-panel__body p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
    min-width: 0;
    word-break: normal;
    overflow-wrap: break-word;
}

.school-footer-panel__body ul,
.school-footer-panel__body .menu {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.school-footer-panel__body li {
    margin: 0;
}

.school-footer-panel__body a,
.school-site-footer__nav a {
    color: rgba(255, 255, 255, 0.78);
}

.school-footer-panel__body a:hover,
.school-site-footer__nav a:hover {
    color: #fff;
}

.school-site-footer__bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.school-site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.school-site-footer__identity strong {
    color: #fff;
}

.school-site-footer__bottom-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.school-site-footer__nav .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.school-site-footer__identity {
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1199px) {
    .school-quick-links-panel,
    .school-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .school-overview-section--homepage .school-shell,
    .school-quick-links-section--homepage .school-shell {
        max-width: 1040px;
    }

    .school-overview-section--homepage .school-leader-card__media {
        width: 116px;
        height: 116px;
    }


    .school-overview-section--homepage .school-leader-card__name {
        font-size: 1.42rem;
    }

    .school-site-footer__main-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .school-site-footer__contact-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    .school-topbar {
        display: none;
    }

    .school-header-action--menu {
        display: inline-flex;
    }

    .school-site-header__branding-inner {
        min-height: 88px;
    }

    .school-header-search {
        width: min(360px, 100%);
    }

    .school-main-nav-wrap {
        position: fixed;
        inset: 88px 0 auto;
        z-index: 35;
        display: none;
        padding: 12px 0 20px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 16px 30px rgba(17, 27, 47, 0.12);
        border-bottom: 0;
    }

    .show-admin-bar .school-main-nav-wrap {
        top: 118px;
    }

    .school-nav-open .school-main-nav-wrap {
        display: block;
    }

    .school-main-nav-wrap__inner {
        display: block;
        min-height: 56px;
    }

    .school-main-nav-home {
        display: none;
    }

    .school-main-nav .menu,
    .school-main-nav .menu li ul {
        display: grid;
    }

    .school-main-nav .menu > li > a {
        min-height: 0;
        color: var(--sch-title-color);
        padding: 12px 0;
    }

    .school-main-nav .menu > li.current > a,
    .school-main-nav .menu > li > a:hover {
        color: var(--primary-color);
        background: transparent;
    }

    .school-main-nav .menu li ul {
        position: static;
        min-width: 0;
        padding: 6px 0 0 14px;
        margin-top: 6px;
        border: none;
        border-left: 2px solid rgba(19, 35, 60, 0.08);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
    }

    .school-main-nav .menu li ul a {
        padding: 8px 0;
        color: var(--sch-text-color);
    }

    .school-hero-slide__inner {
        padding: 72px 0 110px;
    }

    .school-overview-section {
        margin-top: -34px;
    }

    .school-quick-links-panel {
        margin-top: -16px;
    }

    .school-overview-section--homepage .school-shell {
        padding: 30px 28px 28px;
    }

    .school-overview-section--homepage .school-leadership-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .school-overview-section--homepage .school-leader-card,
    .school-overview-section--homepage .school-leader-card:first-child,
    .school-overview-section--homepage .school-leader-card:last-child {
        min-height: 144px;
        padding: 0;
        border-left: 0;
    }

    .school-overview-section--homepage .school-leader-card__media {
        width: 108px;
        height: 108px;
    }

    .school-overview-section--homepage .school-leader-card__body {
        gap: 8px;
    }

    .school-overview-section--homepage .school-leader-card__name {
        font-size: 1.3rem;
    }

    .school-overview-section--homepage .school-leader-card__role {
        font-size: 0.94rem;
    }

    .school-quick-links-section--homepage .school-quick-links-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .school-quick-links-section--homepage .school-quick-link-card:nth-child(2) {
        border-right: 0;
    }

    .school-quick-links-section--homepage .school-quick-link-card:nth-child(-n+2) {
        border-bottom: 1px solid #ddd;
    }

    .school-welcome-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .school-welcome-media {
        max-width: 280px;
        margin: 0 auto;
    }

    .school-stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .school-post-grid--news,
    .school-facility-grid,
    .school-people-carousel.school-carousel--fallback,
    .school-facility-carousel.school-carousel--fallback,
    .school-site-footer__main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .school-contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .school-contact-map {
        min-height: 320px;
    }

    .school-site-footer__main {
        padding-top: 46px;
    }

    .school-site-footer__bottom-inner {
        min-height: auto;
        padding: 18px 0;
    }

    .school-site-footer__nav .menu {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .school-site-header__utility {
        gap: 8px;
    }

    .school-header-search {
        display: none;
    }

    .school-header-pill {
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.74rem;
    }

    .school-hero-slide {
        min-height: clamp(420px, 68vh, 560px);
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
            var(--sch-hero-mobile-image, var(--sch-hero-image));
    }

    .school-hero-slide__inner {
        padding: 66px 0 108px;
    }

    .school-hero-slide__content {
        max-width: 100%;
        padding: 18px 0 0;
    }

    .school-hero-slide__title {
        max-width: none;
        font-size: clamp(1.9rem, 11vw, 3.1rem);
    }

    .school-overview-section {
        margin-top: -18px;
    }

    .school-leadership-grid,
    .school-quick-links-panel,
    .school-highlight-grid,
    .school-post-grid--news,
    .school-footer-widget-grid,
    .school-people-carousel.school-carousel--fallback,
    .school-facility-carousel.school-carousel--fallback {
        grid-template-columns: minmax(0, 1fr);
    }

    .school-quick-links-panel {
        margin-top: -10px;
    }

    .school-overview-section--homepage .school-shell {
        padding: 24px 20px 22px;
        border-radius: 10px 10px 0 0;
    }

    .school-overview-section--homepage .school-leadership-grid {
        gap: 18px;
    }

    .school-overview-section--homepage .school-leader-card,
    .school-overview-section--homepage .school-leader-card:first-child,
    .school-overview-section--homepage .school-leader-card:last-child {
        min-height: 112px;
    }

    .school-overview-section--homepage .school-leader-card__media {
        width: 88px;
        height: 88px;
    }

    .school-overview-section--homepage .school-leader-card__body {
        gap: 5px;
    }

    .school-overview-section--homepage .school-leader-card__name {
        font-size: 1.08rem;
    }

    .school-overview-section--homepage .school-leader-card__role {
        font-size: 0.84rem;
    }

    .school-quick-links-section--homepage .school-quick-links-panel {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 0 0 10px 10px;
    }

    .school-quick-link-card {
        min-height: 124px;
        border-right: 0;
        border-bottom: 0;
    }

    .school-quick-links-section--homepage .school-quick-link-card,
    .school-quick-links-section--homepage .school-quick-link-card:nth-child(-n+2) {
        min-height: 126px;
        padding: 26px 20px 24px;
        border-right: 0;
        border-bottom: 1px solid #ddd;
    }

    .school-quick-links-section--homepage .school-quick-link-card:last-child {
        border-bottom: 0;
    }

    .school-quick-links-section--homepage .school-quick-link-card__icon {
        font-size: 2.3rem;
    }

    .school-stat-card {
        border-right: 0;
        border-bottom: 1px solid rgba(13, 28, 51, 0.08);
    }

    .school-stat-card:last-child {
        border-bottom: 0;
    }

    .school-welcome-media {
        max-width: 224px;
    }

    .school-welcome-media__caption {
        right: 12px;
        left: 12px;
        padding: 12px 14px;
    }

    .school-welcome-copy__panel,
    .school-contact-card,
    .school-contact-form-card {
        padding: 24px 20px;
    }

    .school-stat-strip {
        grid-template-columns: minmax(0, 1fr);
    }

    .school-site-footer {
        margin-top: 40px;
    }

    .school-site-footer__main {
        padding-top: 68px;
    }
}
