/* 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:6px;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);}
/* Compact desktop composition: reuse the native burger and reserved-area menu item. */
@media(max-width:767.98px){
 html.responsive #top.af-mobile-sticky #wrap_all #header{position:fixed;top:0;width:100%;margin:0;--af-menu-height:40px;--af-burger-glyph-width:40px;--af-burger-min-target:40px;--af-burger-ink:#0b1719;--af-menu-gap:4px;--af-burger-target-width:100%;--afr-compact-surface:#fff;padding:10px var(--afr-body-gutter-right,20px) 10px var(--afr-body-gutter-left,20px)!important;background:var(--afr-compact-surface)!important;box-shadow:0 4px 12px rgba(11,23,25,.18)!important;}
 html.responsive #top.af-mobile-sticky.admin-bar #wrap_all #header{top:var(--wp-admin--admin-bar--height,46px);}
 .responsive #top.af-header-languages #wrap_all #header #header_main .inner-container{isolation:isolate;display:grid;grid-template-columns:calc(var(--af-header-logo-width,55.35px) / 2) repeat(3,minmax(0,1fr)) 20px;column-gap:0;grid-template-rows:40px;align-items:center;height:40px!important;}
 .responsive #top.af-header-languages #wrap_all #header #header_main :is(.main_menu,.av-burger-menu-main>a,.af-header-language,.trp-shortcode-switcher__wrapper,.trp-current-language-item__wrapper){height:40px!important;max-height:40px!important;box-sizing:border-box;}
 .responsive #top.af-header-languages #wrap_all #header #header_main :is(.main_menu,.avia-menu,#avia-menu){display:contents;}
 .responsive #top.af-header-languages #wrap_all #header #header_main .logo{grid-column:1;grid-row:1;box-shadow:none;outline:none;}
 .responsive #top.af-header-languages #wrap_all #header #header_main :is(.logo,.logo a,.logo img){height:48px!important;max-height:48px!important;box-sizing:border-box;}
 .responsive #top.af-header-languages #wrap_all #header #header_main .logo a{display:flex;align-items:center;}
 .responsive #top.af-header-languages #wrap_all #header #header_main .logo img{width:auto;}
 .responsive #top.af-header-languages #wrap_all #header #header_main .af-header-language{position:relative;grid-column:3;grid-row:1;left:auto;top:auto;transform:translateX(calc(100% - 15.5385px));width:max-content;justify-self:end;}
 .responsive #top.af-header-languages #wrap_all #header #avia-menu{align-items:stretch;gap:4px;margin:0;}
 .responsive #top.af-header-languages #wrap_all #header #avia-menu>li{display:none;}
 .responsive #top.af-header-languages #wrap_all #header #avia-menu>.av-menu-button{display:block;grid-column:2;grid-row:1;justify-self:end;transform:translateX(calc(50% + 8px));align-self:center;width:22px;height:22px;margin:0;background:transparent;}
 .responsive #top.af-header-languages #wrap_all #header #avia-menu>.av-menu-button>a{display:flex;align-items:center;justify-content:center;width:22px;height:22px;line-height:1;padding:0;}
 .responsive #top.af-header-languages #wrap_all #header #avia-menu>.av-menu-button>a>.avia-menu-text{display:flex;align-items:center;justify-content:center;width:22px;height:22px;max-height:22px;box-sizing:border-box;margin:0;padding:0!important;border:1px solid #0b1719!important;border-radius:50%;background:transparent!important;color:#0b1719!important;font-size:0!important;line-height:1;}
 .responsive #top.af-header-languages #wrap_all #header #avia-menu>.av-menu-button>a>.avia-menu-text:before{content:"AR";font:600 10px/1 Archivo,Arial,sans-serif;letter-spacing:0;}

 .responsive #top.af-header-languages #wrap_all #header #avia-menu>.av-burger-menu-main{display:block;grid-column:4;grid-row:1;justify-self:end;transform:translateX(50%);z-index:200;width:40px;float:none;margin:0;background:transparent;}

 .responsive #top.af-header-languages #wrap_all #header .af-header-language :is(.trp-shortcode-switcher__wrapper,.trp-shortcode-switcher){width:max-content;--switcher-width:max-content;--bg:transparent!important;--text:#0b1719!important;--text-hover:#0b1719!important;--bg-hover:transparent!important;background:transparent;border:0;box-shadow:none;}
 .responsive #top.af-header-languages #wrap_all #header .af-header-language .trp-language-item__default{display:grid;grid-template-columns:27.077px max-content 14px;gap:2px;padding:0;width:max-content;justify-content:center;}
 .responsive #top.af-header-languages #wrap_all #header .af-header-language .trp-language-item__default .af-language-flag{display:none!important;}
 .responsive #top.af-header-languages #wrap_all #header .af-header-language .trp-language-item__default .trp-language-item-name{display:block!important;font-size:17px!important;line-height:1;color:#0b1719;}
 .responsive #top.af-header-languages #wrap_all #header .af-header-language .trp-language-item__default .af-language-globe{display:block!important;width:27.077px;height:27.077px;stroke-width:.8864px;color:#0b1719;}
 .responsive #top.af-header-languages #wrap_all #header .af-header-language .trp-shortcode-arrow{right:3px;top:calc(50% - 7px);width:14px;height:14px;color:#0b1719;}
 .responsive #top.af-header-languages #wrap_all #header .af-header-language .trp-shortcode-arrow path{stroke:#0b1719;}
 .responsive #top.af-header-languages #wrap_all #header .af-header-language .trp-switcher-dropdown-list{width:200px;left:auto;right:0;transform:none;background:#fff;color:#0b1719;--bg:#fff;--text:#0b1719;--text-hover:#173e44;box-shadow:none;border:1px solid #0b1719;}
 html.responsive.html_header_top #top.af-mobile-sticky #wrap_all #main{padding-top:60px!important;}
 html.responsive.html_header_top #top.home.af-mobile-sticky #wrap_all #main{padding-top:0!important;}
}
@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. */


