/* Rosary School — Bootstrap 5 companion styles */

:root {
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
    --school-navy: #00264d;
    --school-blue: #004080;
    --school-gold: #ffcc00;
    --school-gold-deep: #e6a800;
    --header-glass: rgba(0, 38, 77, 0.72);
    /* Match home slider offset (#main_slider .skitter height) so inner pages clear fixed header */
    --site-header-offset: 6.5rem;
}

@media (max-width: 991.98px) {
    :root {
        --site-header-offset: 5.75rem;
    }
}

@media (max-width: 575.98px) {
    :root {
        --site-header-offset: 5rem;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
}

body {
    font-family: var(--font-body);
    color: #1a1a2e;
    line-height: 1.6;
}

h1,
h2,
h3,
.display-font {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ----- Fixed hero carousel (full viewport) ----- */
.hero-carousel-fixed {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.hero-carousel-fixed .carousel,
.hero-carousel-fixed .carousel-inner,
.hero-carousel-fixed .carousel-item {
    height: 100%;
}

.hero-carousel-fixed .carousel-zoom-clip {
    height: 100%;
    overflow: hidden;
}

.hero-carousel-fixed .carousel-zoom-clip > .carousel-bg {
    transform-origin: center center;
    will-change: transform;
    animation: slider-kenburns 16s ease-in-out infinite alternate;
}

@keyframes slider-kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel-fixed .carousel-zoom-clip > .carousel-bg {
        animation: none;
    }
}

.carousel-bg {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Patron portrait — keeps face in frame on wide hero slides */
.hero-carousel-fixed .carousel-bg--patron {
    background-position: center 18%;
}

@media (max-width: 768px) {
    .hero-carousel-fixed .carousel-bg--patron {
        background-position: center 12%;
    }
}

.carousel-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 38, 77, 0.45) 0%,
        rgba(0, 20, 40, 0.55) 45%,
        rgba(0, 15, 30, 0.75) 100%
    );
}

.hero-carousel-fixed .carousel-control-prev,
.hero-carousel-fixed .carousel-control-next {
    z-index: 2;
    width: 12%;
    opacity: 0.85;
}

.hero-carousel-fixed .carousel-indicators {
    z-index: 2;
    margin-bottom: 1.25rem;
}

.hero-carousel-fixed .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: transparent;
}

.hero-carousel-fixed .carousel-indicators .active {
    background: var(--school-gold);
    border-color: var(--school-gold);
}
.site-header img{
    width: 53px;
    height: auto;
}
/* ----- Fixed site header (topbar + nav) ----- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
    transition: box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 28px rgba(0, 38, 77, 0.12);
}

.site-header.is-scrolled .navbar-over-hero {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.site-header.is-scrolled .navbar-over-hero .nav-link {
    color: var(--school-navy) !important;
    text-shadow: none;
}

.site-header.is-scrolled .navbar-over-hero .nav-link:hover,
.site-header.is-scrolled .navbar-over-hero .nav-link:focus {
    color: var(--school-blue) !important;
}

.site-header.is-scrolled .navbar-over-hero .navbar-brand strong,
.site-header.is-scrolled .navbar-over-hero .navbar-brand small {
    color: var(--school-navy) !important;
    text-shadow: none;
}

.site-header.is-scrolled .navbar-over-hero .navbar-toggler {
    border-color: rgba(0, 38, 77, 0.35);
}

.site-header.is-scrolled .navbar-over-hero .navbar-toggler-icon {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 38, 77, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
  
/* Topbar — light glass over hero; solid on scroll via .is-scrolled */
.topbar {
    background: rgb(1 28 55 / 87%);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8125rem;
    padding: 5px 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.site-header.is-scrolled .topbar {
    background: rgba(255, 255, 255, 0.98);
    color: var(--school-navy);
    border-bottom: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 1px 0 rgba(0, 38, 77, 0.04);
}

.site-header.is-scrolled .topbar a {
    color: var(--school-navy);
}

.site-header.is-scrolled .topbar a:hover {
    color: var(--school-blue);
}

.topbar a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    margin: 0 6px;
}

.topbar a:hover {
    color: var(--school-gold);
}

.topbar i {
    cursor: pointer;
    transition: color 0.2s;
}

.topbar i:hover {
    color: var(--school-gold);
}

.topbar-contact span {
    display: inline-block;
}

/* Navbar over hero — halka dark glass + slider par top gradient = white menu saf dikhe */
.navbar-over-hero {
    background: rgb(0 14 32 / 73%) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.navbar-over-hero .navbar-brand strong {
    color: #fff;
    font-size: 24px;
    letter-spacing: 0.02em;
    font-family: 'Fraunces';
    font-weight: 600;
    line-height: 31px;
}

.navbar-over-hero .navbar-brand small {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.navbar-over-hero .nav-link {
    color: rgba(255, 255, 255, 0.98) !important;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.5rem 0.85rem !important;
    transition: color 0.25s, transform 0.2s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.navbar-over-hero .nav-link:hover {
    color: var(--school-gold) !important;
}

.navbar-over-hero .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-over-hero .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar-over-hero .dropdown-menu {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 12px 40px rgba(0, 38, 77, 0.15);
    padding: 0.35rem 0;
    margin-top: 0.5rem !important;
}

.navbar-over-hero .dropdown-item {
    font-weight: 600;
    padding: 0.45rem 1.25rem;
    color: var(--school-navy);
}

.navbar-over-hero .dropdown-item:hover {
    background: rgba(255, 204, 0, 0.2);
    color: var(--school-navy);
}

.site-header.is-scrolled .navbar-over-hero .dropdown-item {
    color: var(--school-navy);
}

/* Mobile: expanded menu readable */
@media (max-width: 991.98px) {
    .navbar-over-hero .navbar-collapse {
        margin-top: 0.75rem;
        padding: 1rem;
        border-radius: 0.75rem;
        background: var(--header-glass);
        backdrop-filter: blur(12px);
    }

    .site-header.is-scrolled .navbar-over-hero .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 32px rgba(0, 38, 77, 0.1);
    }

    .navbar-over-hero .nav-link {
        padding: 0.6rem 0 !important;
    }

    .navbar-over-hero .nav-item .btn {
        width: 100%;
        text-align: center;
        margin-top: 0.35rem;
    }
}

/* Navbar row: brand left, toggler + collapse menu right */
.navbar-over-hero .navbar-over-hero__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-over-hero .navbar-over-hero__menu {
    flex: 1 1 100%;
}

@media (min-width: 992px) {
    .navbar-over-hero .navbar-over-hero__menu {
        flex: 0 1 auto;
        display: flex !important;
        justify-content: flex-end;
    }

    .navbar-over-hero .navbar-over-hero__nav > .nav-item + .nav-item {
        margin-left: 0.15rem;
    }
}

/* Buttons */
.btn-student {
    background: linear-gradient(135deg, var(--school-gold), #ffb020);
    color: #1a1a1a;
    font-weight: 700;
    border-radius: 2rem;
    padding: 0.45rem 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-student:hover {
    background: linear-gradient(135deg, var(--school-gold-deep), #f59e0b);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 176, 32, 0.45);
}

.btn-staff {
    background: linear-gradient(135deg, var(--school-blue), #1a6bc4);
    color: #fff;
    font-weight: 700;
    border-radius: 2rem;
    padding: 0.45rem 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-staff:hover {
    background: linear-gradient(135deg, var(--school-navy), var(--school-blue));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 64, 128, 0.4);
}

.navbar .btn {
    margin-top: 0;
}

/* ----- Home: slider + centered welcome + patron top-left ----- */
#main_slider.home-hero-stack {
    position: relative;
    overflow: hidden;
}

#main_slider.home-hero-stack .home-hero-stack__skitter {
    position: relative;
    z-index: 0;
}

.home-hero-stack__overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(4.5rem, 12vh, 6.5rem) clamp(0.75rem, 4vw, 2.5rem) 2rem;
    pointer-events: none;
}

.home-hero-stack__welcome {
    width: 100%;
    margin: 0 auto;
    pointer-events: none;
}

.home-hero-stack__title {
    margin: 0;
}

.home-hero-stack__title-pre {
    display: block;
    font-size: clamp(0.95rem, 2.6vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.96;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.6);
}

.home-hero-stack__title-main {
    display: block;
    font-size: clamp(1.75rem, 5.2vw, 3.15rem);
    font-weight: 700;
    line-height: 1.12;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.55);
}

/* Hero headline split (e.g. franchise-style main line + school name) */
.home-hero-stack__title-brand {
    display: block;
    font-size: clamp(1.1rem, 3vw, 1.65rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-top: 0.5rem;
    opacity: 0.98;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

/* Patron — top-left on slider, above headline */
.home-hero-stack__patron {
    position: absolute;
    top: clamp(13.5rem, 28vh, 20.25rem) !important;
    left: clamp(0.35rem, 2.5vw, 1.75rem);
    right: auto;
    z-index: 6;
    width: clamp(96px, 15vw, 200px);
    margin: 0;
    border-radius: 0.9rem;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    border: 3px solid rgba(255, 255, 255, 0.92);
    pointer-events: none;
    transform: rotate(-1.5deg);
}

.home-hero-stack__patron img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.home-hero-stack__patron-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0.35rem 0.3rem 0.3rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 38, 77, 0.9));
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

@media (max-width: 575.98px) {
    .home-hero-stack__overlay {
        align-items: center;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .home-hero-stack__patron {
        top: clamp(4.25rem, 10vh, 5.5rem);
        left: 0.35rem;
        right: auto;
        width: clamp(88px, 24vw, 120px);
        border-width: 2px;
        transform: rotate(0deg);
    }

    .home-hero-stack__patron-label {
        font-size: 0.55rem;
    }

    .home-hero-stack__title-main {
        font-size: clamp(1.45rem, 7vw, 2.1rem);
    }
}

.hero-cta .btn {
    font-weight: 700;
    padding: 0.65rem 1.75rem;
    border-radius: 2rem;
}

/* Main content scrolls over carousel */
.main-surface {
    position: relative;
    z-index: 2;
    background: #fff;
    box-shadow: 0 -12px 40px rgba(0, 38, 77, 0.08);
}

.section-title {
    font-weight: 700;
    color: var(--school-navy);
}

.section-sub {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    color: #5c5c6f;
}

/* Facilities */
.facility-card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 38, 77, 0.06);
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 38, 77, 0.12);
}

.facility-card i {
    color: var(--school-blue);
}

/* ----- Notifications (home: default; overlap only when .notify-shell--in-about) ----- */
.notify-shell {
    position: relative;
    z-index: 2;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 0 0.35rem;
    pointer-events: none;
}

/* About section ke upar: slider ke sirf ~10px neeche se overlap */
.notify-shell--in-about {
    margin-bottom: 0.25rem;
    padding-top: 0;
    z-index: 8;
}

.notify-shell .container,
.notify-shell--notify-col .notify-panel {
    pointer-events: auto;
}

.notify-shell--notify-col {
    pointer-events: none;
    max-width: 100%;
}

/* Top row: notifications (left) + quick links (right) */
.about-notify-quick-outer {
    position: relative;
    z-index: 2;
    padding-top: 0.15rem;
}

.about-notify-quick-row {
    margin-left: 0;
    margin-right: 0;
        margin-top: -72px;
}

.about-notify-quick-row__links {
    display: flex;
    align-items: stretch;
}

.about-home-quick-strip {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}

.about-notify-quick-row .home-quick-links--inline {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.65rem;
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
}

.about-notify-quick-row .home-quick-links--inline .home-link-card--compact {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.75rem 0.65rem 0.75rem 0.75rem;
    gap: 0.5rem;
    border-radius: 1rem;
    box-shadow: 0 12px 36px rgba(0, 38, 77, 0.12);
    border: 1px solid rgba(0, 38, 77, 0.1);
}

.about-notify-quick-row .home-quick-links--inline .home-link-card--compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(0, 38, 77, 0.16);
    border-color: rgba(255, 204, 0, 0.45);
}

.about-notify-quick-row .home-link-card--compact .home-link-card__icon {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-notify-quick-row .home-link-card--compact .home-link-card__title {
    font-size: 0.9rem;
    line-height: 1.25;
    margin: 0 0 0.15rem;
}

.about-notify-quick-row .home-link-card--compact .home-link-card__hint {
    font-size: 0.68rem;
    line-height: 1.35;
    margin: 0;
    opacity: 0.92;
}

.about-notify-quick-row .home-link-card--compact .home-link-card__chev {
    margin-top: auto;
    align-self: flex-end;
    opacity: 0.85;
}

.about-notify-quick-row .home-link-card--compact .home-link-card__body {
    flex: 1 1 auto;
    min-width: 0;
}

/* lg+: stack 3 buttons vertically; equal flex rows → total height matches Latest notifications */
@media (min-width: 992px) {
    .about-notify-quick-row .home-quick-links--inline {
        flex-direction: column;
        flex-wrap: nowrap;
        flex: 1 1 auto;
        align-self: stretch;
        height: 100%;
        gap: 0.55rem;
    }

    .about-notify-quick-row .home-quick-links--inline .home-link-card--compact {
        flex: 1 1 0;
        min-height: 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 0.55rem 0.75rem 0.55rem 0.8rem;
        gap: 0.65rem 0.75rem;
    }

    .about-notify-quick-row .home-link-card--compact .home-link-card__chev {
        margin-top: 0;
        align-self: center;
        flex-shrink: 0;
    }
}

@media (max-width: 991.98px) {
    .about-notify-quick-row .home-quick-links--inline {
        flex-wrap: wrap;
    }

    .about-notify-quick-row .home-quick-links--inline .home-link-card--compact {
        flex: 1 1 calc(50% - 0.35rem);
        min-width: 140px;
    }
}

@media (max-width: 575.98px) {
    .about-notify-quick-row .home-quick-links--inline {
        flex-direction: column;
    }

    .about-notify-quick-row .home-quick-links--inline .home-link-card--compact {
        flex: 1 1 auto;
        width: 100%;
        min-height: 4.5rem;
        flex-direction: row;
        align-items: center;
    }

    .about-notify-quick-row .home-link-card--compact .home-link-card__chev {
        margin-top: 0;
        align-self: center;
    }
}

.notify-panel {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 38, 77, 0.18), 0 0 0 1px rgba(0, 38, 77, 0.06);
    overflow: hidden;
    border-left: 5px solid var(--school-gold);
    position: relative;
}

.notify-panel__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 5.25rem 0.85rem 1.25rem;
    background: linear-gradient(90deg, var(--school-navy) 0%, #0a3d6e 100%);
    color: #fff;
    position: relative;
    z-index: 1;
}

.notify-panel__pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: notify-pulse 2s ease-out infinite;
}

@keyframes notify-pulse {
    70%,
    100% {
        box-shadow: 0 0 0 12px transparent;
    }
}

.notify-panel__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.15rem;
    margin: 0;
    font-weight: 700;
}

#notifyOwl .owl-dots {
    display: none !important;
}

.notify-owl-wrap {
    position: relative;
    padding: 0;
}

/* Prev/next: header ke samne right — Latest notifications ke opposite */
#notifyOwl .owl-nav {
    position: absolute;
    top: -42px;
    right: 0.65rem;
    left: auto;
    width: auto;
    margin: 0 !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    z-index: 4;
    pointer-events: none;
}

#notifyOwl .owl-nav button.owl-prev,
#notifyOwl .owl-nav button.owl-next {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    pointer-events: auto;
    width: 2.1rem !important;
    height: 2.1rem !important;
    min-width: 2.1rem !important;
    border-radius: 50% !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid rgba(255, 204, 0, 0.55) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

#notifyOwl .owl-nav button.owl-prev:hover:not(.disabled),
#notifyOwl .owl-nav button.owl-next:hover:not(.disabled) {
    background: var(--school-gold) !important;
    color: var(--school-navy) !important;
    border-color: rgba(255, 255, 255, 0.85) !important;
    transform: scale(1.06) !important;
}

#notifyOwl .owl-nav button.owl-prev.disabled,
#notifyOwl .owl-nav button.owl-next.disabled {
    opacity: 0.35 !important;
    cursor: default !important;
}

#notifyOwl .owl-nav button.owl-prev span,
#notifyOwl .owl-nav button.owl-next span {
    display: inline-block !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    color: inherit !important;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .notify-panel__head {
        padding-right: 4.75rem;
    }

    #notifyOwl .owl-nav {
        right: 0.45rem;
        gap: 0.3rem;
    }

    #notifyOwl .owl-nav button.owl-prev,
    #notifyOwl .owl-nav button.owl-next {
        width: 1.85rem !important;
        height: 1.85rem !important;
        min-width: 1.85rem !important;
        font-size: 0.85rem !important;
    }
}

/* Notification carousel: height = content (autoHeight in JS) */
#notifyOwl .owl-stage-outer {
    height: auto !important;
    overflow: hidden;
}

#notifyOwl .owl-item {
    height: auto;
    display: flex;
    align-items: stretch;
}

#notifyOwl .owl-item > * {
    width: 100%;
    height: auto;
    min-height: 0;
    box-sizing: border-box;
}

.notify-slide {
    height: auto;
    min-height: 0;
    padding: 0.85rem 1.25rem 0.85rem 1.25rem;
    overflow: visible;
    border-bottom: 1px solid rgba(0, 38, 77, 0.06);
    display: flex;
    align-items: center;
}

.notify-slide__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    width: 100%;
    min-width: 0;
}

.notify-slide .notice_details {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.notify-slide--accent {
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.1), transparent);
}

.notify-item__meta {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--school-blue);
    margin-bottom: 0.35rem;
}

.notify-item__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--school-navy);
    line-height: 1.35;
}

.notify-item__excerpt {
    font-size: 0.875rem;
    color: #5c5c6f;
}

.notify-item__actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem 0.65rem;
    text-align: right;
}

.notify-btn-doc {
    border-radius: 2rem;
    font-weight: 600;
    border-color: var(--school-blue) !important;
    color: var(--school-navy) !important;
    white-space: nowrap;
}

.notify-btn-doc:hover {
    background: var(--school-navy) !important;
    color: #fff !important;
}

.notify-btn-more {
    font-weight: 700;
    color: var(--school-blue) !important;
    text-decoration: none !important;
    padding: 0.25rem 0 !important;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .notify-slide__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .notify-item__actions {
        justify-content: flex-start;
        text-align: left;
    }
}

.notify-item__full {
    font-size: 0.875rem;
    color: #5c5c6f;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(0, 38, 77, 0.12);
    margin-top: 0.5rem;
}

@media (max-width: 575.98px) {
    .notify-shell--in-about {
        margin-top: -10px;
    }

    .notify-panel__title {
        font-size: 1rem;
    }
}

/* ----- Home: quick link cards (downloads + fee + disclosure) — school theme ----- */
.about-home-quick-wrap {
    position: relative;
    z-index: 2;
}

.home-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
    padding: 0.35rem 0 1rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767.98px) {
    .home-quick-links {
        grid-template-columns: 1fr;
    }
}

.home-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.2rem 1.05rem 1.05rem;
    border-radius: 1rem;
    text-decoration: none !important;
    color: var(--school-navy);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 38, 77, 0.1);
    box-shadow: 0 10px 32px rgba(0, 38, 77, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
    overflow: hidden;
    min-height: 5.25rem;
}

.home-link-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
    background: var(--school-gold);
}

.home-link-card--downloads::before {
    background: linear-gradient(180deg, var(--school-blue) 0%, var(--school-navy) 100%);
}

.home-link-card--fee::before {
    background: linear-gradient(180deg, var(--school-gold) 0%, var(--school-gold-deep) 100%);
}

.home-link-card--disclosure::before {
    background: linear-gradient(180deg, #0ea5e9 0%, var(--school-navy) 100%);
}

.home-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0, 38, 77, 0.14);
    border-color: rgba(0, 38, 77, 0.14);
    color: var(--school-navy);
}

.home-link-card:focus-visible {
    outline: 3px solid rgba(255, 204, 0, 0.65);
    outline-offset: 2px;
}

.home-link-card__icon {
    flex-shrink: 0;
    width: 3.1rem;
    height: 3.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, var(--school-blue), var(--school-navy));
    box-shadow: 0 6px 16px rgba(0, 38, 77, 0.25);
}

.home-link-card--fee .home-link-card__icon {
    background: linear-gradient(135deg, var(--school-gold), var(--school-gold-deep));
    color: var(--school-navy);
    box-shadow: 0 6px 16px rgba(255, 176, 32, 0.35);
}

.home-link-card--disclosure .home-link-card__icon {
    background: linear-gradient(135deg, #0ea5e9, var(--school-navy));
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.28);
}

.home-link-card__body {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.home-link-card__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    line-height: 1.25;
    color: var(--school-navy);
}

.home-link-card__hint {
    margin: 0;
    font-size: 0.8125rem;
    color: #5c5c6f;
    line-height: 1.35;
}

.home-link-card__chev {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 38, 77, 0.06);
    color: var(--school-blue);
    font-size: 1.25rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-link-card:hover .home-link-card__chev {
    background: var(--school-navy);
    color: var(--school-gold);
    transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
    .home-link-card,
    .home-link-card:hover,
    .home-link-card__chev,
    .home-link-card:hover .home-link-card__chev {
        transition: none;
        transform: none;
    }
}

/* ----- About (split + clip image) ----- */
.section-about {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 40%);
}

/* Homepage about — text + two-image collage */
.about-home-section {
    position: relative;
    overflow: hidden;
}

/* Notifications slider par overlap — clip na ho */
.about-home-section.about-home-section--with-notify {
    overflow: visible;
    padding-top: 0;
    z-index: 2;
}

.about-home-section::after {
    content: "";
    position: absolute;
    top: -20%;
    right: -8%;
    width: min(42vw, 380px);
    height: min(42vw, 380px);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 204, 0, 0.12) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

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

.about-home-section__welcome {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: clamp(0.9rem, 2.2vw, 1.05rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5c5c6f;
    margin-bottom: 0.25rem;
}

.about-home-section__copy {
    max-width: 36rem;
}

.btn-about-more {
    background: linear-gradient(135deg, var(--school-navy), var(--school-blue));
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 38, 77, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-about-more:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 38, 77, 0.35);
}

/* ----- About home: Read more ----- */
.about-home-actions {
    gap: 0.65rem 0.75rem;
}

.about-home-actions__primary {
    flex: 0 0 auto;
    align-self: center;
}

@media (max-width: 575.98px) {
    .about-home-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .about-home-actions__primary {
        width: 100%;
        text-align: center;
    }
}

/* ----- About page (inner) ----- */
.about-page-hero__title {
    margin: 0.85rem 0 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
}

.page-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-breadcrumb__sep {
    opacity: 0.55;
    user-select: none;
}

.page-breadcrumb__item--current {
    font-weight: 600;
    opacity: 0.95;
}

.about-page-content {
    background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 40%, #fff 100%);
}

.about-page-body {
    background: #fff;
    border-radius: 1.1rem;
    border: 1px solid rgba(0, 38, 77, 0.07);
    box-shadow: 0 12px 40px rgba(0, 38, 77, 0.06);
    padding: clamp(1.35rem, 3vw, 2.25rem);
    font-size: 1rem;
    line-height: 1.75;
    color: #334155;
}

.about-page-body > *:first-child {
    margin-top: 0;
}

.about-page-body > *:last-child {
    margin-bottom: 0;
}

.about-page-body h2,
.about-page-body h3 {
    font-family: "Fraunces", Georgia, serif;
    color: var(--school-navy);
    margin-top: 1.35rem;
}

.about-page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* ----- Inner CMS page (innerDetail) ----- */
.inner-detail-page__article > *:first-child {
    margin-top: 0;
}

.inner-detail-sidebar {
    background: #fff;
    border-radius: 1.1rem;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 12px 36px rgba(0, 38, 77, 0.07);
    padding: 1.25rem 1.35rem;
}

.inner-detail-sidebar__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--school-navy);
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid rgba(255, 204, 0, 0.65);
}

.inner-detail-sidebar__item + .inner-detail-sidebar__item {
    border-top: 1px solid rgba(0, 38, 77, 0.06);
}

.inner-detail-sidebar__link {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.65rem 0;
    color: var(--school-navy);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.inner-detail-sidebar__link:hover {
    color: var(--school-blue);
    padding-left: 0.2rem;
}

.inner-detail-sidebar__chev {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--school-gold-deep);
    font-size: 0.85rem;
}

.inner-detail-sidebar__empty {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    padding: 0.25rem 0;
}

/* ----- Leadership message detail (/message/…) ----- */
.message-detail-page__portrait-wrap {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 38, 77, 0.06);
}

