/* One shared control, mounted into each existing header; no content styles. */
#fumot-language-switcher{flex:0 0 auto;display:block;margin-left:14px;line-height:1.3}
#fumot-language-switcher[hidden],#fumot-language-panel[hidden]{display:none!important}
#fumot-language-switcher #fumot-language-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:94px;padding:10px 13px;margin:0;border:1px solid #667661;border-radius:24px;background:#f4f6ef;color:#142019;font:700 13px/1.3 system-ui,sans-serif;letter-spacing:.04em;cursor:pointer;white-space:nowrap;box-shadow:none;text-transform:none}
#fumot-language-button svg{flex-shrink:0;pointer-events:none}
#fumot-language-button .f1021-chevron{transition:transform .15s}
#fumot-language-button[aria-expanded=true] .f1021-chevron{transform:rotate(180deg)}
#fumot-language-switcher #fumot-language-button:hover{background:#e6ecdb;color:#142019}
#fumot-language-switcher #fumot-language-button:focus-visible,#fumot-language-panel a:focus-visible{outline:3px solid #729b20;outline-offset:3px}
#fumot-language-panel{position:fixed;inset:auto;box-sizing:border-box;margin:0;padding:7px;width:224px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overflow-x:hidden;border:1px solid #ccd4c8;border-radius:12px;background:#f6f7f1;color:#142019;box-shadow:0 12px 34px #101c1930;z-index:100000;font:500 14px/1.4 system-ui,sans-serif}
#fumot-language-panel::backdrop{background:transparent}
#fumot-language-panel a,#fumot-language-panel .f1021-current{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;margin:0;padding:11px 13px;box-sizing:border-box;border:0;border-radius:7px;text-decoration:none;color:#142019;font:500 14px/1.4 system-ui,sans-serif;white-space:normal;letter-spacing:normal}
#fumot-language-panel a:hover,#fumot-language-panel a:focus-visible{background:#e6ecdb;color:#142019}
#fumot-language-panel [aria-current=page]{background:#e2ead6;font-weight:700}
#fumot-language-panel a>span:last-child{font-size:12px;color:#46662e}
.f1021-header .f105-language-switcher{display:none!important}
header.f1021-header .f61-subnav,header.f1021-header .sf-header-inner{overflow:visible}
header.f1021-header .f61-links{min-width:0}
header.sf-header.f1021-header #fumot-language-switcher{color:#f4f6ef}
header.sf-header.f1021-header #fumot-language-button{background:#17281f;border-color:#62765a;color:#f4f6ef}
#masthead.f1021-header .ast-builder-menu-1{min-width:0}
#fumot-language-switcher[data-mobile=true]{margin:0 0 14px;padding:0 0 14px;border-bottom:1px solid #72806755;width:100%;box-sizing:border-box}
#fumot-language-switcher[data-mobile=true] #fumot-language-button{width:100%;justify-content:flex-start}
#fumot-language-switcher[data-mobile=true] .f1021-chevron{margin-left:auto}
#ast-mobile-header #fumot-language-switcher{width:calc(100% - 36px);margin:14px 18px}
@media(min-width:701px){header.f1021-header.fumot-en-chrome .f61-links{flex:1 1 auto}header.f1021-header.fumot-en-chrome .f61-subnav{gap:16px}}
@media(prefers-reduced-motion:reduce){#fumot-language-button .f1021-chevron{transition:none}}

/* V1032_MOBILE_HEADER */
@media (max-width:700px) {
  :is(#fumot-v61,#fumot-global-header) header.f62-header .f61-subnav {
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
    gap:8px;
  }
  :is(#fumot-v61,#fumot-global-header) header.f62-header #fumot-language-switcher {
    display:block;
    margin:0 0 0 auto;
    flex:0 0 auto;
    width:auto;
  }
  :is(#fumot-v61,#fumot-global-header) header.f62-header #fumot-language-button {
    min-width:76px;
    min-height:40px;
    padding:7px 9px;
    gap:5px;
    font-size:12px;
  }
  :is(#fumot-v61,#fumot-global-header) header.f62-header .f62-menu-toggle {
    flex:0 0 auto;
  }
}
@media (max-width:760px) {
  header.sf-header .sf-header-inner {
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
  }
  header.sf-header #fumot-language-switcher {
    display:block;
    width:auto;
    flex:0 0 auto;
    margin:0 8px 0 auto;
  }
  header.sf-header #fumot-language-button {
    min-width:76px;
    min-height:40px;
    padding:7px 9px;
    gap:5px;
    font-size:12px;
  }
}

/* V10.32.1T: equal side tracks keep the logo at the header midpoint. */
@media (max-width:700px) {
  :is(#fumot-v61,#fumot-global-header) header.f62-header.f1021-header .f61-subnav {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    column-gap:8px;
    align-items:center;
  }
  :is(#fumot-v61,#fumot-global-header) header.f62-header.f1021-header .f61-subnav > .f61-brand {
    grid-column:2;
    grid-row:1;
    justify-self:center;
    margin:0;
  }
  :is(#fumot-v61,#fumot-global-header) header.f62-header.f1021-header .f61-subnav > #fumot-language-switcher {
    grid-column:1;
    grid-row:1;
    justify-self:start;
    margin:0;
  }
  :is(#fumot-v61,#fumot-global-header) header.f62-header.f1021-header .f61-subnav > .f62-menu-toggle {
    grid-column:3;
    grid-row:1;
    justify-self:end;
    margin:0;
  }
  .wpml-ls-statics-footer.wpml-ls-legacy-list-horizontal {
    display:none!important;
  }
}
@media (max-width:760px) {
  header.sf-header.f1021-header .sf-header-inner {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    column-gap:8px;
    align-items:center;
  }
  header.sf-header.f1021-header .sf-header-inner > .sf-brand {
    grid-column:2;
    grid-row:1;
    justify-self:center;
    margin:0;
  }
  header.sf-header.f1021-header .sf-header-inner > #fumot-language-switcher {
    grid-column:1;
    grid-row:1;
    justify-self:start;
    margin:0;
  }
  header.sf-header.f1021-header .sf-header-inner > .sf-menu-toggle {
    grid-column:3;
    grid-row:1;
    justify-self:end;
    margin:0;
  }
  header.sf-header.f1021-header ~ .wpml-ls-statics-footer.wpml-ls-legacy-list-horizontal {
    display:none!important;
  }
}
