.ma-header-enabled .header-inner{gap:clamp(10px,1.75vw,32px)}
.ma-header-enabled .primary-nav{position:static;transform:none;margin-inline:auto;min-width:0}
.ma-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-inline-start:auto;flex:0 0 auto}
.ma-header-actions .ma-header-phone{display:inline-flex;justify-content:center;min-width:44px;min-height:44px;margin:0;padding:0 14px;line-height:1;gap:7px;text-decoration:none}
.ma-header-actions .ma-header-phone .icon{width:18px;height:18px;flex:none}
.ma-header-languages{position:relative;z-index:65}
.ma-header-languages summary{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;min-width:48px;padding:0 8px;list-style:none;font-weight:750;font-size:13px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);cursor:pointer;user-select:none}
.ma-header-languages summary::-webkit-details-marker{display:none}
.ma-header-languages summary::marker{content:""}
.ma-header-languages[open] summary,.ma-header-languages summary:hover{background:var(--sky)}
.ma-header-languages[open] .ma-language-arrow{transform:rotate(180deg)}
.ma-language-flag{display:block;flex:none;border-radius:3px;box-shadow:0 0 0 1px rgba(7,31,59,.16)}
.ma-header-languages .ma-language-options{position:absolute;z-index:1;inset:calc(100% + 8px) 0 auto auto;min-width:158px;padding:5px;margin:0;list-style:none;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 36px rgba(7,31,59,.16)}
.ma-header-languages .ma-language-option{display:flex;align-items:center;gap:10px;padding:0 10px;min-height:44px;white-space:nowrap;color:var(--ink);text-decoration:none;border-radius:7px}
.ma-header-languages .ma-language-option:hover,.ma-header-languages .ma-language-active{background:var(--sky);color:var(--blue)}
.ma-header-languages summary:focus-visible,.ma-header-actions a:focus-visible,.ma-header-actions button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.ma-localized-header .ma-ml-archive{margin-inline-start:auto;text-decoration:underline}
.ma-localized-header .ma-header-actions{margin-inline-start:0}
.ma-localized-header .header-inner{justify-content:space-between}
@media (min-width:781px) and (max-width:1100px){
  .ma-header-enabled .site-brand{width:132px;flex-basis:132px}
  .ma-header-enabled .site-brand img{width:126px}
  .ma-header-enabled .primary-nav .menu-root{gap:clamp(8px,1.7vw,20px);white-space:nowrap}
  .ma-header-enabled .primary-nav .menu-root>li>a,.ma-header-enabled .primary-nav .menu-parent-row>a{font-size:14px}
}
@media (min-width:781px) and (max-width:940px){
  .ma-header-enabled .ma-phone-number,.ma-header-enabled .ma-language-code{display:none}
  .ma-header-enabled .ma-header-phone{padding:0}
}
@media (max-width:780px){
  .ma-header-enabled .header-inner{gap:6px}
  .ma-header-enabled .primary-nav.is-open{position:fixed;margin:0}
  .ma-header-actions{gap:4px}
  .ma-header-actions .ma-header-phone{min-height:42px;padding:0 10px;font-size:13px}
  .ma-header-actions .menu-toggle{width:44px;height:44px}
  .ma-header-languages summary{min-width:46px;padding:0 5px;gap:3px}
  .ma-language-code{display:none}
  .ma-localized-header .ma-ml-archive{font-size:13px;line-height:1.2}
}
@media (max-width:439px){
  .ma-header-actions .ma-header-phone{min-height:44px;padding:0}
  .ma-header-actions .ma-phone-number{display:none}
}
/* Keep the call control centered in the free space between the brand and flags. */
@media (max-width:780px){
  .ma-header-enabled .header-inner{display:grid;grid-template-columns:128px minmax(44px,1fr) auto auto;column-gap:6px}
  .ma-header-enabled .site-brand{grid-column:1;grid-row:1}
  .ma-header-enabled .ma-header-actions{display:contents}
  .ma-header-enabled .ma-header-phone{grid-column:2;grid-row:1;justify-self:center;width:max-content}
  .ma-header-enabled .ma-header-languages{grid-column:3;grid-row:1}
  .ma-header-enabled .menu-toggle{grid-column:4;grid-row:1}
}
