/* frontend MENU DESKTOP */
#frontend_menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ececec;
}

/* Nav groups left and right of the centered logo; items sit in a row. */
#frontend_menu_left, #frontend_menu_right {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
}
#frontend_menu_left { justify-content: center; margin-left: 40px; }
#frontend_menu_right { justify-content: center; margin-right: 40px; }

#frontend_menu_left a, #frontend_menu_right a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #686868;
    text-decoration: none;
    font-size: 15px;
    padding: 26px 16px;
    white-space: nowrap;
}
#frontend_menu_left a:hover, #frontend_menu_right a:hover {
    color: #26408c;
}
#frontend_menu_left a i, #frontend_menu_right a i {
    font-size: 14px;
}
/* Language switch flag (desktop). */
#frontend_menu_right .frontend_menu_lang {
    padding: 26px 6px;
}
#frontend_menu_right .frontend_menu_lang img {
    display: block;
    width: 26px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
/* Language switch flag (mobile list). */
#frontend_menu_mobile_list .frontend_menu_lang img {
    width: 24px;
    height: auto;
    vertical-align: middle;
    margin-right: 6px;
    border-radius: 2px;
}

/* Centered logo: polar bear + "SPITZBERGEN REISEN" underneath. */
#frontend_menu_desktop_logo {
    flex: 0 0 auto;
    text-align: center;
    padding: 0 20px;
}
#frontend_menu_desktop_logo a {
    text-decoration: none;
    display: inline-block;
}
#frontend_menu_desktop_logo img {
    height: 56px;
    display: block;
    margin: 6px auto 2px;
}
.frontend_logo_text {
    /* Same font + size as the "REISEN" span (which the global * rule sizes to
       18px) — only weight/colour differ between the two words. */
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: #131b31;
    white-space: nowrap;
    padding-bottom: 6px;
}
.frontend_logo_text span {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #26408c;
}

/* frontend MENU MOBILE (phones) — hidden on desktop. */
#frontend_menu_mobile,
#frontend_menu_mobile_list,
#frontend_mobile_toggle {
    display: none;
}

@media screen and (max-width: 1000px)
{
    /* Desktop bar off, phone bar on. */
    #frontend_menu {
        display: none;
    }
    #frontend_menu_mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
        padding: 8px 18px;
        background: #fff;
        border-bottom: 1px solid #ececec;
    }
    #frontend_menu_mobile_logo img {
        height: 44px;
        display: block;
    }
    /* Hamburger, top right. */
    #frontend_menu_mobile_icon {
        font-size: 28px;
        color: #131b31;
        cursor: pointer;
        padding: 6px 10px;
    }

    /* Tapping the hamburger toggles the stacked menu underneath. */
    #frontend_menu_mobile_list {
        display: none;
    }
    #frontend_mobile_toggle:checked ~ #frontend_menu_mobile_list {
        display: block;
        background: #fff;
        border-bottom: 1px solid #ececec;
    }
    #frontend_menu_mobile_list a {
        display: block;
        padding: 16px 22px;
        color: #686868;
        text-decoration: none;
        font-size: 18px;
        border-bottom: 1px solid #f0f0f0;
    }
    #frontend_menu_mobile_list a:hover {
        color: #26408c;
    }
    #frontend_menu_mobile_list a i {
        width: 24px;
        margin-right: 10px;
        text-align: center;
    }
}


