.nav-resources { position: relative; }
.nav-resources-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.nav-resources-trigger::-webkit-details-marker { display: none; }
.nav-resources-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.nav-resources[open] .nav-resources-trigger::after { transform: translateY(1px) rotate(225deg); }
.nav-resources.active .nav-resources-trigger,
.nav-resources[open] .nav-resources-trigger { color: var(--brand); font-weight: 600; }
.nav-resources-trigger:focus-visible { outline: 3px solid #58b8a8; outline-offset: 5px; border-radius: 4px; }
.nav-resources-menu {
  position: absolute;
  top: calc(100% + 16px);
  right: -18px;
  z-index: 60;
  width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, .13);
}
.nav-resources-menu a { display: block; padding: 11px 12px; border-radius: 10px; white-space: nowrap; }
.nav-resources-menu a:hover,
.nav-resources-menu a:focus-visible { background: #f1f5fb; text-decoration: none; }
@media (max-width: 760px) {
  .nav-resources { width: 100%; }
  .nav-resources-trigger { width: 100%; justify-content: center; padding: 10px; }
  .nav-resources-menu {
    position: static;
    width: 100%;
    padding: 4px 0;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
    background: #eef3fb;
  }
  .nav-resources-menu a { text-align: center; }
}
