/* Language control only: avoid inheriting the navigation link treatment. */
#header [data-device="desktop"] .menu-item-gtranslate{display:flex;align-items:center;justify-content:center;flex:0 0 132px;min-width:132px;min-height:44px;margin:0;padding:0;position:relative}
#header .menu-item-gtranslate select.gt_selector,#offcanvas .aw-mobile-language select.gt_selector{box-sizing:border-box;display:block;position:static;float:none;width:132px;max-width:100%;height:44px;min-height:44px;margin:0;padding:8px 28px 8px 12px;border:1px solid #666D73;border-radius:8px;box-shadow:none;background-color:#FFFFFF;background-image:none;appearance:auto;-webkit-appearance:menulist;font:400 16px/1.4 Arial,sans-serif;letter-spacing:normal;text-transform:none;color:#121417;cursor:pointer;direction:ltr}
#header .menu-item-gtranslate select.gt_selector:hover,#offcanvas .aw-mobile-language select.gt_selector:hover{border-color:#FF6B00}
#header .menu-item-gtranslate select.gt_selector:focus-visible,#offcanvas .aw-mobile-language select.gt_selector:focus-visible{outline:2px solid #FF6B00;outline-offset:3px}
#header .menu-item-gtranslate select.gt_selector option,#offcanvas .aw-mobile-language select.gt_selector option{font:400 16px Arial,sans-serif;color:#121417;background:#FFFFFF}
#header [data-id="menu"]>ul:has(>.menu-item-gtranslate){gap:24px;flex-wrap:nowrap;align-items:center}
#offcanvas .aw-mobile-language{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:12px 0 0;padding:16px 0;max-width:100%}
#offcanvas .aw-mobile-language .aw-language-label{font-size:16px;line-height:1.5}
#offcanvas .aw-mobile-language .gtranslate_wrapper{width:100%;max-width:240px;min-height:44px}
#offcanvas .aw-mobile-language select.gt_selector{width:100%}
/* The flag dropdown must occupy space in the header and open below it. */
#header .menu-item-gtranslate>[id^="gtranslate_menu_wrapper_"]{position:static!important;white-space:normal!important;width:148px;min-height:44px}
#header [data-device="desktop"] .menu-item-gtranslate:has(.gt_switcher){flex-basis:148px;min-width:148px;z-index:100}
#header [data-id="menu"] .menu-item-gtranslate .gt_switcher{position:relative;width:148px!important;overflow:visible!important;font:400 16px/1.4 Arial,sans-serif;text-align:left;direction:ltr}
#header [data-id="menu"] .menu-item-gtranslate .gt_switcher a{box-sizing:border-box!important;display:flex!important;align-items:center;gap:8px;width:100%!important;min-height:44px!important;height:auto;margin:0!important;padding:10px 12px!important;font:400 16px/1.4 Arial,sans-serif!important;letter-spacing:normal;text-transform:none;text-decoration:none;color:#121417!important;white-space:nowrap;border:0!important;background:#FFFFFF}
#header [data-id="menu"] .menu-item-gtranslate .gt_switcher a img{flex:none;width:24px!important;height:24px!important;margin:0!important;padding:0!important;opacity:1;object-fit:contain}
#header [data-id="menu"] .menu-item-gtranslate .gt_switcher .gt_selected{position:relative;z-index:1;background:#FFFFFF!important;border:1px solid #666D73;border-radius:8px}
#header [data-id="menu"] .menu-item-gtranslate .gt_switcher .gt_selected a{padding-right:32px!important;border-radius:8px}
#header [data-id="menu"] .menu-item-gtranslate .gt_switcher .gt_selected a::after{content:""!important;position:absolute;right:12px;top:17px;width:7px!important;height:7px!important;background:none!important;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:none}
#header [data-id="menu"] .menu-item-gtranslate .gt_switcher .gt_selected a.open::after{top:20px;transform:rotate(225deg)}
#header [data-id="menu"] .menu-item-gtranslate .gt_switcher .gt_option{box-sizing:border-box!important;display:none!important;position:absolute!important;top:calc(100% + 8px);right:0;left:auto;width:200px!important;height:auto!important;max-height:min(60vh,320px)!important;overflow-y:auto!important;overflow-x:hidden;z-index:2;border:1px solid #666D73!important;border-radius:8px;background:#FFFFFF!important;box-shadow:0 8px 24px #30353A1A;transition:none!important;padding:4px}
#header [data-id="menu"] .menu-item-gtranslate .gt_switcher:has(.gt_selected a.open) .gt_option{display:block!important}
#header [data-id="menu"] .menu-item-gtranslate .gt_switcher .gt_option a{border-radius:4px}
#header [data-id="menu"] .menu-item-gtranslate .gt_switcher .gt_option a.gt_current{display:none!important}
#header [data-id="menu"] .menu-item-gtranslate .gt_switcher a:hover{background:#F4F5F3!important;color:#121417!important}
#header [data-id="menu"] .menu-item-gtranslate .gt_switcher a:focus-visible{outline:2px solid #FF6B00;outline-offset:2px}
@media(min-width:1000px) and (max-width:1199px){#header [data-id="menu"]>ul:has(>.menu-item-gtranslate){gap:12px}#header [data-device="desktop"] .menu-item-gtranslate{flex-basis:118px;min-width:118px}#header .menu-item-gtranslate select.gt_selector{width:118px;font-size:14px}}
@media(min-width:1200px) and (max-width:1439px){#header [data-id="menu"]>ul:has(>.menu-item-gtranslate){gap:18px}}
/* Reserve space for the language selector without a More overflow group. */
#header [data-id="menu"]>ul:has(>.menu-item-gtranslate){gap:16px}
@media(min-width:1000px) and (max-width:1599px){
 #header [data-id="menu"]>ul:has(>.menu-item-gtranslate)>li:not(.menu-item-gtranslate)>a{font-size:14px;white-space:nowrap}
 #header [data-device="desktop"]:has(.menu-item-gtranslate) [data-id="logo"] img{max-width:250px;max-height:64px;height:auto}
}
@media(min-width:1000px) and (max-width:1199px){
 #header [data-id="menu"]>ul:has(>.menu-item-gtranslate){gap:10px}
 #header [data-device="desktop"]:has(.menu-item-gtranslate) [data-id="logo"] img{max-width:180px;max-height:46px;height:auto}
}

/* Compact native language-code menu. */
#header [data-device="desktop"] .menu-item-gtranslate:has(>a.gt-current-wrapper){flex:0 0 68px;min-width:68px;position:relative}
#header [data-id="menu"]>ul>.menu-item-gtranslate>a.gt-current-wrapper{display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:44px;width:68px;padding:6px 10px;border:1px solid #666D73;border-radius:8px;font:400 14px/1.4 Arial,sans-serif;color:#121417;background:#FFFFFF;letter-spacing:0}
#header [data-id="menu"]>ul>.menu-item-gtranslate>a.gt-current-wrapper::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);position:static;background:none;margin-top:-3px}
#header [data-id="menu"] .menu-item-gtranslate>.sub-menu{box-sizing:border-box;min-width:88px;width:88px;left:auto;right:0;padding:4px;background:#FFFFFF;border:1px solid #666D73;border-radius:8px;box-shadow:0 8px 24px #30353A1A;--dropdown-width:88px;--theme-text-color:#121417;--theme-link-initial-color:#121417}
#header [data-id="menu"] .menu-item-gtranslate>.sub-menu>li>a{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;font:400 14px/1.4 Arial,sans-serif;color:#121417;background:#FFFFFF;border-radius:4px;text-decoration:none}
#header [data-id="menu"] .menu-item-gtranslate>.sub-menu>li>a:hover{background:#F4F5F3;color:#121417}
#header [data-id="menu"] .menu-item-gtranslate a:focus-visible{outline:2px solid #FF6B00;outline-offset:2px}

/* Anchor the compact dropdown below its trigger, independent of theme flyouts. */
#header [data-id="menu"]>ul>.menu-item-gtranslate:has(>a.gt-current-wrapper){position:relative!important;display:flex!important;align-items:center;justify-content:center;flex:0 0 68px!important;min-width:68px!important;width:68px!important;margin-inline-start:8px;padding:0!important;z-index:30}
#header [data-id="menu"]>ul>.menu-item-gtranslate>a.gt-current-wrapper{min-height:44px!important;height:44px!important;flex:0 0 68px!important;width:68px!important;padding:6px 10px!important;font-size:14px!important;white-space:nowrap}
#header [data-id="menu"]>ul>.menu-item-gtranslate>a.gt-current-wrapper::after{content:""!important;display:block!important;position:static!important;width:6px;height:6px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;background:none!important;transform:rotate(45deg)!important;margin:-3px 0 0}
#header [data-id="menu"]>ul>.menu-item-gtranslate>.sub-menu{position:absolute!important;display:block!important;inset:auto!important;top:calc(100% + 6px)!important;right:0!important;left:auto!important;bottom:auto!important;width:88px!important;min-width:88px!important;max-width:88px!important;height:auto!important;margin:0!important;padding:4px!important;transform:none!important;translate:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:none!important;z-index:31}
#header [data-id="menu"]>ul>.menu-item-gtranslate:hover>.sub-menu,#header [data-id="menu"]>ul>.menu-item-gtranslate:focus-within>.sub-menu{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
#header [data-id="menu"]>ul>.menu-item-gtranslate>.sub-menu::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px}
#header [data-id="menu"]>ul>.menu-item-gtranslate>.sub-menu>li{display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
#header [data-id="menu"]>ul>.menu-item-gtranslate>.sub-menu>li>a{display:flex!important;box-sizing:border-box!important;width:100%!important;min-height:44px!important;height:auto!important;margin:0!important;padding:8px 10px!important;font-size:14px!important}

/* Keep flags and language codes, with more breathing room in the navigation. */
#header [data-id="menu"]>ul:has(>.menu-item-gtranslate){gap:26px}
#header [data-id="menu"]>ul>.menu-item-gtranslate:has(>a.gt-current-wrapper){flex-basis:96px!important;min-width:96px!important;width:96px!important;margin-inline-start:6px}
#header [data-id="menu"]>ul>.menu-item-gtranslate>a.gt-current-wrapper{flex-basis:96px!important;width:96px!important;gap:6px;padding:6px 9px!important}
#header [data-id="menu"] .menu-item-gtranslate a[data-gt-lang] img{display:block;flex:none;width:20px!important;height:16px!important;object-fit:contain;margin:0;padding:0;border:0}
#header [data-id="menu"] .menu-item-gtranslate a[data-gt-lang] span{font:inherit;color:inherit;letter-spacing:0}
#header [data-id="menu"]>ul>.menu-item-gtranslate>.sub-menu{width:104px!important;min-width:104px!important;max-width:104px!important}
#header [data-id="menu"]>ul>.menu-item-gtranslate>.sub-menu>li>a{gap:8px}
@media(min-width:1200px) and (max-width:1599px){#header [data-id="menu"]>ul:has(>.menu-item-gtranslate){gap:22px}#header [data-id="menu"]>ul:has(>.menu-item-gtranslate)>li:not(.menu-item-gtranslate)>a{font-size:14px}}
@media(min-width:1000px) and (max-width:1199px){#header [data-id="menu"]>ul:has(>.menu-item-gtranslate){gap:14px}#header [data-id="menu"]>ul:has(>.menu-item-gtranslate)>li:not(.menu-item-gtranslate)>a{font-size:13px}}
