/* ---------------------------------------------------------------
   Explore Menu subsections.
   Loaded after each page's inline <style> so these rules win where
   they overlap the base dropdown styling.
   --------------------------------------------------------------- */

.dropdown-content {
  min-width: 320px;
  max-height: min(70vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* subsection heading inside the menu */
.dropdown-group {
  font-family: "Anton", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(196, 149, 43, 0.08);
  padding: 0.8rem 1.2rem 0.7rem;
  border-top: 1px solid rgba(196, 149, 43, 0.28);
  border-bottom: 1px solid rgba(196, 149, 43, 0.18);
}
.dropdown-group:first-child { border-top: none; }

/* links that sit under a subsection heading are indented one step */
.dropdown-content a.sub { padding-left: 2rem; }
.dropdown-content a.sub::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 1px;
  background: var(--ox-bright);
  vertical-align: middle;
  margin: -2px 0.6rem 0 -1.1rem;
}
.dropdown-content a.sub:hover::before { background: var(--gold); }

/* current page */
.dropdown-content a[aria-current="page"] {
  color: var(--gold);
  background: var(--ink);
}

@media (max-width: 768px) {
  .dropdown-content {
    min-width: 0;
    max-height: none;
    overflow-y: visible;
  }
  .dropdown-group { padding: 1rem clamp(1.4rem, 6vw, 2.5rem) 0.7rem; }
  .dropdown-content a.sub { padding-left: clamp(2.2rem, 8vw, 3.4rem); }
  .dropdown-content a.sub::before { margin-left: -1.2rem; }
}
