/* Desktop dropdown nav — styles from the design source (deityLabs Site.dc.html) */

header nav .dl-dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 250px;
  background: #F54F1B;
  padding: 10px 0;
  border-radius: 0 0 3px 3px;
  display: none;
  z-index: 40;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

header nav .dl-dropdown.dl-open {
  display: grid;
}

/* Item styling: the .mi rules live in site.css (design source) —
   title uppercase 600, small description sentence-case, both navy on hover.
   Restated here for the dropdown context, matching site.css exactly. */
header nav .dl-dropdown a.mi {
  display: block;
  background: none;
  border: 0;
  text-align: left;
  padding: 10px 22px;
  cursor: pointer;
  font-family: Archivo, sans-serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: #F7F5F0;
  white-space: nowrap;
  text-decoration: none;
}

header nav .dl-dropdown a.mi:hover,
header nav .dl-dropdown a.mi:focus-visible {
  color: #1E223D;
}

header nav .dl-dropdown a.mi:hover small,
header nav .dl-dropdown a.mi:focus-visible small {
  color: #1E223D;
}

header nav .dl-dropdown a.mi small {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: normal;
  max-width: 32ch;
  color: rgba(247, 245, 240, 0.82);
  margin-top: 2px;
}

/* Two-column layout: Use cases only */
header nav .dl-dropdown.dl-wide {
  min-width: 520px;
  grid-template-columns: 1fr 1fr;
  column-gap: 8px;
}

/* Hidden on mobile — the burger menu handles navigation below 1200px */
@media (max-width: 1199px) {
  header nav .dl-dropdown { display: none !important; }
}
