/* Re-enclose the selected language block exactly like V71. */
html body header .language-dropdown{
    position:relative!important;
    isolation:isolate!important;
}
html body header .language-current-btn{
    position:relative!important;
    z-index:3!important;
}
html body header .language-menu{
    /* Root fix: 6px above the selected flag, exactly matching
       the existing 6px below the alternate flag at every responsive height. */
    top:calc(50% - 14.5px)!important;
    bottom:auto!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    transform-origin:top center!important;
    width:53px!important;
    min-width:53px!important;
    max-width:53px!important;
    /* Reduce only the upper empty area; lower flag/border keep their position. */
    padding-top:calc(50.5px - 50%)!important;
    z-index:2!important;
}

/* Only the NON-selected option's internal geometry changes.
   Flag stays on the left; EN/FR sits to its right, horizontally aligned
   under the current EN/FR column. Since there is no chevron in the option,
   the text is vertically centered with the flag. */
html body header .language-menu .language-option:not(.active){
    display:grid!important;
    grid-template-columns:24px 8px!important;
    grid-template-rows:17px!important;
    column-gap:4px!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:38px!important;
    width:38px!important;
    padding:4px 0!important;
}
html body header .language-menu .language-option:not(.active) .language-option-stack{
    display:contents!important;
}
html body header .language-menu .language-option:not(.active) .language-option-flag{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:center!important;
    align-self:center!important;
    width:23.8px!important;
    min-width:23.8px!important;
    max-width:23.8px!important;
    height:17px!important;
    min-height:17px!important;
    max-height:17px!important;
}
html body header .language-menu .language-option:not(.active) .language-option-code{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:center!important;
    align-self:center!important;
    width:8px!important;
    min-width:8px!important;
    max-width:8px!important;
    margin:0!important;
    text-align:center!important;
}

/* No change to current selected language geometry. */