.message-detail-page__portrait-img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.message-detail-page__placeholder {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(0, 38, 77, 0.2);
    background: linear-gradient(145deg, #f8fafc 0%, #eef2f7 100%);
}

.message-detail-page__siblings {
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid rgba(0, 38, 77, 0.08);
}

.message-detail-page__article img {
    max-width: 100%;
    height: auto;
}

/* ----- Mandatory public disclosure (/mandatory-public-disclosure) ----- */
.mandatory-public-page {
    background: linear-gradient(165deg, #f8fafc 0%, #eef2f7 45%, #e8eef5 100%);
}

.mandatory-public-page__inner {
    max-width: 1100px;
}

.mandatory-public-page__empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid rgba(0, 38, 77, 0.1);
    box-shadow: 0 0.35rem 1.25rem rgba(0, 38, 77, 0.06);
}

.mandatory-public-page__empty .fa-folder-open {
    font-size: 2.75rem;
    color: rgba(0, 38, 77, 0.2);
    margin-bottom: 1rem;
}

.mandatory-public-page__empty p {
    color: #64748b;
    margin: 0;
    font-size: 1rem;
}

.mandatory-public-page__section.card-like {
    border: 1px solid rgba(0, 38, 77, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.75rem;
    background: #fff;
    box-shadow: 0 0.35rem 1.25rem rgba(0, 38, 77, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.mandatory-public-page__section.card-like:hover {
    box-shadow: 0 0.5rem 1.75rem rgba(0, 38, 77, 0.1);
}

.mandatory-public-page__section-title {
    margin: 0;
    padding: 1rem 1.25rem;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: "Fraunces", Georgia, serif;
    color: #fff;
    background: linear-gradient(135deg, var(--school-navy) 0%, var(--school-blue) 100%);
    border-left: 4px solid var(--school-gold);
}

.mandatory-public-page__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}

.mandatory-public-page__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.mandatory-public-page__table thead th {
    background: linear-gradient(135deg, var(--school-blue) 0%, #003366 100%);
    color: #fff;
    padding: 0.75rem 1rem;
    font-weight: 600;
    text-align: left;
    border: none;
    white-space: nowrap;
}

.mandatory-public-page__table tbody tr {
    transition: background 0.2s ease;
}

.mandatory-public-page__table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.mandatory-public-page__table tbody tr:hover {
    background: rgba(255, 204, 0, 0.06);
}

.mandatory-public-page__table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eaecef;
    vertical-align: middle;
}

.mandatory-public-page__table tbody tr:last-child td {
    border-bottom: none;
}

.mandatory-public-page__th-actions {
    width: 11rem;
}

.mandatory-public-page__cell-actions {
    vertical-align: top;
}

.mandatory-public-page__text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #334155;
}

.mandatory-public-page__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--school-blue) 0%, var(--school-navy) 100%);
    border: 1px solid rgba(0, 38, 77, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mandatory-public-page__btn::before {
    content: "\f1c1";
    font-family: "FontAwesome";
    font-size: 0.9em;
}

.mandatory-public-page__btn--video::before {
    content: "\f04b";
}

.mandatory-public-page__btn:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 38, 77, 0.25);
}

@media (max-width: 767.98px) {
    .mandatory-public-page__table {
        font-size: 0.875rem;
    }

    .mandatory-public-page__table thead th,
    .mandatory-public-page__table td {
        padding: 0.6rem 0.75rem;
    }

    .mandatory-public-page__section-title {
        font-size: 1rem;
        padding: 0.85rem 1rem;
    }
}

/* ----- Events listing (/blogs) ----- */
.events-list-page__empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #64748b;
    background: #fff;
    border-radius: 1rem;
    border: 1px dashed rgba(0, 38, 77, 0.12);
}

.event-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 10px 30px rgba(0, 38, 77, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0, 38, 77, 0.12);
    border-color: rgba(0, 64, 128, 0.14);
}

.event-card__media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    background: #e2e8f0;
    overflow: hidden;
}

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

.event-card:hover .event-card__img {
    transform: scale(1.04);
}

.event-card__body {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.35rem;
}

.event-card__date {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--school-blue);
}

.event-card__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: var(--school-navy);
}

.event-card__title-link {
    color: inherit;
    text-decoration: none;
}

.event-card__title-link:hover {
    color: var(--school-blue);
}

.btn-event-more {
    background: linear-gradient(135deg, var(--school-navy), var(--school-blue));
    color: #fff !important;
    font-weight: 700;
    border: none;
    box-shadow: 0 6px 18px rgba(0, 38, 77, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-event-more:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 38, 77, 0.28);
}

.blogs-pagination-wrap {
    margin: 0.5rem 0 0;
}

.blogs-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blogs-pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.blogs-pagination__item a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.blogs-pagination__item:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.blogs-pagination__item--active {
    background: linear-gradient(135deg, var(--school-navy), var(--school-blue));
    color: #fff;
    cursor: default;
    box-shadow: 0 4px 14px rgba(0, 38, 77, 0.25);
}

.blogs-pagination__item--active span {
    padding: 0 4px;
}

.blogs-pagination__item:not(.blogs-pagination__item--active):hover {
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .blogs-pagination__item {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* ----- Event detail (/blogsdetail/…) ----- */
.event-detail-page__figure {
    margin: 0;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 12px 32px rgba(0, 38, 77, 0.08);
}

.event-detail-page__img {
    width: 100%;
    display: block;
    max-height: min(70vh, 520px);
    object-fit: cover;
}

.event-detail-page__prose {
    font-size: 1rem;
    line-height: 1.75;
    color: #334155;
}

.event-detail-page__prose > *:first-child {
    margin-top: 0;
}

.event-detail-sidebar {
    background: #fff;
    border-radius: 1.1rem;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 12px 36px rgba(0, 38, 77, 0.07);
    padding: 1.2rem 1.15rem;
}

.event-detail-sidebar__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--school-navy);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 204, 0, 0.6);
}

.event-detail-sidebar__card {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    text-decoration: none !important;
    color: inherit;
    border-top: 1px solid rgba(0, 38, 77, 0.06);
    transition: background 0.2s ease;
}

.event-detail-sidebar__card:first-of-type {
    border-top: none;
    padding-top: 0;
}

.event-detail-sidebar__card:hover {
    background: rgba(0, 64, 128, 0.04);
    border-radius: 0.5rem;
    margin-left: -0.35rem;
    margin-right: -0.35rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

.event-detail-sidebar__thumb {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 0.4rem;
    flex-shrink: 0;
    background: #e2e8f0;
}

.event-detail-sidebar__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.event-detail-sidebar__date {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--school-blue);
}

.event-detail-sidebar__name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--school-navy);
    line-height: 1.35;
}

.event-detail-sidebar__empty {
    font-size: 0.9rem;
    color: #64748b;
}

.event-detail-page__hero-date {
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ----- Notification detail (/updates/{id}) ----- */
.notice-detail-page__hero-date {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.notice-detail-page__prose {
    font-size: 1rem;
    line-height: 1.75;
    color: #334155;
}

.notice-detail-page__prose > *:first-child {
    margin-top: 0;
}

.notice-detail-page__attachment {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(0, 38, 77, 0.1);
}

.notice-detail-page__attach-label {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--school-navy);
    margin: 0 0 1rem;
}

.notice-detail-page__attach-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.notice-detail-page__btn {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.45rem 1.15rem;
    font-size: 0.9rem;
}

.notice-detail-page__btn--primary {
    background: linear-gradient(135deg, var(--school-navy), var(--school-blue));
    border: none;
    color: #fff;
}

.notice-detail-page__btn--primary:hover {
    color: #fff;
    opacity: 0.94;
}

.notice-detail-page__btn--outline {
    background: #fff;
    border: 2px solid rgba(0, 38, 77, 0.18);
    color: var(--school-navy);
}

.notice-detail-page__btn--outline:hover {
    border-color: var(--school-blue);
    color: var(--school-blue);
}

.notice-detail-page__embed-wrap {
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(0, 38, 77, 0.1);
    box-shadow: 0 12px 32px rgba(0, 38, 77, 0.08);
    background: #f1f5f9;
}

.notice-detail-page__iframe {
    display: block;
    width: 100%;
    min-height: min(72vh, 720px);
    border: 0;
}

.notice-detail-page__figure {
    margin: 0;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 12px 32px rgba(0, 38, 77, 0.08);
}

.notice-detail-page__figure a {
    display: block;
}

.notice-detail-page__img {
    width: 100%;
    display: block;
    max-height: min(70vh, 560px);
    object-fit: contain;
    background: #f8fafc;
}

.notice-detail-page__back {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border: 2px solid rgba(0, 38, 77, 0.15);
    color: var(--school-navy);
    background: #fff;
}

.notice-detail-page__back:hover {
    border-color: var(--school-blue);
    color: var(--school-blue);
}

.notice-detail-sidebar .notice-detail-sidebar__card {
    flex-direction: column;
    align-items: stretch;
}

.notice-detail-sidebar__body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.notice-detail-sidebar__excerpt {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #64748b;
    font-weight: 400;
}

@media (min-width: 992px) {
    .notice-detail-sidebar.event-detail-sidebar {
        position: sticky;
        top: max(7rem, calc(var(--site-header-offset, 6.5rem) + 1.25rem));
    }
}

/* ----- Contact page (address left, form right) ----- */
.contact-page__grid {
    align-items: stretch;
}

.contact-page__aside {
    background: #fff;
    border-radius: 1.15rem;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 12px 40px rgba(0, 38, 77, 0.07);
    padding: clamp(1.35rem, 3vw, 1.85rem);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .contact-page__aside {
        position: sticky;
        top: max(7rem, calc(var(--site-header-offset, 6.5rem) + 1.25rem));
    }
}

.contact-page__kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--school-blue);
    margin: 0;
}

.contact-page__aside-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.35rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--school-navy);
    margin: -0.35rem 0 0;
    line-height: 1.25;
}

.contact-page__address-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0 1.1rem;
    border-top: 1px solid rgba(0, 38, 77, 0.08);
    border-bottom: 1px solid rgba(0, 38, 77, 0.08);
}

.contact-page__address-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--school-navy), var(--school-blue));
    color: #fff;
    font-size: 1.25rem;
}

.contact-page__address-text {
    font-size: 1rem;
    line-height: 1.65;
    color: #334155;
}

.contact-page__channels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-page__channel {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.contact-page__channel-ic {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 64, 128, 0.08);
    color: var(--school-navy);
    font-size: 1rem;
}

.contact-page__channel-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.contact-page__channel-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.contact-page__channel-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--school-navy);
    text-decoration: none;
    word-break: break-word;
}

.contact-page__channel-value:hover {
    color: var(--school-blue);
    text-decoration: underline;
}

.contact-page__channel-value--muted {
    color: #94a3b8;
    font-weight: 500;
}

.contact-form-wrap {
    background: #fff;
    border-radius: 1.15rem;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 12px 40px rgba(0, 38, 77, 0.07);
    padding: clamp(1.35rem, 3vw, 2rem);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-wrap--split {
    max-width: none;
    margin: 0;
    min-height: 100%;
}

.contact-form-wrap__textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-wrap__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--school-navy);
    margin: 0 0 0.35rem;
}

.contact-form-wrap__input {
    border-radius: 0.65rem;
    border: 1px solid rgba(0, 38, 77, 0.12);
    padding: 0.65rem 0.85rem;
}

.contact-form-wrap__input:focus {
    border-color: var(--school-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 64, 128, 0.12);
}

.contact-form-wrap__submit {
    background: linear-gradient(135deg, var(--school-gold), var(--school-gold-deep));
    color: var(--school-navy) !important;
    font-weight: 800;
    border: none;
    padding: 0.55rem 1.75rem;
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-wrap__submit:hover {
    color: var(--school-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 204, 0, 0.45);
}

.contact-page__map {
    background: linear-gradient(180deg, #eef2f7 0%, #e2e8f0 100%);
    padding: 2rem 0 2.75rem;
}

.contact-page__map-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--school-navy);
    margin: 0 0 1rem;
    text-align: center;
}

.contact-page__map-inner {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 38, 77, 0.12);
    border: 1px solid rgba(0, 38, 77, 0.08);
}

.contact-page__map-inner iframe {
    display: block;
    width: 100%;
    vertical-align: middle;
}

/* ----- Downloads hub & list pages (circulars, syllabus, book detail) ----- */
.downloads-page .download-cards-row {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.download-card-link {
    display: block;
    color: inherit;
    height: 100%;
}

.downloadbox {
    position: relative;
    height: 100%;
    min-height: 0;
    padding: 1rem 1rem 0.95rem;
    padding-right: 2.75rem;
    border-radius: 0.9rem;
    background: #fff;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 8px 24px rgba(0, 38, 77, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    border-top: 3px solid var(--school-gold);
}

.download-card-link:hover .downloadbox {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 38, 77, 0.1);
    border-color: rgba(0, 64, 128, 0.14);
}

.downloadbox--syllabus {
    border-top-color: var(--school-blue);
}

.downloadbox--book {
    border-top-color: #16a34a;
}

.downloadbox__icon {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(135deg, var(--school-navy), var(--school-blue));
}

.downloadbox--syllabus .downloadbox__icon {
    background: linear-gradient(135deg, #0369a1, #0ea5e9);
}

.downloadbox--book .downloadbox__icon {
    background: linear-gradient(135deg, #15803d, #22c55e);
}

.downloadbox__label {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--school-navy);
    line-height: 1.25;
}

.downloadbox__hint {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
    margin-top: 0.1rem;
    padding-right: 0;
    max-width: 16rem;
}

.downloadbox__arrow {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    top: auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 38, 77, 0.08);
    color: var(--school-navy);
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.download-card-link:hover .downloadbox__arrow {
    background: var(--school-gold);
    color: var(--school-navy);
}

.downloads-list-page__back {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--school-blue);
    text-decoration: none;
}

.downloads-list-page__back:hover {
    color: var(--school-navy);
    text-decoration: underline;
}

.downloads-list-page__sheet {
    background: #fff;
    border-radius: 1.1rem;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 12px 40px rgba(0, 38, 77, 0.07);
    overflow: hidden;
}

.downloads-table thead th {
    background: linear-gradient(135deg, var(--school-navy), var(--school-blue));
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    padding: 0.85rem 0.75rem;
    vertical-align: middle;
}

.downloads-table tbody td {
    padding: 0.75rem 0.7rem;
    vertical-align: middle;
    font-size: 0.9rem;
    color: #334155;
    border-color: rgba(0, 38, 77, 0.07);
}

.downloads-table tbody tr:hover {
    background: rgba(0, 64, 128, 0.04);
}

.downloads-table__empty {
    padding: 2.25rem 1rem !important;
    color: #64748b;
}

.downloads-table__actions {
    white-space: nowrap;
    min-width: 168px;
}

.downloads-table__btn {
    font-weight: 700;
    border-radius: 999px;
    margin: 0.12rem 0.2rem 0.12rem 0;
    border: none;
    padding: 0.35rem 0.75rem;
}

.downloads-table__btn--download {
    background: linear-gradient(135deg, var(--school-navy), var(--school-blue));
    color: #fff !important;
}

.downloads-table__btn--download:hover {
    color: #fff !important;
    opacity: 0.92;
}

.downloads-table__btn--view {
    background: #f1f5f9;
    color: var(--school-navy) !important;
    border: 1px solid rgba(0, 38, 77, 0.12);
}

.downloads-table__btn--view:hover {
    background: #e2e8f0;
    color: var(--school-navy) !important;
}

@media (max-width: 767.98px) {
    .downloads-table__actions {
        white-space: normal;
    }

    .downloads-table__btn {
        display: block;
        width: 100%;
        margin: 0.25rem 0;
    }
}

/* ----- Photo gallery (category / album) & videos ----- */
.gallery-media-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #64748b;
    background: #fff;
    border-radius: 1rem;
    border: 1px dashed rgba(0, 38, 77, 0.12);
    margin: 0;
}

.gallery-cat-card {
    display: block;
    height: 100%;
    color: inherit;
    border-radius: 1.05rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 10px 28px rgba(0, 38, 77, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gallery-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 38, 77, 0.12);
    color: inherit;
    text-decoration: none;
}

.gallery-cat-card__img-wrap {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
    overflow: hidden;
}

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

.gallery-cat-card:hover .gallery-cat-card__img {
    transform: scale(1.04);
}

.gallery-cat-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 8rem;
    font-size: 2.25rem;
    color: #94a3b8;
}

.gallery-cat-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 24, 48, 0.38);
    color: #fff;
    font-size: 1.85rem;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

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

.gallery-cat-card__details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.95rem 1rem 1.05rem;
}

.gallery-cat-card__title {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--school-navy);
    line-height: 1.3;
}

.gallery-cat-card__count {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #64748b;
}

.allphotos-desc--prose {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid rgba(0, 38, 77, 0.08);
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
    box-shadow: 0 8px 24px rgba(0, 38, 77, 0.05);
}

.allphotos-desc--prose img {
    max-width: 100%;
    height: auto;
}

.allphotos-card {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 8px 22px rgba(0, 38, 77, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.allphotos-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 38, 77, 0.12);
}

.allphotos-card__link {
    display: block;
}

.allphotos-card__img-wrap {
    display: block;
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
}

.allphotos-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.videos-card {
    display: block;
    height: 100%;
    color: inherit;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 10px 28px rgba(0, 38, 77, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.videos-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 38, 77, 0.12);
    color: inherit;
    text-decoration: none;
}

.videos-card__img-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #0f172a;
    overflow: hidden;
}

.videos-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.videos-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2.5rem, 8vw, 3.25rem);
    color: #fff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    opacity: 0.92;
}

.videos-card__title {
    display: block;
    padding: 0.85rem 1rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--school-navy);
}

@media (prefers-reduced-motion: reduce) {
    .btn-about-more:hover {
        transform: none;
    }

    .event-card:hover,
    .btn-event-more:hover,
    .contact-form-wrap__submit:hover {
        transform: none;
    }

    .event-card:hover .event-card__img {
        transform: none;
    }

    .blogs-pagination__item:not(.blogs-pagination__item--active):hover {
        transform: none;
    }

    .download-card-link:hover .downloadbox {
        transform: none;
    }

    .gallery-cat-card:hover,
    .allphotos-card:hover,
    .videos-card:hover {
        transform: none;
    }

    .gallery-cat-card:hover .gallery-cat-card__img {
        transform: none;
    }
}

.about-home-collage {
    position: relative;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0 1.5rem 1.35rem;
}

.about-home-collage__primary,
.about-home-collage__secondary {
    margin: 0;
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #e2e8f0;
    box-shadow: 0 22px 50px rgba(0, 38, 77, 0.16);
}

.about-home-collage__primary {
    border: 3px solid #fff;
    z-index: 1;
}

.about-home-collage__primary .about-home-collage__img {
    width: 100%;
    height: auto;
    max-height: 280px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.about-home-collage__secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(48%, 168px);
    z-index: 2;
    border: 4px solid var(--school-gold);
    transform: rotate(-3deg);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    transition: transform 0.35s ease;
}

.about-home-collage__secondary .about-home-collage__img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.about-home-collage:hover .about-home-collage__secondary {
    transform: rotate(0deg) translateY(-4px);
}

.about-home-collage__accent {
    position: absolute;
    left: -0.5rem;
    top: 12%;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--school-blue), var(--school-navy));
    opacity: 0.9;
    z-index: 0;
    box-shadow: 0 12px 28px rgba(0, 38, 77, 0.25);
}

@media (max-width: 991.98px) {
    .about-home-collage {
        padding: 0 0 1.35rem 1.1rem;
        max-width: 360px;
    }

    .about-home-collage__primary .about-home-collage__img {
        max-height: 240px;
    }

    .about-home-collage__secondary {
        width: min(46%, 150px);
    }
}

@media (max-width: 575.98px) {
    .about-home-collage {
        padding-left: 0.75rem;
        padding-bottom: 1.75rem;
    }

    .about-home-collage__secondary {
        transform: rotate(-2deg);
    }

    .about-home-collage__accent {
        width: 3.25rem;
        height: 3.25rem;
        left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-about-more:hover,
    .about-home-collage:hover .about-home-collage__secondary {
        transform: none;
        transition: none;
    }
}

/* ----- Message desk (tabs + compact pane + birthdays) ----- */
.message-desk-section {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 42%, #ffffff 100%);
    position: relative;
}

.message-desk-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--school-navy),
        var(--school-blue) 45%,
        var(--school-gold) 100%
    );
    opacity: 0.9;
    pointer-events: none;
}

.message-desk-intro__kicker {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.25rem;
}

/* Single card: header + pill tabs + compact pane (saves space) */
.message-desk-panel {
    background: #fff;
    border-radius: 1.2rem;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 18px 48px rgba(0, 38, 77, 0.1);
    overflow: hidden;
}

.message-desk-panel__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.15rem 0.85rem;
    background: linear-gradient(115deg, var(--school-navy) 0%, #0a3d6e 42%, var(--school-blue) 100%);
    color: #fff;
}

.message-desk-panel__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.25rem, 2.8vw, 1.65rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #fff;
}

.message-desk-panel__tagline {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--school-gold);
    white-space: nowrap;
}

/* Segmented tabs — full width, no Bootstrap default borders */
.message-desk-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 0.35rem;
    background: rgba(0, 18, 45, 0.06);
    border-bottom: 1px solid rgba(0, 38, 77, 0.08);
}

.message-desk-tabs .nav-item {
    flex: 1 1 0;
    text-align: center;
}

.message-desk-tabs .nav-link {
    margin: 0;
    border: none !important;
    border-radius: 0.65rem !important;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    color: var(--school-navy) !important;
    padding: 0.55rem 0.5rem;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.message-desk-tabs .nav-link:hover {
    color: var(--school-blue) !important;
    background: rgba(255, 255, 255, 0.7);
}

.message-desk-tabs .nav-link.active {
    color: var(--school-navy) !important;
    background: linear-gradient(180deg, #fffef5 0%, #fff 100%);
    box-shadow: 0 4px 14px rgba(0, 38, 77, 0.12);
    border: 1px solid rgba(255, 204, 0, 0.65) !important;
}

.message-desk-tab-content {
    padding: 0;
    background: #fff;
}

.message-desk-tab-content > .tab-pane {
    padding: 0;
}

.message-desk-pane {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    min-height: 0;
}

.message-desk-pane__photo {
    flex: 0 0 200px;
    width: 200px;
    min-height: 176px;
    background: linear-gradient(160deg, #e2e8f0, #cbd5e1);
    border-right: 3px solid var(--school-gold);
    overflow: hidden;
}

.message-desk-pane__img {
    width: 100%;
    height: 100%;
    min-height: 176px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.message-desk-pane__placeholder {
    width: 100%;
    height: 100%;
    min-height: 176px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(0, 38, 77, 0.22);
}

.message-desk-pane__body {
    flex: 1;
    min-width: 0;
    padding: 0.85rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
}

.message-desk-pane__role {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--school-navy);
    margin: 0 0 0.45rem;
}

.message-desk-pane__excerpt {
    font-size: 0.875rem;
    color: #4a4d5c;
    line-height: 1.58;
    flex: 1;
    margin-bottom: 0.65rem;
}

.message-desk-pane__more {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.8125rem;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--school-navy), var(--school-blue));
    padding: 0.4rem 1rem 0.4rem 1.1rem;
    border-radius: 2rem;
    box-shadow: 0 6px 16px rgba(0, 38, 77, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.message-desk-pane__more:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 38, 77, 0.28);
}

@media (max-width: 575.98px) {
    .message-desk-pane {
        flex-direction: column;
    }

    .message-desk-pane__photo {
        flex: 0 0 auto;
        width: 100%;
        min-height: 120px;
        max-height: 160px;
        border-right: none;
        border-bottom: 3px solid var(--school-gold);
    }

    .message-desk-pane__img,
    .message-desk-pane__placeholder {
        min-height: 120px;
        max-height: 160px;
    }

    .message-desk-tabs .nav-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.35rem;
    }
}

.message-desk-aside {
    position: sticky;
    top: 6.5rem;
    background: linear-gradient(160deg, var(--school-navy) 0%, #0a3d6e 55%, var(--school-blue) 100%);
    color: #fff;
    border-radius: 1.15rem;
    padding: 1.25rem 1.15rem 1.5rem;
    box-shadow: 0 20px 48px rgba(0, 38, 77, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.message-desk-aside__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.message-desk-aside__icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 204, 0, 0.2);
    color: var(--school-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.message-desk-aside__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: #fff;
}

.message-desk-aside__sub {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.78);
}

.message-desk-birthday-slide {
    text-align: center;
    padding: 0.35rem 0.25rem 0.5rem;
}

.message-desk-birthday-slide__photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 0.65rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--school-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.12);
}

.message-desk-birthday-slide__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.message-desk-birthday-slide__name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: #fff;
}

.message-desk-birthday-slide__class {
    font-size: 0.8125rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.message-desk-birthday-owl .owl-nav button.owl-prev,
.message-desk-birthday-owl .owl-nav button.owl-next {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
}

.message-desk-birthday-owl .owl-nav button.owl-prev:hover,
.message-desk-birthday-owl .owl-nav button.owl-next:hover {
    background: var(--school-gold) !important;
    color: var(--school-navy) !important;
}

@media (max-width: 991.98px) {
    .message-desk-aside {
        position: relative;
        top: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .message-desk-pane__more,
    .message-desk-pane__more:hover {
        transition: none;
        transform: none;
    }
}

.about-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--school-blue);
}

.about-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--school-navy);
    font-weight: 600;
}

.about-text {
    color: #4a4d5c;
    line-height: 1.7;
}

.about-visual {
    position: relative;
    border-radius: 0 2.5rem 2.5rem 0;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 38, 77, 0.15);
}

.about-visual__img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%);
}

.about-visual__badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: var(--school-gold);
    color: var(--school-navy);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.85rem;
    border-radius: 2rem;
}

.about-checks li {
    padding: 0.35rem 0;
    font-weight: 600;
    color: #3d4154;
}

.about-checks i {
    margin-right: 0.5rem;
}

@media (max-width: 991.98px) {
    .about-visual {
        border-radius: 1.5rem;
    }

    .about-visual__img {
        clip-path: none;
        border-radius: 1.25rem;
    }
}

/* ----- Facilities (hex-style tiles) ----- */
.section-facilities {
    background: #fdfcfa;
    background-image: radial-gradient(rgba(0, 64, 128, 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
}

.facilities-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--school-blue);
    border-bottom: 2px solid var(--school-gold);
    padding-bottom: 0.2rem;
}

.facilities-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
}

.facility-strip {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.facility-pill {
    text-align: center;
    padding: 1rem 0.35rem;
    border-radius: 1rem;
    border: 2px solid rgba(0, 38, 77, 0.08);
    background: #fff;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.facility-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 38, 77, 0.1);
    border-color: rgba(0, 64, 128, 0.2);
}

.facility-pill__icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: #fff;
}

.facility-pill__title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.25;
    margin: 0;
    color: var(--school-navy);
}

@media (min-width: 768px) {
    .facility-pill__title {
        font-size: 0.78rem;
    }
}

