
        :root {
            --color-primary: #168BFF;
            --color-dark-blue: #123B72;
            --color-cyan: #20D9F2;
            --color-gray-light: #F3F5F8;
            --color-gray-mid: #DDE3EA;
            --color-white: #FFFFFF;
            --color-text-main: #1E293B;
            --color-text-muted: #64748B;
            --gradient-header: linear-gradient(120deg, #123B72 0%, #168BFF 60%, #20D9F2 100%);
            --gradient-hero: linear-gradient(125deg, #0D2B56 0%, #123B72 42%, #168BFF 82%, #20D9F2 100%);
            --gradient-body: linear-gradient(135deg, #F3F5F8 0%, #E2E8F0 50%, #F8FAFC 100%);
            --gradient-btn: linear-gradient(135deg, #168BFF 0%, #123B72 100%);
            --gradient-accent: linear-gradient(90deg, #168BFF 0%, #20D9F2 100%);
            --radius-card: 18px;
            --radius-lg: 22px;
            --radius-sm: 12px;
            --shadow-soft: 0 10px 30px -5px rgba(18, 59, 114, 0.07), 0 4px 12px -2px rgba(18, 59, 114, 0.04);
            --shadow-hover: 0 20px 38px -8px rgba(18, 59, 114, 0.15), 0 8px 18px -4px rgba(22, 139, 255, 0.1);
            --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
        }

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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            color: var(--color-text-main);
            background: var(--gradient-body);
            background-attachment: fixed;
            overflow-x: hidden;
            line-height: 1.65;
        }

        h1, h2, h3, h4, h5, h6, .font-heading {
            font-family: 'Plus Jakarta Sans', sans-serif;
            letter-spacing: -0.02em;
            color: var(--color-dark-blue);
        }

        /* Skip link untuk aksesibilitas keyboard */
        .skip-link {
            position: absolute;
            top: -50px;
            left: 16px;
            background: var(--color-dark-blue);
            color: #fff;
            padding: 10px 18px;
            border-radius: 8px;
            z-index: 9999;
            text-decoration: none;
            font-weight: 600;
            transition: top 0.2s ease;
        }
        .skip-link:focus {
            top: 12px;
            color: #fff;
            outline: 3px solid var(--color-cyan);
        }

        /* Fokus keyboard yang jelas */
        a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
            outline: 3px solid var(--color-cyan);
            outline-offset: 2px;
        }

        /* Topbar Informasi & Notifikasi */
        .school-topbar {
            background: #0D2D59;
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.84rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        }

        /* Navbar Sticky dengan Gradasi Biru */
        .school-navbar {
            background: var(--gradient-header);
            box-shadow: 0 6px 24px rgba(18, 59, 114, 0.18);
            padding-top: 0.75rem;
            padding-bottom: 0.75rem;
            transition: var(--transition-smooth);
        }
        .school-navbar.navbar-scrolled {
            padding-top: 0.5rem;
            padding-bottom: 0.5rem;
            box-shadow: 0 10px 30px rgba(18, 59, 114, 0.28);
        }
        .brand-logo-box {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.16);
            border: 1px solid rgba(255, 255, 255, 0.35);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 800;
            font-size: 1.1rem;
            flex-shrink: 0;
            backdrop-filter: blur(6px);
        }
        .navbar-brand-title {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-weight: 800;
            font-size: 1.12rem;
            color: #ffffff;
            line-height: 1.2;
            letter-spacing: -0.01em;
        }
        .navbar-brand-subtitle {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.85);
            display: block;
            font-weight: 500;
        }
        .school-navbar .nav-link {
            color: rgba(255, 255, 255, 0.92) !important;
            font-weight: 600;
            font-size: 0.93rem;
            padding: 0.5rem 0.95rem !important;
            border-radius: 10px;
            transition: var(--transition-smooth);
        }
        .school-navbar .nav-link:hover,
        .school-navbar .nav-link.active {
            color: #ffffff !important;
            background: rgba(255, 255, 255, 0.16);
        }

        /* Tombol Login SES */
        .btn-ses-login {
            background: #FFFFFF;
            color: var(--color-dark-blue) !important;
            font-weight: 700;
            font-size: 0.88rem;
            padding: 0.55rem 1.2rem;
            border-radius: 50px;
            border: 2px solid rgba(255, 255, 255, 0.9);
            box-shadow: 0 4px 15px rgba(13, 43, 86, 0.22);
            transition: var(--transition-smooth);
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            text-decoration: none;
        }
        .btn-ses-login:hover {
            background: var(--color-cyan);
            color: #092244 !important;
            border-color: var(--color-cyan);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(32, 217, 242, 0.35);
        }

        /* Hero Section */
        .hero-section {
            position: relative;
            background: var(--gradient-hero);
            color: #ffffff;
            padding: 5rem 0 6.5rem;
            overflow: hidden;
        }
        .hero-ornament-circle-1 {
            position: absolute;
            width: 420px;
            height: 420px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(32, 217, 242, 0.22) 0%, rgba(32, 217, 242, 0) 70%);
            top: -120px;
            right: -80px;
            pointer-events: none;
        }
        .hero-ornament-circle-2 {
            position: absolute;
            width: 340px;
            height: 340px;
            border-radius: 50%;
            border: 1px dashed rgba(255, 255, 255, 0.18);
            bottom: -100px;
            left: -90px;
            pointer-events: none;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.14);
            border: 1px solid rgba(255, 255, 255, 0.28);
            color: #ffffff;
            padding: 0.45rem 1rem;
            border-radius: 50px;
            font-size: 0.84rem;
            font-weight: 600;
            backdrop-filter: blur(8px);
        }
        .hero-title {
            color: #ffffff;
            font-size: clamp(2rem, 4vw, 3.25rem);
            font-weight: 800;
            line-height: 1.18;
        }
        .hero-subtitle {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.06rem;
            max-width: 620px;
        }
        .hero-visual-frame {
            position: relative;
            border-radius: var(--radius-lg);
            padding: 10px;
            background: rgba(255, 255, 255, 0.14);
            border: 1px solid rgba(255, 255, 255, 0.28);
            backdrop-filter: blur(10px);
            box-shadow: 0 24px 48px rgba(9, 30, 66, 0.35);
        }
        .hero-visual-frame img {
            border-radius: 16px;
            width: 100%;
            height: 390px;
            object-fit: cover;
        }
        .hero-floating-card {
            position: absolute;
            bottom: 24px;
            left: -16px;
            background: rgba(255, 255, 255, 0.96);
            color: var(--color-text-main);
            padding: 0.85rem 1.15rem;
            border-radius: 16px;
            box-shadow: 0 15px 30px rgba(18, 59, 114, 0.22);
            max-width: 280px;
            border-left: 4px solid var(--color-primary);
        }
        @media (max-width: 767.98px) {
            .hero-section {
                padding: 3.25rem 0 4.5rem;
            }
            .hero-visual-frame img {
                height: 260px;
            }
            .hero-floating-card {
                position: static;
                margin-top: 12px;
                max-width: 100%;
            }
        }

        /* Summary Cards di Bawah Hero */
        .summary-overlap-wrapper {
            margin-top: -3.25rem;
            position: relative;
            z-index: 10;
        }

        /* Kartu Universal */
        .card-modern {
            background: var(--color-white);
            border-radius: var(--radius-card);
            border: 1px solid var(--color-gray-mid);
            box-shadow: var(--shadow-soft);
            transition: var(--transition-smooth);
            height: 100%;
            overflow: hidden;
        }
        .card-modern:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(22, 139, 255, 0.35);
        }

        /* Tombol Kustom */
        .btn-gradient-primary {
            background: var(--gradient-btn);
            color: #ffffff !important;
            border: none;
            border-radius: 12px;
            padding: 0.68rem 1.4rem;
            font-weight: 600;
            box-shadow: 0 6px 18px rgba(22, 139, 255, 0.25);
            transition: var(--transition-smooth);
        }
        .btn-gradient-primary:hover {
            background: linear-gradient(135deg, #123B72 0%, #168BFF 100%);
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(22, 139, 255, 0.35);
        }
        .btn-hero-cyan {
            background: var(--color-cyan);
            color: #082347 !important;
            font-weight: 700;
            border-radius: 12px;
            padding: 0.72rem 1.45rem;
            border: none;
            transition: var(--transition-smooth);
        }
        .btn-hero-cyan:hover {
            background: #ffffff;
            color: var(--color-dark-blue) !important;
            transform: translateY(-2px);
        }
        .btn-hero-outline {
            background: rgba(255, 255, 255, 0.12);
            color: #ffffff !important;
            border: 1px solid rgba(255, 255, 255, 0.45);
            border-radius: 12px;
            padding: 0.72rem 1.35rem;
            font-weight: 600;
            transition: var(--transition-smooth);
        }
        .btn-hero-outline:hover {
            background: rgba(255, 255, 255, 0.24);
            border-color: #ffffff;
            transform: translateY(-2px);
        }

        /* Section Headings & Divider */
        .section-padding {
            padding: 4.75rem 0;
        }
        .section-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.35rem 0.9rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            background: rgba(22, 139, 255, 0.1);
            color: var(--color-primary);
            border: 1px solid rgba(22, 139, 255, 0.2);
            margin-bottom: 0.75rem;
        }
        .section-title {
            font-weight: 800;
            font-size: clamp(1.65rem, 2.8vw, 2.35rem);
            margin-bottom: 0.75rem;
        }
        .section-divider {
            width: 68px;
            height: 4px;
            border-radius: 4px;
            background: var(--gradient-accent);
            margin-bottom: 1.25rem;
        }

        /* Ikon Kotak Gradasi */
        .icon-box-gradient {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(22, 139, 255, 0.14) 0%, rgba(32, 217, 242, 0.22) 100%);
            color: var(--color-primary);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.45rem;
            flex-shrink: 0;
        }

        /* Kartu Program Keahlian */
        .major-card-img-wrap {
            position: relative;
            height: 205px;
            overflow: hidden;
            background: var(--color-dark-blue);
        }
        .major-card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.45s ease;
        }
        .card-modern:hover .major-card-img-wrap img {
            transform: scale(1.06);
        }
        .major-number-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            background: var(--gradient-header);
            color: #fff;
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-weight: 800;
            font-size: 0.88rem;
            padding: 0.35rem 0.75rem;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(18, 59, 114, 0.3);
        }
        .major-cat-badge {
            position: absolute;
            bottom: 12px;
            right: 12px;
            background: rgba(18, 59, 114, 0.88);
            color: #fff;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.3rem 0.7rem;
            border-radius: 8px;
            backdrop-filter: blur(4px);
        }

        /* Kepala Sekolah Placeholder Box */
        .principal-photo-box {
            background: linear-gradient(145deg, #123B72 0%, #168BFF 100%);
            border-radius: 18px;
            min-height: 340px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            padding: 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        /* Timeline PPDB & Sejarah */
        .timeline-vertical {
            position: relative;
            padding-left: 2rem;
        }
        .timeline-vertical::before {
            content: '';
            position: absolute;
            left: 11px;
            top: 6px;
            bottom: 6px;
            width: 3px;
            background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-cyan) 100%);
            border-radius: 3px;
        }
        .timeline-item {
            position: relative;
            margin-bottom: 1.5rem;
        }
        .timeline-item:last-child {
            margin-bottom: 0;
        }
        .timeline-dot {
            position: absolute;
            left: -2rem;
            top: 4px;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--color-primary);
            border: 4px solid #ffffff;
            box-shadow: 0 0 0 2px var(--color-primary);
        }

        /* Kalender Bulanan */
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 6px;
            text-align: center;
        }
        .calendar-day-header {
            font-size: 0.76rem;
            font-weight: 700;
            color: var(--color-text-muted);
            padding: 6px 0;
            text-transform: uppercase;
        }
        .calendar-cell {
            padding: 8px 4px;
            border-radius: 10px;
            font-size: 0.86rem;
            font-weight: 600;
            background: var(--color-gray-light);
            color: var(--color-text-main);
            position: relative;
        }
        .calendar-cell.is-empty {
            background: transparent;
        }
        .calendar-cell.is-today {
            background: var(--gradient-header);
            color: #ffffff;
            font-weight: 800;
            box-shadow: 0 4px 12px rgba(22, 139, 255, 0.35);
        }
        .calendar-cell.has-event::after {
            content: '';
            display: block;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--color-primary);
            margin: 3px auto 0;
        }
        .calendar-cell.is-today.has-event::after {
            background: #ffffff;
        }

        /* Galeri Dokumentasi */
        .gallery-item-card {
            position: relative;
            border-radius: var(--radius-card);
            overflow: hidden;
            cursor: pointer;
            height: 250px;
            border: 1px solid var(--color-gray-mid);
            box-shadow: var(--shadow-soft);
        }
        .gallery-item-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.45s ease;
        }
        .gallery-item-card:hover img {
            transform: scale(1.07);
        }
        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(0deg, rgba(18, 59, 114, 0.92) 0%, rgba(18, 59, 114, 0.25) 55%, rgba(18, 59, 114, 0) 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 1.2rem;
            color: #ffffff;
            transition: var(--transition-smooth);
        }

        /* Filter Pill Button */
        .filter-pill {
            border-radius: 50px;
            padding: 0.45rem 1.1rem;
            font-size: 0.86rem;
            font-weight: 600;
            border: 1px solid var(--color-gray-mid);
            background: #ffffff;
            color: var(--color-text-main);
            transition: var(--transition-smooth);
        }
        .filter-pill:hover,
        .filter-pill.active {
            background: var(--gradient-btn);
            color: #ffffff;
            border-color: transparent;
            box-shadow: 0 4px 12px rgba(22, 139, 255, 0.25);
        }

        /* Footer Gradasi Biru */
        .school-footer {
            background: var(--gradient-header);
            color: rgba(255, 255, 255, 0.9);
            padding-top: 4.5rem;
            position: relative;
        }
        .school-footer h5 {
            color: #ffffff;
            font-weight: 700;
            margin-bottom: 1.2rem;
        }
        .footer-link {
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            display: inline-block;
            padding: 0.28rem 0;
            transition: var(--transition-smooth);
        }
        .footer-link:hover {
            color: var(--color-cyan);
            transform: translateX(4px);
        }

        /* Back to Top Button */
        .btn-back-to-top {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--gradient-btn);
            color: #ffffff;
            border: 2px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 8px 24px rgba(18, 59, 114, 0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            z-index: 1030;
            opacity: 0;
            visibility: hidden;
            transform: translateY(12px);
            transition: var(--transition-smooth);
        }
        .btn-back-to-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .btn-back-to-top:hover {
            background: var(--color-cyan);
            color: var(--color-dark-blue);
        }

        /* Penghormatan prefers-reduced-motion */
        @media (prefers-reduced-motion: reduce) {
            *, ::before, ::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
        }
