/* Shared navigation footprint matches the approved Academy pages. */
html.af-navigation .header-inner{max-width:1440px;padding-left:2rem;padding-right:2rem;gap:1.3rem}
html.af-navigation .main-nav{gap:1.25rem}
@media(max-width:1190px){html.af-navigation .main-nav,html.af-navigation .nav-contact{display:none}html.af-navigation .nav-toggle{display:flex}}

.af-jump-list{scroll-margin-top:90px}.af-document-return{margin:1rem 0 0;font-size:.75rem}.af-document-back{display:inline-block;text-underline-offset:.2em;color:var(--accent)}

/* Keep the complete expanded navigation reachable on small screens. */
html.af-navigation .mobile-nav-drawer{max-height:calc(100vh - 64px);max-height:calc(100dvh - 64px);overflow-y:auto;overscroll-behavior:contain}

/* Empty directories remain outside public menus until entries are released. */
a[data-af-directory-link][hidden]{display:none!important}
