/* Brand-aligned language links. Explicit specificity beats existing menu and
 * readability !important rules without changing their layout or phone styles. */
html body .lm-root .lmlai-switch {
    display:inline-flex!important;
    align-items:center;
    justify-content:flex-start;
    flex-wrap:nowrap!important;
    gap:2px!important;
    max-width:100%;
    box-sizing:border-box;
    padding:4px!important;
    border:1px solid #ded7d7;
    border-radius:999px;
    background:#fff;
    color:#414854;
    box-shadow:0 1px 3px rgb(31 20 20 / 7%);
    font-family:inherit;
    font-size:16px!important;
    line-height:1.4!important;
    vertical-align:middle;
    isolation:isolate;
}
html body .lm-root .lmlai-switch .lmlai-switch-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 28px;
    width:28px;
    height:44px;
    margin:0 2px 0 0;
    color:#59616f;
}
html body .lm-root .lmlai-switch .lmlai-switch-icon svg {
    display:block;
    width:20px;
    height:20px;
    flex-shrink:0;
}
html body .lm-root .lmlai-switch a.lmlai-choice {
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    gap:6px!important;
    flex:0 0 auto;
    box-sizing:border-box;
    min-width:44px;
    min-height:44px;
    margin:0!important;
    padding:9px 12px!important;
    border:0!important;
    border-radius:999px!important;
    background:transparent!important;
    color:#303744!important;
    -webkit-text-fill-color:currentColor!important;
    font-family:inherit!important;
    font-size:16px!important;
    line-height:1.4!important;
    font-weight:600!important;
    letter-spacing:normal;
    text-align:center;
    white-space:nowrap;
    text-decoration:none!important;
    box-shadow:none;
    transition:background-color .15s ease,color .15s ease,box-shadow .15s ease;
}
html body .lm-root .lmlai-switch .lmlai-choice-label {
    color:inherit!important;
    -webkit-text-fill-color:inherit!important;
    font-size:16px!important;
    line-height:inherit!important;
}
html body .lm-root .lmlai-switch a.lmlai-choice[aria-current="page"] {
    background:#b00000!important;
    color:#fff!important;
    font-weight:700!important;
    box-shadow:0 1px 3px rgb(130 0 0 / 18%);
}
html body .lm-root .lmlai-switch .lmlai-choice-check {
    display:block;
    width:14px;
    height:14px;
    flex:0 0 14px;
    color:inherit!important;
}
html body .lm-root .lmlai-switch a.lmlai-choice:not([aria-current="page"]):is(:hover,:active) {
    background:#fff0f0!important;
    color:#850000!important;
}
html body .lm-root .lmlai-switch a.lmlai-choice[aria-current="page"]:is(:hover,:active) {
    background:#850000!important;
    color:#fff!important;
}
html body .lm-root .lmlai-switch a.lmlai-choice:focus-visible {
    outline:3px solid #075bb5!important;
    outline-offset:2px!important;
    box-shadow:0 0 0 5px #fff!important;
    position:relative;
    z-index:1;
}
html body .lm-root .lm-header-nav .lmlai-switch { flex-shrink:0; }
html body .lm-root .lm-mobile-nav .lmlai-switch {
    align-self:flex-start;
    margin:8px 0 12px;
}
html body .lm-root .lm-footer-bottom .lmlai-switch {
    margin:0 16px 0 0;
    background:#242424;
    border-color:#595959;
    color:#fff;
    box-shadow:none;
}
html body .lm-root .lm-footer-bottom .lmlai-switch .lmlai-switch-icon { color:#ddd; }
html body .lm-root .lm-footer-bottom .lmlai-switch a.lmlai-choice:not([aria-current="page"]) {
    color:#f5f5f5!important;
}
html body .lm-root .lm-footer-bottom .lmlai-switch a.lmlai-choice:not([aria-current="page"]):is(:hover,:active) {
    background:#3c3c3c!important;
    color:#fff!important;
}
@media(prefers-reduced-motion:reduce) {
    html body .lm-root .lmlai-switch a.lmlai-choice { transition:none; }
}
/* Preserve the existing responsive header gates exactly. */
@media(max-width:1350px){
 .lm-root .lm-header-nav{display:none!important}
 .lm-root .lm-brand-tagline{display:none!important}
 .lm-root .lm-burger{display:flex!important}
 .lm-root .lm-brand{min-width:0;flex-shrink:1}
 .lm-root .lm-brand-text{min-width:0}
 .lm-root .lm-header-right{flex-shrink:0}
}

/* Existing home-page area toggle overflowed at 320px before the switcher change:
 * its two icons + 16px label + padding measured 333px inside a 280px container.
 * Preserve every word and both icons; let only the label wrap within the button.
 */
@media(max-width:640px) {
    html body .lm-root button.lm-view-more-btn {
        max-width:100%;
        box-sizing:border-box;
        white-space:normal;
        text-align:center;
    }
    html body .lm-root button.lm-view-more-btn > .btn-text {
        min-width:0;
        white-space:normal;
        overflow-wrap:anywhere;
    }
    html body .lm-root button.lm-view-more-btn > i { flex-shrink:0; }
}
