/* Phone and tablet menu, shared by the homepage header and every shell page header (dist/assets/menu.js opens it).
   Shows below 1024px, where the header's own links are hidden. Specific enough to beat the pages' generic button and header-link rules. */
.mm-btn { display: none; }
@media (max-width: 1023px) {
    html .mm-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; min-height: 0; margin: 0 -10px 0 -4px; padding: 0; border: 0 !important; border-radius: 12px !important; background: transparent !important; color: #1B2A4A !important; cursor: pointer; box-shadow: none !important; }
    html .mm-btn span, html .mm-btn span::before, html .mm-btn span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
    html .mm-btn span { position: relative; }
    html .mm-btn span::before, html .mm-btn span::after { content: ''; position: absolute; left: 0; }
    html .mm-btn span::before { top: -6px; } html .mm-btn span::after { top: 6px; }
    html .mm-btn[aria-expanded="true"] span { background: transparent; }
    html .mm-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
    html .mm-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
    html .mm-btn:hover { color: #B8511B !important; }
    html .mm-btn:focus-visible { outline: 2px solid #B8511B; outline-offset: 2px; }
}
.mm-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; display: grid; max-height: calc(100svh - 110px); overflow-y: auto; padding: 4px 24px 16px; background: #fff; border-top: 1px solid rgba(27,42,74,0.1); border-bottom: 1px solid rgba(27,42,74,0.1); box-shadow: 0 28px 40px -28px rgba(27,42,74,0.45); }
html header .mm-panel { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; align-items: stretch; height: auto; max-width: none; margin: 0; padding: 4px 24px 16px; }  /* outranks the shell's ".vh-nav > div" bar rule; the column is spelled out because that rule's space-between shrank every row to the width of its words on the shell pages (11/16/2026) */
.mm-panel[hidden], html header .mm-panel[hidden] { display: none; }
@media (min-width: 1024px) { .mm-panel { display: none !important; } }
@media (min-width: 768px) and (max-width: 1023px) { html header .mm-panel { padding-left: 40px; padding-right: 40px; } }
html header .mm-panel a { display: flex !important; align-items: center; min-height: 52px; margin: 0; padding: 0 !important; border-bottom: 1px solid rgba(27,42,74,0.08); background: none !important; border-radius: 0 !important; color: #1B2A4A !important; font-size: 17px !important; line-height: 24px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; text-decoration: none; opacity: 1 !important; }
html header .mm-panel a:last-child { border-bottom: 0; color: #5E6C7A !important; }
html header .mm-panel a:hover { color: #B8511B !important; }
html header .mm-panel a:focus-visible { outline: 2px solid #B8511B; outline-offset: -2px; border-radius: 6px !important; }
