
/* Resource navigation: compact first level, side-opening second level. */
.site-header .resources-nav{position:relative;flex:none}
.site-header .resources-trigger{display:inline-flex!important;align-items:center;gap:7px}
.site-header .resources-trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
.site-header .resources-panel,.site-header .resources-flyout{box-sizing:border-box;background:#0B1029;border:1px solid #B9920566;border-radius:12px;box-shadow:0 18px 40px #0005;padding:8px;color:#F5F1E8}
.site-header .resources-panel[hidden],.site-header .resources-flyout[hidden]{display:none!important}
.site-header .resources-panel{position:absolute;z-index:35;top:100%;left:-8px;width:188px;overflow:visible}
.site-header .resources-group{position:static}
.site-header .resources-category{width:100%;min-height:46px;padding:10px 13px;background:transparent;color:#F5F1E8;border:0;border-radius:6px;display:flex;justify-content:space-between;align-items:center;gap:14px;cursor:pointer;font:600 15px/1.35 "DM Sans",sans-serif;text-align:left}
.site-header .resources-caret{color:#D6B84C;font-size:21px;line-height:1}
.site-header .resources-category[aria-expanded="true"],.site-header .resources-category:hover{background:#B9920524;color:#D6B84C}
.site-header .resources-flyout{position:absolute;z-index:36;left:100%;top:0;width:290px;max-width:var(--resources-available,660px);max-height:var(--resources-height,70vh);overflow:auto;overscroll-behavior:contain;display:grid;gap:4px;scrollbar-width:thin;scrollbar-color:#B99205 #0B1029}
.site-header .resources-flyout--two{width:560px;grid-template-columns:repeat(2,minmax(0,1fr))}
.site-header .resources-panel[data-side="left"] .resources-flyout{left:auto;right:100%}
.site-header .resources-panel[data-side="left"] .resources-caret{transform:rotate(180deg)}
html body .site-header .nav-menu .resources-flyout a:not(#_):not(#__){display:block;padding:10px 12px;border-radius:6px;white-space:normal;overflow-wrap:anywhere;color:#F5F1E8;font:500 14px/1.4 "DM Sans",sans-serif;text-decoration:none}
.site-header .resources-flyout a b{display:block;font-weight:700;font-size:14px}
.site-header .resources-flyout a span{display:block;margin-top:3px;font-size:12px;color:#D2D7DC;line-height:1.45}
html body .site-header .nav-menu .resources-flyout a:hover:not(#_):not(#__),html body .site-header .nav-menu .resources-flyout a:focus-visible:not(#_):not(#__){background:#B9920524;color:#D6B84C}
.site-header .resources-nav :is(a,button):focus-visible{outline:2px solid #D6B84C;outline-offset:2px}
@media(min-width:1001px){
  .site-header .resources-panel[data-narrow="true"] .resources-flyout--two{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:1000px){
  html body .site-header .resources-trigger:not(#_):not(#__){font:400 22px/1.3 "Playfair Display",serif!important;min-height:48px;width:100%;justify-content:space-between;padding:12px 0}
  .site-header .resources-panel,.site-header .resources-flyout{position:static;width:100%;max-width:none;max-height:none;overflow:visible;border:0;box-shadow:none;padding:0;background:transparent}
  .site-header .resources-flyout--two{grid-template-columns:1fr}
  .site-header .resources-flyout a span{display:none}
  .site-header .resources-category{padding-left:12px}
  .site-header .resources-flyout a{margin-left:12px}
}
html.nav-fit-2 body .site-header .resources-trigger:not(#_):not(#__):not(#___){display:flex!important;font:400 22px/1.3 "Playfair Display",serif!important;min-height:48px;width:100%;justify-content:space-between;padding:12px 0}
html.nav-fit-2 .site-header :is(.resources-panel,.resources-flyout){position:static;width:100%;max-width:none;max-height:none;overflow:visible;border:0;box-shadow:none;padding:0;background:transparent}
html.nav-fit-2 .site-header .resources-flyout--two{grid-template-columns:1fr}
html.nav-fit-2 .site-header .resources-flyout a span{display:none}
.mh-menu .mh-resource-category .mh-grp__b{font:600 17px/1.3 "DM Sans",sans-serif;padding-left:12px;min-height:48px}
.mh-menu .mh-resource-category .mh-grp__p a{padding-left:28px}
@media(prefers-reduced-motion:reduce){.site-header .resources-nav *{animation:none!important;transition:none!important}}

/* Keep the mobile menu's scrollport below the persistent header, rather than
   scrolling entries underneath the header at short/narrow viewports. */
@media(max-width:767px){
  html body .mh-top .mh-menu:not(#_):not(#__):not(#___){
    inset:60px 0 0!important;
    padding-block:24px 32px!important;
    scroll-padding-block:12px 24px;
    box-sizing:border-box;
  }
}

/* The menu and its close button must share a viewport origin, even on a
   route where focusing the menu scrolls the underlying document. */
@media(max-width:767px){
  html body .mh-top:has(.mh-burger[aria-expanded="true"]){min-height:60px}
  html body .mh-top:has(.mh-burger[aria-expanded="true"]) .mh-head:not(#_):not(#__):not(#___){position:fixed!important;inset:0 0 auto!important;width:100%;box-sizing:border-box}
}

/* Only routes with an actual phone header hide the desktop rail on phones. */
@media(max-width:767px){
  html body .site-header:has(~ .mh-top):not(#_):not(#__):not(#___){display:none!important}
}
