/* Shared navigation for EN, Chinese and Korean. */
.sf-nav-group{position:relative}
.sf-nav-trigger{display:flex;align-items:center;gap:1rem;background:none;border:0;font:inherit;color:inherit;cursor:pointer;text-transform:uppercase}
.sf-nav-news{text-transform:uppercase}
.sf-nav-chevron{width:.65rem;height:.65rem;border-right:1px solid;border-bottom:1px solid;transform:rotate(45deg) translateY(-.2rem);transition:transform .2s}
.sf-nav-trigger[aria-expanded="true"] .sf-nav-chevron{transform:rotate(225deg)}
.sf-nav-dropdown{position:absolute;top:100%;left:-1.6rem;width:max-content;min-width:24rem;max-width:36rem;padding:1rem;background:#f9f8f6;color:#2a281f;border:1px solid #2a281f22;border-radius:1.2rem;box-shadow:0 1rem 3rem #0002;display:flex;flex-direction:column;z-index:5}
.sf-nav-dropdown[hidden]{display:none}
.sf-nav-link{display:block;color:inherit;padding:1.1rem 1.2rem;border-radius:.6rem;line-height:1.45}
.sf-nav-link:hover,.sf-nav-link[aria-current="page"]{background:#2a281f0c}
.nav :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(min-width:992px){.nav_menu{flex-wrap:nowrap}}
@media(max-width:991px){
 .nav_menu{height:100dvh;min-height:0;overflow-y:auto;overscroll-behavior:contain;align-items:stretch;padding:10rem var(--padding-global) 3rem;background:#f9f8f6;color:#2a281f;visibility:hidden;transition:transform .3s,visibility .3s;gap:1rem}
 .nav_menu.active{visibility:visible}
 .nav_menu::before{display:none}
 .nav_menu_btn{z-index:4;color:inherit}
 .nav_content:has(.nav_menu.active) .nav_menu_btn{color:#2a281f}
 .sf-nav-group{border-bottom:1px solid #2a281f22;padding-bottom:1rem}
 .sf-nav-trigger{width:100%;justify-content:space-between;text-align:left;padding:1rem 0}
 .sf-nav-dropdown{position:static;width:100%;max-width:none;min-width:0;border:0;border-radius:0;box-shadow:none;background:transparent;padding:0 0 .4rem}
 .sf-nav-link{padding:1rem 1.2rem}
 .nav_menu .nav_link_grants.is-mobile{align-self:flex-start;margin-top:1rem}
 .sf-nav-news{align-self:flex-start}
}
@media(prefers-reduced-motion:reduce){.nav_menu,.sf-nav-chevron{transition:none}}
@media(max-width:991px){
 .nav_logo_wrap{position:relative;z-index:4}
 .nav_content:has(.nav_menu.active) .nav_logo_wrap{color:#2a281f}
 .nav_content:has(.nav_menu.active) .nav_burger_line{background-color:#2a281f!important}
}
/* Match the site's Geist Mono supporting text throughout navigation. */
.nav_menu,
.nav_link_grants{font-family:var(--_font-family---geist-mono),monospace;font-weight:400}
/* Reuse the footer's uppercase bracket-link design inside dropdowns. */
.sf-nav-link.link_bracket_component{display:flex;justify-content:space-between;align-items:flex-start;gap:2.4rem;margin:0;padding:1rem 1.2rem;border-radius:0;font-size:1.2rem;line-height:1.5;text-transform:uppercase}
.sf-nav-link .link_bracket_text{min-width:0}
.sf-nav-link .link_bracket_wrap{flex-shrink:0}
.sf-nav-link:hover,.sf-nav-link[aria-current="page"]{background:transparent}
.sf-nav-link:focus-visible .link_bracket_wrap{opacity:.5}
/* Give the mobile dropdown arrows breathing room at the screen edge. */
@media(max-width:991px){.sf-nav-trigger{padding-right:2rem}}
/* Group desktop navigation beside the grant CTA. */
@media(min-width:992px){
 .nav_menu{margin-left:auto;margin-right:3.2rem}
 .nav_link_grants_wrap{flex-shrink:0}
 .sf-nav-dropdown{left:auto;right:0}
}
/* Match footer link typography exactly; retain the header's section-aware colour. */
.nav_menu,
.nav_link_grants{font-family:var(--_font-family---geist-mono);font-size:1.2rem;font-weight:500;line-height:1.25;letter-spacing:normal}
.sf-nav-link.link_bracket_component{line-height:1.25}
.sf-nav-dropdown{color:var(--_colors---black)}
