/* Ecosystem navigation: shared green, clear white type, family accents. */
@font-face{font-family:'Everzen Navigation';src:url('../fonts/Averta-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Everzen Navigation';src:url('../fonts/Averta-Bold.otf') format('opentype');font-weight:700;font-style:normal;font-display:swap;}
html body .header{--nav-accent:#D0C574;background-color:#3C6F52!important;}
html body .header .menu>ul>li:is(#menu-item-18852,#menu-item-18887){--nav-accent:#D3A832;}
html body .header .menu>ul>li:is(#menu-item-18855,#menu-item-18890){--nav-accent:#E88400;}
html body .header .menu a,html body .menu-mobile a{font-family:'Everzen Navigation',sans-serif!important;color:#EDF3EE!important;}
html body .header .menu>ul>li>a{font-size:15px!important;font-weight:700!important;letter-spacing:.015em!important;line-height:1.4!important;text-transform:uppercase;position:relative;background-image:none!important;}
html body .header .menu a:hover,html body .header .menu a:focus-visible{color:#fff!important;}
html body .header .menu>ul>li>a::before{content:""!important;position:absolute;left:0;right:18px;bottom:2px;height:2px;background:var(--nav-accent);opacity:0;transform:scaleX(.4);transition:opacity .18s ease,transform .18s ease;}
html body .header .menu>ul>li:is(.current-menu-item,.current-menu-ancestor)>a::before,html body .header.ez-header-family-academy .menu>ul>li:is(#menu-item-18852,#menu-item-18887)>a::before,html body .header.ez-header-family-education .menu>ul>li:is(#menu-item-18855,#menu-item-18890)>a::before{opacity:1;transform:scaleX(1);}
html body .header .change-lang .lang,html body .header .show-menu{color:#EDF3EE!important;}
html body .header .show-form__search img{filter:brightness(0) invert(1);opacity:.9;}
html body .header .menu a:focus-visible,html body .header .change-lang a:focus-visible,html body .menu-mobile a:focus-visible{outline:2px solid #fff;outline-offset:3px;}
@media(min-width:992px){
 html body .header .menu>ul{gap:24px;}
 html body .header .menu>ul>li:not(.everzen-mega-retreat)>ul.sub-menu{width:280px!important;min-width:260px!important;padding:8px!important;background:#28573F!important;border-radius:0 0 10px 10px!important;box-shadow:0 12px 28px rgba(15,38,26,.2)!important;}
 html body .header .menu>ul>li.everzen-mega-retreat>ul.sub-menu{background:#28573F!important;border-radius:0 0 10px 10px!important;box-shadow:0 12px 28px rgba(15,38,26,.2)!important;}
 html body .header .menu ul.sub-menu li>a{font-size:16px!important;font-weight:400!important;line-height:1.45!important;letter-spacing:0!important;text-transform:none!important;min-height:44px;display:flex;align-items:center;padding:11px 16px!important;border-radius:6px;}
 html body .header .menu ul.sub-menu li>a:hover,html body .header .menu ul.sub-menu li>a:focus-visible{background:rgba(255,255,255,.09)!important;box-shadow:inset 2px 0 var(--nav-accent);font-weight:700!important;}
 html body .header .menu ul.sub-menu li.current-menu-item>a{background:rgba(255,255,255,.09)!important;box-shadow:inset 2px 0 var(--nav-accent);font-weight:700!important;}
 html body .header .menu>ul>li:focus-within>ul.sub-menu{opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
 html body .header .menu>ul>li:focus-within>a::after{transform:translateY(-30%) rotate(225deg);}
 html body .header .lang-content{background:#28573F!important;border-radius:8px;color:#fff;}
 html body .header .lang-content a{color:#EDF3EE!important;}
}
@media(min-width:992px) and (max-width:1199px){html body .header .menu>ul{gap:16px;}html body .header .menu>ul>li>a{font-size:14px!important;}}
@media(max-width:991px){html body .menu-mobile{background:#28573F!important;}html body .menu-mobile>ul>li>a{font-size:16px!important;font-weight:700!important;min-height:48px;}html body .menu-mobile ul.sub-menu a{font-size:16px!important;font-weight:400!important;min-height:44px;line-height:1.5!important;}html body .menu-mobile a:hover{background:rgba(255,255,255,.08)!important;}html body .menu-mobile .current-menu-item>a{color:#fff!important;box-shadow:inset 2px 0 #D0C574;}}
@media(prefers-reduced-motion:reduce){html body .header .menu a::before{transition:none;}}
/* Desktop typography adjustment; mobile remains unchanged. */
@media(min-width:992px){html body .header .menu>ul>li>a{font-size:16px!important;letter-spacing:.035em!important;}html body .header .menu>ul>li.everzen-mega-retreat>ul.sub-menu>li.everzen-mega-group>a{text-transform:uppercase!important;letter-spacing:.025em!important;font-weight:700!important;}}
@media(min-width:992px) and (max-width:1199px){html body .header .menu>ul>li>a{font-size:15px!important;}}
/* Desktop top-level letter spacing only. */
@media(min-width:992px){html body .header .menu>ul>li>a{letter-spacing:.06em!important;}}

/* Closed dropdown descendants must not expose invisible hover targets. */
@media(min-width:992px){
 html body .header .menu>ul>li>ul.sub-menu{
  visibility:hidden!important;
  pointer-events:none!important;
  opacity:0!important;
  transition:opacity .18s ease,transform .18s ease!important;
 }
 html body .header .menu>ul>li>ul.sub-menu *{
  visibility:inherit!important;
 }
 html body .header .menu>ul>li:not(:hover):not(:focus-within)>ul.sub-menu,
 html body .header .menu>ul>li:not(:hover):not(:focus-within)>ul.sub-menu *{
  pointer-events:none!important;
 }
 html body .header .menu>ul>li:hover>ul.sub-menu,
 html body .header .menu>ul>li:focus-within>ul.sub-menu{
  visibility:visible!important;
  pointer-events:auto!important;
  opacity:1!important;
  transition:opacity .18s ease,transform .18s ease!important;
 }
}
