@media screen and (min-width:960px) and (max-width:1023px) {
  #header #header_logo { left:18px; }
  #header #header_logo img { max-width:160px; height:auto; }
  #header #menu_button { display:none !important; }
  #header #global_menu {
    display:flex !important; align-items:center; justify-content:flex-end;
    width:auto; height:100%; left:185px; right:16px;
  }
  #header #global_menu > ul {
    display:flex; flex-wrap:nowrap; align-items:stretch; justify-content:flex-end;
    gap:0; width:auto; height:100%; margin:0;
  }
  #header #global_menu > ul > li { flex:none; }
  #header #global_menu > ul > li > a {
    display:flex; align-items:center; white-space:nowrap; padding:0 11px;
    height:100%; line-height:1.3; font-size:14px; color:#494949;
  }
  #header #global_menu > ul > li > ul { top:100%; }
  #header #global_menu li:focus-within > ul, #header #global_menu li.compact-menu-open > ul { display:block; }
  #header #global_menu > ul > li:nth-last-child(-n+2) > ul { right:0; left:auto; }
}
@media screen and (min-width:960px) and (max-width:1023px) and (hover:hover) {
  #header #global_menu li:hover > ul { display:block; }
}
#global_menu .compact-subtoggle{display:none}
@media (min-width:960px) and (max-width:1023px){
#global_menu li:has(> .compact-subtoggle)>a{padding-right:44px}
#global_menu .compact-subtoggle{display:block;position:absolute;right:0;top:0;width:42px;height:100%;max-height:48px;background:transparent;border:0;color:inherit;font-size:20px;cursor:pointer;z-index:2}
#header #global_menu li:has(> .compact-subtoggle):not(.compact-submenu-expanded)>ul{display:none}
#header #global_menu li.compact-submenu-expanded>ul{display:block}
}