.facility-pill--1 .facility-pill__icon {
    background: linear-gradient(135deg, #004080, #2563eb);
}

.facility-pill--2 .facility-pill__icon {
    background: linear-gradient(135deg, #c2410c, #ea580c);
}

.facility-pill--3 .facility-pill__icon {
    background: linear-gradient(135deg, #6d28d9, #8b5cf6);
}

.facility-pill--4 .facility-pill__icon {
    background: linear-gradient(135deg, #15803d, #22c55e);
}

.facility-pill--5 .facility-pill__icon {
    background: linear-gradient(135deg, #be185d, #ec4899);
}

.facility-pill--6 .facility-pill__icon {
    background: linear-gradient(135deg, #0e7490, #06b6d4);
}

/* ----- Home facilities carousel (static slides) ----- */
.home-facilities-section__head .facilities-title {
    color: var(--school-navy);
}

.home-facilities-section__sub {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.home-facilities-owl {
    position: relative;
    padding: 0 2.75rem 0.5rem;
}

/* Prev = bilkul left, next = bilkul right */
.home-facilities-owl .owl-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 2.5rem;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 4;
}

.home-facilities-owl .owl-nav button.owl-prev,
.home-facilities-owl .owl-nav button.owl-next {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    pointer-events: auto;
}

.home-facility-card {
    text-align: center;
    padding: 1.35rem 1rem 1.5rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(0, 38, 77, 0.1);
    background: #fff;
    height: 100%;
    min-height: 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    box-shadow: 0 10px 28px rgba(0, 38, 77, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 38, 77, 0.12);
    border-color: rgba(0, 64, 128, 0.18);
}

.home-facility-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    flex-shrink: 0;
}

.home-facility-card__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: var(--school-navy);
}

.home-facility-card--1 .home-facility-card__icon {
    background: linear-gradient(135deg, #004080, #2563eb);
}
.home-facility-card--2 .home-facility-card__icon {
    background: linear-gradient(135deg, #92400e, #d97706);
}
.home-facility-card--3 .home-facility-card__icon {
    background: linear-gradient(135deg, #6d28d9, #8b5cf6);
}
.home-facility-card--4 .home-facility-card__icon {
    background: linear-gradient(135deg, #15803d, #22c55e);
}
.home-facility-card--5 .home-facility-card__icon {
    background: linear-gradient(135deg, #b45309, #ea580c);
}
.home-facility-card--6 .home-facility-card__icon {
    background: linear-gradient(135deg, #0e7490, #06b6d4);
}
.home-facility-card--7 .home-facility-card__icon {
    background: linear-gradient(135deg, #1e3a5f, #475569);
}
.home-facility-card--8 .home-facility-card__icon {
    background: linear-gradient(135deg, #be123c, #f43f5e);
}

/* ----- Facilities listing page (all items) ----- */
.facilities-page {
    background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 45%, #fff 100%);
}

.facilities-page__card {
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 1.35rem;
    min-height: 220px;
}

.facilities-page__card .home-facility-card__title {
    font-size: 1.05rem;
}

.home-facility-card__desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
    margin-top: 0.35rem;
    text-align: center;
}

.home-facilities-owl .owl-dots .owl-dot span {
    background: rgba(0, 38, 77, 0.25);
}

.home-facilities-owl .owl-dots .owl-dot.active span,
.home-facilities-owl .owl-dots .owl-dot:hover span {
    background: var(--school-gold);
}

.home-facilities-owl .owl-nav button.owl-prev,
.home-facilities-owl .owl-nav button.owl-next {
    background: rgba(0, 38, 77, 0.08) !important;
    border: 1px solid rgba(0, 38, 77, 0.12) !important;
    color: var(--school-navy) !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
}

.home-facilities-owl .owl-nav button.owl-prev:hover,
.home-facilities-owl .owl-nav button.owl-next:hover {
    background: var(--school-navy) !important;
    color: #fff !important;
}

/* ----- Toppers ----- */
.section-toppers {
    background: var(--school-navy);
    background-image: repeating-linear-gradient(
        -8deg,
        transparent,
        transparent 8px,
        rgba(255, 255, 255, 0.03) 8px,
        rgba(255, 255, 255, 0.03) 16px
    );
}

.toppers-home__kicker {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--school-gold);
    margin-bottom: 0.5rem;
}

.toppers-home__title {
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.65rem;
    line-height: 1.15;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.toppers-home__lead {
    max-width: 36rem;
    margin: 0 auto;
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.toppers-home .toppers-split-col {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.toppers-home .topper-card {
    border-radius: 1.1rem;
    padding: 1.15rem 0.85rem 1.25rem;
    box-shadow: 0 12px 32px rgba(0, 38, 77, 0.12);
}

.toppers-home .topper-card__photo {
    width: 92px!important;
    height: 92px;
    border-width: 3px;
    box-shadow: 0 6px 18px rgba(0, 38, 77, 0.15);
}

.topper-card__marks-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0.1rem 0 0;
}

.topper-card__pct--xii {
    color: #1d4ed8 !important;
}

.toppers-home__cta {
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.45rem 1.35rem;
    border-radius: 2rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.toppers-home__cta--gold {
    color: var(--school-gold) !important;
    border: 2px solid var(--school-gold);
    background: transparent;
}

.toppers-home__cta--gold:hover {
    background: var(--school-gold) !important;
    color: var(--school-navy) !important;
    transform: translateY(-2px);
}

.toppers-home__cta--ice {
    color: #dbeafe !important;
    border: 2px solid rgba(147, 197, 253, 0.85);
    background: transparent;
}

.toppers-home__cta--ice:hover {
    background: rgba(147, 197, 253, 0.95) !important;
    color: var(--school-navy) !important;
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .toppers-home__cta--gold:hover,
    .toppers-home__cta--ice:hover {
        transform: none;
    }
}

.toppers-subhead {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.25rem;
    border-left: 4px solid var(--school-gold);
    padding-left: 0.75rem;
}

.toppers-subhead--xii {
    border-left-color: #93c5fd;
}

.topper-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem 0.75rem 1.15rem;
    text-align: center;
    border: 2px solid rgba(255, 204, 0, 0.45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.topper-card--xii {
    border-color: rgba(147, 197, 253, 0.7);
}

.topper-card__photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.65rem;
    border: 3px solid var(--school-navy);
    display: block;
}

.topper-card__name {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--school-navy);
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.topper-card__stream {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(90deg, #1e40af, var(--school-blue));
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.35rem;
}

.topper-card__pct {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #b45309;
    margin: 0;
}

/* ----- Toppers full page (/toppers) ----- */
.toppers-page-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.toppers-page__toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
}

.toppers-page__tab-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.65rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: "Fraunces", Georgia, serif;
    border-radius: 999px;
    border: 2px solid rgba(0, 38, 77, 0.18);
    background: #fff;
    color: var(--school-navy);
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
        box-shadow 0.22s ease, transform 0.22s ease;
}

.toppers-page__tab-main:hover {
    border-color: var(--school-blue);
    color: var(--school-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 38, 77, 0.1);
}

.toppers-page__tab-main.active {
    background: linear-gradient(135deg, var(--school-navy) 0%, var(--school-blue) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 32px rgba(0, 38, 77, 0.28);
}

.toppers-page__panel {
    display: none;
}

.toppers-page__panel.active {
    display: block;
}

.toppers-page__sessions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
}

.toppers-page__tab-session {
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid rgba(0, 38, 77, 0.14);
    background: #fff;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.toppers-page__tab-session:hover {
    border-color: var(--school-blue);
    color: var(--school-navy);
    background: rgba(0, 64, 128, 0.04);
}

.toppers-page__tab-session.active {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.95) 0%, var(--school-gold) 100%);
    border-color: rgba(180, 140, 0, 0.45);
    color: var(--school-navy);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(255, 204, 0, 0.35);
}

.toppers-page__session {
    display: none;
}

.toppers-page__session.active {
    display: block;
}

.toppers-page__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
    gap: 1.15rem;
}

@media (min-width: 576px) {
    .toppers-page__grid {
        grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
        gap: 1.35rem;
    }
}

.toppers-page-card {
    background: #fff;
    border-radius: 1.05rem;
    overflow: hidden;
    border: 1px solid rgba(0, 38, 77, 0.09);
    box-shadow: 0 12px 36px rgba(0, 38, 77, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.toppers-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 48px rgba(0, 38, 77, 0.13);
    border-color: rgba(255, 204, 0, 0.5);
}

.toppers-page-card--x {
    border-top: 4px solid var(--school-gold);
}

.toppers-page-card--xii {
    border-top: 4px solid #60a5fa;
}

.toppers-page-card__media {
    position: relative;
    aspect-ratio: 3 / 4;
    background: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 100%);
    overflow: hidden;
}

.toppers-page-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.toppers-page-card__body {
    padding: 1rem 0.75rem 1.15rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.toppers-page-card__stream {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #1e40af, var(--school-blue));
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.45rem;
}

.toppers-page-card__name {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--school-navy);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.toppers-page-card__marks {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #b45309;
    margin: 0;
    line-height: 1.2;
}

.toppers-page-card__marks--xii {
    color: #1d4ed8;
}

.toppers-page-card__marks-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0.2rem 0 0;
}

.toppers-page__empty {
    text-align: center;
    padding: 2.25rem 1.25rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px dashed rgba(0, 38, 77, 0.18);
    color: #64748b;
    font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
    .toppers-page__tab-main,
    .toppers-page__tab-main:hover,
    .toppers-page-card,
    .toppers-page-card:hover {
        transition: none;
        transform: none;
    }
}

/* ----- Birthdays ----- */
.section-birthday {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 35%, #fce7f3 70%, #e0e7ff 100%);
}

.birthday-banner .birthday-cake {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.25rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}

.birthday-title {
    color: var(--school-navy);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.birthday-scroll {
    max-width: 900px;
    margin: 0 auto;
}

.birthday-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    background: #fff;
    color: var(--school-navy);
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.15);
    border: 2px dashed rgba(180, 83, 9, 0.35);
}

.birthday-chip--b {
    background: linear-gradient(135deg, #fff, #fef9c3);
    border-color: rgba(234, 179, 8, 0.5);
}

.birthday-chip--c {
    background: linear-gradient(135deg, #fdf4ff, #fff);
    border-color: rgba(192, 132, 252, 0.45);
}

/* ----- Gallery ----- */
.section-gallery {
    background: #0f172a;
    color: #e2e8f0;
}

.gallery-head {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
}

.section-gallery .text-secondary {
    color: #94a3b8 !important;
}

.gallery-cell {
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-cell--photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-cell:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.gallery-cell--photo:hover img {
    transform: scale(1.06);
}

.gallery-videos-label {
    letter-spacing: 0.12em;
    color: #94a3b8 !important;
}

.gallery-video-frame iframe {
    border: 0;
    border-radius: 0.75rem;
}

/* ----- Events (blog cards + Owl) ----- */
.section-events {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 30%);
    border-top: 1px solid rgba(0, 38, 77, 0.08);
    border-bottom: 1px solid rgba(0, 38, 77, 0.08);
}

.events-title {
    color: var(--school-navy);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
}

.event-blog-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 38, 77, 0.1);
    border: 1px solid rgba(0, 38, 77, 0.08);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 38, 77, 0.14);
}

.event-blog-card__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.event-blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-blog-card:hover .event-blog-card__thumb img {
    transform: scale(1.05);
}

.event-blog-card__body {
    padding: 1.1rem 1.25rem 1.35rem;
}

.event-blog-card__date {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--school-blue);
    margin-bottom: 0.4rem;
}

.event-blog-card__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--school-navy);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.event-blog-card__excerpt {
    font-size: 0.875rem;
    color: #5c5c6f;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.event-blog-card__more {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--school-navy);
    text-decoration: none;
    border-bottom: 2px solid var(--school-gold);
    padding-bottom: 0.1rem;
}

.event-blog-card__more:hover {
    color: var(--school-blue);
    border-bottom-color: var(--school-blue);
}

/* ----- Contact strip ----- */
.section-contact {
    background: linear-gradient(180deg, #f1f5f9, #fff);
}

.contact-link {
    color: var(--school-blue);
    font-weight: 700;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
    color: var(--school-navy);
}

/* ----- Footer ----- */
.footer-site {
    position: relative;
    background: linear-gradient(180deg, #001228 0%, var(--school-navy) 35%, #000d1a 100%);
    color: rgba(255, 255, 255, 0.88);
    overflow: hidden;
}

.footer-site__accent {
    height: 5px;
    background: linear-gradient(90deg, var(--school-gold), var(--school-blue), var(--school-gold));
    background-size: 200% 100%;
    animation: footer-shine 8s linear infinite;
}

@keyframes footer-shine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.footer-site__logo {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.footer-site__contact-list {
    line-height: 1.6;
}

.footer-site__h {
    color: var(--school-gold);
    letter-spacing: 0.12em;
}

.footer-site__links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: inline-block;
    padding: 0.2rem 0;
}

.footer-site__links a:hover {
    color: var(--school-gold);
}

.footer-site__inline-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-site__inline-link:hover {
    color: var(--school-gold);
}

.footer-site__bar {
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.footer-site__credit {
    color: var(--school-gold);
    font-weight: 700;
    text-decoration: none;
}

.footer-site__credit:hover {
    color: #fff;
    text-decoration: underline;
}

/* ----- Inner pages (shared header) ----- */
.page-inner {
    background: #f8fafc;
}

.site-header-inner {
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 24px rgba(0, 38, 77, 0.08);
}

.site-header-inner .topbar {
    background: var(--school-navy);
}

.site-header-inner .navbar {
    background: #fff !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.site-header-inner .navbar-brand strong {
    color: var(--school-navy);
}

.site-header-inner .navbar-brand small {
    color: #64748b;
}

.site-header-inner .nav-link {
    color: var(--school-navy) !important;
    font-weight: 600;
}

.site-header-inner .nav-link:hover {
    color: var(--school-blue) !important;
}

.site-header-inner .dropdown-item {
    font-weight: 600;
    color: var(--school-navy);
}

.site-header-inner .dropdown-item:hover {
    background: rgba(255, 204, 0, 0.2);
}

.page-hero {
    background: linear-gradient(135deg, var(--school-navy) 0%, #0a3d6e 100%);
    color: #fff;
    padding: 2.5rem 0 2rem;
}

.page-hero h1 {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin: 0;
}

.page-hero p {
    margin: 0.5rem 0 0;
    opacity: 0.88;
    font-size: 0.95rem;
    color: #f9f9f9 !important;
}

.page-hero__lead {
    margin: 0.75rem 0 0;
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 36rem;
}

.page-hero__lead a {
    color: var(--school-gold);
    text-decoration: underline;
}

.page-hero__lead a:hover {
    color: #fff;
}

.home-facilities-section__sub a {
    color: var(--school-blue);
    font-weight: 700;
}

.home-facilities-section__sub a:hover {
    color: var(--school-navy);
    text-decoration: underline !important;
}

.page-breadcrumb {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.page-breadcrumb a {
    color: var(--school-gold);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    text-decoration: underline;
    color: #fff;
}

/* Fixed .site-header is out of document flow — first block in #main must sit below it */
#main > #breadcrumb:first-child,
#main > .page-hero:first-child {
    /* Extra cushion: topbar + tall navbar logo (.site-header img) can exceed --site-header-offset */
    padding-top: max(7rem, calc(var(--site-header-offset) + 1.15rem));
}

.event-list-card {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 38, 77, 0.08);
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 38, 77, 0.06);
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.event-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 38, 77, 0.1);
}

.event-list-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.event-list-card .card-body {
    padding: 1.15rem 1.25rem 1.35rem;
}

.gallery-album-card {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 8px 28px rgba(0, 38, 77, 0.08);
    height: 100%;
    transition: transform 0.25s ease;
}

.gallery-album-card:hover {
    transform: translateY(-5px);
}

.gallery-album-card__thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-album-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-map-wrap {
    border-radius: 1rem;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid rgba(0, 38, 77, 0.1);
    box-shadow: 0 12px 40px rgba(0, 38, 77, 0.08);
}

.contact-map-wrap iframe {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
}

#lightboxModal .modal-content {
    background: transparent;
}

#lightboxImg {
    max-height: 85vh;
    object-fit: contain;
}

/* ----- Owl Carousel — theme (school) ----- */
.main-surface .owl-nav {
    margin-top: 0;
}

.main-surface .owl-nav button.owl-prev,
.main-surface .owl-nav button.owl-next {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50% !important;
    background: var(--school-navy) !important;
    color: #fff !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 38, 77, 0.25);
}

.main-surface .owl-nav button.owl-prev:hover,
.main-surface .owl-nav button.owl-next:hover {
    background: var(--school-blue) !important;
    color: #fff !important;
}

.main-surface .owl-nav button.owl-prev span,
.main-surface .owl-nav button.owl-next span {
    display: none !important;
}

.main-surface .owl-dots .owl-dot span {
    background: rgba(0, 38, 77, 0.25);
}

.main-surface .owl-dots .owl-dot.active span,
.main-surface .owl-dots .owl-dot:hover span {
    background: var(--school-gold);
}

.section-toppers .owl-nav button.owl-prev,
.section-toppers .owl-nav button.owl-next {
    background: rgba(255, 255, 255, 0.22) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.section-toppers .owl-nav button:hover {
    background: var(--school-gold) !important;
    color: var(--school-navy) !important;
    border-color: rgba(255, 255, 255, 0.85) !important;
}

/* Toppers: prev bilkul left, next bilkul right (dono columns) */
.section-toppers .topper-owl {
    position: relative;
    padding: 0 2.65rem;
}

.section-toppers .topper-owl .owl-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 6;
}

.section-toppers .topper-owl .owl-nav button.owl-prev,
.section-toppers .topper-owl .owl-nav button.owl-next {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    pointer-events: auto;
}

.section-toppers .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.35);
}

.section-toppers .owl-dots .owl-dot.active span {
    background: var(--school-gold);
}

@media (max-width: 575.98px) {
    .section-toppers .topper-owl {
        padding-left: 2.15rem;
        padding-right: 2.15rem;
    }
}

.toppers-split-col {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 1.25rem 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    height: 100%;
}

.toppers-split-label {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--school-gold);
}

.toppers-split-label--xii {
    border-bottom-color: #93c5fd;
}

.events-owl {
    padding-bottom: 0.5rem;
}

/* Topbar mobile */
@media (max-width: 575.98px) {
    .topbar .container {
        flex-direction: column;
        gap: 0.35rem;
        text-align: center;
    }

    .topbar-contact span {
        display: block;
        margin: 0 !important;
    }

    .topbar-contact .ms-3 {
        margin-left: 0 !important;
    }
}

.site-header.is-scrolled .navbar-over-hero .navbar-brand strong {
    font-size: 22px;
}
.site-header.is-scrolled .navbar-over-hero .navbar-brand small {
    font-size: 13px;
}
 .site-header.is-scrolled img{
    height: 55px;
    transition: .3s;
}

/* ----- Home: thought, media (photos+videos), achievements ----- */
.home-thought-section {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 55%);
}

.home-thought-section__kicker {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--school-blue);
    margin-bottom: 0.4rem;
}

.home-thought-section__title {
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    font-weight: 700;
    color: var(--school-navy);
    margin: 0;
}

.home-thought-card {
    margin: 0 auto;
    max-width: 44rem;
    padding: 1.5rem 1.35rem 1.65rem;
    background: #fff;
    border-radius: 1.15rem;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 16px 44px rgba(0, 38, 77, 0.08);
    border-left: 4px solid var(--school-gold);
    text-align: center;
}

.home-thought-card__body {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #3d4154;
}

.home-thought-card__cite {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    font-style: normal;
    color: var(--school-navy);
}

.home-thought-owl .owl-dots .owl-dot span {
    background: rgba(0, 38, 77, 0.2);
}

.home-thought-owl .owl-dots .owl-dot.active span,
.home-thought-owl .owl-dots .owl-dot:hover span {
    background: var(--school-gold);
}

.home-media-section {
    background: linear-gradient(180deg, #fff 0%, #f1f5f9 40%, #fff 100%);
}

.home-media-section__kicker {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--school-blue);
    margin-bottom: 0.35rem;
}

.home-media-section__title {
    font-size: clamp(1.6rem, 3.2vw, 2.25rem);
    font-weight: 700;
    color: var(--school-navy);
    margin: 0 0 0.5rem;
}

.home-media-section__lead {
    max-width: 32rem;
    color: #5c5c6f;
    font-size: 0.95rem;
    margin: 0 auto;
}

.home-media-panel {
    background: #fff;
    border-radius: 1.15rem;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 14px 40px rgba(0, 38, 77, 0.07);
    overflow: hidden;
    height: 100%;
    padding: 0 0 22px 0;
}

.home-media-panel--video {
    border-color: rgba(220, 38, 38, 0.12);
}

.home-media-panel__bar {
    padding: 0.85rem 1.1rem;
    background: linear-gradient(90deg, var(--school-navy), var(--school-blue));
    color: #fff;
}

.home-media-panel__bar--video {
    background: linear-gradient(90deg, #7f1d1d, #b91c1c);
}

.home-media-panel__label {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--kz-leaf);
}

/* Gallery carousels: arrows left / right edges */
.home-photo-owl,
.home-video-owl {
    position: relative;
    padding: 1rem 2.6rem 0.35rem;
}

.home-photo-owl .owl-nav,
.home-video-owl .owl-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 5;
}

.home-photo-owl .owl-nav button.owl-prev,
.home-photo-owl .owl-nav button.owl-next,
.home-video-owl .owl-nav button.owl-prev,
.home-video-owl .owl-nav button.owl-next {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    pointer-events: auto;
}

/* Video carousel has dots — arrows ko dots se upar */
.home-video-owl .owl-nav {
    bottom: 2.5rem;
}

.home-photo-slide {
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid rgba(0, 38, 77, 0.08);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.home-photo-slide:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 18px 42px rgba(0, 38, 77, 0.18), 0 0 0 3px rgba(255, 204, 0, 0.45);
    border-color: rgba(255, 204, 0, 0.55);
}

.home-photo-slide__img {
    width: 100%;
    height: clamp(11.5rem, 26vw, 15.5rem);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.home-photo-slide.ps-media-thumb .ps-media-thumb__inner {
    display: block;
    position: relative;
    border-radius: inherit;
    overflow: hidden;
}

.home-photo-slide.ps-media-thumb .ps-media-thumb__img {
    width: 100%;
    height: clamp(11.5rem, 26vw, 15.5rem);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.home-photo-slide.ps-media-thumb .ps-media-thumb__photo-fx {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.home-photo-slide.ps-media-thumb .ps-media-thumb__photo-fx-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, transparent 0%, rgba(0, 24, 48, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.home-photo-slide.ps-media-thumb .ps-media-thumb__photo-fx-icon {
    position: relative;
    z-index: 1;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--school-navy, #002);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-photo-slide.ps-media-thumb:hover .ps-media-thumb__photo-fx-shade,
.home-photo-slide.ps-media-thumb:focus-visible .ps-media-thumb__photo-fx-shade {
    opacity: 1;
}

.home-photo-slide.ps-media-thumb:hover .ps-media-thumb__photo-fx-icon,
.home-photo-slide.ps-media-thumb:focus-visible .ps-media-thumb__photo-fx-icon {
    opacity: 1;
    transform: translateY(0);
}

.home-video-slide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-decoration: none !important;
    color: var(--school-navy) !important;
}

.home-video-slide__thumb {
    position: relative;
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

.home-video-slide:hover .home-video-slide__thumb {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 18px 42px rgba(185, 28, 28, 0.2), 0 0 0 3px rgba(248, 113, 113, 0.45);
    border-color: rgba(248, 113, 113, 0.55);
}

.home-video-slide__img {
    width: 100%;
    height: clamp(11.5rem, 26vw, 15.5rem);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.home-video-slide__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 2.25rem;
    transition: background 0.25s ease, transform 0.35s ease;
}

.home-video-slide:hover .home-video-slide__play {
    background: rgba(185, 28, 28, 0.45);
}

.home-video-slide__play i {
    display: inline-block;
    transition: transform 0.35s ease;
}

.home-video-slide:hover .home-video-slide__play i {
    transform: scale(1.08);
}

.home-video-slide.ps-media-thumb .ps-media-thumb__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-video-slide.ps-media-thumb .ps-media-thumb__play-ring {
    position: absolute;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.65);
    pointer-events: none;
}

.home-video-slide.ps-media-thumb .ps-media-thumb__play-btn {
    position: relative;
    z-index: 1;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0.15rem;
    font-size: 0.95rem;
    color: #b91c1c;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, background 0.25s ease, color 0.25s ease;
}

.home-video-slide.ps-media-thumb:hover .ps-media-thumb__play-btn,
.home-video-slide.ps-media-thumb:focus-visible .ps-media-thumb__play-btn {
    transform: scale(1.08);
    background: #b91c1c;
    color: #fff;
}

.home-video-slide.ps-media-thumb .ps-media-thumb__video-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.25) 100%);
    opacity: 0.4;
    z-index: 1;
}

.home-video-slide__title {
    display: block;
    margin-top: 0.55rem;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.35;
    text-align: center;
}

.home-media-section__btn {
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 2rem;
    padding: 0.4rem 1.25rem;
    border: 2px solid var(--school-navy);
    color: var(--school-navy) !important;
    background: transparent;
}

.home-media-section__btn:hover {
    background: var(--school-navy) !important;
    color: #fff !important;
}

.home-media-section__btn--video {
    border-color: #b91c1c;
    color: #b91c1c !important;
}

.home-media-section__btn--video:hover {
    background: #b91c1c !important;
    color: #fff !important;
}

.home-photo-owl .owl-nav button.owl-prev,
.home-photo-owl .owl-nav button.owl-next,
.home-video-owl .owl-nav button.owl-prev,
.home-video-owl .owl-nav button.owl-next {
    background: #fff !important;
    border: 2px solid rgba(0, 38, 77, 0.12) !important;
    color: var(--school-navy) !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    box-shadow: 0 6px 18px rgba(0, 38, 77, 0.12);
}

.home-photo-owl .owl-nav button.owl-prev:hover,
.home-photo-owl .owl-nav button.owl-next:hover,
.home-video-owl .owl-nav button.owl-prev:hover,
.home-video-owl .owl-nav button.owl-next:hover {
    background: var(--school-navy) !important;
    color: #fff !important;
    border-color: var(--school-navy) !important;
}

.home-video-owl .owl-dots .owl-dot span {
    background: rgba(0, 38, 77, 0.2);
}

.home-video-owl .owl-dots .owl-dot.active span,
.home-video-owl .owl-dots .owl-dot:hover span {
    background: #ef4444;
}

.home-achievements-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 35%, #fff 100%);
}