@media(min-width:768px){
 html.responsive #top.af-menu-fit-compact.af-mobile-sticky #wrap_all #header{position:fixed;top:0;width:100%;margin:0;--af-menu-height:40px;--af-burger-glyph-width:40px;--af-burger-min-target:40px;--af-burger-ink:#0b1719;--af-menu-gap:4px;--af-burger-target-width:100%;--afr-compact-surface:#fff;padding:10px var(--afr-body-gutter-right,20px) 10px var(--afr-body-gutter-left,20px)!important;background:var(--afr-compact-surface)!important;box-shadow:0 4px 12px rgba(11,23,25,.18)!important;}
 html.responsive #top.af-menu-fit-compact.af-mobile-sticky.admin-bar #wrap_all #header{top:var(--wp-admin--admin-bar--height,46px);}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #header_main .inner-container{isolation:isolate;display:grid;grid-template-columns:calc(var(--af-header-logo-width,55.35px) / 2) repeat(3,minmax(0,1fr)) 20px;column-gap:0;grid-template-rows:40px;align-items:center;height:40px!important;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #header_main :is(.main_menu,.av-burger-menu-main>a,.af-header-language,.trp-shortcode-switcher__wrapper,.trp-current-language-item__wrapper){height:40px!important;max-height:40px!important;box-sizing:border-box;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #header_main :is(.main_menu,.avia-menu,#avia-menu){display:contents;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #header_main .logo{grid-column:1;grid-row:1;box-shadow:none;outline:none;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #header_main :is(.logo,.logo a,.logo img){height:48px!important;max-height:48px!important;box-sizing:border-box;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #header_main .logo a{display:flex;align-items:center;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #header_main .logo img{width:auto;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #header_main .af-header-language{position:relative;grid-column:3;grid-row:1;left:auto;top:auto;transform:translateX(calc(100% - 15.5385px));width:max-content;justify-self:end;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #avia-menu{align-items:stretch;gap:4px;margin:0;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #avia-menu>li{display:none;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #avia-menu>.av-menu-button{display:block;grid-column:2;grid-row:1;justify-self:end;transform:translateX(calc(50% + 8px));align-self:center;width:22px;height:22px;margin:0;background:transparent;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #avia-menu>.av-menu-button>a{display:flex;align-items:center;justify-content:center;width:22px;height:22px;line-height:1;padding:0;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #avia-menu>.av-menu-button>a>.avia-menu-text{display:flex;align-items:center;justify-content:center;width:22px;height:22px;max-height:22px;box-sizing:border-box;margin:0;padding:0!important;border:1px solid #0b1719!important;border-radius:50%;background:transparent!important;color:#0b1719!important;font-size:0!important;line-height:1;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #avia-menu>.av-menu-button>a>.avia-menu-text:before{content:"AR";font:600 10px/1 Archivo,Arial,sans-serif;letter-spacing:0;}

 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header #avia-menu>.av-burger-menu-main{display:block;grid-column:4;grid-row:1;justify-self:end;transform:translateX(50%);z-index:200;width:40px;float:none;margin:0;background:transparent;}

 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header .af-header-language :is(.trp-shortcode-switcher__wrapper,.trp-shortcode-switcher){width:max-content;--switcher-width:max-content;--bg:transparent!important;--text:#0b1719!important;--text-hover:#0b1719!important;--bg-hover:transparent!important;background:transparent;border:0;box-shadow:none;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header .af-header-language .trp-language-item__default{display:grid;grid-template-columns:27.077px max-content 14px;gap:2px;padding:0;width:max-content;justify-content:center;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header .af-header-language .trp-language-item__default .af-language-flag{display:none!important;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header .af-header-language .trp-language-item__default .trp-language-item-name{display:block!important;font-size:17px!important;line-height:1;color:#0b1719;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header .af-header-language .trp-language-item__default .af-language-globe{display:block!important;width:27.077px;height:27.077px;stroke-width:.8864px;color:#0b1719;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header .af-header-language .trp-shortcode-arrow{right:3px;top:calc(50% - 7px);width:14px;height:14px;color:#0b1719;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header .af-header-language .trp-shortcode-arrow path{stroke:#0b1719;}
 .responsive #top.af-menu-fit-compact.af-header-languages #wrap_all #header .af-header-language .trp-switcher-dropdown-list{width:200px;left:auto;right:0;transform:none;background:#fff;color:#0b1719;--bg:#fff;--text:#0b1719;--text-hover:#173e44;box-shadow:none;border:1px solid #0b1719;}
 html.responsive.html_header_top #top.af-menu-fit-compact.af-mobile-sticky #wrap_all #main{padding-top:60px!important;}
 html.responsive.html_header_top #top.af-menu-fit-compact.home.af-mobile-sticky #wrap_all #main{padding-top:0!important;}
}
