﻿.na-nav {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.na-nav li {
  display: flex;
  flex-direction: column;
}

.na-nav li > a,
.na-nav li > button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.na-nav li > a:hover,
.na-nav li > button:hover {
  opacity: 0.7;
}
.na-nav li > a:focus-visible,
.na-nav li > button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
.na-nav li > a.na-active {
  font-weight: 700;
}
.na-nav li > a.na-disabled,
.na-nav li > a[aria-disabled='true'] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.na-nav li > span {
  padding: 0.4375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
  white-space: nowrap;
}

.na-nav li.na-nav-separator {
  background-color: currentColor;
  opacity: 0.15;
  height: 1px;
  margin: 0.375rem 0;
}

.na-nav li > [aria-expanded]::after {
  content: '';
  display: block;
  width: 0.4em;
  height: 0.4em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  margin-left: auto;
  flex-shrink: 0;
}
.na-nav li.na-open > [aria-expanded]::after {
  transform: rotate(45deg);
}

.na-nav li > ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 1.25rem;
}

.na-nav-horizontal {
  flex-direction: row;
  align-items: center;
}
.na-nav-horizontal > li {
  flex-direction: row;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}
.na-nav-horizontal > li.na-nav-separator {
  width: 1px;
  height: 1.25rem;
  margin: 0 0.25rem;
  align-self: center;
}
.na-nav-horizontal > li > button {
  width: auto;
}
.na-nav-horizontal > li > ul {
  flex-direction: row;
  align-items: center;
  padding-left: 0;
}

.na-nav-centered {
  align-items: center;
  justify-content: center;
}

.na-nav-centered > li > a,
.na-nav-centered > li > button {
  justify-content: center;
  text-align: center;
}