.home-achievements-section__kicker {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--school-blue);
    margin-bottom: 0.35rem;
}

.home-achievements-section__title {
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    font-weight: 700;
    color: var(--school-navy);
    margin: 0 0 0.5rem;
}

.home-achievements-section__lead {
    max-width: 34rem;
    color: #5c5c6f;
    font-size: 0.95rem;
    margin: 0 auto;
}

.home-achievement-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 38, 77, 0.08);
    box-shadow: 0 12px 36px rgba(0, 38, 77, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: inherit;
}

.home-achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 38, 77, 0.14), 0 0 0 2px rgba(255, 204, 0, 0.35);
    border-color: rgba(255, 204, 0, 0.45);
    text-decoration: none !important;
}

.home-achievement-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    background: #e2e8f0;
}

.home-achievement-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-achievement-card__body {
    padding: 1rem 1.1rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-achievement-card__date {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--school-blue);
    margin-bottom: 0.35rem;
}

.home-achievement-card__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--school-navy);
    margin: 0 0 0.45rem;
    line-height: 1.3;
}

.home-achievement-card__excerpt {
    font-size: 0.875rem;
    color: #5c5c6f;
    line-height: 1.55;
    margin: 0 0 0.65rem;
    flex: 1;
}

.home-achievement-card__more {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--school-blue);
}

.home-achievements-section__cta {
    font-weight: 700;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--school-navy), var(--school-blue));
    color: #fff !important;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 38, 77, 0.25);
}

.home-achievements-section__cta:hover {
    color: #fff !important;
    filter: brightness(1.05);
}

.home-achievements-owl .owl-dots .owl-dot span {
    background: rgba(0, 38, 77, 0.2);
}

.home-achievements-owl .owl-dots .owl-dot.active span,
.home-achievements-owl .owl-dots .owl-dot:hover span {
    background: var(--school-gold);
}

.home-achievements-owl {
    position: relative;
    padding: 0 2.75rem 0.35rem;
}

.home-achievements-owl .owl-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 2.75rem;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 4;
}

.home-achievements-owl .owl-nav button.owl-prev,
.home-achievements-owl .owl-nav button.owl-next {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    pointer-events: auto;
    background: #fff !important;
    border: 2px solid rgba(0, 38, 77, 0.12) !important;
    color: var(--school-navy) !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    box-shadow: 0 6px 18px rgba(0, 38, 77, 0.1);
}

.home-achievements-owl .owl-nav button.owl-prev:hover,
.home-achievements-owl .owl-nav button.owl-next:hover {
    background: var(--school-navy) !important;
    color: #fff !important;
    border-color: var(--school-navy) !important;
}

.home-achievements-owl .owl-stage {
    display: flex;
}

.home-achievements-owl .owl-item {
    display: flex;
    height: auto;
    align-items: stretch;
}

.home-achievements-owl .owl-item > .item {
    display: flex;
    width: 100%;
    height: 100%;
}

.home-achievements-owl .home-achievement-card {
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
}

@media (max-width: 575.98px) {
    .home-facilities-owl,
    .home-photo-owl,
    .home-video-owl,
    .home-achievements-owl {
        padding-left: 2.15rem;
        padding-right: 2.15rem;
    }
}

/* ----- Site footer v2 ----- */
.site-footer-v2__main {
    background: linear-gradient(165deg, #021a33 0%, var(--school-navy) 40%, #0a2744 100%);
    color: rgba(255, 255, 255, 0.92);
}

.site-footer-v2__brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.site-footer-v2__logo {
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.site-footer-v2__school {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: #fff;
}

.site-footer-v2__tagline {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.site-footer-v2__contact li {
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
}

.site-footer-v2__contact a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 204, 0, 0.5);
}

.site-footer-v2__contact a:hover {
    color: var(--school-gold);
}

.site-footer-v2__heading {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--school-gold);
    margin-bottom: 1rem;
}

.site-footer-v2__links a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none !important;
    font-weight: 600;
    padding: 0.2rem 0;
    border-bottom: 1px solid transparent;
}

.site-footer-v2__links a:hover {
    color: var(--school-gold);
    border-bottom-color: rgba(255, 204, 0, 0.5);
}

.site-footer-v2__social-btn {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-footer-v2__social-btn:hover {
    background: var(--school-gold);
    color: var(--school-navy) !important;
    transform: translateY(-2px);
}

.site-footer-v2__apps-label {
    color: rgba(255, 255, 255, 0.65);
}

.site-footer-v2__bottom {
    background: #010f1f;
    color: rgba(255, 255, 255, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-v2__copy {
    font-size: 0.85rem;
}

.site-footer-v2__credit a {
    color: var(--school-gold);
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .home-photo-slide:hover,
    .home-video-slide:hover .home-video-slide__thumb,
    .home-achievement-card:hover,
    .site-footer-v2__social-btn:hover,
    .back-to-top-v2:hover,
    .back-to-top-v2:focus {
        transform: none;
    }

    .home-video-slide:hover .home-video-slide__play i {
        transform: none;
    }
}

/* ----- Page rhythm: alternating bands + separators (home) ----- */
.page-band {
    position: relative;
}

.page-band:not(.page-band--hero):not(.message-desk-section):not(.home-media-hub)::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 204, 0, 0.35) 18%,
        var(--school-blue) 50%,
        rgba(255, 204, 0, 0.35) 82%,
        transparent
    );
    pointer-events: none;
    opacity: 0.95;
}

.page-band--hero::before {
    display: none;
}

.page-band--about {
    /* .section-about already sets the wash; keep only separation */
    background: transparent;
    border-bottom: 1px solid rgba(0, 38, 77, 0.06);
}

.page-band--message {
    border-bottom: 1px solid rgba(0, 38, 77, 0.06);
}

.page-band--facilities {
    background: #fff;
    border-bottom: 1px solid rgba(0, 38, 77, 0.06);
}

.page-band--toppers {
    /* Cascade mein baad aata hai — yahi par poora blue zone (section-toppers jaisa) */
    background-color: var(--school-navy);
    background-image: repeating-linear-gradient(
        -8deg,
        transparent,
        transparent 8px,
        rgba(255, 255, 255, 0.035) 8px,
        rgba(255, 255, 255, 0.035) 16px
    ),
        radial-gradient(ellipse 100% 70% at 50% 0%, rgba(37, 99, 235, 0.22), transparent 58%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-band--thought {
    background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 35%, #fff 100%);
    border-bottom: 1px solid rgba(0, 38, 77, 0.08);
}

.page-band--thought .home-thought-section__kicker {
    color: var(--school-navy);
}

.page-band--media {
    border-bottom: 1px solid rgba(0, 38, 77, 0.08);
}

.page-band--achieve {
    background: linear-gradient(180deg, #fff 0%, #f0f4f8 100%);
    border-bottom: 1px solid rgba(0, 38, 77, 0.06);
}

/* ----- Home media hub (photos + videos) — clean wash, no mesh / dark wedge ----- */
.home-media-hub {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 38%, #f8fafc 100%) !important;
    border-top: 1px solid rgba(0, 38, 77, 0.06);
}

.home-media-hub::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 0;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, var(--school-gold), var(--school-blue), var(--school-gold), transparent);
    opacity: 0.85;
    pointer-events: none;
}

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

.home-media-hub__intro {
    position: relative;
}

.home-media-hub__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.75rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--school-navy), var(--school-blue));
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 12px 32px rgba(0, 38, 77, 0.25);
    border: 2px solid rgba(255, 204, 0, 0.45);
}

.home-media-hub__badge--dual i:last-child {
    margin-left: -0.35rem;
    color: var(--school-gold);
}

.home-media-hub .home-media-hub__kicker {
    color: var(--school-navy);
}

.home-media-hub .home-media-hub__title {
    color: var(--school-navy);
}

.home-media-hub .home-media-hub__lead {
    color: #4a5568;
}

.home-media-hub__card {
    border-radius: 1.15rem !important;
    border: 1px solid rgba(0, 38, 77, 0.1) !important;
    box-shadow: 0 16px 44px rgba(0, 38, 77, 0.1) !important;
    background: #fff !important;
}

.home-media-hub__card--photo {
    border-top: 3px solid var(--school-gold) !important;
}

.home-media-hub__card--video {
    border-top: 3px solid #dc2626 !important;
}

.home-media-hub__bar {
    border-radius: 0 !important;
    position: relative;
    overflow: hidden;
}

.home-media-hub__bar::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12));
    pointer-events: none;
}

.home-media-hub__bar--video::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15));
}

.home-media-hub .home-media-section__btn {
    background: #fff;
}

.home-media-hub .home-media-section__btn--video {
    background: #fff;
}

/* ----- Back to top ----- */
.back-to-top {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 9990;
    display: none;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    border-radius: 50%;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.back-to-top-v2 {
    background: linear-gradient(145deg, var(--school-navy), var(--school-blue));
    color: #fff !important;
    border: 2px solid rgba(255, 204, 0, 0.55);
    box-shadow: 0 10px 28px rgba(0, 24, 48, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    font-size: 1rem;
}

.back-to-top-v2:hover,
.back-to-top-v2:focus {
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 24, 48, 0.45), 0 0 0 2px rgba(255, 204, 0, 0.35);
}

.back-to-top-v2 i {
    line-height: 1;
}

@media (max-width: 575.98px) {
    .back-to-top {
        right: 0.75rem;
        bottom: 0.75rem;
        width: 2.75rem;
        height: 2.75rem;
        line-height: 2.75rem;
    }
}

/* ----- Home skitter: full width, under fixed transparent header ----- */
#main_slider {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Slider images ke upar wala hissa: black transparent gradient taake white menu / topbar padhe */
#main_slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(200px, 34vh, 460px);
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 8, 22, 0.78) 0%,
        rgba(0, 12, 28, 0.5) 32%,
        rgba(0, 10, 24, 0.22) 58%,
        transparent 100%
    );
}

#main_slider .skitter-large-box,
#main_slider .home-hero-owl-wrap {
    position: relative;
    z-index: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

#main_slider .home-hero-owl {
    max-width: 100% !important;
    width: 100% !important;
    height: calc(100vh - 6.5rem) !important;
    min-height: 320px;
    margin-bottom: 0;
}

#main_slider .home-hero-owl .owl-stage-outer,
#main_slider .home-hero-owl .owl-stage,
#main_slider .home-hero-owl .owl-item,
#main_slider .home-hero-owl .home-hero-slide {
    height: 100%;
}

#main_slider .home-hero-owl .home-hero-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

#main_slider .home-hero-owl .owl-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    margin: 0;
    pointer-events: none;
}

#main_slider .home-hero-owl .owl-nav button.owl-prev,
#main_slider .home-hero-owl .owl-nav button.owl-next {
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--school-navy, #00264d) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    font-size: 1.25rem;
}

#main_slider .home-hero-owl .owl-nav button.owl-prev {
    left: clamp(0.5rem, 2vw, 1rem);
}

#main_slider .home-hero-owl .owl-nav button.owl-next {
    right: clamp(0.5rem, 2vw, 1rem);
}

#main_slider .home-hero-owl .owl-nav button.owl-prev:hover,
#main_slider .home-hero-owl .owl-nav button.owl-next:hover {
    background: #fff !important;
}

#main_slider .home-hero-owl .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(0.75rem, 2.5vh, 1.25rem);
    z-index: 3;
    margin: 0;
}

#main_slider .home-hero-owl .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

#main_slider .home-hero-owl .owl-dots .owl-dot.active span,
#main_slider .home-hero-owl .owl-dots .owl-dot:hover span {
    background: #fff;
}

@media (max-width: 991.98px) {
    #main_slider .home-hero-owl {
        height: calc(100vh - 5.75rem) !important;
    }
}

@media (max-width: 575.98px) {
    #main_slider .home-hero-owl {
        height: calc(100vh - 5rem) !important;
        min-height: 260px;
    }
}

#main_slider .skitter.skitter-clean {
    max-width: 100% !important;
    width: 100% !important;
    /* Poori screen ke barabar, thoda kam = neeche notifications / about ka peek */
    height: calc(100vh - 6.5rem) !important;
    min-height: 320px;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    #main_slider .skitter.skitter-clean {
        height: calc(100vh - 5.75rem) !important;
    }
}

@media (max-width: 575.98px) {
    #main_slider .skitter.skitter-clean {
        height: calc(100vh - 5rem) !important;
        min-height: 260px;
    }
}

#main_slider .skitter.with-dots {
    margin-bottom: 0;
}

#main_slider .skitter .container_skitter,
#main_slider .skitter .container_skitter .image_main {
    width: 100% !important;
}

/* Homepage admin popup (modal) */
.home-site-popup .modal-content {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.home-site-popup__desc {
    font-size: 0.95rem;
    line-height: 1.55;
}
.home-site-popup__desc p:last-child {
    margin-bottom: 0;
}

/* =============================================================================
   Pre-school theme — cheerful green + butter yellow (Kidschool-inspired mood:
   soft vectors / blobs + layered washes; see https://kidschollwp.wowtheme7.com/ ).
   Rosary-only assets; palette is original.
   ============================================================================= */
body.theme-preschool {
    --school-navy: #0d5c3f;
    --school-blue: #1a8b5c;
    --school-gold: #ffd43b;
    --school-gold-deep: #e6a800;
    --header-glass: rgba(255, 255, 255, 0.96);
    --ps-mint: #c8f0d8;
    --ps-mint-deep: #9fe3bc;
    --ps-lilac: #e6f4ea;
    --ps-peach: #fff4e0;
    --ps-butter: #fff9db;
    --ps-sun: #fff3b0;
    --ps-sun-glow: rgba(255, 230, 130, 0.55);
    --ps-leaf-glow: rgba(160, 225, 185, 0.5);
    --ps-cream: #f4fbf6;
    --kz-leaf: #0f6b4e;
    --kz-leaf-dark: #094530;
    --ps-deco-leaf: rgba(15, 107, 78, 0.06);
    /* Page washes — same mint / butter / cream / blush story top → bottom */
    --ps-wash-mint: #e8f8ef;
    --ps-wash-butter: #fff9e6;
    --ps-wash-cream: #fffef5;
    --ps-wash-blush: #fff6f9;
    --ps-wash-sage: #f2f7f4;
    --ps-wash-mist: #f6fff9;
    /* Portal pills = hub chips mood (sun yellow + blossom pink) */
    --ps-login-sun: linear-gradient(145deg, #fff3a0 0%, #ffe066 38%, #ffcc33 72%, #f5b000 100%);
    --ps-login-blossom: linear-gradient(145deg, #ffeef8 0%, #ffc9e0 45%, #ff8fab 82%, #ff7090 100%);
    --ps-login-sun-bdr: rgba(230, 170, 0, 0.65);
    --ps-login-blossom-bdr: rgba(200, 72, 118, 0.38);
    --ps-login-text-sun: #3a2b08;
    --ps-login-text-blossom: #4a1830;
    --site-header-offset: 8.5rem;
    font-family: var(--font-body);
    background-color: var(--ps-cream);
    background-image:
        radial-gradient(ellipse 90% 70% at 100% -8%, var(--ps-sun-glow) 0%, transparent 55%),
        radial-gradient(ellipse 80% 60% at -10% 20%, var(--ps-leaf-glow) 0%, transparent 50%),
        radial-gradient(ellipse 70% 55% at 105% 88%, rgba(255, 240, 180, 0.4) 0%, transparent 52%),
        radial-gradient(ellipse 58% 42% at 96% 96%, rgba(255, 180, 200, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse 65% 50% at 0% 95%, rgba(22, 120, 80, 0.09) 0%, transparent 48%),
        radial-gradient(circle at 50% 50%, var(--ps-deco-leaf) 0%, var(--ps-deco-leaf) 1px, transparent 1.5px);
    background-size: auto, auto, auto, auto, auto, 28px 28px;
}

@media (max-width: 991.98px) {
    body.theme-preschool {
        --site-header-offset: 7.35rem;
    }
}

@media (max-width: 575.98px) {
    body.theme-preschool {
        --site-header-offset: 7rem;
    }
}

body.theme-preschool main.ps-home {
    position: relative;
}

body.theme-preschool main.ps-home::before {
    content: "";
    position: absolute;
    top: clamp(4rem, 18vh, 10rem);
    right: clamp(-4rem, -8vw, -1rem);
    width: min(340px, 55vw);
    height: min(340px, 55vw);
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='%23ffd43b' d='M160 40c18 28 22 62 8 92-20 45-68 70-118 58C12 174-8 108 18 58 32 28 68 8 108 12c20-18 48-22 52 28z'/%3E%3Cpath fill='%23c8f0d8' d='M48 120c-12 32 8 68 44 72 38 4 76-24 80-62 4-36-22-70-58-76-32-6-54 34-66 66z'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

body.theme-preschool main.ps-home::after {
    content: "";
    position: absolute;
    bottom: 18%;
    left: clamp(-5rem, -10vw, -1rem);
    width: min(280px, 48vw);
    height: min(280px, 48vw);
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='%231a8b5c' d='M20 100c0-44 36-80 80-80s80 36 80 80-36 80-80 80-80-36-80-80zm80-48c-26 0-48 22-48 48s22 48 48 48 48-22 48-48-22-48-48-48z'/%3E%3Ccircle cx='100' cy='100' r='28' fill='%23ffe066'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

body.theme-preschool h1,
body.theme-preschool h2,
body.theme-preschool h3,
body.theme-preschool h4,
body.theme-preschool .display-font {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.18;
}

body.theme-preschool h1 {
    font-weight: 800;
}

body.theme-preschool p,
body.theme-preschool .lead,
body.theme-preschool .home-media-section__lead,
body.theme-preschool .home-about-section__lead,
body.theme-preschool .home-facilities-section__sub {
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.65;
    color: #3d4f47;
}

/* Kidschool-style shell: cream page band + white utility strip + floating nav card */
body.theme-preschool .site-header--preschool .ps-header-kidschool {
    background: linear-gradient(180deg, #fff6e4 0%, #fff9ee 55%, #fff6e4 100%);
    padding-bottom: 0.5rem;
    transition: background 0.35s ease;
}

body.theme-preschool .site-header--preschool.site-header.is-scrolled .ps-header-kidschool {
    background: linear-gradient(180deg, #fff2d8 0%, #fff7e8 100%);
}

body.theme-preschool .site-header--preschool .ps-header-topstrip.topbar {
    background: #ffffff !important;
    color: #1f2d26;
    border-bottom: 1px dotted rgba(15, 41, 31, 0.22);
    box-shadow: none;
}

body.theme-preschool .site-header--preschool .ps-header-topstrip .topbar a,
body.theme-preschool .site-header--preschool .ps-header-topstrip a {
    color: #24352e;
}

body.theme-preschool .site-header--preschool .ps-header-topstrip a:hover {
    color: var(--kz-leaf);
}

body.theme-preschool .topbar {
    background: linear-gradient(
        100deg,
        #062a1f 0%,
        var(--kz-leaf-dark) 22%,
        var(--kz-leaf) 58%,
        #138a62 88%,
        #169670 100%
    );
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.theme-preschool .site-header--preschool .ps-header-kidschool .topbar {
    background: #ffffff !important;
    color: #1f2d26;
    border-bottom: 1px dotted rgba(15, 41, 31, 0.22);
}

body.theme-preschool .topbar a:hover {
    color: var(--school-gold);
}

body.theme-preschool .site-header--preschool .ps-header-kidschool .topbar a:hover {
    color: var(--kz-leaf);
}

body.theme-preschool .site-header.is-scrolled .topbar {
    background: rgba(255, 255, 255, 0.98);
    color: var(--kz-leaf);
    border-bottom-color: rgba(15, 107, 78, 0.1);
}

body.theme-preschool .site-header--preschool.site-header.is-scrolled .ps-header-topstrip.topbar {
    background: #ffffff !important;
    color: #1f2d26;
    border-bottom-color: rgba(15, 41, 31, 0.2);
}

body.theme-preschool .site-header.is-scrolled .topbar a {
    color: var(--kz-leaf);
}

body.theme-preschool .site-header--preschool.site-header.is-scrolled .ps-header-topstrip.topbar a {
    color: #24352e;
}

body.theme-preschool .site-header.is-scrolled .topbar a:hover {
    color: var(--school-blue);
}

body.theme-preschool .site-header--preschool .ps-header-topstrip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    padding-right: 0 !important;
}

body.theme-preschool .ps-header-contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    min-width: 0;
    flex: 1 1 220px;
}

body.theme-preschool .ps-header-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #24352e;
    text-decoration: none !important;
    max-width: 100%;
}

body.theme-preschool .ps-header-contact:hover {
    color: var(--kz-leaf);
}

body.theme-preschool .ps-header-contact--plain {
    cursor: default;
}

body.theme-preschool .ps-header-contact__ico {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    padding: 8px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-size: 14px;
    color: #3a2b08;
    background: linear-gradient(180deg, #fff3a0 0%, #ffe066 45%, #ffcc33 100%);
    box-shadow: 0 2px 0 rgba(200, 150, 0, 0.25);
}

body.theme-preschool .ps-header-contact__text {
    min-width: 0;
}

body.theme-preschool .ps-header-util-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem 0.65rem;
    flex: 0 1 auto;
}

body.theme-preschool .ps-topbar__quicklinks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem 0.45rem;
    max-width: 100%;
}

body.theme-preschool .ps-topbar__qlink {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.22rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none !important;
    color: #1a2e24 !important;
    border-radius: 5px;
    border: 1px solid rgba(15, 107, 78, 0.22);
    background: linear-gradient(180deg, #fffef8 0%, #eef8f2 100%);
    box-shadow: 0 2px 0 rgba(15, 107, 78, 0.08);
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        transform 0.12s ease;
    white-space: nowrap;
}

body.theme-preschool .ps-topbar__qlink:hover {
    color: #0d4a36 !important;
    border-color: rgba(15, 107, 78, 0.38);
    background: #fff;
    transform: translateY(-1px);
}

body.theme-preschool .ps-topbar__qlink-ico {
    font-size: 0.78rem;
    opacity: 0.88;
}

body.theme-preschool .ps-topbar__qlink--disclosure {
    text-transform: none;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.01em;
    white-space: normal;
    line-height: 1.15;
    max-width: 11rem;
    text-align: left;
}

@media (max-width: 575.98px) {
    body.theme-preschool .ps-topbar__qlink {
        font-size: 0.68rem;
        padding: 0.2rem 0.45rem;
    }
}

body.theme-preschool .ps-header-mini-link {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #e63946 !important;
    text-decoration: none !important;
    align-items: center;
}

body.theme-preschool .ps-header-mini-link:hover {
    color: #c1121f !important;
    text-decoration: underline !important;
}

body.theme-preschool .ps-header-social a {
    display: inline-flex;
    width: 1.85rem;
    height: 1.85rem;
    align-items: center;
    justify-content: center;
    margin: 0 0.1rem;
    color: #1a1a1a !important;
    border-radius: 50%;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

body.theme-preschool .ps-header-social a:hover {
    background: rgba(255, 201, 60, 0.35);
    color: #000 !important;
}

body.theme-preschool .ps-header-nav-shell {
    position: relative;
    z-index: 2;
    padding-left: 12px;
    padding-right: 12px;
}

@media (min-width: 576px) {
    body.theme-preschool .ps-header-nav-shell {
        padding-left: 15px;
        padding-right: 15px;
        position: absolute;
        left: 0;
        right: 0;
    }
}

body.theme-preschool .navbar-over-hero {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 107, 78, 0.08);
    box-shadow: 0 4px 24px rgba(15, 107, 78, 0.06);
}

body.theme-preschool .ps-header-nav-card.navbar-over-hero {
    background: #ffffff !important;
    border-radius: 0 0 1.75rem 1.75rem;
    border: none !important;
    box-shadow: 0 14px 40px rgba(15, 41, 31, 0.1);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    margin-top: 0;
    margin-bottom: 0;
}

body.theme-preschool .site-header.is-scrolled .ps-header-nav-card.navbar-over-hero {
    border-radius: 0 0 1.25rem 1.25rem;
    box-shadow: 0 10px 28px rgba(15, 41, 31, 0.12);
}

body.theme-preschool .navbar-over-hero .navbar-brand strong {
    color: var(--kz-leaf) !important;
    font-family: var(--font-display) !important;
    text-shadow: none;
}

body.theme-preschool .navbar-over-hero .navbar-brand small {
    color: rgba(15, 107, 78, 0.78) !important;
    text-shadow: none;
}

body.theme-preschool .navbar-over-hero .nav-link {
    color: var(--kz-leaf) !important;
    text-shadow: none;
    font-weight: 600;
}

body.theme-preschool .navbar-over-hero .nav-link:hover,
body.theme-preschool .navbar-over-hero .nav-link:focus {
    color: var(--school-blue) !important;
}

body.theme-preschool .navbar-over-hero .navbar-toggler {
    border-color: rgba(15, 107, 78, 0.35);
}

body.theme-preschool .navbar-over-hero .navbar-toggler-icon {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 107, 78, 0.88%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body.theme-preschool .navbar-over-hero .dropdown-item {
    color: var(--kz-leaf);
}

body.theme-preschool .navbar-over-hero .dropdown-item:hover {
    background: rgba(255, 204, 51, 0.25);
    color: var(--kz-leaf-dark);
}

@media (max-width: 991.98px) {
    body.theme-preschool .navbar-over-hero .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(15, 107, 78, 0.1);
        box-shadow: 0 12px 40px rgba(15, 107, 78, 0.1);
    }
}

body.theme-preschool .site-header.is-scrolled .navbar-over-hero .navbar-brand strong,
body.theme-preschool .site-header.is-scrolled .navbar-over-hero .navbar-brand small,
body.theme-preschool .site-header.is-scrolled .navbar-over-hero .nav-link {
    color: var(--kz-leaf) !important;
}

body.theme-preschool .site-header.is-scrolled .navbar-over-hero .nav-link:hover {
    color: var(--school-blue) !important;
}

body.theme-preschool .btn-preschool-cta {
    font-weight: 800;
    border-radius: 999px;
    padding: 0.4rem 1.15rem;
    background: linear-gradient(180deg, #ffe066 0%, var(--school-gold) 55%, #f0b400 100%);
    color: #1a2e24 !important;
    border: none;
    box-shadow: 0 4px 0 rgba(180, 130, 0, 0.35), 0 8px 20px rgba(245, 176, 0, 0.35);
}

body.theme-preschool .btn-preschool-cta:hover {
    color: #0d2818 !important;
    filter: brightness(1.04);
    transform: translateY(-1px);
}

body.theme-preschool .site-footer-v2__main {
    background: linear-gradient(165deg, var(--kz-leaf-dark) 0%, var(--kz-leaf) 45%, #0a4a36 100%);
}

body.theme-preschool .page-band:not(.page-band--hero):not(.message-desk-section):not(.home-media-hub)::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(26, 139, 92, 0.42) 22%,
        rgba(255, 212, 59, 0.75) 50%,
        rgba(26, 139, 92, 0.42) 78%,
        transparent
    );
}

/* ----- Home (main.ps-home): alternate plain white / soft yellow + waves ----- */
body.theme-preschool main.ps-home > section.ps-section-rhythm--a.page-band:not(.page-band--hero) {
    background: #ffffff !important;
}

body.theme-preschool main.ps-home > section.ps-section-rhythm--a.page-band:not(.page-band--hero)::before {
    height: 4px;
    opacity: 0.45;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 212, 120, 0.55) 45%,
        rgba(15, 107, 78, 0.2) 50%,
        rgba(255, 212, 120, 0.55) 55%,
        transparent
    );
}

body.theme-preschool main.ps-home > section.ps-section-rhythm--a.ps-parent-hub .ps-parent-hub__sky {
    opacity: 0.32;
}

body.theme-preschool main.ps-home > section.ps-section-rhythm--a.ps-about-band .ps-about-band__blobs {
    opacity: 0.18;
}

body.theme-preschool main.ps-home > section.ps-section-rhythm--a.ps-facilities-band::before,
body.theme-preschool main.ps-home > section.ps-section-rhythm--a.ps-facilities-band::after {
    opacity: 0.22;
}

body.theme-preschool main.ps-home > section.ps-section-rhythm--a.ps-gallery-band .ps-gallery-band__wave-top {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,18 C240,36 480,0 720,18 C960,36 1200,0 1440,14 L1440,0 L0,0 Z'/%3E%3C/svg%3E")
        center/cover no-repeat;
}

body.theme-preschool main.ps-home > section.ps-section-rhythm--b.page-band:not(.page-band--hero)::before {
    display: none;
}

body.theme-preschool main.ps-home > section.ps-section-rhythm--b.page-band:not(.page-band--hero) {
    position: relative;
    z-index: 0;
    background-color: #fffef8 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%23fff2c2' d='M0,12 C200,34 420,2 640,26 C860,6 1080,36 1300,14 L1440,8 L1440,40 L0,40 Z'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%23fff2c2' d='M0,0 L1440,0 L1440,18 C1220,36 980,8 740,26 C500,4 260,32 0,14 Z'/%3E%3C/svg%3E"),
        linear-gradient(180deg, rgba(255, 248, 220, 0.55) 0%, #ffffff 14%, #ffffff 86%, rgba(255, 248, 220, 0.5) 100%);
    background-repeat: no-repeat;
    background-position:
        center top,
        center bottom,
        center;
    background-size:
        100% 40px,
        100% 40px,
        100% 100%;
}

body.theme-preschool main.ps-home > section.ps-section-rhythm--b.ps-desk-band::before {
    opacity: 0.1;
}

body.theme-preschool main.ps-home > section.ps-section-rhythm--b.ps-desk-band .ps-desk-band__dots {
    opacity: 0.06;
}

body.theme-preschool main.ps-home > section.ps-section-rhythm--b.ps-stories-band::before {
    opacity: 0.12;
}

/* ----- Hero: green wash + admission badge + yellow CTAs ----- */
body.theme-preschool #main_slider.home-hero-stack--preschool .home-hero-slide__img {
    filter: saturate(1.12) brightness(1.03);
}

body.theme-preschool .home-hero-stack__overlay--preschool::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        185deg,
        rgba(30, 80, 60, 0.25) 0%,
        rgba(15, 90, 65, 0.42) 42%,
        rgba(8, 55, 40, 0.72) 100%
    );
}

body.theme-preschool .home-hero-stack__overlay--preschool .home-hero-stack__welcome {
    position: relative;
    z-index: 1;
}

body.theme-preschool .home-hero-stack__ad-badge {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    padding: 0.35rem 1.1rem 0.35rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a2e24;
    background: linear-gradient(180deg, #fff6b0 0%, var(--school-gold) 100%);
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

body.theme-preschool .home-hero-stack__ad-badge-inner {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: #e63946;
    vertical-align: middle;
    animation: preschool-pulse-dot 1.4s ease-in-out infinite;
}

@keyframes preschool-pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.65;
        transform: scale(0.92);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.theme-preschool .home-hero-stack__ad-badge-inner {
        animation: none;
    }
}

body.theme-preschool .home-hero-stack--preschool .home-hero-stack__title-main {
    font-size: clamp(1.85rem, 5.5vw, 3.35rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.theme-preschool .home-hero-stack--preschool .home-hero-stack__title-brand {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

body.theme-preschool .home-hero-stack__tagline {
    max-width: 38rem;
    font-size: clamp(0.95rem, 2.1vw, 1.08rem);
    font-weight: 500;
    line-height: 1.6;
    opacity: 0.96;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

body.theme-preschool .home-hero-stack__actions {
    pointer-events: auto;
    gap: 0.65rem;
}

body.theme-preschool .home-hero-stack__btn {
    font-weight: 800;
    border-radius: 999px;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    border-width: 2px;
}

body.theme-preschool .home-hero-stack__btn--primary {
    background: linear-gradient(180deg, #ffe066 0%, var(--school-gold) 50%, #e6ac00 100%);
    color: #142018 !important;
    border-color: transparent;
    box-shadow: 0 4px 0 rgba(180, 130, 0, 0.45), 0 10px 28px rgba(0, 0, 0, 0.2);
}

body.theme-preschool .home-hero-stack__btn--primary:hover {
    color: #0a160f !important;
    filter: brightness(1.05);
}

body.theme-preschool .home-hero-stack__btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
}

body.theme-preschool .home-hero-stack__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff !important;
}

body.theme-preschool .home-hero-stack__patron {
    border-radius: 1.25rem;
    border-width: 3px;
    border-color: rgba(255, 236, 120, 0.95);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

body.theme-preschool .home-hero-stack__patron-label {
    background: linear-gradient(transparent, rgba(9, 69, 48, 0.95));
}

@media (max-width: 575.98px) {
    body.theme-preschool .home-hero-stack__welcome .container {
        padding-bottom: 0.5rem;
    }
}

/* ----- Why choose us: white cards + coloured top border ----- */
body.theme-preschool .page-band--preschool-pillars {
    background: linear-gradient(180deg, #ffffff 0%, var(--ps-cream) 40%, var(--ps-wash-mint) 100%);
    border-bottom: 1px solid rgba(15, 107, 78, 0.08);
}

body.theme-preschool .page-band--preschool-pillars::before {
    display: none;
}

body.theme-preschool .preschool-pillars__kicker {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--school-blue);
    margin-bottom: 0.35rem;
}

body.theme-preschool .preschool-pillars__title {
    color: var(--kz-leaf);
    font-size: clamp(1.65rem, 4vw, 2.35rem);
}

body.theme-preschool .preschool-pillars__lead {
    max-width: 40rem;
    color: #3d5348;
    font-size: 1.02rem;
    line-height: 1.65;
}

body.theme-preschool .preschool-pillar-card {
    height: 100%;
    border-radius: 1.25rem;
    padding: 1.5rem 1.35rem 1.4rem;
    background: #fff !important;
    box-shadow: 0 8px 28px rgba(15, 107, 78, 0.08);
    border: 1px solid rgba(15, 107, 78, 0.1);
    border-top: 4px solid var(--school-blue);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.theme-preschool .preschool-pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 107, 78, 0.12);
}

body.theme-preschool .preschool-pillar-card--2 {
    border-top-color: var(--school-gold-deep);
}

body.theme-preschool .preschool-pillar-card--3 {
    border-top-color: #2a9d6b;
}

body.theme-preschool .preschool-pillar-card--4 {
    border-top-color: #1d7a58;
}

body.theme-preschool .preschool-pillar-card__icon {
    background: var(--ps-mint);
    color: var(--kz-leaf);
    box-shadow: none;
}

body.theme-preschool .preschool-pillar-card__title {
    color: var(--kz-leaf);
}

body.theme-preschool .preschool-pillar-card__text {
    color: #4a5c54;
}

body.theme-preschool .preschool-pillars__cta {
    font-weight: 800;
    border-radius: 999px;
    padding: 0.55rem 1.35rem;
    background: var(--kz-leaf);
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 14px rgba(15, 107, 78, 0.35);
}

body.theme-preschool .preschool-pillars__cta:hover {
    background: var(--kz-leaf-dark);
    color: #fff !important;
}

body.theme-preschool .preschool-pillars__cta--alt {
    background: #fff;
    color: var(--kz-leaf) !important;
    border: 2px solid rgba(15, 107, 78, 0.35);
    box-shadow: none;
}

body.theme-preschool .preschool-pillars__cta--alt:hover {
    border-color: var(--kz-leaf);
    color: var(--kz-leaf) !important;
    background: rgba(255, 252, 230, 0.95);
}

body.theme-preschool .site-header.is-scrolled .navbar-over-hero .navbar-toggler-icon {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 107, 78, 0.88%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =============================================================================
   Preschool homepage sections (.ps-home) — colourful blocks, vectors, waves
   ============================================================================= */
body.theme-preschool .ps-home #main_slider.ps-hero {
    position: relative;
}

body.theme-preschool .ps-hero__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: clamp(52px, 9vw, 100px);
    z-index: 8;
    color: #eef8f2;
    pointer-events: none;
    line-height: 0;
}

body.theme-preschool .ps-hero__wave-svg {
    width: 100%;
    height: 100%;
    display: block;
}

body.theme-preschool #main_slider.ps-hero .home-hero-owl .owl-nav button.owl-prev,
body.theme-preschool #main_slider.ps-hero .home-hero-owl .owl-nav button.owl-next {
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--kz-leaf) !important;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body.theme-preschool #main_slider.ps-hero .home-hero-owl .owl-dots .owl-dot.active span,
body.theme-preschool #main_slider.ps-hero .home-hero-owl .owl-dots .owl-dot:hover span {
    background: var(--school-gold);
}

/* --- Updates strip (notifications + quick tiles) --- */
body.theme-preschool .ps-about-band {
    position: relative;
    background: linear-gradient(180deg, var(--ps-wash-mint) 0%, var(--ps-wash-butter) 42%, var(--ps-wash-cream) 78%, #fff 100%);
    overflow: hidden;
}

body.theme-preschool .ps-about-band__blobs {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 220, 140, 0.65) 0%, rgba(255, 240, 200, 0.25) 45%, transparent 72%);
    top: -70px;
    right: -50px;
    pointer-events: none;
}

body.theme-preschool .ps-about-band__blobs::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 235, 200, 0.75) 0%, transparent 70%);
    top: 30%;
    left: -140px;
    pointer-events: none;
}

