/*
 * Andro-Mod brand assets and responsive header sizing.
 * The versioned physical filename avoids the server's long-lived CSS cache.
 */

@media (min-width: 769px) {
    #top-menu > li.am-menu-icon {
        display: flex;
        align-items: center;
        min-height: 35px;
        padding-left: 55px;
        background-color: transparent;
        background-repeat: no-repeat;
        background-position: 12px center;
        background-size: 35px 35px;
    }

    #top-menu > li.am-menu-icon--games {
        background-image: url("../brand/v1/icons/menu-games-256.webp");
    }

    #top-menu > li.am-menu-icon--programs {
        background-image: url("../brand/v1/icons/menu-programs-256.webp");
    }

    #top-menu > li.am-menu-icon--articles {
        background-image: url("../brand/v1/icons/menu-articles-256.webp");
    }
}

/*
 * Reboot's 960px desktop container otherwise lets the fixed-width search
 * collapse a wide intrinsic logo between 992px and 1199px.
 */
@media (min-width: 992px) and (max-width: 1199px) {
    .site-header-inner .site-branding {
        flex: 0 0 200px;
        min-width: 200px;
    }

    .site-header-inner .site-logotype {
        width: 180px;
        max-width: 180px;
    }

    .site-header-inner .header-html-1 {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-header-inner .searchformm,
    .site-header-inner .searchformm input.s {
        width: 100%;
    }

    .site-header-inner .top-menu {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    #top-menu > li.am-menu-icon {
        display: block;
        padding-left: inherit;
        background-image: none !important;
    }
}
