/* Compact secondary navigation shared by public page footers. */
footer .footer-nav {
  display: block;
  flex: 0 1 auto;
  align-self: center;
  width: fit-content;
  max-width: 100%;
  margin: 4px 0;
  border: 1px solid #344238;
  border-radius: 5px;
  background: #101c15;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

footer .footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 4px;
  list-style: none;
}

footer .footer-nav li {
  margin: 0;
  padding: 0;
}

footer .footer-nav li + li {
  border-inline-start: 1px solid #344238;
}

footer .footer-nav .footer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 3px;
  color: #d9e5d5;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}

footer .footer-nav .footer-nav-link span {
  color: #b7ed78;
  font-size: 16px;
  line-height: 1;
}

footer .footer-nav .footer-nav-link:hover,
footer .footer-nav .footer-nav-link:focus-visible {
  background: #203023;
  color: #b7ed78;
}

footer .footer-nav .footer-nav-link:focus-visible {
  outline: 2px solid #b7ed78;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  footer .footer-nav {
    width: 100%;
  }

  footer .footer-nav li {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  footer .footer-nav .footer-nav-link {
    transition: none;
  }
}