body.theme-preschool .ps-about-band__blobs::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 212, 120, 0.55) 0%, transparent 72%);
    bottom: -150px;
    left: -60px;
}

body.theme-preschool .ps-section-head {
    display: flex;
    align-items: flex-start;
}

body.theme-preschool .ps-section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px !important;
}

body.theme-preschool .ps-section-head--left {
    text-align: left;
}

body.theme-preschool .ps-section-head__kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--school-blue);
    margin-bottom: 0.2rem;
}

body.theme-preschool .ps-section-head__title {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    color: var(--kz-leaf);
    margin: 0;
}

body.theme-preschool .ps-section-head__lead {
    max-width: 32rem;
    color: #4a5c54;
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

body.theme-preschool .ps-notify-panel {
    border-radius: 1.35rem;
    border: none;
    box-shadow: 0 16px 40px rgba(15, 107, 78, 0.1);
    overflow: hidden;
    background: #fff;
}

body.theme-preschool .ps-notify-panel__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(105deg, #d8f5e8 0%, #fff9e6 100%);
    border-bottom: 2px dashed rgba(15, 107, 78, 0.15);
    padding: 1rem 1.15rem;
}

body.theme-preschool .ps-notify-panel__head .notify-panel__title {
    margin: 0;
    flex: 1;
    color: var(--kz-leaf);
}

body.theme-preschool .ps-notify-panel__svg {
    flex-shrink: 0;
}

body.theme-preschool .ps-notify-panel .notify-slide__inner {
    border-radius: 1rem;
    background: linear-gradient(180deg, #fff 0%, #f8fdfb 100%);
    border: 1px solid rgba(15, 107, 78, 0.08);
}

body.theme-preschool .ps-quick-actions .ps-action-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.15rem !important;
    border: 2px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 10px 28px rgba(15, 107, 78, 0.1) !important;
}

body.theme-preschool .ps-action-card__blob {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    right: -40px;
    top: -40px;
    opacity: 0.35;
    pointer-events: none;
}

body.theme-preschool .ps-action-card--sun .ps-action-card__blob {
    background: #ffb703;
}

body.theme-preschool .ps-action-card--sun {
    background: linear-gradient(135deg, #fff8e7 0%, #ffe8cc 100%) !important;
}

body.theme-preschool .ps-action-card--sky .ps-action-card__blob {
    background: #7ec8e3;
}

body.theme-preschool .ps-action-card--sky {
    background: linear-gradient(135deg, #eef8ff 0%, #dbeafe 100%) !important;
}

body.theme-preschool .ps-action-card--lilac .ps-action-card__blob {
    background: #cdb4db;
}

body.theme-preschool .ps-action-card--lilac {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%) !important;
}

body.theme-preschool .ps-action-card .home-link-card__icon {
    background: #fff !important;
    color: var(--kz-leaf) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* --- About story + collage --- */
body.theme-preschool .ps-about-main {
    position: relative;
}

body.theme-preschool .ps-about-kicker {
    color: var(--school-blue);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

body.theme-preschool .ps-about-heading {
    color: var(--kz-leaf);
    font-size: 30px;
}

body.theme-preschool .ps-about-visual {
    position: relative;
}

body.theme-preschool .ps-about-visual__ring {
    position: absolute;
    inset: -12px;
    border-radius: 2rem;
    border: 3px dashed rgba(255, 201, 51, 0.65);
    pointer-events: none;
    z-index: 0;
    animation: ps-ring-wobble 10s ease-in-out infinite;
}

@keyframes ps-ring-wobble {
    0%,
    100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-1.5deg) scale(1.01);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.theme-preschool .ps-about-visual__ring {
        animation: none;
    }
}

body.theme-preschool .ps-about-collage {
    position: relative;
    z-index: 1;
}

body.theme-preschool .ps-about-collage .about-home-collage__accent {
    background: conic-gradient(from 180deg, #ffc93c, #ff8fab, #7ec8e3, #c8f3e1, #ffc93c) !important;
}

body.theme-preschool .about-home-actions__primary {
    background: linear-gradient(180deg, #ffe066 0%, var(--school-gold) 100%) !important;
    color: #142018 !important;
    border: none !important;
    box-shadow: 0 4px 0 rgba(200, 150, 0, 0.4);
}

/* --- Message desk + birthdays --- */
body.theme-preschool .ps-desk-band {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, var(--ps-wash-mist) 32%, var(--ps-wash-butter) 68%, var(--ps-wash-cream) 100%);
    overflow: hidden;
}

body.theme-preschool .ps-desk-band::before {
    content: "";
    position: absolute;
    top: -10%;
    right: 5%;
    width: min(280px, 55vw);
    height: min(200px, 35vw);
    background: radial-gradient(ellipse at center, rgba(255, 224, 120, 0.5) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

body.theme-preschool .ps-desk-band__dots {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.13;
    background-image: radial-gradient(#0f6b4e 1.35px, transparent 1.35px),
        radial-gradient(rgba(255, 204, 51, 0.95) 1px, transparent 1px);
    background-size: 20px 20px, 20px 20px;
    background-position: 0 0, 10px 10px;
    pointer-events: none;
}

body.theme-preschool .ps-desk-panel {
    border-radius: 1.35rem;
    border: 2px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 14px 36px rgba(15, 107, 78, 0.08);
    background: #fff;
}

body.theme-preschool .ps-desk-panel .message-desk-tabs {
    border-radius: 999px;
    background: #eef8f2;
    padding: 0.35rem;
    gap: 0.25rem;
    flex-wrap: wrap;
}

body.theme-preschool .ps-desk-panel .message-desk-tabs .nav-link {
    border-radius: 999px !important;
    border: none !important;
    margin: 0 !important;
    color: var(--kz-leaf) !important;
    font-weight: 700;
}

body.theme-preschool .ps-desk-panel .message-desk-tabs .nav-link.active {
    background: linear-gradient(180deg, #ffe066, var(--school-gold)) !important;
    color: #1a2e24 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.theme-preschool .ps-desk-panel .message-desk-tab-content {
    padding-top: 0.35rem;
}

body.theme-preschool .ps-desk-panel .message-desk-pane {
    border-radius: 1rem;
    background: linear-gradient(180deg, #fffef9 0%, #fff 100%);
}

body.theme-preschool .ps-birthday-card {
    position: relative;
    border-radius: 1.35rem;
    overflow: hidden;
    border: 3px solid rgba(255, 143, 171, 0.45);
    background: linear-gradient(165deg, #fff5f8 0%, #fff 40%, #e8f8ff 100%);
    box-shadow: 0 14px 32px rgba(255, 105, 135, 0.12);
}

body.theme-preschool .ps-birthday-card__confetti {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background-image: linear-gradient(135deg, #ffc93c 8px, transparent 8px),
        linear-gradient(-45deg, #7ec8e3 6px, transparent 6px),
        linear-gradient(45deg, #cdb4db 6px, transparent 6px);
    background-size: 24px 24px;
    pointer-events: none;
}

body.theme-preschool .ps-birthday-card__head .message-desk-aside__icon {
    background: linear-gradient(135deg, #ff8fab, #ffc9de);
    color: #fff;
}

/* --- Facilities carousel --- */
body.theme-preschool .ps-facilities-band {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, var(--ps-wash-mist) 35%, var(--ps-wash-butter) 70%, #fff 100%);
}

body.theme-preschool .ps-facilities-band::before {
    content: "";
    position: absolute;
    top: 2rem;
    left: -3rem;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 220, 100, 0.45) 0%, transparent 68%);
    pointer-events: none;
    opacity: 0.9;
}

body.theme-preschool .ps-facilities-band::after {
    content: "";
    position: absolute;
    bottom: 4rem;
    right: -2rem;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(160, 225, 185, 0.5) 0%, transparent 70%);
    pointer-events: none;
}

body.theme-preschool .ps-facilities-head__icon {
    display: inline-block;
    margin-bottom: 0.5rem;
}

body.theme-preschool .ps-facilities-tag {
    color: var(--school-blue) !important;
    font-weight: 800;
}

body.theme-preschool .ps-facility-tile {
    border-radius: 1.25rem !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 12px 28px rgba(15, 107, 78, 0.1) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.theme-preschool .ps-facility-tile:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 40px rgba(15, 107, 78, 0.14) !important;
}

body.theme-preschool .ps-facility-tile .home-facility-card__icon {
    transform: scale(1.08);
}

/* Facilities + birthdays split row */
body.theme-preschool .ps-facilities-split__main-inner {
    border-radius: 1.35rem;
    padding: 0.75rem 0.6rem 0.9rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 10px 30px rgba(15, 107, 78, 0.07);
    min-height: 11rem;
}

/* Birthdays panel (facilities column) — ribbon + horizontal slides */
body.theme-preschool .ps-bday-panel {
    position: relative;
    height: 100%;
    min-height: 13rem;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(15, 107, 78, 0.12);
    box-shadow: 0 16px 40px rgba(15, 107, 78, 0.11);
}

@media (min-width: 992px) {
    body.theme-preschool .ps-bday-panel {
        position: sticky;
        top: 5.5rem;
    }
}

body.theme-preschool .ps-bday-panel__ribbon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(110deg, #0f6b4e 0%, #156b4e 40%, #1a7a5c 100%);
    color: #fff;
}

body.theme-preschool .ps-bday-panel__ribbon-icon {
    flex-shrink: 0;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

body.theme-preschool .ps-bday-panel__ribbon-title {
    margin: 0 0 0.1rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

body.theme-preschool .ps-bday-panel__ribbon-sub {
    margin: 0;
    font-size: 0.78rem;
    opacity: 0.9;
}

body.theme-preschool .ps-bday-panel__body {
    padding: 0.65rem 0.65rem 0.85rem;
    background: linear-gradient(180deg, #f8fdfb 0%, #fff 55%);
}

body.theme-preschool .ps-bday-slide {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    padding: 0.42rem 0.4rem;
    border-radius: 0.9rem;
    background: #fff;
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 4px 14px rgba(15, 107, 78, 0.06);
}

body.theme-preschool .ps-bday-slide__photo {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid rgba(255, 201, 60, 0.65);
    box-shadow: 0 4px 12px rgba(15, 107, 78, 0.12);
}

body.theme-preschool .ps-bday-slide__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.theme-preschool .ps-bday-slide__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-align: left;
}

body.theme-preschool .ps-bday-slide__name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f291f;
    line-height: 1.25;
}

body.theme-preschool .ps-bday-slide__class {
    font-size: 0.75rem;
    font-weight: 600;
    color: #5a6c64;
}

body.theme-preschool .ps-bday-panel__owl .owl-nav {
    margin-top: 0.5rem;
    text-align: center;
}

body.theme-preschool .ps-bday-panel__owl .owl-nav button.owl-prev,
body.theme-preschool .ps-bday-panel__owl .owl-nav button.owl-next {
    background: rgba(15, 107, 78, 0.08) !important;
    border: 2px solid rgba(15, 107, 78, 0.14) !important;
    color: var(--kz-leaf) !important;
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
}

body.theme-preschool .ps-bday-panel__owl .owl-nav button.owl-prev:hover,
body.theme-preschool .ps-bday-panel__owl .owl-nav button.owl-next:hover {
    background: linear-gradient(180deg, #ffe066, #ffc93c) !important;
    color: #1a2e24 !important;
}

/* Messages — Principal left, Manager right; photo | text; button below */
body.theme-preschool .ps-desk-lead-row {
    align-items: stretch;
}

body.theme-preschool .ps-desk-split-card {
    height: 100%;
    border-radius: 1.35rem;
    overflow: hidden;
    border: 2px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 14px 40px rgba(15, 107, 78, 0.1);
    background: linear-gradient(180deg, #fff 0%, #fffdf8 50%, #f6fdf9 100%);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.theme-preschool .ps-desk-split-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(15, 107, 78, 0.13);
    border-color: rgba(255, 201, 60, 0.45);
}

body.theme-preschool .ps-desk-split-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.15rem 1.15rem 1.2rem;
}

@media (min-width: 768px) {
    body.theme-preschool .ps-desk-split-card__inner {
        padding: 1.35rem 1.35rem 1.4rem;
    }
}

body.theme-preschool .ps-desk-split-card__top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    flex: 1 1 auto;
}

body.theme-preschool .ps-desk-split-card__photo {
    flex: 0 0 38%;
    max-width: 220px;
    min-width: 120px;
    aspect-ratio: 3 / 4;
    border-radius: 1rem;
    overflow: hidden;
    border: 3px solid rgba(255, 201, 60, 0.55);
    box-shadow: 0 8px 22px rgba(15, 107, 78, 0.12);
    background: #eef8f2;
}

body.theme-preschool .ps-desk-split-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

body.theme-preschool .ps-desk-split-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    color: rgba(15, 107, 78, 0.25);
}

body.theme-preschool .ps-desk-split-card__text {
    flex: 1;
    min-width: 0;
}

body.theme-preschool .ps-desk-split-card__role {
    margin: 0 0 0.5rem;
    font-size: clamp(1.05rem, 2.2vw, 1.28rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--kz-leaf);
}

body.theme-preschool .ps-desk-split-card__desc {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #3d4f48;
}

body.theme-preschool .ps-desk-split-card__footer {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(15, 107, 78, 0.15);
}

body.theme-preschool .ps-desk-split-card__btn {
    text-align: center;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 0.55rem 1rem;
    background: linear-gradient(180deg, #ffe066, #ffc93c) !important;
    color: #1a2e24 !important;
    border: none !important;
    box-shadow: 0 3px 0 rgba(200, 150, 0, 0.35);
    border-radius: 5px;
}

body.theme-preschool .ps-desk-split-card__btn:hover {
    color: #0f291f !important;
    filter: brightness(1.04);
}

/* Facilities — polaroid-style thumbnails */
body.theme-preschool .ps-fac-polaroid {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.55rem 0.6rem;
    border-radius: 0.35rem;
    background: linear-gradient(180deg, #faf8f5 0%, #f3f0eb 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.85) inset,
        0 12px 28px rgba(15, 107, 78, 0.1);
    transform: rotate(-0.6deg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: inherit;
}

body.theme-preschool .ps-facilities-polaroid-grid .col:nth-child(even) .ps-fac-polaroid {
    transform: rotate(0.6deg);
}

body.theme-preschool .ps-fac-polaroid:hover {
    transform: rotate(0deg) translateY(-5px) scale(1.02);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.85) inset,
        0 18px 40px rgba(15, 107, 78, 0.16);
    color: inherit;
}

body.theme-preschool .ps-fac-polaroid__tape {
    position: absolute;
    top: -0.15rem;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 38%;
    height: 0.55rem;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(255, 236, 160, 0.95), rgba(255, 220, 120, 0.9));
    opacity: 0.9;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

body.theme-preschool .ps-fac-polaroid__shot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    min-height: 78px;
    border-radius: 0.2rem;
    overflow: hidden;
}

body.theme-preschool .ps-fac-polaroid__mono {
    position: absolute;
    font-size: clamp(2.1rem, 7vw, 2.75rem);
    font-weight: 800;
    opacity: 0.12;
    color: #fff;
    user-select: none;
}

body.theme-preschool .ps-fac-polaroid__icon {
    position: relative;
    z-index: 1;
    font-size: 1.45rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.theme-preschool .ps-fac-polaroid--1 .ps-fac-polaroid__shot {
    background: linear-gradient(145deg, #0f6b4e, #34d399);
}
body.theme-preschool .ps-fac-polaroid--2 .ps-fac-polaroid__shot {
    background: linear-gradient(145deg, #b45309, #fbbf24);
}
body.theme-preschool .ps-fac-polaroid--3 .ps-fac-polaroid__shot {
    background: linear-gradient(145deg, #6d28d9, #a78bfa);
}
body.theme-preschool .ps-fac-polaroid--4 .ps-fac-polaroid__shot {
    background: linear-gradient(145deg, #0369a1, #38bdf8);
}
body.theme-preschool .ps-fac-polaroid--5 .ps-fac-polaroid__shot {
    background: linear-gradient(145deg, #be123c, #fb7185);
}
body.theme-preschool .ps-fac-polaroid--6 .ps-fac-polaroid__shot {
    background: linear-gradient(145deg, #0e7490, #2dd4bf);
}
body.theme-preschool .ps-fac-polaroid--7 .ps-fac-polaroid__shot {
    background: linear-gradient(145deg, #334155, #94a3b8);
}
body.theme-preschool .ps-fac-polaroid--8 .ps-fac-polaroid__shot {
    background: linear-gradient(145deg, #a16207, #facc15);
}

body.theme-preschool .ps-fac-polaroid__caption {
    margin-top: 0.45rem;
    padding: 0 0.15rem;
    text-align: center;
}

body.theme-preschool .ps-fac-polaroid__title {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1a2e24;
    font-family: "Fraunces", Georgia, serif;
}

body.theme-preschool .ps-fac-polaroid__sub {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    line-height: 1.35;
    color: #5c6670;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.theme-preschool .ps-facilities-all-btn {
    background: linear-gradient(180deg, #ffe066, #ffc93c) !important;
    color: #1a2e24 !important;
    border: none !important;
    box-shadow: 0 3px 0 rgba(200, 150, 0, 0.38);
}

body.theme-preschool .ps-facilities-all-btn:hover {
    filter: brightness(1.05);
    color: #0f291f !important;
}

/* --- Testimonials (Owl, speech bubbles) --- */
body.theme-preschool .ps-testimonials-band {
    position: relative;
    background: linear-gradient(180deg, var(--ps-wash-sage) 0%, var(--ps-wash-butter) 48%, var(--ps-wash-mist) 100%);
}

body.theme-preschool .ps-testimonials-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

body.theme-preschool .ps-testimonials-head__icon svg {
    display: inline-block;
    vertical-align: middle;
}

body.theme-preschool .home-testimonials-section__kicker {
    font-family: "Nunito", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: #0f6b4e;
    margin-bottom: 0.35rem;
}

body.theme-preschool .home-testimonials-owl {
    position: relative;
    padding: 0.5rem 2.75rem 2.5rem;
}

body.theme-preschool .home-testimonials-owl .owl-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 38%;
    transform: translateY(-50%);
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 5;
}

body.theme-preschool .home-testimonials-owl .owl-nav button.owl-prev,
body.theme-preschool .home-testimonials-owl .owl-nav button.owl-next {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    pointer-events: auto;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50% !important;
    background: #fff !important;
    border: 2px solid rgba(15, 107, 78, 0.15) !important;
    box-shadow: 0 6px 18px rgba(15, 41, 31, 0.1);
    color: #0f6b4e !important;
    font-size: 1.35rem !important;
}

body.theme-preschool .home-testimonials-owl .owl-nav button.owl-prev:hover:not(.disabled),
body.theme-preschool .home-testimonials-owl .owl-nav button.owl-next:hover:not(.disabled) {
    background: #fff9e6 !important;
    border-color: rgba(255, 201, 60, 0.65) !important;
    color: #0a4d38 !important;
}

body.theme-preschool .home-testimonials-owl .owl-dots {
    margin-top: 0.75rem !important;
}

body.theme-preschool .home-testimonials-owl .owl-dot span {
    background: rgba(15, 107, 78, 0.22) !important;
}

body.theme-preschool .home-testimonials-owl .owl-dot.active span,
body.theme-preschool .home-testimonials-owl .owl-dot:hover span {
    background: #0f6b4e !important;
}

body.theme-preschool .ps-testimonial {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0.25rem;
}

body.theme-preschool .ps-testimonial__bubble {
    position: relative;
    min-height: 11.5rem;
    padding: 1.1rem 1.25rem 2.5rem 1.25rem;
    border-radius: 1.35rem 1.35rem 1.35rem 0;
    box-shadow: 0 14px 32px rgba(30, 20, 40, 0.12);
    overflow: visible;
}

body.theme-preschool .ps-testimonial__bubble--1 {
    background: linear-gradient(160deg, #ff8fab 0%, #ff5c8a 55%, #ff4081 100%);
}

body.theme-preschool .ps-testimonial__bubble--2 {
    background: linear-gradient(160deg, #ffd54f 0%, #ffb300 50%, #ff9800 100%);
}

body.theme-preschool .ps-testimonial__bubble--3 {
    background: linear-gradient(160deg, #ff8a65 0%, #ff7043 45%, #ff5722 100%);
}

body.theme-preschool .ps-testimonial__stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.85rem;
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

body.theme-preschool .ps-testimonial__quote {
    font-family: "Nunito", system-ui, sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.55;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    max-width: 22rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

body.theme-preschool .ps-testimonial__mark {
    position: absolute;
    right: 0.15rem;
    bottom: -1.35rem;
    width: 5.5rem;
    height: 4.5rem;
    pointer-events: none;
    line-height: 0;
}

body.theme-preschool .ps-testimonial__mark-svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.06));
}

body.theme-preschool .ps-testimonial__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.35rem;
    padding-left: 0.15rem;
}

body.theme-preschool .ps-testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(15, 41, 31, 0.12);
}

body.theme-preschool .ps-testimonial__who {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

body.theme-preschool .ps-testimonial__name {
    font-family: "Nunito", system-ui, sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.25;
}

body.theme-preschool .ps-testimonial__role {
    font-family: "Nunito", system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5c6670;
    line-height: 1.35;
}

@media (max-width: 575.98px) {
    body.theme-preschool .home-testimonials-owl {
        padding-left: 2.25rem;
        padding-right: 2.25rem;
    }

    body.theme-preschool .ps-testimonial__bubble {
        min-height: 10.5rem;
        padding-bottom: 2.25rem;
    }
}

/* --- Pillars band sparkles --- */
body.theme-preschool .ps-pillars-band .ps-pillars-band__sparkles {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 80px;
    height: 80px;
    opacity: 0.35;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23ffc93c' d='M32 4l4 12h12L40 28l4 12-12-8-12 8 4-12L16 16h12z'/%3E%3C/svg%3E")
        center/contain no-repeat;
    pointer-events: none;
}

/* --- Gallery --- */
body.theme-preschool .ps-gallery-band {
    position: relative;
    background: linear-gradient(180deg, var(--ps-wash-mist) 0%, var(--ps-wash-butter) 40%, var(--ps-wash-mint) 100%);
}

body.theme-preschool .ps-gallery-band__wave-top {
    height: 36px;
    margin-top: -36px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath fill='%23f6fff9' d='M0,18 C240,36 480,0 720,18 C960,36 1200,0 1440,14 L1440,0 L0,0 Z'/%3E%3C/svg%3E")
        center/cover no-repeat;
}
.home-media-hub__intro{
    margin-bottom: 20px !important;
}
body.theme-preschool .ps-gallery-badge {
    border: 2px solid rgba(15, 107, 78, 0.12);
    box-shadow: 0 8px 24px rgba(126, 200, 227, 0.25);
}

body.theme-preschool .display-font{
    font-size: 32px;
}

body.theme-preschool .ps-media-card {
    border-radius: 1.35rem !important;
    overflow: hidden;
    border: 3px solid rgba(255, 201, 51, 0.35);
    box-shadow: 0 16px 40px rgba(15, 107, 78, 0.1);
}

body.theme-preschool .ps-media-card--video {
    border-color: rgba(255, 143, 171, 0.45);
}

body.theme-preschool .ps-media-card__bar {
    background: linear-gradient(90deg, #d8f5e8, #fff9e6) !important;
    border-bottom: 2px dashed rgba(15, 107, 78, 0.12) !important;
}

body.theme-preschool .ps-media-card__bar--video {
    background: linear-gradient(90deg, #ffe4ec, #e0f2fe) !important;
}

body.theme-preschool .home-media-section__btn {
    border-radius: 5px !important;
    font-weight: 800 !important;
    background: var(--kz-leaf) !important;
    color: #fff !important;
    border: none !important;
}

body.theme-preschool .home-media-section__btn--video {
    background: linear-gradient(90deg, #e63946, #ff758f) !important;
}

/* Photos & videos — shared thumb height, distinct hovers (preschool) */
body.theme-preschool #gallery {
    --ps-gallery-thumb-h: clamp(9.25rem, 17vw, 11.75rem);
}

body.theme-preschool #gallery .home-photo-slide:hover,
body.theme-preschool #gallery .home-video-slide:hover .home-video-slide__thumb {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

body.theme-preschool #gallery .ps-media-thumb {
    display: block;
    text-decoration: none;
}

body.theme-preschool #gallery .ps-media-thumb--video.home-video-slide {
    color: #0f291f !important;
}

body.theme-preschool #gallery .ps-media-thumb__inner {
    position: relative;
    display: block;
    width: 100%;
    height: var(--ps-gallery-thumb-h);
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid rgba(15, 107, 78, 0.12);
    box-shadow: 0 8px 22px rgba(15, 107, 78, 0.08);
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.38s ease,
        border-color 0.3s ease;
}

body.theme-preschool #gallery .ps-media-thumb__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Photo: gold corners + teal wash + zoom */
body.theme-preschool #gallery .ps-media-thumb--photo .ps-media-thumb__inner {
    border-color: rgba(255, 201, 60, 0.35);
    box-shadow: 0 6px 0 rgba(255, 236, 180, 0.5) inset, 0 10px 28px rgba(15, 107, 78, 0.1);
}

body.theme-preschool #gallery .ps-media-thumb--photo .ps-media-thumb__inner::before,
body.theme-preschool #gallery .ps-media-thumb--photo .ps-media-thumb__inner::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 1.35rem;
    height: 1.35rem;
    border: 3px solid rgba(255, 201, 60, 0.85);
    pointer-events: none;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.35s ease;
}

body.theme-preschool #gallery .ps-media-thumb--photo .ps-media-thumb__inner::before {
    top: 0.45rem;
    left: 0.45rem;
    border-right: none;
    border-bottom: none;
    border-radius: 4px 0 0 0;
}

body.theme-preschool #gallery .ps-media-thumb--photo .ps-media-thumb__inner::after {
    bottom: 0.45rem;
    right: 0.45rem;
    border-left: none;
    border-top: none;
    border-radius: 0 0 4px 0;
}

body.theme-preschool #gallery .ps-media-thumb__photo-fx {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

body.theme-preschool #gallery .ps-media-thumb__photo-fx-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(15, 107, 78, 0.08) 0%, rgba(15, 107, 78, 0.55) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.theme-preschool #gallery .ps-media-thumb__photo-fx-icon {
    position: relative;
    z-index: 1;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #0f291f;
    background: linear-gradient(180deg, #fff9e6, #ffe066);
    border: 2px solid rgba(255, 201, 60, 0.9);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transform: scale(0.85) translateY(6px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

body.theme-preschool #gallery .ps-media-thumb--photo:hover .ps-media-thumb__inner,
body.theme-preschool #gallery .ps-media-thumb--photo:focus-visible .ps-media-thumb__inner {
    transform: translateY(-4px) rotate(-0.35deg);
    border-color: rgba(15, 107, 78, 0.35);
    box-shadow: 0 16px 36px rgba(15, 107, 78, 0.18), 0 0 0 3px rgba(255, 201, 60, 0.45);
}

body.theme-preschool #gallery .ps-media-thumb--photo:hover .ps-media-thumb__img,
body.theme-preschool #gallery .ps-media-thumb--photo:focus-visible .ps-media-thumb__img {
    transform: scale(1.08);
}

body.theme-preschool #gallery .ps-media-thumb--photo:hover .ps-media-thumb__photo-fx-shade,
body.theme-preschool #gallery .ps-media-thumb--photo:focus-visible .ps-media-thumb__photo-fx-shade {
    opacity: 1;
}

body.theme-preschool #gallery .ps-media-thumb--photo:hover .ps-media-thumb__photo-fx-icon,
body.theme-preschool #gallery .ps-media-thumb--photo:focus-visible .ps-media-thumb__photo-fx-icon {
    opacity: 1;
    transform: scale(1) translateY(0);
}

body.theme-preschool #gallery .ps-media-thumb--photo:hover .ps-media-thumb__inner::before,
body.theme-preschool #gallery .ps-media-thumb--photo:hover .ps-media-thumb__inner::after,
body.theme-preschool #gallery .ps-media-thumb--photo:focus-visible .ps-media-thumb__inner::before,
body.theme-preschool #gallery .ps-media-thumb--photo:focus-visible .ps-media-thumb__inner::after {
    opacity: 1;
    transform: scale(1.04);
}

/* Video: film frame + play disc + warm pulse (different from photo) */
body.theme-preschool #gallery .ps-media-thumb--video .ps-media-thumb__inner {
    border-color: rgba(230, 57, 70, 0.2);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 10px 28px rgba(230, 57, 70, 0.12);
}

body.theme-preschool #gallery .ps-media-thumb__video-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 45%, rgba(15, 20, 30, 0.35) 100%);
    opacity: 0.55;
    transition: opacity 0.35s ease;
}

body.theme-preschool #gallery .ps-media-thumb__play {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: background 0.35s ease;
}

body.theme-preschool #gallery .ps-media-thumb__play-ring {
    position: absolute;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.55);
    opacity: 0.75;
    transform: scale(0.92);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, opacity 0.35s ease;
}

body.theme-preschool #gallery .ps-media-thumb__play-btn {
    position: relative;
    z-index: 1;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0.2rem;
    font-size: 1.05rem;
    color: #7f1d1d;
    background: linear-gradient(165deg, #fff 0%, #ffe4e6 100%);
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(230, 57, 70, 0.2);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, color 0.25s ease;
}

body.theme-preschool #gallery .ps-media-thumb--video:hover .ps-media-thumb__inner,
body.theme-preschool #gallery .ps-media-thumb--video:focus-visible .ps-media-thumb__inner {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(230, 57, 70, 0.45);
    box-shadow: 0 18px 40px rgba(230, 57, 70, 0.22), 0 0 0 3px rgba(255, 143, 171, 0.5);
}

body.theme-preschool #gallery .ps-media-thumb--video:hover .ps-media-thumb__img,
body.theme-preschool #gallery .ps-media-thumb--video:focus-visible .ps-media-thumb__img {
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.03);
}

body.theme-preschool #gallery .ps-media-thumb--video:hover .ps-media-thumb__video-vignette,
body.theme-preschool #gallery .ps-media-thumb--video:focus-visible .ps-media-thumb__video-vignette {
    opacity: 0.35;
}

body.theme-preschool #gallery .ps-media-thumb--video:hover .ps-media-thumb__play,
body.theme-preschool #gallery .ps-media-thumb--video:focus-visible .ps-media-thumb__play {
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.15), rgba(127, 29, 29, 0.45));
}

body.theme-preschool #gallery .ps-media-thumb--video:hover .ps-media-thumb__play-ring,
body.theme-preschool #gallery .ps-media-thumb--video:focus-visible .ps-media-thumb__play-ring {
    transform: scale(1.08);
    border-color: rgba(255, 201, 60, 0.95);
    opacity: 1;
}

