/* Final This Found navigation correction: languages belong to the header grid, never over account actions. */
.tfdl-site-header--final{
  grid-template-columns:150px minmax(0,1fr) auto auto!important;
  column-gap:14px!important;
}
.tfdl-site-header--final>.tfdl-language-bar{
  position:static!important;
  inset:auto!important;
  z-index:3!important;
  display:flex!important;
  align-items:center!important;
  justify-self:end!important;
  width:auto!important;
  min-height:38px!important;
  margin:0!important;
  padding:3px!important;
  border:1px solid color-mix(in srgb,var(--tf-text) 20%,transparent)!important;
  border-radius:999px!important;
  background:color-mix(in srgb,var(--tf-bg) 92%,transparent)!important;
  box-shadow:none!important;
  backdrop-filter:blur(16px);
}
.tfdl-site-header--final>.tfdl-language-bar>span{display:none!important}
.tfdl-site-header--final>.tfdl-language-bar>div{display:flex!important;gap:1px!important;width:auto!important;overflow:visible!important}
.tfdl-site-header--final>.tfdl-language-bar a{display:grid!important;place-items:center!important;min-width:31px!important;min-height:30px!important;padding:0 6px!important;border:0!important;border-radius:999px!important;color:var(--tf-text)!important;text-decoration:none!important}
.tfdl-site-header--final>.tfdl-language-bar a b{font-size:8px!important;line-height:1!important;letter-spacing:.1em!important}
.tfdl-site-header--final>.tfdl-language-bar a em{display:none!important}
.tfdl-site-header--final>.tfdl-language-bar a:hover{transform:none!important;background:var(--tf-accent)!important}
.tfdl-site-header--final>.tfdl-language-bar a.is-active{background:var(--tf-text)!important;color:var(--tf-bg)!important}
.tfdl-site-header--final>.tfdl-site-actions{justify-self:end!important}

/* Explicit mobile navigation. It supplements the editorial mega menu with every essential public action. */
.tfdl-mobile-essential-nav{display:none}

@media(max-width:1180px){
  .tfdl-site-header--final{
    grid-template-columns:118px minmax(0,1fr) auto 42px!important;
    min-height:82px!important;
    padding:5px 16px!important;
  }
  .tfdl-site-header--final>.tfdl-site-brand{grid-column:1!important}
  .tfdl-site-header--final>.tfdl-primary-nav,.tfdl-site-header--final>.tfdl-site-actions{display:none!important}
  .tfdl-site-header--final>.tfdl-language-bar{grid-column:3!important;justify-self:end!important}
  .tfdl-site-header--final>.tfdl-menu-button{grid-column:4!important;display:grid!important;justify-self:end!important}
  .tfdl-mobile-essential-nav{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1px;
    padding:0;
    border-bottom:1px solid color-mix(in srgb,var(--tf-text) 20%,transparent);
    background:color-mix(in srgb,var(--tf-text) 20%,transparent);
  }
  .tfdl-mobile-essential-nav>a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    min-height:66px;
    padding:18px 24px;
    background:var(--tf-bg);
    color:var(--tf-text);
    text-decoration:none;
    font:500 22px/1 Georgia,"Times New Roman",serif;
  }
  .tfdl-mobile-essential-nav>a::after{content:"↗";font:500 12px/1 "Helvetica Neue",Arial,sans-serif}
  .tfdl-mobile-essential-nav>a.is-account{font:700 10px/1.2 "Helvetica Neue",Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
  .tfdl-mobile-essential-nav>a.is-access{background:var(--tf-accent)}
  .tfdl-mobile-essential-languages{
    grid-column:1/-1;
    display:flex;
    gap:7px;
    padding:16px 20px;
    background:var(--tf-surface);
  }
  .tfdl-mobile-essential-languages a{
    display:grid;
    place-items:center;
    min-width:42px;
    min-height:38px;
    border:1px solid color-mix(in srgb,var(--tf-text) 22%,transparent);
    border-radius:999px;
    color:var(--tf-text);
    text-decoration:none;
    font-size:9px;
    font-weight:700;
    letter-spacing:.1em;
  }
  .tfdl-mobile-essential-languages a.is-active{background:var(--tf-text);color:var(--tf-bg)}
}

@media(max-width:760px){
  .tfdl-site-header--final{
    grid-template-columns:92px minmax(0,1fr) auto 40px!important;
    min-height:72px!important;
    padding:3px 12px!important;
    column-gap:8px!important;
  }
  .tfdl-site-header--final>.tfdl-language-bar{min-height:34px!important;padding:2px!important}
  .tfdl-site-header--final>.tfdl-language-bar a{min-width:25px!important;min-height:28px!important;padding:0 4px!important}
  .tfdl-site-header--final>.tfdl-language-bar a b{font-size:6.8px!important}
  .tfdl-mobile-essential-nav{grid-template-columns:1fr}
  .tfdl-mobile-essential-nav>a{min-height:58px;padding:15px 18px;font-size:20px}
  .tfdl-mobile-essential-languages{grid-column:auto;padding:14px 16px}
  .tfdl-mobile-essential-languages a{min-width:39px;min-height:36px}
}

@media(max-width:390px){
  .tfdl-site-header--final{grid-template-columns:82px minmax(0,1fr) auto 38px!important;padding-left:9px!important;padding-right:9px!important}
  .tfdl-site-header--final>.tfdl-site-brand{width:80px!important;min-width:80px!important}
  .tfdl-site-header--final>.tfdl-site-brand .tfdl-logo{width:76px!important}
  .tfdl-site-header--final>.tfdl-language-bar a{min-width:23px!important;padding:0 3px!important}
  .tfdl-site-header--final>.tfdl-language-bar a b{font-size:6.3px!important}
}
