.wk-nav-dropdown {
  position: relative;
}

.mkt-nav-actions .ds-button {
  white-space: nowrap;
  flex-shrink: 0;
}

.wk-nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  user-select: none;
}

.wk-nav-dropdown > summary::-webkit-details-marker,
.wk-nav-mobile-dropdown > summary::-webkit-details-marker {
  display: none;
}

.wk-nav-dropdown__arrow {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.1rem);
  transition: transform 160ms ease;
}

.wk-nav-dropdown[open] .wk-nav-dropdown__arrow,
.wk-nav-mobile-dropdown[open] .wk-nav-dropdown__arrow {
  transform: rotate(225deg) translate(-0.05rem, -0.05rem);
}

.wk-nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  z-index: 100;
  width: max-content;
  min-width: 15.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(83, 143, 225, 0.35);
  border-radius: 0.8rem;
  background: rgba(3, 17, 42, 0.98);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  transform: translateX(-50%);
}

.wk-nav-dropdown__link {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  color: #eef6ff;
  text-decoration: none;
  line-height: 1.25;
}

.wk-nav-dropdown__link:hover,
.wk-nav-dropdown__link:focus-visible {
  color: #fff;
  background: rgba(35, 119, 255, 0.2);
  outline: none;
}

.wk-nav-dropdown__meta {
  color: #8fb7ea;
  font-size: 0.75rem;
  font-weight: 500;
}

.wk-nav-mobile-dropdown {
  border-bottom: 1px solid rgba(83, 143, 225, 0.2);
}

.wk-nav-mobile-dropdown > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wk-nav-mobile-dropdown__menu {
  display: grid;
  gap: 0.2rem;
  padding: 0 0 0.75rem 0.75rem;
}

.wk-nav-mobile-dropdown__menu a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.45rem;
  color: #b8cee9;
  font-size: 0.9rem;
  text-decoration: none;
}

.wk-nav-mobile-dropdown__menu a:hover,
.wk-nav-mobile-dropdown__menu a:focus-visible {
  color: #fff;
  background: rgba(35, 119, 255, 0.16);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .wk-nav-dropdown__arrow { transition: none; }
}
