/* Rosary School — Bootstrap 5 companion styles */

:root {
    --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: "DM Sans", system-ui, sans-serif;
    color: #1a1a2e;
}

h1,
h2,
h3,
.display-font {
    font-family: "Fraunces", Georgia, serif;
}

/* ----- 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: 10px 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 {
    margin-right: 0.65rem;
    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-right ----- */
#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);
}

/* Patron — top-right on slider, above headline */
.home-hero-stack__patron {
    position: absolute;
    top: clamp(13.5rem, 28vh, 20.25rem) !important;
    right: clamp(0.35rem, 2.5vw, 1.75rem);
    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);
        right: 0.35rem;
        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: 100%;
    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;
}

.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;
}

@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) — 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: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__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;
}

/* ----- 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;
}

/* ----- 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;
}

/* ----- 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;
}

.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%;
}

.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: #fff;
}

/* 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-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__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;
}