body.theme-preschool #gallery .ps-media-thumb--video:hover .ps-media-thumb__play-btn,
body.theme-preschool #gallery .ps-media-thumb--video:focus-visible .ps-media-thumb__play-btn {
    transform: scale(1.12);
    color: #fff;
    background: linear-gradient(165deg, #e63946, #b91c1c);
    border-color: rgba(255, 236, 160, 0.6);
    box-shadow: 0 10px 28px rgba(185, 28, 28, 0.45), 0 0 0 5px rgba(255, 201, 60, 0.35);
}

body.theme-preschool #gallery .home-video-slide__title {
    margin-top: 0.65rem;
    font-weight: 800;
    font-size: 0.88rem;
    line-height: 1.3;
    color: #0f291f;
    transition: color 0.25s ease;
}

body.theme-preschool #gallery .ps-media-thumb--video:hover .home-video-slide__title,
body.theme-preschool #gallery .ps-media-thumb--video:focus-visible .home-video-slide__title {
    color: #b91c1c;
}

body.theme-preschool #gallery .home-photo-slide__img,
body.theme-preschool #gallery .home-video-slide__img,
body.theme-preschool #gallery .ps-media-thumb__img {
    height: 100%;
    aspect-ratio: unset;
    max-height: none;
}

/* --- Stories / achievements carousel --- */
body.theme-preschool .ps-stories-band {
    position: relative;
    background: linear-gradient(180deg, var(--ps-wash-cream) 0%, var(--ps-wash-mist) 45%, var(--ps-wash-butter) 100%);
    overflow: hidden;
}

body.theme-preschool .ps-stories-band::before {
    content: "";
    position: absolute;
    width: min(320px, 70vw);
    height: min(320px, 70vw);
    top: -8%;
    right: -12%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath fill='%23ffd43b' opacity='0.35' d='M78 8c16 18 18 44 4 64-18 28-52 34-78 18 8-24 22-48 46-58 10-14 22-24 28-24z'/%3E%3Cpath fill='%231a8b5c' opacity='0.12' d='M8 88c12-20 32-32 54-30-6 22-22 40-42 48-8-6-10-12-12-18z'/%3E%3C/svg%3E")
        center / contain no-repeat;
    pointer-events: none;
}

body.theme-preschool .ps-stories-head__stars {
    display: block;
    margin: 0 auto 0.5rem;
}

body.theme-preschool .ps-story-card {
    border-radius: 1.25rem !important;
    overflow: hidden;
    border: 2px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 12px 32px rgba(15, 107, 78, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.theme-preschool .ps-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(15, 107, 78, 0.12);
}

body.theme-preschool .ps-story-card.ps-news-card {
    border-radius: 1.15rem !important;
    overflow: hidden;
    border: 1px solid rgba(15, 107, 78, 0.08) !important;
    box-shadow: 0 10px 28px rgba(15, 45, 35, 0.08) !important;
    background: #fff !important;
}

body.theme-preschool .ps-story-card.ps-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(230, 57, 70, 0.12), 0 0 0 2px rgba(255, 90, 60, 0.18) !important;
    border-color: rgba(255, 90, 60, 0.25) !important;
}

body.theme-preschool .ps-story-card .home-achievement-card__media,
body.theme-preschool .ps-news-card__media {
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e8eef2;
}

body.theme-preschool .ps-news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.theme-preschool .ps-news-card__scallop {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    line-height: 0;
    color: #ff5a3c;
    pointer-events: none;
}

body.theme-preschool .ps-news-card__scallop-svg {
    display: block;
    width: 100%;
    height: clamp(14px, 3.5vw, 20px);
}

body.theme-preschool .ps-news-card__body {
    padding: 0.85rem 1.05rem 1rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
}

body.theme-preschool .ps-news-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.55rem;
}

body.theme-preschool .ps-news-card__badge {
    display: inline-block;
    padding: 0.22rem 0.75rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #ff6b4a, #e63946);
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.35);
}

body.theme-preschool .ps-news-card__datewrap {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    color: #4a5568;
}

body.theme-preschool .ps-news-card__cal {
    color: #e63946;
    font-size: 0.85rem;
}

body.theme-preschool .ps-news-card__date {
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}