/* ============================================================================
   RESPONSIVE MOBILE FIX - SMK PGRI 1 NGANJUK
   Fokus: header compact, menu dropdown overlay, footer stack, anti overflow.
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; }
body { overflow-x: clip; }
img, svg, iframe, video { max-width: 100%; }
.container, .container-fluid, main, main > section, .school-footer { min-width: 0; }
.row > * { min-width: 0; }
.school-footer, .school-footer p, .school-footer a { overflow-wrap: anywhere; }

.mobile-nav-backdrop { display: none; }

@media (max-width: 991.98px) {
  /* Topbar terlalu panjang untuk layar HP */
  .school-topbar { display: none; }
  header.sticky-top { z-index: 1030; }
  .school-navbar { position: relative; padding: .55rem 0; }
  .school-navbar .container { display: flex; flex-wrap: nowrap; align-items: center; min-width: 0; }
  .school-navbar .navbar-brand { flex: 1 1 auto; min-width: 0; max-width: calc(100% - 54px); gap: .65rem !important; margin-right: .5rem !important; }
  .school-navbar .navbar-brand > div:last-child { min-width: 0; overflow: hidden; }
  .school-navbar .brand-logo-box, .school-navbar .navbar-brand > img { width: 42px; height: 42px; min-width: 42px; border-radius: 12px; }
  .school-navbar .navbar-brand-title { display: block; font-size: clamp(.91rem, 3.6vw, 1.08rem); line-height: 1.22; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .school-navbar .navbar-brand-subtitle { font-size: .68rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .school-navbar .navbar-toggler { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25) !important; border-radius: 12px; background: rgba(255,255,255,.11); margin-left: auto; padding: 0; }
  .school-navbar .navbar-toggler i { font-size: 1.65rem !important; line-height: 1; }
  .school-navbar .navbar-toggler[aria-expanded="true"] { background: rgba(255,255,255,.23); }

  /* Menu mengambang di atas konten, bukan mendorong seluruh halaman */
  #navbarContent { position: absolute; top: calc(100% - 1px); left: 0; right: 0; z-index: 3; width: 100%; max-height: calc(100vh - 75px); max-height: calc(100dvh - 75px); overflow-y: auto; overscroll-behavior: contain; padding: .7rem max(1rem, calc((100vw - 720px) / 2)) 1.15rem; background: linear-gradient(145deg, #123B72 0%, #1469bf 70%, #168BFF 100%); border-top: 1px solid rgba(255,255,255,.14); border-radius: 0 0 20px 20px; box-shadow: 0 20px 35px rgba(6,26,54,.28); }
  #navbarContent .navbar-nav { width: 100%; gap: 2px; margin-bottom: 0 !important; }
  #navbarContent .nav-link { display: flex; align-items: center; gap: .6rem; min-height: 45px; padding: .68rem .9rem !important; font-size: .95rem; }
  #navbarContent .nav-link i { display: inline-flex; justify-content: center; flex: 0 0 24px; margin-right: 0 !important; font-size: 1.05rem; }
  #navbarContent > .d-flex { width: 100%; margin-top: .65rem !important; }
  #navbarContent .btn-ses-login { min-height: 44px; justify-content: center; width: 100%; }
  .mobile-nav-backdrop.is-visible { display: block; position: fixed; inset: 0; z-index: 1025; background: rgba(7,25,47,.45); backdrop-filter: blur(2px); }

  .hero-section { padding-top: 3rem; padding-bottom: 5rem; }
  .hero-title { font-size: clamp(1.9rem, 5.3vw, 2.65rem); overflow-wrap: anywhere; }
  .hero-subtitle { font-size: 1rem; }
  .hero-visual-frame img { height: 310px; }
  .section-padding { padding: 3.5rem 0; }
  .card-modern:hover { transform: none; }
  .school-footer { padding-top: 2.7rem; }
  .school-footer h5 { margin-bottom: .65rem; }
  .school-footer .footer-link { padding: .38rem 0; }
  .school-footer .row { row-gap: 1.4rem !important; }
  .school-footer .container { max-width: 100%; }
  .table-responsive { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ppdb-status-chip { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: flex-start; width: 100%; max-width: 100%; gap: .5rem; }
  .ppdb-status-chip .badge { white-space: normal; max-width: 100%; line-height: 1.45; text-align: left; overflow-wrap: anywhere; }
  .ppdb-status-chip .small { flex: 0 0 auto; }
}
@media (max-width: 575.98px) {
  html { scroll-padding-top: 74px; }
  .container { padding-left: 18px; padding-right: 18px; }
  /* Bootstrap g-5 memakai margin -24px, lebih lebar dari padding container HP */
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .school-navbar .container { padding-left: 16px; padding-right: 16px; }
  .school-navbar .navbar-brand { gap: .6rem !important; }
  .school-navbar .brand-logo-box, .school-navbar .navbar-brand > img { width: 39px; height: 39px; min-width: 39px; }
  .school-navbar .navbar-brand-title { font-size: clamp(.88rem, 3.65vw, 1rem); }
  .hero-section { padding: 2.35rem 0 3.85rem; }
  .hero-title { font-size: clamp(1.7rem, 7.1vw, 2.15rem); line-height: 1.22; }
  .hero-subtitle { font-size: .94rem; line-height: 1.65; }
  .hero-badge { font-size: .75rem; max-width: 100%; flex-wrap: wrap; }
  .hero-section .row { --bs-gutter-y: 2rem; }
  .hero-visual-frame { padding: 7px; border-radius: 16px; }
  .hero-visual-frame img { height: 225px; border-radius: 11px; }
  .hero-floating-card { margin-top: 10px; padding: .75rem; }
  .summary-overlap-wrapper { margin-top: -1.8rem; }
  .section-padding { padding: 2.85rem 0; }
  .section-title { font-size: clamp(1.45rem, 5.6vw, 1.85rem); line-height: 1.3; }
  .section-badge { font-size: .7rem; white-space: normal; }
  .card-modern { border-radius: 15px; }
  .major-card-img-wrap { height: 185px; }
  .gallery-item-card { height: 225px; }
  .principal-photo-box { min-height: 235px; padding: 1.3rem; }
  .calendar-grid { gap: 3px; }
  .calendar-cell { padding: 7px 1px; font-size: .75rem; border-radius: 7px; }
  .calendar-day-header { font-size: .67rem; }
  .filter-pill { padding: .42rem .85rem; font-size: .77rem; }
  .school-footer { padding-top: 2.4rem; }
  .school-footer .row { --bs-gutter-y: .85rem; }
  .school-footer h5 { font-size: 1.04rem; }
  .school-footer .brand-logo-box { width: 42px; height: 42px; }
  .school-footer .col-lg-4 .fs-5 { font-size: 1rem !important; }
  .school-footer .col-lg-4 .small { line-height: 1.75; }
  .school-footer .footer-link { line-height: 1.35; }
  .btn-back-to-top { width: 42px; height: 42px; bottom: 18px; right: 16px; }
  .modal-dialog { margin: .65rem; }
}
@media (max-width: 359.98px) {
  .school-navbar .navbar-brand-title { font-size: .82rem; }
  .school-navbar .brand-logo-box, .school-navbar .navbar-brand > img { width: 36px; height: 36px; min-width: 36px; }
  .school-navbar .navbar-toggler { flex-basis: 40px; width: 40px; height: 40px; }
}

    
/* ===== SKARISA MULTI-PAGE (tambahan aman untuk desktop & HP) ===== */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { overflow-x: hidden; }
.page-intro { background: linear-gradient(125deg, #0d2b56, #125aaf 72%, #159ae0); color: white; padding: 3.25rem 0 3.4rem; position: relative; overflow: hidden; }
.page-intro::after { content: ''; position: absolute; width: 260px; height: 260px; border: 55px solid rgba(255,255,255,.06); border-radius: 50%; top: -160px; right: -65px; pointer-events: none; }
.page-intro .container { position: relative; z-index: 1; }
.page-intro .breadcrumb, .page-intro .breadcrumb-item, .page-intro a { color: rgba(255,255,255,.8); }
.page-intro .breadcrumb-item.active { color: white; }
.page-intro .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.page-intro h1 { color: white; font-size: clamp(1.8rem, 4.3vw, 2.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.page-intro p { max-width: 710px; color: rgba(255,255,255,.85); line-height: 1.75; font-size: 1rem; }
.quicklink-card { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; height: 100%; padding: 1.5rem; border-radius: 18px; border: 1px solid #e2e8f0; box-shadow: 0 8px 22px rgba(18,59,114,.06); background: #fff; text-decoration: none; color: #1e293b; transition: transform .2s, box-shadow .2s; }
.quicklink-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(18,59,114,.12); color: #123b72; }
.quicklink-card i { color: #168bff; font-size: 1.6rem; }
.quicklink-card strong { font-size: 1.08rem; }
.quicklink-card span { color: #64748b; font-size: .91rem; line-height: 1.6; }
.school-navbar .dropdown-menu { border: 0; border-radius: 14px; box-shadow: 0 18px 38px rgba(9,35,71,.2); padding: .55rem; }
.school-navbar .dropdown-item { border-radius: 9px; padding: .64rem .8rem; font-weight: 600; color: #123b72; }
.school-navbar .dropdown-item:hover,.school-navbar .dropdown-item.active { background: #e9f4ff; color: #123b72; }
.school-navbar .navbar-nav { align-items: center; }
.school-navbar .nav-link.active { color: #fff; }
.page-intro + section.section-padding { padding-top: 3rem; }
.school-footer .footer-link { display: inline-block; }
@media (max-width:991.98px) {
 .school-navbar .navbar-nav { align-items: stretch; }
 .school-navbar .dropdown-menu { display: block; background: rgba(255,255,255,.08); box-shadow: none; border: 0; padding: .1rem .3rem; margin: .15rem 0 .4rem; }
 .school-navbar .dropdown-menu:not(.show) { display: none; }
 .school-navbar .dropdown-item { color: #fff; padding: .65rem .9rem; }
 .school-navbar .dropdown-item:hover,.school-navbar .dropdown-item.active { background: rgba(255,255,255,.18); color: white; }
 .page-intro { padding: 2.25rem 0 2.6rem; }
 .page-intro h1 { font-size: clamp(1.55rem, 6vw, 2.3rem); }
 .page-intro p { font-size: .94rem; }
}
@media (max-width:575.98px) {
 .quicklink-card { padding: 1.2rem; }
 .school-footer .row { row-gap: 1.5rem!important; }
 .school-footer .container > .row > div { width: 100%; }
 .school-footer .container > .row > div h5 { margin-bottom: .75rem; }
 .page-intro + section.section-padding { padding-top: 2.5rem; }
 .ppdb-status-chip { width: 100%; min-width: 0; }
 .ppdb-status-chip .badge { overflow-wrap: anywhere; white-space: normal; }
}
