
/* SCHOOL HEADER - WIDE PREMIUM NAVIGATION */

@media (min-width:1200px) {

    .header .container.navbar {
        width:min(1440px, calc(100% - 40px)) !important;
        max-width:1440px !important;
        margin-left:auto !important;
        margin-right:auto !important;
        display:flex !important;
        align-items:center !important;
        justify-content:space-between !important;
        gap:26px !important;
    }

    /* Logo sekolah */
    .header .navbar > .brand {
        flex:0 0 auto !important;
        min-width:max-content !important;
        margin:0 !important;
    }

    /* Menu utama diperluas */
    .header .nav-menu {
        display:flex !important;
        flex:1 1 auto !important;
        justify-content:center !important;
        align-items:center !important;
        gap:clamp(17px, 1.6vw, 29px) !important;
        margin-left:0 !important;
        margin-right:0 !important;
        min-width:0 !important;
        white-space:nowrap !important;
    }

    .header .nav-menu a {
        flex:0 0 auto !important;
        white-space:nowrap !important;
    }

    /* Kelompok tombol kanan */
    .header .header-actions {
        display:flex !important;
        flex:0 0 auto !important;
        align-items:center !important;
        justify-content:flex-end !important;
        gap:10px !important;
        margin:0 !important;
        white-space:nowrap !important;
    }

    /* Logo Tut Wuri */
    .header .school-tut-wuri-header {
        flex:0 0 48px !important;
        width:48px !important;
        height:48px !important;
        margin-left:5px !important;
        object-fit:contain !important;
    }
}

/* Desktop ukuran menengah */
@media (min-width:1200px) and (max-width:1399px) {

    .header .container.navbar {
        width:calc(100% - 40px) !important;
        gap:16px !important;
    }

    .header .nav-menu {
        gap:15px !important;
    }

    .header .header-actions {
        gap:7px !important;
    }
}

/* END SCHOOL HEADER WIDE NAVIGATION */



/* SCHOOL TOPBAR AND HEADER PRECISION ALIGNMENT */

@media (min-width:1200px) {
    .school-topbar .school-topbar-inner {
        width: min(1440px, calc(100% - 64px)) !important;
        max-width: 1440px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

@media (min-width:1200px) and (max-width:1399px) {
    .school-topbar .school-topbar-inner {
        width: calc(100% - 40px) !important;
    }
}

/* END SCHOOL TOPBAR AND HEADER PRECISION ALIGNMENT */
