.gtmc-host { display:inline-flex; align-items:center; vertical-align:middle; max-width:100%; position:relative; line-height:normal }
.gtmc-host.gtmc-ready .gtmc-native { display:none!important }
li.gtmc-item { vertical-align:middle!important }
li.gtmc-item > .gtmc-host { min-height:var(--gtmc-row,0px) }
.gtmc-host button.gtmc-toggle, .gtmc-panel button.gtmc-choice {
    all:unset; box-sizing:border-box; display:flex; align-items:center; gap:8px;
    font:normal 14px/1.4 system-ui,sans-serif; color:#182330; text-transform:none;
    letter-spacing:normal; text-align:start; cursor:pointer; background:white;
}
.gtmc-host button.gtmc-toggle {
    min-height:32px; width:160px; max-width:100%; padding:5px 10px;
    border:1px solid #cbd5df; border-radius:4px; margin:0;
}
.gtmc-toggle span { flex:1; overflow:hidden; white-space:nowrap; text-overflow:ellipsis }
.gtmc-host button.gtmc-toggle::after { content:""; width:6px; height:6px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); position:static; background:none; margin:-3px 2px 0 0 }
.gtmc-host button.gtmc-toggle[aria-expanded="true"]::after { transform:rotate(225deg); margin-top:3px }
body > .gtmc-panel {
    position:fixed!important; box-sizing:border-box; overflow:auto; overscroll-behavior:contain;
    z-index:2147483647; padding:4px; margin:0; border:1px solid #ccd6df;
    border-radius:6px; background:#fff; box-shadow:0 6px 24px #14243630;
}
.gtmc-panel button.gtmc-choice { position:static; float:none; width:100%; min-height:36px; padding:7px 9px; border-radius:3px; white-space:normal; overflow-wrap:anywhere }
.gtmc-panel button.gtmc-choice:hover, .gtmc-panel button.gtmc-choice:focus-visible { background:#eaf4ff; color:#104675 }
.gtmc-host button.gtmc-toggle:focus-visible, .gtmc-panel button.gtmc-choice:focus-visible { outline:2px solid #2271b1; outline-offset:-2px }
.gtmc-toggle img.gtmc-flag, .gtmc-choice img.gtmc-flag { width:20px!important; height:15px!important; object-fit:contain; position:static!important; float:none!important; margin:0!important; display:block!important; flex:none }
body > .gtmc-panel { display:grid!important; grid-template-columns:minmax(0,1fr); grid-auto-rows:max-content; align-content:start; overflow-x:hidden; }
body > .gtmc-panel > button.gtmc-choice {
    display:flex!important; position:static!important; float:none!important; height:auto!important;
    min-height:42px!important; line-height:1.4!important; margin:0!important; transform:none!important;
}

/* Keep the native widget legible while GTranslate initializes. */
li.menu-item .gtranslate_wrapper .gt_switcher .gt_option a {
    display:flex!important; align-items:center!important; gap:9px;
    box-sizing:border-box!important; width:100%!important; height:auto!important;
    min-height:40px!important; padding:8px 10px!important; margin:0!important;
    font:500 14px/1.45 system-ui,sans-serif!important; text-transform:none!important;
    white-space:normal!important;
}
li.menu-item .gtranslate_wrapper .gt_switcher .gt_option a img { flex:none; margin:0!important }
@supports (top:anchor(bottom)) {
    li.menu-item .gtranslate_wrapper { anchor-scope:--gtmc-native-button }
    li.menu-item .gtranslate_wrapper .gt_selected { anchor-name:--gtmc-native-button }
    li.menu-item .gtranslate_wrapper .gt_option {
        position:fixed!important; position-anchor:--gtmc-native-button;
        left:clamp(6px,anchor(left),calc(100vw - 250px))!important; top:anchor(bottom)!important;
        width:min(244px,calc(100vw - 12px))!important; max-height:min(360px,55vh)!important;
        z-index:2147483647!important; border-radius:8px; background:white;
    }
}
.gtmc-host button.gtmc-toggle {
    width:150px; min-height:34px; padding:5px 12px; gap:9px;
    border-radius:7px; font-weight:600; color:#183c56;
}
body > .gtmc-panel {
    padding:6px; border-color:#d5e4ed; border-radius:12px;
    box-shadow:0 8px 28px rgba(18,57,85,.2); scrollbar-width:thin;
}
body > .gtmc-panel > button.gtmc-choice {
    min-height:44px!important; padding:9px 12px; gap:12px; border-radius:6px;
    color:#253e50; font-size:14px; text-transform:none!important;
}
.gtmc-choice span { flex:1; min-width:0; line-height:1.45!important }
body > .gtmc-panel > .gtmc-choice[aria-current="true"] { background:#e8f4fc; color:#085788; font-weight:600 }
.gtmc-choice[aria-current="true"]::after { content:"✓"; flex:none; color:#0c6ca6 }
