/* 0.3.20: the language control occupies its own grid slot, never overlays nav links. */
.terra-header-left-actions{display:contents}
.terra-header-left-actions .terra-language-switcher{position:relative;grid-column:4;grid-row:1;align-self:center;justify-self:end;z-index:130;transform:none;min-width:0}
.terra-header .terra-header-reserve{grid-column:5;grid-row:1;justify-self:end}
.terra-app .terra-header.terra-header-morph,
.terra-internal-site .terra-shared-header{grid-template-columns:minmax(0,1fr) minmax(280px,29vw) minmax(0,1fr) auto auto;column-gap:clamp(8px,1vw,17px)}
.terra-header .terra-header-nav-left{grid-column:1;grid-row:1}
.terra-header .terra-header-brand-space{grid-column:2;grid-row:1}
.terra-header .terra-header-nav-right{grid-column:3;grid-row:1}
.terra-language-switcher{display:flex;align-items:center;justify-content:center;flex:0 0 auto;z-index:130}
.terra-language-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;min-width:59px;min-height:38px;padding:0 10px;border:1px solid #cbd6cb!important;border-radius:999px;background:#fff!important;color:#2c4a3e!important;cursor:pointer;line-height:1;box-shadow:none!important;white-space:nowrap;font-family:Arial,sans-serif;transition:border-color .15s,background .15s}
.terra-language-toggle:hover,.terra-language-toggle:focus-visible{background:#f2f5ee!important;border-color:#3d6b52!important;outline:2px solid #dcb82f!important;outline-offset:2px}
.terra-language-toggle span:first-child,.terra-language-options a span{font-size:18px;line-height:1}
.terra-language-toggle .terra-lang-code{font:600 10px/1 Arial,sans-serif;letter-spacing:.08em}
.terra-language-toggle svg{display:block;flex:none}
.terra-language-options{position:absolute;top:calc(100% + 10px);right:0;min-width:161px;padding:7px;border:1px solid #dce5da;background:#fff!important;color:#2c4a3e;box-shadow:0 16px 40px rgba(20,38,25,.2);border-radius:13px;z-index:210}
.terra-language-options[hidden]{display:none!important}
.terra-language-options a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:8px;text-decoration:none!important;color:#2c4a3e!important;font:600 12px/1.4 Arial,sans-serif;white-space:nowrap}
.terra-language-options a:hover,.terra-language-options a:focus-visible,.terra-language-options a[aria-current="true"]{background:#edf3ec!important;color:#2c4a3e!important;outline:2px solid transparent}
@media(max-width:1370px){
 .terra-app .terra-header.terra-header-morph,
 .terra-internal-site .terra-shared-header{grid-template-columns:minmax(140px,1fr) minmax(180px,1.5fr) minmax(112px,1fr);column-gap:5px}
 .terra-header-left-actions{display:flex;align-items:center;justify-self:start;grid-column:1;grid-row:1;gap:clamp(6px,1.2vw,16px);z-index:140;min-width:0}
 .terra-header-left-actions .terra-language-switcher{grid-column:auto;grid-row:auto;justify-self:auto}
 .terra-header .terra-header-nav{display:none!important}
 .terra-app .terra-header.terra-header-morph .terra-menu-toggle,
 .terra-internal-site .terra-shared-header .terra-menu-toggle{display:flex;align-items:center;min-height:44px;grid-column:auto;grid-row:auto;order:0;flex:none}
 .terra-app .terra-header.terra-header-morph .terra-header-reserve,
 .terra-internal-site .terra-shared-header .terra-header-reserve{grid-column:3;grid-row:1;justify-self:end}
 .terra-header .terra-header-brand-space{grid-column:2;grid-row:1}
 .terra-language-options{left:0;right:auto}
}
@media(max-width:680px){
 .terra-app .terra-header.terra-header-morph,
 .terra-internal-site .terra-shared-header{grid-template-columns:minmax(76px,1fr) minmax(108px,1.5fr) minmax(70px,1fr);column-gap:3px}
 .terra-header-left-actions{gap:6px}
 .terra-app .terra-header.terra-header-morph .terra-menu-toggle,
 .terra-internal-site .terra-shared-header .terra-menu-toggle{padding:8px 2px;min-width:28px;justify-content:center}
 .terra-app .terra-header.terra-header-morph .terra-menu-label,
 .terra-internal-site .terra-shared-header .terra-menu-label{display:none}
 .terra-language-toggle{min-width:38px;min-height:35px;padding:0 7px;gap:0}
 .terra-language-toggle .terra-lang-code,.terra-language-toggle svg{display:none}
 .terra-language-options{left:-2px;min-width:156px}
 .terra-internal-site .terra-shared-header .terra-shared-brand{max-width:calc(100% - 202px);font-size:clamp(17px,4.7vw,24px);white-space:nowrap}
}
@media(max-width:375px){
 .terra-app .terra-header.terra-header-morph,
 .terra-internal-site .terra-shared-header{grid-template-columns:minmax(70px,1fr) minmax(108px,1.35fr) minmax(70px,1fr);padding-inline:9px}
 .terra-header-left-actions{gap:4px}
 .terra-language-toggle{min-width:35px;min-height:34px;padding:0 5px}
 .terra-internal-site .terra-shared-header .terra-shared-brand{max-width:calc(100% - 180px);font-size:17px}
}
