/**
 * Legacy top nav (dropdown) — replaced by work titles + fullscreen MENU.
 * Kept for admin preview / any residual markup.
 */

.site-top-nav {
  display: none;
  justify-self: center;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
  min-width: 0;
}

.site-top-nav a,
.site-top-nav .site-menu-link {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #6b8496);
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.site-top-nav a:hover,
.site-top-nav .site-menu-link:hover {
  color: var(--navy-deep, #29648e);
}

.site-top-nav a.is-active {
  color: #29648e;
  background: rgba(41, 100, 142, 0.1);
}

.site-menu-item {
  position: relative;
}

.site-menu-item.has-children > .site-menu-link::after {
  content: "▾";
  margin-left: 0.2rem;
  font-size: 0.65em;
  opacity: 0.7;
}

.site-menu-drop {
  display: none;
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 0;
  min-width: 170px;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(41, 100, 142, 0.16);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(26, 51, 71, 0.14);
  z-index: 60;
}

.site-menu-item:hover .site-menu-drop,
.site-menu-item:focus-within .site-menu-drop {
  display: grid;
  gap: 0.1rem;
}

.site-menu-drop a {
  display: block;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.74rem;
}

.site-menu-drop a:hover {
  background: rgba(41, 100, 142, 0.1);
}

@media (min-width: 900px) {
  .site-top-nav {
    display: inline-flex;
  }
}
