/* ==================================================
   SITE NAVBAR
================================================== */

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #e2e8f0;

    box-shadow:
        0 4px 18px rgba(15, 23, 42, .06);
}


.site-navbar__inner {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 0 20px;

    box-sizing: border-box;
}


.site-navbar__menu {
    display: flex;
    align-items: center;

    width: 100%;

    min-height: 58px;

    gap: 4px;

    flex-wrap: nowrap;

    white-space: nowrap;
}


.site-navbar__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-height: 40px;

    padding: 0 18px;

    color: #334155;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    border-radius: 8px;

    white-space: nowrap;

    transition:
        background .2s ease,
        color .2s ease;
}


.site-navbar__link:hover {
    background: #f1f5f9;
    color: #0f172a;
}


.site-navbar__link.is-active {
    background: #2563eb;
    color: #ffffff;
}


/* ==================================================
   MOBILE NAVBAR
================================================== */

@media (max-width: 768px) {

    .site-navbar__inner {
        padding: 0;
    }


    .site-navbar__menu {

        width: 100%;

        min-height: 54px;

        padding: 0 10px;

        gap: 2px;

        overflow-x: auto;
        overflow-y: hidden;

        flex-wrap: nowrap;

        white-space: nowrap;

        box-sizing: border-box;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }


    .site-navbar__menu::-webkit-scrollbar {
        display: none;
    }


    .site-navbar__link {

        flex: 0 0 auto;

        min-height: 40px;

        padding: 0 15px;

        font-size: 14px;

        white-space: nowrap;
    }

}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {

    .site-navbar__menu {
        padding: 0 8px;
    }


    .site-navbar__link {

        padding: 0 13px;

        font-size: 14px;
    }

}                                      