/* The Blocksy mobile header is separate from its desktop navigation. */
.gygl-mobile-switcher { display:none; }
@media (max-width: 999px) {
    #header [data-device="mobile"] [data-column="start"],
    #header [data-device="mobile"] .site-branding { min-width:0; }
    #header [data-device="mobile"] .site-logo-container { max-width:100%; }
    #header [data-device="mobile"] .gygl-mobile-switcher {
        display:inline-flex; flex:0 0 auto; align-items:center; margin-inline-end:8px;
        z-index:20; color:#19334b;
    }
    #header [data-device="mobile"] .gygl-mobile-switcher > details > summary {
        box-sizing:border-box; min-width:44px; min-height:44px; padding:0 8px;
        display:flex; align-items:center; justify-content:center; gap:5px;
        list-style:none; white-space:nowrap; background:#fff;
    }
    #header [data-device="mobile"] .gygl-mobile-switcher > details > .gygl-language-switcher {
        position:absolute; inset:calc(100% + 6px) 0 auto auto; z-index:30;
        margin:0; box-sizing:border-box; width:192px; min-width:0;
        max-width:calc(100vw - 88px); max-height:60vh;
        overflow:auto; overscroll-behavior:contain; background:#fff;
    }
    #header [data-device="mobile"] .gygl-mobile-switcher > details[open] > .gygl-language-switcher {
        display:grid; grid-template-columns:minmax(0,1fr); gap:0;
    }
    #header [data-device="mobile"] .gygl-mobile-switcher > details > .gygl-language-switcher > a {
        display:flex; align-items:center; box-sizing:border-box; min-height:44px;
    }
}
@media (max-width: 360px) {
    #header [data-device="mobile"] .gygl-mobile-switcher { margin-inline-end:4px; }
    #header [data-device="mobile"] .gygl-mobile-switcher > details > summary { padding-inline:6px; }
}
