/* Compact native TranslatePress shortcode, outside the Enfold burger clone. */
#top :is(#header,.afr-product-dialog) .af-header-language{position:relative;flex:0 0 var(--af-menu-language-width,88px);width:var(--af-menu-language-width,88px);align-self:center;z-index:31;text-align:left;}
#top :is(#header,.afr-product-dialog) .af-header-language .trp-shortcode-switcher__wrapper{--switcher-width:var(--af-menu-language-width,88px);width:var(--af-menu-language-width,88px);height:var(--af-menu-height,50px);}
#top :is(#header,.afr-product-dialog) .af-header-language .trp-shortcode-switcher{padding:0;border:0;border-radius:0;box-sizing:border-box;width:var(--af-menu-language-width,88px);overflow:visible;}
#top :is(#header,.afr-product-dialog) .af-header-language .trp-shortcode-overlay{left:auto;right:0;}
#top :is(#header,.afr-product-dialog) .af-header-language .trp-current-language-item__wrapper{position:relative;height:var(--af-menu-height,50px);padding:0;}
/* Equal icon slots keep the language code on the exact centre of the control. */
#top :is(#header,.afr-product-dialog) .af-header-language .trp-language-item__default{display:grid;grid-template-columns:20px minmax(0,1fr) 20px;align-items:center;padding:0 8px;width:100%;height:100%;box-sizing:border-box;gap:0;flex:1;cursor:pointer;pointer-events:auto;}
#top :is(#header,.afr-product-dialog) .af-header-language .trp-language-item__default .trp-language-item-name{text-align:center;min-width:0;}
#top :is(#header,.afr-product-dialog) .af-header-language .trp-language-item-name{font-family:Archivo,Arial,sans-serif;font-size:14px;font-weight:500;line-height:1.4;letter-spacing:0;}
#top :is(#header,.afr-product-dialog) .af-header-language .af-language-globe{flex:none;color:var(--text);}
#top :is(#header,.afr-product-dialog) .af-header-language .trp-shortcode-arrow{position:absolute;right:10px;top:calc(50% - 8px);width:16px;height:16px;flex:none;pointer-events:none;}
#top :is(#header,.afr-product-dialog) .af-header-language .trp-switcher-dropdown-list{position:absolute;right:0;top:100%;width:200px;box-sizing:border-box;background:var(--bg);box-shadow:0 12px 30px #0003;border-top:2px solid var(--text-hover);}
#top :is(#header,.afr-product-dialog) .af-header-language .trp-switcher-dropdown-list[hidden]{display:none;}
#top :is(#header,.afr-product-dialog) .af-header-language .trp-switcher-dropdown-list .trp-language-item{min-height:44px;padding:10px 18px;box-sizing:border-box;text-decoration:none;gap:12px;line-height:1.4;}
#top :is(#header,.afr-product-dialog) .af-header-language .af-language-selected{justify-content:space-between;color:var(--text-hover);border-bottom:1px solid #ffffff20;}
#top :is(#header,.afr-product-dialog) .af-header-language .af-language-selected .trp-language-item-name{color:var(--text-hover);}
#top :is(#header,.afr-product-dialog) .af-header-language .trp-language-item:focus-visible{outline:2px solid var(--text-hover);outline-offset:-3px;}
#top :is(#header,.afr-product-dialog) .af-header-language .trp-current-language-item__wrapper:hover .af-language-globe{color:var(--text-hover);}
@media(max-width:989.98px){
 html.responsive #top.af-mobile-sticky #wrap_all #header{position:fixed;top:0;width:100%;margin:0;}
 html.responsive #top.af-mobile-sticky.admin-bar #wrap_all #header{top:var(--wp-admin--admin-bar--height,46px);}
 html.responsive.html_header_top #top.af-mobile-sticky #wrap_all #main{padding-top:max(60px,var(--af-menu-height,50px))!important;}
 #top.af-mobile-sticky #header_main{border:0;background:transparent;}
 #top.af-mobile-sticky #header,#top.af-mobile-sticky #header .header_bg{background:var(--af-menu-surface,#fff);}
 #top.af-mobile-sticky #header .header_bg{opacity:1;}
 .responsive #top.af-mobile-sticky #header #header_main>.container,#top.af-mobile-sticky #header_main .inner-container,#top.af-mobile-sticky #header_main .main_menu{height:max(60px,var(--af-menu-height,50px));}
 #top.af-mobile-sticky #header_main .logo,#top.af-mobile-sticky #header_main .logo a,#top.af-mobile-sticky #header_main .logo img{height:max(60px,var(--af-menu-height,50px));max-height:max(60px,var(--af-menu-height,50px));}
 #top.af-mobile-sticky #header_main .logo img{width:auto;}
 #top.af-mobile-sticky #header #header_main .logo a{display:flex;align-items:center;}
 #top.af-mobile-sticky #header #header_main .logo img{height:48px;max-height:48px;}
 .responsive #top.af-mobile-sticky #wrap_all #header #header_main .main_menu .av-burger-menu-main>a{height:max(60px,var(--af-menu-height,50px));line-height:max(60px,var(--af-menu-height,50px));}
 #top.af-mobile-sticky #header .av-hamburger{display:flex;align-items:center;height:100%;}
 #top.af-mobile-sticky #header .av-hamburger-box{display:block;height:24px;top:auto;}
 #top.af-mobile-sticky #header .av-hamburger-inner,#top.af-mobile-sticky #header .av-hamburger-inner:before,#top.af-mobile-sticky #header .av-hamburger-inner:after{background:var(--af-menu-accent,#173e44);}
 html.av-burger-overlay-active #top.af-mobile-sticky #header .av-hamburger-inner,html.av-burger-overlay-active #top.af-mobile-sticky #header .av-hamburger-inner:before,html.av-burger-overlay-active #top.af-mobile-sticky #header .av-hamburger-inner:after{background:var(--af-menu-active,#fff);}
 #top.af-header-languages #header .inner-container{display:grid;grid-template-columns:var(--af-header-logo-width,75px) minmax(0,1fr) var(--af-header-logo-width,75px);align-items:center;gap:16px;}
 #top.af-header-languages #header .logo{position:relative;width:max-content;max-width:none;margin:0;}
 #top.af-header-languages #header .main_menu{position:relative;left:auto;right:auto;flex:none;order:3;}
 #top.af-header-languages #header .af-header-language{order:2;justify-self:center;}
 #top.af-header-languages #header .main_menu,#top.af-header-languages #header .av-burger-menu-main>a,#top.af-header-languages #header .av-hamburger,#top.af-header-languages #header .av-hamburger-box{width:var(--af-header-logo-width,75px);}
 #top.af-header-languages #header .av-hamburger-inner,#top.af-header-languages #header .av-hamburger-inner:before,#top.af-header-languages #header .av-hamburger-inner:after{width:100%;height:3px;}
 .responsive #top.af-header-languages #header_main>.container .main_menu .av-main-nav>.av-burger-menu-main>a{padding-left:0;padding-right:0;min-width:44px;text-align:center;}
 #top :is(#header,.afr-product-dialog) .af-header-language .trp-shortcode-switcher__wrapper,#top :is(#header,.afr-product-dialog) .af-header-language .trp-current-language-item__wrapper{height:44px;}
 @media(hover:none),(pointer:coarse){
 #top :is(#header,.afr-product-dialog) .af-header-language .trp-shortcode-switcher__wrapper{--bg:var(--af-menu-surface,#fff)!important;--text:var(--af-menu-bg,#0b1719)!important;--text-hover:var(--af-menu-bg,#0b1719)!important;--bg-hover:#f1f4f3!important;}
 #top :is(#header,.afr-product-dialog) .af-header-language .trp-shortcode-switcher{border:1px solid #0b17192b;}
 #top :is(#header,.afr-product-dialog) .af-header-language .trp-current-language-item__wrapper{height:42px;}
 #top :is(#header,.afr-product-dialog) .af-header-language .trp-switcher-dropdown-list{border:1px solid #0b17192b;left:50%;right:auto;transform:translateX(-50%);}
 #top :is(#header,.afr-product-dialog) .af-header-language .af-language-selected{border-bottom-color:#0b171915;}
 }
 @media(hover:hover) and (pointer:fine){
 #top.af-header-languages #header .inner-container{grid-template-columns:auto minmax(44px,1fr) var(--af-menu-language-width,88px);gap:8px;}
 #top.af-header-languages #header .main_menu{order:2;justify-self:end;width:44px;}
 #top.af-header-languages #header .af-header-language{order:3;justify-self:end;}
 #top :is(#header,.afr-product-dialog) .af-header-language .trp-shortcode-switcher{border:0;}
 #top :is(#header,.afr-product-dialog) .af-header-language .trp-switcher-dropdown-list{left:auto;right:0;transform:none;}
 }

}
@media(max-width:989.98px){
 #top.af-header-languages #header_main>.container{width:100%;max-width:none;padding:0 20px;box-sizing:border-box;}
 #top.af-header-languages #header .inner-container{gap:10px;}
}
@media(max-width:600px){#top.af-mobile-sticky #wpadminbar{position:fixed;}}
/* Enfold exposes normal/hover overlay colours, but has no current-item control there. */
#top #wrap_all #header .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul li.current-menu-item:not(.av-menu-button)>a,
#top #wrap_all #header .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul li.current-menu-item:not(.av-menu-button)>a .avia-menu-text{color:var(--af-menu-active,#fff);}
#top #wrap_all #header .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul li.current-menu-item:not(.av-menu-button)>a:hover,
#top #wrap_all #header .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul li.current-menu-item:not(.av-menu-button)>a:hover .avia-menu-text{color:var(--af-menu-hover,#ffc900);}

/* Native advanced styling targets a page; keep its containing section identifiable too. */
#top #header .av-main-nav>li.current-menu-ancestor:not(:hover)>a .avia-menu-text{color:var(--af-menu-active,#fff);}
#top #wrap_all #header .av-main-nav .sub-menu>li.current-menu-item:not(:hover)>a{color:var(--af-menu-active,#fff);}

/* TranslatePress sets the chevron stroke independently from text colour. */
#top :is(#header,.afr-product-dialog) .af-header-language .trp-current-language-item__wrapper:hover .trp-shortcode-arrow path{stroke:var(--af-menu-hover,#ffc900);}

/* Flags on every viewport reuse TranslatePress locale assets; its aria-expanded owns the state. */
#top :is(#header,.afr-product-dialog) .af-header-language .af-language-flag{display:none;}
 #top :is(#header,.afr-product-dialog) .af-header-language .trp-switcher-dropdown-list .af-language-flag{display:inline-flex;align-items:center;flex:none;width:20px;}
 #top :is(#header,.afr-product-dialog) .af-header-language .af-language-flag .trp-flag-image{display:block;width:20px;height:15px;max-width:none;object-fit:contain;margin:0;border-radius:1px;}
 #top :is(#header,.afr-product-dialog) .af-header-language .trp-language-item__default[aria-expanded="true"] .af-language-globe{display:none;}
 #top :is(#header,.afr-product-dialog) .af-header-language .trp-language-item__default[aria-expanded="true"] .af-language-flag{display:inline-flex;align-items:center;}
 #top :is(#header,.afr-product-dialog) .af-header-language .trp-switcher-dropdown-list .trp-language-item{display:flex;align-items:center;gap:10px;}
 #top :is(#header,.afr-product-dialog) .af-header-language .af-language-selected{justify-content:flex-start;}
 #top :is(#header,.afr-product-dialog) .af-header-language .af-language-selected>.trp-language-item-name{flex:1;}


/* Readable compact navigation on tablets and small desktop windows. */

