/* Polylang's native select stays as the no-JavaScript fallback. */
body .essence-language.is-enhanced{position:relative;display:block!important;width:44px!important;height:44px!important;flex:none;}
body .essence-language.is-enhanced::before,body .essence-language.is-enhanced::after{content:none!important;}
body .essence-language.is-enhanced>select,body .essence-language.is-enhanced>label{display:none!important;}
body .essence-language .essence-language-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:8px;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;color:#003459;}
.essence-language-flag{display:block;flex:none;width:26px;height:26px;border-radius:50%;overflow:hidden;}
body .essence-language .essence-language-options{position:absolute;z-index:1100;top:calc(100% + 8px);right:0;width:190px;max-width:calc(100vw - 24px);margin:0;padding:6px;list-style:none;background:#fff;border:0;box-shadow:0 8px 24px rgba(0,52,89,.13);transform:translateX(var(--language-shift,0px));}
body .essence-language .essence-language-options[hidden]{display:none!important;}
.essence-language-options li{margin:0;padding:0;list-style:none;}
body .essence-language .essence-language-options a{display:flex!important;align-items:center;gap:12px;min-height:46px;width:100%;padding:9px 10px!important;margin:0;border:0;box-shadow:none;background:#fff;color:#003459!important;font:400 14px/1.4 var(--font-body);text-decoration:none!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap;}
body .essence-language .essence-language-options a>span{display:block;width:auto;height:auto;margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;}
body .essence-language .essence-language-options a[aria-current]{background:#f1f6f6;}
body .essence-language .essence-language-options a:hover,body .essence-language .essence-language-options a:focus-visible{background:#e4f0f0;}
.essence-language-options .essence-language-flag{width:24px;height:24px;}
.essence-language-current{width:13px;height:13px;margin-left:auto;}
.essence-language-toggle:focus-visible,.essence-language-options a:focus-visible{outline:2px solid #1c7783;outline-offset:2px;}
.essence-menu-glyph path{fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;transition:transform .24s ease,opacity .16s ease;}
.essence-menu-line--top{transform-origin:16px 7px;}
.essence-menu-line--bottom{transform-origin:16px 25px;}
.essence-menu-open .essence-menu-line--top{transform:translateY(9px) rotate(45deg);}
.essence-menu-open .essence-menu-line--middle{opacity:0;}
.essence-menu-open .essence-menu-line--bottom{transform:translateY(-9px) rotate(-45deg);}
@media(max-width:1024px){
 body .essence-header{background:#fff!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;overflow:visible!important;}
 body .essence-header.essence-menu-open{transform:none!important;}
 body .essence-header .essence-header__inner{display:grid!important;grid-template-columns:minmax(0,1fr) 92px 44px!important;align-items:center!important;width:100%!important;max-width:none!important;min-height:72px!important;margin:0!important;padding:12px 16px!important;gap:8px!important;}
 body .essence-header .essence-brand{width:clamp(124px,36vw,144px)!important;min-width:0!important;grid-column:1!important;margin:0!important;flex:none!important;}
 body .essence-header .essence-brand figure{margin:0!important;}
 body .essence-header .essence-brand img{display:block;width:100%!important;max-width:none!important;height:auto!important;}
 body .essence-header .essence-header-tools{display:flex!important;grid-column:2!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:92px!important;margin:0!important;flex:none!important;}
 body .essence-header .essence-header-tools .essence-music{order:0!important;width:44px!important;height:44px!important;margin:0!important;flex:none!important;}
 body .essence-header .essence-header-tools .essence-music a{position:relative;display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:0!important;}
 body .essence-header .essence-header-tools .essence-music a::before{width:30px!important;height:30px!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;}
 body .essence-header .essence-header-tools .essence-language{order:1!important;margin:0!important;}
 body .essence-header .essence-header__inner>nav.essence-navigation{grid-column:3!important;width:44px!important;min-width:44px!important;height:44px!important;margin:0!important;justify-content:center!important;flex:none!important;}
 body .essence-header .wp-block-navigation__responsive-container-open{display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;padding:6px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#003459!important;}
 body .essence-header .wp-block-navigation__responsive-container-open svg{width:32px!important;height:32px!important;}
 body .essence-header.essence-menu-open .wp-block-navigation__responsive-container-open{pointer-events:none;}
 body .essence-header .essence-header-actions{display:none!important;}
 /* The WordPress dialog remains native; its close target sits over the morphing burger. */
 body .essence-menu-veil{top:var(--essence-header-bottom,72px)!important;border:0!important;}
 body .essence-header .essence-navigation .wp-block-navigation__responsive-container.is-menu-open{top:var(--essence-header-bottom,72px)!important;right:0!important;bottom:0!important;left:auto!important;width:min(460px,100vw)!important;height:calc(100dvh - var(--essence-header-bottom,72px))!important;max-height:calc(100dvh - var(--essence-header-bottom,72px))!important;background:transparent!important;overflow:visible!important;border:0!important;box-shadow:none!important;transform:none!important;}
 body .essence-header .essence-navigation .is-menu-open .wp-block-navigation__responsive-close,body .essence-header .essence-navigation .is-menu-open .wp-block-navigation__responsive-dialog{overflow:visible!important;transform:none!important;}
 body .essence-header .essence-navigation .is-menu-open .wp-block-navigation__responsive-container-content{padding:22px 26px max(28px,env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.985)!important;box-shadow:-12px 12px 28px rgba(0,52,89,.08);}
 body .essence-header .essence-navigation .is-menu-open .essence-drawer-brand{display:none!important;}
 body .essence-header .essence-navigation .is-menu-open .wp-block-navigation__responsive-container-close{position:fixed!important;top:var(--essence-menu-control-top,14px)!important;left:var(--essence-menu-control-left,calc(100vw - 60px))!important;right:auto!important;width:44px!important;height:44px!important;padding:6px!important;margin:0!important;z-index:1100;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#003459!important;}
 body .essence-header .essence-navigation .is-menu-open .wp-block-navigation__responsive-container-close svg{opacity:0;}
 body .essence-header .essence-navigation .is-menu-open .wp-block-navigation__responsive-container-close:focus-visible{outline:2px solid #1c7783;outline-offset:2px;}
}
@media(prefers-reduced-motion:reduce){.essence-menu-glyph path{transition:none;}}
