/* Public website only. The existing language handlers and menu are unchanged. */
#siteHeader .header-inner { max-width: 1480px; gap: 24px; }
#siteHeader .logo { flex-shrink: 0; }
#siteHeader #web-language-switch {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid #a4894d;
    border-radius: 999px;
    background: #fffdf7;
    box-shadow: 0 3px 12px rgba(15, 27, 49, .08);
}
#web-language-switch button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #101c35;
    font: 800 16px/1.2 'Inter', sans-serif;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease;
}
#web-language-switch button:hover { background: #f3e8cb; }
#web-language-switch button[aria-pressed="true"] {
    background: #f6bf32;
    border-color: #d79f16;
    box-shadow: 0 2px 5px rgba(86, 59, 0, .15);
}
#web-language-switch button[aria-pressed="true"]:hover { background: #eeb326; }
#web-language-switch button:focus-visible {
    outline: 3px solid #101c35;
    outline-offset: 3px;
}
#web-language-switch button:active { background: #e4aa22; box-shadow: inset 0 2px 4px rgba(16, 28, 53, .2); }
/* Keep the control outside the collapsed menu, including tablet widths. */
@media (max-width: 1250px) {
    #siteHeader #web-language-switch { margin-left: auto; }
    #siteHeader .menu-toggle { display: flex; flex-shrink: 0; }
    #siteHeader .nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        padding: 24px;
        background: #faf7ef;
        border-bottom: 1px solid #d9cfba;
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
    }
    #siteHeader .nav.active { display: flex; }
}
@media (max-width: 600px) {
    #siteHeader .header-inner { padding-inline: 12px; gap: 10px; }
    #siteHeader .logo { flex-direction: column; align-items: flex-start; gap: 3px; font-size: 12px; }
    #web-language-switch button { min-width: 46px; padding-inline: 10px; }
}
@media (max-width: 350px) {
    #siteHeader .header-inner { gap: 8px; }
    #siteHeader .logo { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    #web-language-switch button { transition: none; }
}
