/* Shared, keyboard-accessible entry to the existing VOLYNX login. */
.header .nav-container {
  gap: 12px;
  flex-wrap: wrap;
}

.header .nav-container .site-logo {
  display: block;
  width: clamp(160px, 18vw, 230px);
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.header .nav-container .site-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.header .nav-container nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.header .nav-container nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
}

.header .nav-container a.dashboard-access {
  gap: 7px;
  border: 1px solid #d4b26a;
  border-radius: 8px;
  background: #d4b26a;
  color: #17140e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.header .nav-container a.dashboard-access:hover {
  background: #f9e6b8;
  border-color: #f9e6b8;
  opacity: 1;
}

.dashboard-access svg {
  flex: 0 0 auto;
}

.dashboard-access:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px #17140e;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
}

.footer-links a.dashboard-access--footer {
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}

.footer-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  margin: 16px auto 0;
  color: rgba(249, 230, 184, .58);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .02em;
}

.footer-powered::before,
.footer-powered::after {
  width: 24px;
  height: 1px;
  background: rgba(212, 178, 106, .28);
  content: "";
}

.footer-powered a {
  min-height: 0;
  padding: 2px 0;
  color: #f9e6b8;
  font-weight: 700;
  text-decoration: none;
}

.footer-powered a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-powered a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 479px) {
  .footer-powered {
    flex-wrap: wrap;
    padding-inline: 12px;
    text-align: center;
  }

  .footer-powered::before,
  .footer-powered::after {
    width: 16px;
  }
}

@media (min-width: 480px) and (max-width: 819px) {
  .header .nav-container .jp-icon span {
    display: none;
  }
}
