/* Resources menu in the site header. Shared by the homepage, state pages, guides and blog. */
.nav-menu { position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; color: var(--ink); font-weight: 600; font-size: 0.98rem; display: flex; align-items: center; gap: 6px; padding: 8px 0; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.nav-menu[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.nav-menu summary:hover { color: var(--slate); }
.nav-menu summary:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; border-radius: 4px; }
.nav-drop { position: absolute; left: -14px; top: calc(100% + 10px); min-width: 210px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px -22px rgba(15,27,51,.45); padding: 6px; display: flex; flex-direction: column; z-index: 30; }
.nav .nav-drop a { display: block !important; padding: 10px 12px; border-radius: 6px; color: var(--ink); font-weight: 600; text-decoration: none; }
.nav .nav-drop a:hover, .nav .nav-drop a[aria-current] { background: var(--tint, #e8edf7); color: var(--ink); }
.nav .btn { white-space: nowrap; }
@media (max-width: 880px) { .nav { gap: 14px; } .nav-drop { left: auto; right: -100px; } }