body.theme-preschool .ps-news-card__title {
    font-family: var(--font-body) !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    color: #1a1a1a !important;
    margin: 0 0 0.45rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.theme-preschool .ps-news-card__excerpt {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.45;
    color: #64748b;
    margin: 0 0 0.65rem !important;
    flex: 1 1 auto;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.theme-preschool .ps-news-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(15, 107, 78, 0.08);
}

body.theme-preschool .ps-news-card__author {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

body.theme-preschool .ps-news-card__avatar {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #eef2f6, #e2e8f0);
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.95rem;
}

body.theme-preschool .ps-news-card__by {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.theme-preschool .ps-news-card__author-name {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.theme-preschool .ps-news-card__author-role {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.2;
}

body.theme-preschool .ps-news-card__arrow {
    flex-shrink: 0;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 50%;
    border: 2px solid #ff5a3c;
    color: #e63946;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.12);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.theme-preschool .ps-news-card:hover .ps-news-card__arrow {
    background: linear-gradient(135deg, #ff6b4a, #e63946);
    color: #fff;
    border-color: #e63946;
    transform: translateX(2px);
}

body.theme-preschool .home-achievements-section__cta {
    border-radius: 5px !important;
    font-weight: 800 !important;
    background: linear-gradient(180deg, #ffe066, var(--school-gold)) !important;
    color: #1a2e24 !important;
    border: none !important;
    box-shadow: 0 4px 0 rgba(200, 150, 0, 0.35);
}

/* --- Footer (preschool) — playful cream band + wave + warm legal strip --- */
body.theme-preschool .ps-footer--playful {
    position: relative;
    overflow: hidden;
}

body.theme-preschool .ps-footer--playful .ps-footer__art {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

body.theme-preschool .ps-footer__art-ball {
    position: absolute;
    border-radius: 50%;
    opacity: 0.35;
}

body.theme-preschool .ps-footer__art-ball--a {
    width: 72px;
    height: 72px;
    left: 3%;
    top: 18%;
    background: radial-gradient(circle at 30% 30%, #b8f0d0, #7ec8e3);
    box-shadow: 0 8px 24px rgba(126, 200, 227, 0.35);
}

body.theme-preschool .ps-footer__art-ball--b {
    width: 48px;
    height: 48px;
    right: 8%;
    top: 10%;
    background: radial-gradient(circle at 40% 35%, #fff9db, #ffc93c);
}

body.theme-preschool .ps-footer__art-ball--c {
    width: 36px;
    height: 36px;
    right: 14%;
    bottom: 28%;
    background: radial-gradient(circle at 35% 35%, #ffe4ec, #ff8fab);
}

body.theme-preschool .ps-footer__art-pencil {
    position: absolute;
    right: 4%;
    bottom: 22%;
    width: 10px;
    height: 52px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ffe066 0%, #ffc93c 35%, #f4b942 36%, #e63946 36%, #e63946 100%);
    box-shadow: 2px 4px 0 rgba(0, 0, 0, 0.08);
    transform: rotate(12deg);
    opacity: 0.5;
}

body.theme-preschool .ps-footer--playful .site-footer-v2__main::before {
    display: none;
}

body.theme-preschool .ps-footer .site-footer-v2__main,
body.theme-preschool .ps-footer__surface {
    position: relative;
    z-index: 1;
    padding-top: 2.5rem;
    padding-bottom: 0.75rem;
    margin-top: 0;
    background:
        radial-gradient(ellipse 90% 60% at 100% 0%, rgba(255, 201, 60, 0.18) 0%, transparent 45%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(126, 200, 227, 0.2) 0%, transparent 42%),
        linear-gradient(180deg, #fffbeb 0%, #fff3cf 48%, #ffecd4 100%);
    color: #1f2d28;
    border-top: none;
}

body.theme-preschool .ps-footer__inner {
    position: relative;
    z-index: 2;
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
}

body.theme-preschool .ps-footer__portals-wrap {
    margin-top: 0.35rem;
    margin-bottom: 1rem;
}

body.theme-preschool .ps-footer__portals-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--kz-leaf);
    opacity: 0.88;
}

body.theme-preschool .ps-footer__portals {
    gap: 0.5rem;
}

body.theme-preschool .ps-footer__portals .ps-topbar__portal {
    font-size: 12px;
    padding: 7px 14px;
}

body.theme-preschool .ps-footer__mark {
    border-radius: 0.85rem;
    border: 3px solid rgba(255, 201, 60, 0.65);
    box-shadow: 0 6px 18px rgba(15, 107, 78, 0.12);
}

body.theme-preschool .ps-footer__brand-line {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f6b4e;
}

body.theme-preschool .ps-footer__social-tile,
body.theme-preschool .ps-footer__social--tiles .site-footer-v2__social-btn {
    display: inline-flex !important;
    width: 2.4rem !important;
    height: 2.4rem !important;
    align-items: center;
    justify-content: center;
    border-radius: 0.45rem !important;
    font-size: 0.95rem !important;
    color: #2d3a35 !important;
    background: #fff !important;
    border: 1px solid rgba(15, 107, 78, 0.12) !important;
    box-shadow: 0 3px 10px rgba(15, 107, 78, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

body.theme-preschool .ps-footer__social-tile:hover,
body.theme-preschool .ps-footer__social--tiles .site-footer-v2__social-btn:hover {
    color: #0f6b4e !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 107, 78, 0.15);
}

body.theme-preschool .ps-footer__quick {
    margin-bottom: 0.65rem;
}

body.theme-preschool .ps-footer__quick-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    row-gap: 0.25rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

body.theme-preschool .ps-footer__quick-list li {
    display: inline-flex;
    align-items: center;
}

body.theme-preschool .ps-footer__quick-list li + li::before {
    content: "\00B7";
    margin: 0 0.4rem;
    color: rgba(15, 107, 78, 0.35);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

body.theme-preschool .ps-footer__quick-list a {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(0.74rem, 2vw, 0.86rem);
    color: #2a3d35 !important;
    text-decoration: none !important;
    padding: 0.12rem 0;
}

body.theme-preschool .ps-footer__quick-list a:hover,
body.theme-preschool .ps-footer__quick-list a:focus {
    color: #0f6b4e !important;
}

body.theme-preschool .ps-footer__rule {
    margin: 0.65rem 0 0.85rem;
    border: none;
    height: 0;
    border-top: 2px dotted rgba(15, 107, 78, 0.22);
    opacity: 1;
}

body.theme-preschool .ps-footer__contact-strip {
    margin-bottom: 0.25rem;
}

body.theme-preschool .ps-footer__contact-card {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-align: left;
    max-width: 100%;
}

@media (max-width: 767.98px) {
    body.theme-preschool .ps-footer__contact-card {
        margin-left: auto;
        margin-right: auto;
    }
}

body.theme-preschool .ps-footer__contact-ico {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

body.theme-preschool .ps-footer__contact-ico--phone {
    background: linear-gradient(145deg, #ff5a5f, #e63946);
}

body.theme-preschool .ps-footer__contact-ico--mail {
    background: linear-gradient(145deg, #ffb347, #ff8c42);
}

body.theme-preschool .ps-footer__contact-ico--map {
    background: linear-gradient(145deg, #ff9ec4, #ff758f);
}

body.theme-preschool .ps-footer__contact-body {
    min-width: 0;
}

body.theme-preschool .ps-footer__contact-kicker {
    display: block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(31, 45, 40, 0.55);
    margin-bottom: 0.08rem;
}

body.theme-preschool .ps-footer__contact-val {
    display: block;
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 800;
    color: #14221c !important;
    text-decoration: none !important;
    word-break: break-word;
}

body.theme-preschool .ps-footer__contact-val--plain {
    font-weight: 600;
    line-height: 1.35;
}

body.theme-preschool .ps-footer__contact-val:hover {
    color: #0f6b4e !important;
}

body.theme-preschool .ps-footer__app {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 2px dotted rgba(15, 107, 78, 0.18);
}

body.theme-preschool .ps-footer__app-label {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #0f6b4e !important;
    margin-bottom: 0.45rem !important;
}

body.theme-preschool .ps-footer__store-link {
    display: inline-block;
    border-radius: 0.4rem;
    overflow: hidden;
    line-height: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(15, 107, 78, 0.15);
}

body.theme-preschool .ps-footer__store-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 107, 78, 0.2);
}

body.theme-preschool .ps-footer__store-img {
    max-height: 40px;
    width: auto;
    vertical-align: middle;
}

body.theme-preschool .ps-footer__wave {
    position: relative;
    z-index: 1;
    line-height: 0;
    color: #ff9f1c;
    margin-top: -1px;
}

body.theme-preschool .ps-footer__wave-svg {
    display: block;
    width: 100%;
    height: clamp(28px, 5vw, 42px);
}

body.theme-preschool .ps-footer .site-footer-v2__bottom.ps-footer__legal,
body.theme-preschool .ps-footer__bottom.ps-footer__legal {
    position: relative;
    z-index: 1;
    margin-top: -2px;
    background: linear-gradient(90deg, #ffb347 0%, #ff9f1c 45%, #ff8f3c 100%);
    color: #3a2208;
    border-top: none;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.25);
}

body.theme-preschool .ps-footer__copy,
body.theme-preschool .ps-footer .site-footer-v2__copy {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    color: #3a2208 !important;
}

body.theme-preschool .ps-footer__credit,
body.theme-preschool .ps-footer .site-footer-v2__credit {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    color: rgba(58, 34, 8, 0.88);
}

body.theme-preschool .ps-footer__credit a,
body.theme-preschool .ps-footer .site-footer-v2__credit a {
    color: #6b2d12 !important;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.theme-preschool .ps-footer__credit a:hover,
body.theme-preschool .ps-footer .site-footer-v2__credit a:hover {
    color: #1a0f08 !important;
}

/* =============================================================================
   Preschool header — main menu (pill rail, icons, custom toggler, dropdowns)
   ============================================================================= */
body.theme-preschool .ps-main-navbar.navbar-over-hero:not(.ps-header-nav-card) {
    border-bottom: none;
    box-shadow: 0 6px 28px rgba(15, 107, 78, 0.07);
}

body.theme-preschool .ps-header-cta {
    font-size: 0.78rem !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.55rem 1.15rem !important;
    color: #fff !important;
    border: none !important;
    background: linear-gradient(180deg, #ffb347 0%, #ff922b 35%, #f76707 100%) !important;
    box-shadow: 0 4px 0 rgba(200, 90, 0, 0.35), 0 8px 22px rgba(247, 103, 7, 0.35);
}

body.theme-preschool .ps-header-cta:hover {
    color: #fff !important;
    filter: brightness(1.05);
    transform: translateY(-1px);
}

body.theme-preschool .ps-nav-link--home,
body.theme-preschool .ps-nav-link--home .ps-nav-link__ico {
    color: #e63946 !important;
}

body.theme-preschool .ps-nav-link--home:hover,
body.theme-preschool .ps-nav-link--home:focus {
    color: #c1121f !important;
    background: rgba(255, 232, 232, 0.65) !important;
}

/* Nav: About us + Rules (icons + accent tints) */
body.theme-preschool .ps-nav-link--about .ps-nav-link__ico {
    color: #0f6b4e !important;
    opacity: 1;
}

body.theme-preschool .ps-nav-link--about:hover,
body.theme-preschool .ps-nav-link--about:focus {
    background: linear-gradient(180deg, #e8faf0 0%, #d8f5e8 100%) !important;
    color: #063822 !important;
    box-shadow: 0 2px 12px rgba(15, 107, 78, 0.12);
}

body.theme-preschool .ps-nav-link--about:hover .ps-nav-link__ico,
body.theme-preschool .ps-nav-link--about:focus .ps-nav-link__ico {
    color: #094530 !important;
}

body.theme-preschool .ps-nav-link--rules .ps-nav-link__ico {
    color: #6b4f9e !important;
    opacity: 1;
}

body.theme-preschool .ps-nav-link--rules:hover,
body.theme-preschool .ps-nav-link--rules:focus {
    background: linear-gradient(180deg, #f6f0ff 0%, #ede4ff 100%) !important;
    color: #4a3575 !important;
    box-shadow: 0 2px 12px rgba(107, 79, 158, 0.14);
}

body.theme-preschool .ps-nav-link--rules:hover .ps-nav-link__ico,
body.theme-preschool .ps-nav-link--rules:focus .ps-nav-link__ico {
    color: #4c2d91 !important;
}

@media (max-width: 420px) {
    body.theme-preschool .ps-topbar__portal-label {
        display: none;
    }

    body.theme-preschool .ps-topbar__portal {
        padding-left: 10px;
        padding-right: 10px;
    }
}

body.theme-preschool .ps-navbar-inner {
    width: 100%;
}

body.theme-preschool .min-w-0 {
    min-width: 0;
}

body.theme-preschool .ps-navbar-row {
    align-items: center;
    gap: 0.5rem;
}

body.theme-preschool .ps-nav-brand {
    gap: 0.45rem;
    align-items: center !important;
    padding-right: 0.5rem;
}

body.theme-preschool .ps-nav-brand__mark {
    display: none;
    flex-shrink: 0;
    line-height: 0;
}

@media (min-width: 576px) {
    body.theme-preschool .ps-nav-brand__mark {
        display: block;
    }
}

body.theme-preschool .ps-nav-brand__logo {
    box-shadow: 0 4px 14px rgba(15, 107, 78, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.95);
}

body.theme-preschool .ps-nav-toggler {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: none !important;
    border-radius: 50%;
    background: linear-gradient(145deg, #e8f8f0 0%, #d8f5e8 100%);
    box-shadow: 0 2px 0 rgba(15, 107, 78, 0.12), 0 6px 16px rgba(15, 107, 78, 0.1);
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
    body.theme-preschool .ps-nav-toggler {
        display: inline-flex !important;
    }
}

body.theme-preschool .ps-nav-toggler:focus {
    outline: 2px solid rgba(255, 201, 51, 0.9);
    outline-offset: 2px;
}

body.theme-preschool .ps-nav-toggler__lines {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 1.15rem;
}

body.theme-preschool .ps-nav-toggler__lines span {
    display: block;
    height: 3px;
    border-radius: 2px;
    background: var(--kz-leaf);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.theme-preschool .ps-nav-toggler .navbar-toggler-icon {
    display: none;
}

@media (min-width: 992px) {
    body.theme-preschool .ps-nav-collapse {
        flex: 1 1 auto;
        display: flex !important;
        justify-content: flex-end;
    }

    body.theme-preschool .ps-nav-rail {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
    }

    body.theme-preschool .ps-nav-collapse {
        overflow: visible;
    }

    body.theme-preschool .ps-nav-list {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        column-gap: 0.2rem;
        row-gap: 0.35rem;
        max-width: 100%;
        padding: 0.4rem 0.55rem 0.4rem 0.6rem;
        margin-left: auto !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        background: linear-gradient(180deg, var(--ps-wash-mist) 0%, #e8f8f0 100%);
        border-radius: 1.25rem;
        border: 2px solid rgba(15, 107, 78, 0.12);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    }

    body.theme-preschool .ps-nav-cta-wrap {
        margin-top: 0 !important;
        padding-left: 0.25rem;
    }
}

body.theme-preschool .ps-nav-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 0.48rem 0.95rem !important;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.theme-preschool .ps-nav-link__ico {
    font-size: 0.95rem;
    opacity: 0.88;
}

body.theme-preschool .ps-nav-link:hover,
body.theme-preschool .ps-nav-link:focus {
    background: #fff !important;
    color: var(--kz-leaf) !important;
    box-shadow: 0 2px 10px rgba(15, 107, 78, 0.1);
}

body.theme-preschool .ps-nav-dropdown.show > .ps-nav-link,
body.theme-preschool .ps-nav-dropdown .ps-nav-link:focus {
    background: linear-gradient(180deg, rgba(255, 243, 160, 0.55), rgba(255, 236, 120, 0.4)) !important;
    color: var(--kz-leaf-dark) !important;
}

body.theme-preschool .ps-nav-link.active {
    background: rgba(216, 245, 232, 0.95) !important;
    color: var(--kz-leaf-dark) !important;
    box-shadow: inset 0 0 0 2px rgba(15, 107, 78, 0.15);
}

body.theme-preschool .ps-nav-link.ps-nav-link--caret::after {
    margin-left: 0.15rem;
    vertical-align: middle;
    border-top-color: var(--kz-leaf);
}

body.theme-preschool .ps-dropdown-menu {
    border-radius: 1.1rem !important;
    padding: 0.45rem !important;
    margin-top: 0.6rem !important;
    border: 2px solid rgba(15, 107, 78, 0.12) !important;
    box-shadow: 0 16px 44px rgba(15, 107, 78, 0.14) !important;
    min-width: 13.5rem;
    overflow: hidden;
    z-index: 1055;
}

body.theme-preschool .ps-dropdown-menu::before {
    content: "";
    display: block;
    height: 4px;
    margin: -0.45rem -0.45rem 0.4rem;
    background: linear-gradient(90deg, #ffc93c, #7ec8e3, #cdb4db, #c8f3e1);
}

body.theme-preschool .ps-dropdown-item {
    border-radius: 0.65rem !important;
    margin: 0.1rem 0.15rem !important;
    padding: 0.5rem 0.85rem !important;
    font-weight: 600 !important;
    transition: background 0.15s ease, transform 0.15s ease;
}

body.theme-preschool .ps-dropdown-item:hover {
    background: rgba(216, 245, 232, 0.85) !important;
    color: var(--kz-leaf) !important;
    transform: translateX(2px);
}

body.theme-preschool .ps-nav-cta {
    white-space: nowrap;
    padding: 0.45rem 1.1rem !important;
}

@media (max-width: 991.98px) {
    body.theme-preschool .ps-nav-rail {
        margin-top: 0.85rem;
        padding: 1rem 1.1rem 1.2rem;
        border-radius: 1.25rem;
        border: 2px solid rgba(15, 107, 78, 0.1);
        box-shadow: 0 14px 36px rgba(15, 107, 78, 0.1);
        background-color: #fff;
        background-image: linear-gradient(90deg, #ffc93c, #7ec8e3, #cdb4db, #c8f3e1),
            linear-gradient(180deg, #fff 0%, var(--ps-wash-cream) 100%);
        background-size:
            100% 4px,
            100% 100%;
        background-position:
            0 0,
            0 0;
        background-repeat: no-repeat;
    }

    body.theme-preschool .ps-nav-dropdown > .nav-link.dropdown-toggle.ps-nav-link {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        text-align: left;
    }

    body.theme-preschool .ps-nav-dropdown > .nav-link.dropdown-toggle.ps-nav-link::after {
        margin-left: 0.75rem;
        flex-shrink: 0;
    }

    body.theme-preschool .ps-nav-list {
        width: 100%;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.theme-preschool .ps-nav-link {
        width: 100%;
        justify-content: flex-start;
        border-radius: 0.85rem !important;
        padding: 0.65rem 0.9rem !important;
    }

    body.theme-preschool .ps-nav-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none;
        width: 100%;
        margin-top: 0.35rem !important;
        margin-bottom: 0.5rem;
        box-shadow: none !important;
        border: 2px dashed rgba(15, 107, 78, 0.18) !important;
        background: var(--ps-wash-cream) !important;
        z-index: auto;
    }

    body.theme-preschool .navbar-over-hero .navbar-collapse {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding-left: 0;
        padding-right: 0;
    }
}

/* ----- Topbar: portals (student / staff) — flex row in Kidschool strip ----- */
body.theme-preschool .ps-topbar {
    position: relative;
    z-index: 2;
}

body.theme-preschool .site-header--preschool .ps-header-kidschool .ps-topbar__inner {
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0 !important;
}

body.theme-preschool .ps-topbar__inner {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    padding-right: 11rem;
}

body.theme-preschool .site-header--preschool .ps-topbar__portals {
    position: static;
    right: auto;
    top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
    max-width: none;
    width: auto;
    z-index: auto;
}

@media (max-width: 767.98px) {
    body.theme-preschool .ps-topbar__inner:not(.ps-header-topstrip__inner) {
        padding-right: 0.5rem;
        padding-bottom: 2.5rem;
    }

    body.theme-preschool .site-header--preschool .ps-header-topstrip__inner {
        flex-direction: column;
        align-items: stretch;
    }

    body.theme-preschool .site-header--preschool .ps-header-util-row {
        justify-content: space-between;
        width: 100%;
    }

    body.theme-preschool .site-header--preschool .ps-topbar__portals {
        justify-content: flex-start;
        flex: 1 1 auto;
    }
}

body.theme-preschool .ps-topbar__portal {
    display: inline-flex;
    align-items: center;
    padding: 4px 19px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 5px;
    color: #1a2e24 !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

body.theme-preschool .ps-topbar__portal:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

body.theme-preschool .ps-topbar__portal--student:hover {
    color: var(--ps-login-text-sun) !important;
}

body.theme-preschool .ps-topbar__portal--staff:hover {
    color: var(--ps-login-text-blossom) !important;
}

body.theme-preschool .ps-topbar__portal--student {
    background: var(--ps-login-sun);
    border: 2px solid var(--ps-login-sun-bdr);
    color: var(--ps-login-text-sun) !important;
    box-shadow: 0 4px 0 rgba(200, 150, 0, 0.28), 0 8px 18px rgba(255, 190, 60, 0.25);
}

body.theme-preschool .ps-topbar__portal--staff {
    background: var(--ps-login-blossom);
    border: 2px solid var(--ps-login-blossom-bdr);
    color: var(--ps-login-text-blossom) !important;
    box-shadow: 0 4px 0 rgba(200, 72, 100, 0.2), 0 8px 18px rgba(255, 130, 160, 0.22);
}

body.theme-preschool .site-header.is-scrolled .ps-topbar__portal--student {
    box-shadow: 0 3px 0 rgba(200, 150, 0, 0.35), 0 6px 16px rgba(255, 180, 0, 0.3);
}

body.theme-preschool .site-header.is-scrolled .ps-topbar__portal--staff {
    box-shadow: 0 3px 0 rgba(200, 72, 100, 0.22), 0 6px 16px rgba(255, 120, 150, 0.2);
}

/* ----- Desktop: brand row fixed; menu rail may wrap to second row when many items ----- */
@media (min-width: 992px) {
    body.theme-preschool .ps-navbar-row {
        flex-wrap: nowrap !important;
    }

    body.theme-preschool .ps-nav-list {
        flex-wrap: wrap !important;
        justify-content: flex-end;
    }

    body.theme-preschool .ps-nav-link {
        font-size: 0.82rem !important;
        padding: 0.4rem 0.65rem !important;
    }

    body.theme-preschool .ps-nav-link__ico {
        font-size: 0.85rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    body.theme-preschool .ps-nav-link {
        font-size: 0.76rem !important;
        padding: 0.36rem 0.52rem !important;
    }

    body.theme-preschool .ps-nav-link__ico {
        font-size: 0.8rem;
    }
}

@media (min-width: 1600px) {
    body.theme-preschool .ps-nav-list {
        flex-wrap: nowrap !important;
    }
}

/* =============================================================================
   Parent hub (notifications + 3 chips) — layout, vectors, motion
   ============================================================================= */
body.theme-preschool .ps-parent-hub {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #fdf8ff 0%, #e8fff4 38%, #f5f9ff 100%);
}

body.theme-preschool .ps-parent-hub__sky {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

body.theme-preschool .ps-parent-hub__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0.5px);
    animation: ps-hub-float 7s ease-in-out infinite;
}

body.theme-preschool .ps-parent-hub__orb--a {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 201, 222, 0.55) 0%, transparent 70%);
    top: -30px;
    left: 5%;
    animation-delay: 0s;
}

body.theme-preschool .ps-parent-hub__orb--b {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(189, 224, 254, 0.45) 0%, transparent 72%);
    bottom: -40px;
    right: 10%;
    animation-delay: -2s;
}

body.theme-preschool .ps-parent-hub__orb--c {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(255, 236, 120, 0.5) 0%, transparent 70%);
    top: 40%;
    right: 4%;
    animation-delay: -4s;
}

@keyframes ps-hub-float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(12px, -8px) scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.theme-preschool .ps-parent-hub__orb {
        animation: none;
    }
}

body.theme-preschool .ps-parent-hub__arc {
    position: absolute;
    width: min(220px, 40vw);
    height: auto;
    right: 2%;
    top: 10%;
    opacity: 0.5;
    animation: ps-hub-wiggle 12s ease-in-out infinite;
}

@keyframes ps-hub-wiggle {
    0%,
    100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-6deg);
    }
}

body.theme-preschool .ps-parent-hub__inner {
    z-index: 1;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

body.theme-preschool .ps-parent-hub__head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 40rem;
}

body.theme-preschool .ps-parent-hub__head-icon {
    flex-shrink: 0;
    padding: 0.35rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 107, 78, 0.1);
    animation: ps-hub-pop 3.5s ease-in-out infinite;
}

@keyframes ps-hub-pop {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}

body.theme-preschool .ps-parent-hub__eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--school-blue);
    margin-bottom: 0.25rem;
}

body.theme-preschool .ps-parent-hub__title {
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    color: var(--kz-leaf);
    margin: 0 0 0.35rem;
}

body.theme-preschool .ps-parent-hub__sub {
    margin: 0;
    color: #4a5c54;
    font-size: 0.95rem;
}

body.theme-preschool .ps-parent-hub__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
}

@media (min-width: 992px) {
    body.theme-preschool .ps-parent-hub__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 2rem 2.25rem;
        align-items: stretch;
    }
}

body.theme-preschool .ps-parent-hub__notify-wrap {
    position: relative;
}

body.theme-preschool .ps-parent-hub__notify-badge {
    position: absolute;
    top: -0.65rem;
    left: 1rem;
    z-index: 4;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffc93c, #ff9f1c);
    color: #1a2e24;
    font-size: 1.1rem;
    box-shadow: 0 6px 18px rgba(245, 176, 0, 0.45);
    animation: ps-hub-badge-bounce 2.8s ease-in-out infinite;
}

@keyframes ps-hub-badge-bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

body.theme-preschool .ps-parent-hub__shell {
    margin: 0 !important;
    transform: none !important;
}

body.theme-preschool .ps-parent-hub__panel {
    border-radius: 1.5rem !important;
    border: none !important;
    box-shadow: 0 20px 50px rgba(15, 107, 78, 0.12) !important;
    overflow: hidden;
    background: #fff !important;
    transform: rotate(-0.5deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (min-width: 992px) {
    body.theme-preschool .ps-parent-hub__panel:hover {
        transform: rotate(0deg) translateY(-4px);
        box-shadow: 0 26px 60px rgba(15, 107, 78, 0.14) !important;
    }
}

body.theme-preschool .ps-parent-hub__panel-head {
    background: linear-gradient(110deg, #d8f5e8 0%, #fff5e6 100%) !important;
    border-bottom: 2px dashed rgba(15, 107, 78, 0.12) !important;
}

body.theme-preschool .ps-parent-hub__slide {
    border-radius: 1rem !important;
    border: 1px solid rgba(15, 107, 78, 0.08) !important;
    background: linear-gradient(180deg, #fff 0%, #f9fdfb 100%) !important;
}

body.theme-preschool .ps-parent-hub__btn-doc {
    border-radius: 999px !important;
    font-weight: 700 !important;
    border: 2px solid rgba(15, 107, 78, 0.2) !important;
    color: var(--kz-leaf) !important;
    background: #fff !important;
}

body.theme-preschool .ps-parent-hub__btn-more {
    border-radius: 999px !important;
    font-weight: 700 !important;
    background: linear-gradient(180deg, #ffe066, #ffc93c) !important;
    color: #1a2e24 !important;
    border: none !important;
}

body.theme-preschool .ps-parent-hub__chips-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
}

body.theme-preschool .ps-parent-hub__chips-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e11d74;
    margin: 0 0 0.25rem;
}

body.theme-preschool .ps-parent-hub__chips {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (min-width: 576px) and (max-width: 991.98px) {
    body.theme-preschool .ps-parent-hub__chips {
        flex-direction: row;
        flex-wrap: wrap;
    }

    body.theme-preschool .ps-hub-chip {
        flex: 1 1 calc(33.333% - 0.6rem);
        min-width: 140px;
    }
}

body.theme-preschool .ps-hub-chip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-radius: 1.15rem;
    text-decoration: none !important;
    color: #1a2e24 !important;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 28px rgba(15, 107, 78, 0.1);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.theme-preschool .ps-hub-chip::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

body.theme-preschool .ps-hub-chip:hover::before {
    opacity: 1;
    transform: translateX(100%);
}

body.theme-preschool .ps-hub-chip:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 18px 40px rgba(15, 107, 78, 0.14);
    color: #0f1a12 !important;
}

/* Hub chips (when used): Downloads = yellow, Fee pay = red, mint = green */
body.theme-preschool .ps-hub-chip--sun {
    background: var(--ps-login-sun);
    border-color: var(--ps-login-sun-bdr);
    box-shadow: 0 10px 28px rgba(255, 190, 40, 0.35);
    color: #3a2b08 !important;
}

body.theme-preschool .ps-hub-chip--sun:hover {
    box-shadow: 0 18px 42px rgba(255, 180, 0, 0.45);
    color: #2a1f04 !important;
}

body.theme-preschool .ps-hub-chip--sky {
    background: linear-gradient(145deg, #ff8787 0%, #e63946 42%, #c92a2a 100%);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 28px rgba(230, 57, 70, 0.35);
    color: #fff !important;
}

body.theme-preschool .ps-hub-chip--sky:hover {
    box-shadow: 0 18px 42px rgba(230, 57, 70, 0.45);
    color: #fff !important;
}

body.theme-preschool .ps-hub-chip--mint {
    background: linear-gradient(145deg, #4ade80 0%, #16a34a 38%, #0f6b4e 88%);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 28px rgba(15, 107, 78, 0.32);
    color: #fff !important;
}

body.theme-preschool .ps-hub-chip--mint:hover {
    box-shadow: 0 18px 42px rgba(15, 107, 78, 0.38);
    color: #fff !important;
}

body.theme-preschool .ps-hub-chip--sky .ps-hub-chip__text strong,
body.theme-preschool .ps-hub-chip--mint .ps-hub-chip__text strong {
    color: inherit;
}

body.theme-preschool .ps-hub-chip__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: #fff;
    color: var(--kz-leaf);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

body.theme-preschool .ps-hub-chip--sun .ps-hub-chip__icon {
    background: #fff;
    color: #c27800;
    box-shadow: 0 4px 14px rgba(200, 130, 0, 0.25);
}

body.theme-preschool .ps-hub-chip--sky .ps-hub-chip__icon {
    background: rgba(255, 255, 255, 0.96);
    color: #c92a2a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

body.theme-preschool .ps-hub-chip--mint .ps-hub-chip__icon {
    background: rgba(255, 255, 255, 0.96);
    color: #0f6b4e;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

body.theme-preschool .ps-hub-chip__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

body.theme-preschool .ps-hub-chip__text strong {
    font-size: 1.02rem;
    font-weight: 800;
}

body.theme-preschool .ps-hub-chip__text small {
    font-size: 0.78rem;
    color: #4a5568;
}

body.theme-preschool .ps-hub-chip--sun .ps-hub-chip__text small {
    color: #5c4a1e;
}

body.theme-preschool .ps-hub-chip--sky .ps-hub-chip__text small,
body.theme-preschool .ps-hub-chip--mint .ps-hub-chip__text small {
    color: rgba(255, 255, 255, 0.9);
}

body.theme-preschool .ps-hub-chip__go {
    margin-left: auto;
    color: var(--kz-leaf);
    opacity: 0.75;
    transition: transform 0.2s ease;
}

body.theme-preschool .ps-hub-chip--sun .ps-hub-chip__go {
    color: #8b6914;
    opacity: 0.9;
}

body.theme-preschool .ps-hub-chip--sky .ps-hub-chip__go,
body.theme-preschool .ps-hub-chip--mint .ps-hub-chip__go {
    color: #fff;
    opacity: 0.92;
}

body.theme-preschool .ps-hub-chip:hover .ps-hub-chip__go {
    transform: translateX(4px);
    opacity: 1;
}

body.theme-preschool .ps-parent-hub__mascot {
    margin-top: auto;
    align-self: flex-end;
    opacity: 0.9;
    animation: ps-hub-mascot 4s ease-in-out infinite;
}

@keyframes ps-hub-mascot {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-6px) rotate(-4deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.theme-preschool .ps-parent-hub__head-icon,
    body.theme-preschool .ps-parent-hub__notify-badge,
    body.theme-preschool .ps-parent-hub__mascot,
    body.theme-preschool .ps-parent-hub__arc {
        animation: none !important;
    }
}

/* Hero: quick chips — slightly over slider / wave */
body.theme-preschool .ps-hero-quicklinks-wrap {
    position: relative;
    z-index: 8;
    pointer-events: none;
}

body.theme-preschool .ps-hero-quicklinks-wrap .ps-about-quickstrip {
    pointer-events: auto;
}

body.theme-preschool .ps-about-quickstrip {
    position: relative;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 252, 242, 0.96) 45%, rgba(255, 251, 235, 0.95) 100%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 14px 40px rgba(15, 107, 78, 0.12),
        0 0 0 1px rgba(15, 107, 78, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

body.theme-preschool .ps-about-quickstrip::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: 0;
    height: 4px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, #ffc93c, #7ec8e3, #ff8fab);
    opacity: 0.85;
    pointer-events: none;
}

body.theme-preschool .ps-about-quickstrip--hero-bridge {
    margin-top: -4.35rem;
    margin-bottom: 0.25rem;
    padding: 0.95rem 0.75rem 1rem;
    z-index: 8;
}

@media (min-width: 768px) {
    body.theme-preschool .ps-about-quickstrip--hero-bridge {
        margin-top: -4.85rem;
        padding: 1.05rem 1rem 1.1rem;
    }
}

@media (min-width: 992px) {
    body.theme-preschool .ps-about-quickstrip--hero-bridge {
        margin-top: -5.15rem;
    }
}

body.theme-preschool .ps-about-quickstrip .ps-parent-hub__chips--centered {
    gap: 0.55rem 0.7rem;
}

body.theme-preschool .ps-about-quickstrip .ps-hub-chip--sun {
    box-shadow: 0 8px 26px rgba(255, 180, 0, 0.38);
}

body.theme-preschool .ps-about-quickstrip .ps-hub-chip--sky {
    box-shadow: 0 8px 26px rgba(230, 57, 70, 0.32);
}

body.theme-preschool .ps-about-quickstrip .ps-hub-chip--mint {
    box-shadow: 0 8px 26px rgba(15, 107, 78, 0.28);
}

/* About band: sits under hero (chips bridge on hero) */
body.theme-preschool .ps-parent-hub--from-hero {
    position: relative;
    z-index: 2;
    margin-top: -1.35rem;
    padding-top: 0.35rem;
}

@media (min-width: 992px) {
    body.theme-preschool .ps-parent-hub--from-hero {
        margin-top: -1.85rem;
    }
}

/* About + Latest columns: equal width, matching “cards” */
body.theme-preschool .ps-about-copy-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    padding: 1.35rem 1.35rem 1.45rem;
    border-radius: 1.5rem;
    background: #fff;
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 20px 50px rgba(15, 107, 78, 0.12);
}

body.theme-preschool .ps-about-copy-card .about-home-section__copy {
    max-width: none;
}

@media (min-width: 992px) {
    body.theme-preschool .ps-about-row > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }
}

/* Base .notify-panel__head uses color:#fff — theme head is light; force dark text */
body.theme-preschool .ps-about-notify-panel .notify-panel__head {
    color: #0f291f !important;
}

body.theme-preschool .ps-about-notify-panel .notify-panel__title {
    color: var(--kz-leaf) !important;
}

/* Match About column height; flex chain + min-height for scrollable list */
body.theme-preschool .ps-about-notify-col.d-flex {
    min-height: 0;
}

body.theme-preschool .ps-about-notify-wrap {
    min-height: 0;
    position: relative;
}

body.theme-preschool .ps-about-notify-shell.d-flex {
    min-height: 0;
}

body.theme-preschool .ps-about-notify-panel.d-flex {
    min-height: 0;
}

body.theme-preschool .ps-about-notify-panel {
    overflow: hidden;
}

/* “Latest for parents” — scroll fills space under header (same row height as About) */
body.theme-preschool .ps-about-notify-feed {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0.5rem 0.4rem 0.55rem;
    background: linear-gradient(180deg, #f2fbf6 0%, #fff 55%);
    border-top: 1px dashed rgba(15, 107, 78, 0.12);
}

body.theme-preschool .ps-about-notify-feed__list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-right: 0.15rem;
    margin-right: -0.05rem;
}

body.theme-preschool .ps-about-notify-feed__list::-webkit-scrollbar {
    width: 6px;
}

body.theme-preschool .ps-about-notify-feed__list::-webkit-scrollbar-thumb {
    background: rgba(15, 107, 78, 0.25);
    border-radius: 99px;
}

body.theme-preschool .ps-about-notify-feed__item {
    margin-bottom: 0.5rem;
}

body.theme-preschool .ps-about-notify-feed__item:last-child {
    margin-bottom: 0;
}

body.theme-preschool .ps-about-notify-feed__card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem 0.55rem 0.7rem;
    border-radius: 0.9rem;
    background: #fff;
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 2px 10px rgba(15, 107, 78, 0.07);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.theme-preschool .ps-about-notify-feed__card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 107, 78, 0.11);
    border-color: rgba(255, 201, 60, 0.5);
}

body.theme-preschool .ps-about-notify-feed__dateline {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5a6f66;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

body.theme-preschool .ps-about-notify-feed__dateline--muted {
    color: #8a9a94;
    font-weight: 700;
}

body.theme-preschool .ps-about-notify-feed__title {
    margin: 0 0 0.35rem;
    font-size: 0;
    line-height: 0;
}

body.theme-preschool .ps-about-notify-feed__title a {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.32;
    color: #0f291f;
    text-decoration: none !important;
}

body.theme-preschool .ps-about-notify-feed__title a:hover {
    color: var(--kz-leaf);
    text-decoration: underline !important;
}

body.theme-preschool .ps-about-notify-feed__desc {
    margin: 0 0 0.6rem;
    font-size: 15px;
    line-height: 1.45;
    color: #4a5c54;
}

body.theme-preschool .ps-about-notify-feed__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    background: linear-gradient(180deg, #ffe066, #ffc93c);
    color: #1a2e24 !important;
    border: none;
    box-shadow: 0 2px 0 rgba(200, 150, 0, 0.38);
    transition: filter 0.2s ease, transform 0.2s ease;
}

body.theme-preschool .ps-about-notify-feed__btn:hover {
    color: #0f291f !important;
    filter: brightness(1.04);
    transform: translateY(-1px);
}

body.theme-preschool .ps-about-notify-feed__footer {
    flex-shrink: 0;
    margin-top: 0.5rem;
    padding-top: 0.45rem;
    border-top: 1px dashed rgba(15, 107, 78, 0.1);
    text-align: center;
}

body.theme-preschool .ps-about-notify-feed__all {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--kz-leaf);
    text-decoration: none;
}

body.theme-preschool .ps-about-notify-feed__all:hover {
    text-decoration: underline;
    color: #0a4d36;
}

body.theme-preschool .ps-about-notify-feed__empty {
    padding: 0.85rem 0.5rem;
    text-align: center;
    line-height: 1.45;
}

body.theme-preschool .ps-parent-hub__chips-band {
    width: 100%;
}

body.theme-preschool .ps-parent-hub__chips--centered {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 0.85rem 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

body.theme-preschool .ps-parent-hub__chips--centered .ps-hub-chip {
    flex: 1 1 100%;
    max-width: 22rem;
}

@media (min-width: 576px) {
    body.theme-preschool .ps-parent-hub__chips--centered .ps-hub-chip {
        flex: 1 1 calc(33.333% - 1rem);
        min-width: 11.5rem;
        max-width: 20rem;
    }
}

/* ----- Legacy inner hero (#breadcrumb) + TC search (was inline in tc.php) ----- */
#main #breadcrumb.ps-inner-legacy-hero {
    background: linear-gradient(135deg, var(--school-navy) 0%, #0a3d6e 100%);
    color: #fff;
    padding: 2.25rem 0 1.85rem;
    text-align: center;
}

#main #breadcrumb.ps-inner-legacy-hero h1 {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.65rem, 4vw, 2.1rem);
    margin: 0;
    font-weight: 700;
}

#main #breadcrumb.ps-inner-legacy-hero h5 {
    margin: 0.65rem 0 0;
    font-size: 0.92rem;
    opacity: 0.88;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

#main #breadcrumb.ps-inner-legacy-hero a {
    color: var(--school-gold);
    text-decoration: none;
}

#main #breadcrumb.ps-inner-legacy-hero a:hover {
    text-decoration: underline;
    color: #fff;
}

.tc-search-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    padding: 24px 22px 26px;
}

.tc-search-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.tc-search-sub {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 18px;
}

.tc-search-form {
    margin-bottom: 18px;
}

.tc-search-input-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tc-search-input {
    flex: 1 1 220px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    padding: 0 12px;
}

.tc-search-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.18);
}

.tc-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    border-radius: 10px;
    padding: 0 18px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    border: none;
    font-size: 0.92rem;
    color: #fff;
}

.tc-search-btn i {
    font-size: 0.9rem;
}

.tc-search-result {
    margin-top: 10px;
}

.tc-search-alert {
    font-size: 0.9rem;
    padding: 8px 10px;
    border-radius: 8px;
}

.tc-result-card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.tc-result-card .card-body {
    padding: 16px 16px 14px;
}

.tc-result-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.tc-result-adm {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2px;
}

.tc-result-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: #4b5563;
}

.tc-result-meta li + li {
    margin-top: 2px;
}

.tc-result-meta strong {
    color: #0f172a;
    font-weight: 600;
    margin-right: 4px;
}

.tc-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    border-radius: 999px;
    padding: 6px 16px;
}

.tc-search-hint {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 4px 0 0;
}

@media (max-width: 576px) {
    .tc-search-card {
        padding: 20px 16px 22px;
    }

    .tc-search-input-wrap {
        flex-direction: column;
    }

    .tc-search-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ----- Office staff (/officestaff/…) ----- */
.office-year-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.office-year-tab {
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    color: #444;
    cursor: pointer;
    transition: all 0.25s ease;
}

.office-year-tab:hover {
    border-color: #1a6ea8;
    color: #1a6ea8;
    background: #f0f7ff;
}

.office-year-tab.active {
    background: linear-gradient(135deg, #1a6ea8 0%, #2a8bc9 100%);
    border-color: #1a6ea8;
    color: #fff;
}

.office-year-content {
    display: none;
}

.office-year-content.active {
    display: block;
}

.office-photo-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.office-photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.office-photo-card:hover .office-photo-card__img-wrap img {
    transform: scale(1.04);
}

.office-photo-card__body {
    padding: 12px 14px 14px;
    text-align: center;
}

.office-photo-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.office-photo-card__desig {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 6px;
}

.office-photo-card__cap {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
}

.office-photo-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.office-photo-modal.is-open {
    display: flex;
    opacity: 1;
}

.office-photo-modal__box {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.office-photo-modal.is-open .office-photo-modal__box {
    transform: scale(1);
}

.office-photo-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, color 0.2s;
}

.office-photo-modal__close:hover {
    background: #b40c0c;
    color: #fff;
}

.office-photo-modal__img-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f5;
}

.office-photo-modal__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.office-photo-modal__body {
    padding: 20px 24px 24px;
}

.office-photo-modal__year {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #1a6ea8 0%, #2a8bc9 100%);
    color: #fff;
    border-radius: 20px;
}

.office-photo-modal__desc {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.office-photo-modal__desc:empty {
    display: none;
}

.office-photo-card__link {
    cursor: pointer;
}

/* =============================================================================
   Pre-school theme — inner pages (/pages views): one visual system with home.
   ============================================================================= */
body.theme-preschool #main #breadcrumb.ps-inner-legacy-hero {
    background: linear-gradient(135deg, var(--kz-leaf-dark) 0%, var(--kz-leaf) 52%, #157a52 100%);
    box-shadow: 0 12px 36px rgba(15, 107, 78, 0.18);
}

body.theme-preschool #main:not(.ps-home) > .page-hero {
    background: linear-gradient(135deg, var(--kz-leaf-dark) 0%, var(--kz-leaf) 50%, #157a52 100%);
    box-shadow: 0 12px 36px rgba(15, 107, 78, 0.14);
}

body.theme-preschool #main:not(.ps-home) .page-hero p,
body.theme-preschool #main:not(.ps-home) .page-hero__lead {
    color: rgba(255, 255, 255, 0.92) !important;
}

body.theme-preschool .about-page-content {
    background: linear-gradient(180deg, var(--ps-wash-mint) 0%, var(--ps-wash-cream) 42%, #fff 100%);
}

body.theme-preschool .about-page-body {
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 12px 40px rgba(15, 107, 78, 0.07);
    color: #3d4f47;
}

body.theme-preschool .about-page-body h2,
body.theme-preschool .about-page-body h3 {
    color: var(--kz-leaf-dark);
}

body.theme-preschool .inner-detail-sidebar {
    border: 1px solid rgba(15, 107, 78, 0.12);
    box-shadow: 0 12px 36px rgba(15, 107, 78, 0.08);
}

body.theme-preschool .inner-detail-sidebar__title {
    color: var(--kz-leaf-dark);
    border-bottom-color: rgba(255, 212, 59, 0.75);
}

body.theme-preschool .inner-detail-sidebar__item + .inner-detail-sidebar__item {
    border-top-color: rgba(15, 107, 78, 0.08);
}

body.theme-preschool .inner-detail-sidebar__link {
    color: var(--kz-leaf);
}

body.theme-preschool .inner-detail-sidebar__link:hover {
    color: var(--kz-leaf-dark);
}

body.theme-preschool .inner-detail-sidebar__chev {
    color: var(--school-gold-deep);
}

body.theme-preschool .contact-page__aside,
body.theme-preschool .contact-form-wrap {
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 12px 40px rgba(15, 107, 78, 0.07);
}

body.theme-preschool .contact-page__address-block {
    border-top-color: rgba(15, 107, 78, 0.1);
    border-bottom-color: rgba(15, 107, 78, 0.1);
}

body.theme-preschool .contact-page__channel-ic {
    background: linear-gradient(145deg, var(--ps-wash-mint), #fff);
    color: var(--kz-leaf);
    border: 1px solid rgba(15, 107, 78, 0.12);
}

body.theme-preschool .contact-form-wrap__input:focus {
    border-color: var(--kz-leaf);
    box-shadow: 0 0 0 0.2rem rgba(15, 107, 78, 0.15);
}

body.theme-preschool .contact-page__map {
    background: linear-gradient(180deg, var(--ps-wash-sage) 0%, var(--ps-wash-mint) 100%);
}

body.theme-preschool .contact-page__map-inner {
    border: 1px solid rgba(15, 107, 78, 0.12);
    box-shadow: 0 16px 48px rgba(15, 107, 78, 0.1);
}

body.theme-preschool .downloadbox {
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 8px 24px rgba(15, 107, 78, 0.06);
    border-top-color: var(--school-gold);
}

body.theme-preschool .download-card-link:hover .downloadbox {
    box-shadow: 0 14px 32px rgba(15, 107, 78, 0.12);
    border-color: rgba(15, 107, 78, 0.16);
}

body.theme-preschool .downloadbox__icon {
    background: linear-gradient(135deg, var(--kz-leaf-dark), var(--kz-leaf));
}

body.theme-preschool .downloadbox--syllabus .downloadbox__icon {
    background: linear-gradient(135deg, #0d5c3f, #1a8b5c);
}

body.theme-preschool .downloadbox--book .downloadbox__icon {
    background: linear-gradient(135deg, var(--kz-leaf), #34c759);
}

body.theme-preschool .downloadbox__arrow {
    background: rgba(15, 107, 78, 0.1);
    color: var(--kz-leaf-dark);
}

body.theme-preschool .download-card-link:hover .downloadbox__arrow {
    background: var(--school-gold);
    color: var(--kz-leaf-dark);
}

body.theme-preschool .downloads-list-page__sheet {
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 12px 40px rgba(15, 107, 78, 0.07);
}

body.theme-preschool .downloads-table tbody tr:hover {
    background: rgba(15, 107, 78, 0.05);
}

body.theme-preschool .mandatory-public-page {
    background: linear-gradient(165deg, var(--ps-wash-mist) 0%, var(--ps-wash-cream) 40%, var(--ps-wash-mint) 100%);
}

body.theme-preschool .mandatory-public-page__empty {
    border: 1px solid rgba(15, 107, 78, 0.12);
    box-shadow: 0 0.35rem 1.25rem rgba(15, 107, 78, 0.06);
}

body.theme-preschool .mandatory-public-page__empty .fa-folder-open {
    color: rgba(15, 107, 78, 0.22);
}

body.theme-preschool .mandatory-public-page__section.card-like {
    border: 1px solid rgba(15, 107, 78, 0.12);
    box-shadow: 0 0.35rem 1.25rem rgba(15, 107, 78, 0.06);
}

body.theme-preschool .mandatory-public-page__section.card-like:hover {
    box-shadow: 0 0.5rem 1.75rem rgba(15, 107, 78, 0.12);
}

body.theme-preschool .mandatory-public-page__table thead th {
    background: linear-gradient(135deg, var(--kz-leaf) 0%, var(--kz-leaf-dark) 100%);
    color: #fff;
}

body.theme-preschool .mandatory-public-page__table tbody tr:nth-child(even) {
    background: rgba(232, 248, 239, 0.45);
}

body.theme-preschool .mandatory-public-page__table tbody tr:hover {
    background: rgba(255, 212, 59, 0.12);
}

body.theme-preschool .mandatory-public-page__btn {
    border-color: rgba(15, 107, 78, 0.22);
    box-shadow: 0 0.2rem 0.65rem rgba(15, 107, 78, 0.18);
}

body.theme-preschool .mandatory-public-page__btn:hover {
    box-shadow: 0 0.35rem 0.95rem rgba(15, 107, 78, 0.28);
}

body.theme-preschool .events-list-page__empty {
    border: 1px dashed rgba(15, 107, 78, 0.2);
}

body.theme-preschool .event-list-card,
body.theme-preschool .event-card,
body.theme-preschool .gallery-album-card {
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 10px 30px rgba(15, 107, 78, 0.06);
}

body.theme-preschool .event-list-card:hover,
body.theme-preschool .event-card:hover {
    box-shadow: 0 18px 44px rgba(15, 107, 78, 0.12);
    border-color: rgba(15, 107, 78, 0.16);
}

body.theme-preschool .gallery-album-card:hover {
    box-shadow: 0 14px 36px rgba(15, 107, 78, 0.12);
}

body.theme-preschool .notice-detail-sidebar .notice-detail-sidebar__card,
body.theme-preschool .notice-detail-page__prose {
    border-color: rgba(15, 107, 78, 0.1);
}

body.theme-preschool .facilities-page__card {
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 10px 28px rgba(15, 107, 78, 0.06);
}

body.theme-preschool .toppers-page-section {
    background: linear-gradient(180deg, var(--ps-wash-cream) 0%, var(--ps-wash-mint) 100%);
}

body.theme-preschool .toppers-page__toolbar,
body.theme-preschool .toppers-page__tab-main,
body.theme-preschool .toppers-page__tab-session,
body.theme-preschool .toppers-page-card {
    border-color: rgba(15, 107, 78, 0.12);
}

body.theme-preschool .toppers-page-card {
    box-shadow: 0 10px 28px rgba(15, 107, 78, 0.07);
}

body.theme-preschool .toppers-page-card:hover {
    box-shadow: 0 16px 40px rgba(15, 107, 78, 0.12);
}

body.theme-preschool .tc-search-card {
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 18px 44px rgba(15, 107, 78, 0.1);
}

body.theme-preschool .tc-search-title,
body.theme-preschool .tc-result-title,
body.theme-preschool .tc-result-meta strong {
    color: var(--kz-leaf-dark);
}

body.theme-preschool .tc-search-input:focus {
    border-color: var(--kz-leaf);
    box-shadow: 0 0 0 2px rgba(15, 107, 78, 0.2);
}

body.theme-preschool .tc-search-btn {
    background: linear-gradient(135deg, var(--kz-leaf), #1fa06a);
    color: #fff;
}

body.theme-preschool .tc-result-card {
    border-color: rgba(15, 107, 78, 0.12);
}

body.theme-preschool .cv-upload-card {
    background: #fff;
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 12px 36px rgba(15, 107, 78, 0.08);
}

body.theme-preschool .updates-all-page .all_ntc {
    background: #fff;
    border: 1px solid rgba(15, 107, 78, 0.1);
    border-radius: 1rem;
    padding: 1.1rem 1.15rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 22px rgba(15, 107, 78, 0.05);
}

body.theme-preschool .updates-all-page .all_ntc h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--kz-leaf-dark);
    margin: 0 0 0.35rem;
}

body.theme-preschool .updates-all-page .all_ntc h3 span {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--kz-leaf);
    background: var(--ps-wash-mint);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

body.theme-preschool .updates-all-page .all_ntc p {
    margin: 0;
    font-size: 0.92rem;
    color: #4a5c54;
    line-height: 1.55;
}

body.theme-preschool .updates-all-page .all_ntc__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--school-gold), var(--school-gold-deep));
    color: var(--kz-leaf-dark) !important;
    box-shadow: 0 4px 14px rgba(230, 168, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.theme-preschool .updates-all-page .all_ntc__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(230, 168, 0, 0.42);
    color: #062a1c !important;
}

body.theme-preschool .gallery-media-empty {
    border: 1px dashed rgba(15, 107, 78, 0.22);
    color: #5a6b62;
}

body.theme-preschool .gallery-cat-card {
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 10px 28px rgba(15, 107, 78, 0.07);
}

body.theme-preschool .gallery-cat-card:hover {
    box-shadow: 0 18px 40px rgba(15, 107, 78, 0.12);
}

body.theme-preschool .gallery-cat-card__overlay {
    background: rgba(9, 69, 48, 0.42);
}

body.theme-preschool .videos-card {
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 10px 28px rgba(15, 107, 78, 0.07);
}

body.theme-preschool .videos-card:hover {
    border-color: rgba(15, 107, 78, 0.18);
    box-shadow: 0 16px 40px rgba(15, 107, 78, 0.12);
}

body.theme-preschool .message-detail-page__portrait-wrap {
    border: 1px solid rgba(15, 107, 78, 0.12);
    box-shadow: 0 10px 28px rgba(15, 107, 78, 0.08);
}

body.theme-preschool .message-detail-page__siblings {
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 8px 24px rgba(15, 107, 78, 0.05);
}

body.theme-preschool .office-page h2 {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--kz-leaf-dark);
    margin-bottom: 1.25rem;
}

body.theme-preschool .office-year-tab:hover {
    border-color: var(--kz-leaf);
    color: var(--kz-leaf);
    background: var(--ps-wash-mint);
}

body.theme-preschool .office-year-tab.active {
    background: linear-gradient(135deg, var(--kz-leaf-dark) 0%, var(--kz-leaf) 100%);
    border-color: var(--kz-leaf);
    color: #fff;
}

body.theme-preschool .office-photo-card {
    border: 1px solid rgba(15, 107, 78, 0.1);
    box-shadow: 0 6px 22px rgba(15, 107, 78, 0.08);
}

body.theme-preschool .office-photo-card:hover {
    box-shadow: 0 14px 36px rgba(15, 107, 78, 0.14);
}

body.theme-preschool .office-photo-card__name {
    color: var(--kz-leaf-dark);
}

body.theme-preschool .office-photo-modal__year {
    background: linear-gradient(135deg, var(--kz-leaf-dark) 0%, var(--kz-leaf) 100%);
}

