/* One navbar system shared by the collection, support and policy pages. */
.unified-navbar .topbar {
  z-index: 100;
  padding-inline: 5%;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.unified-navbar:not(.portrait-home) .topbar {
  position: sticky;
  top: 14px;
}

.unified-navbar.portrait-home .topbar {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
}

.unified-navbar .topbar-shell,
.unified-navbar .topbar-shell.scrolled {
  width: 100% !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
  border: 1px solid rgba(255,255,255,.70) !important;
  border-radius: 980px !important;
  background: rgba(255,255,255,.76) !important;
  box-shadow: 0 8px 24px rgba(44,36,18,.05) !important;
  backdrop-filter: blur(22px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(130%) !important;
  animation: none !important;
}

.unified-navbar .topbar-shell::before,
.unified-navbar .topbar-shell::after {
  content: none !important;
  display: none !important;
}

.unified-navbar .topbar-inner {
  height: 76px !important;
  padding-inline: 30px !important;
  font-family: var(--site-font) !important;
}

.unified-navbar .topbar-inner * {
  font-family: inherit !important;
}

.unified-navbar .wordmark-brand {
  font-size: 28px !important;
  font-weight: 800;
  color: var(--text);
}

.unified-navbar .topbar-actions {
  gap: 18px !important;
}

.unified-navbar .collection-link {
  position: relative;
  height: 44px !important;
  padding-inline: 8px !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--text) !important;
  font-size: 15px !important;
  font-weight: 600;
  box-shadow: none !important;
  transform: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.unified-navbar .collection-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}

.unified-navbar .collection-link[aria-current="page"] {
  color: var(--text) !important;
  font-weight: 750 !important;
}

.unified-navbar .collection-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: #c79232;
}

html[data-theme="dark"] .unified-navbar .topbar-shell,
html[data-theme="dark"] .unified-navbar .topbar-shell.scrolled {
  border-color: rgba(255,255,255,.19) !important;
  background: rgba(34,31,24,.83) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
}

html[data-theme="dark"] .unified-navbar .collection-link[aria-current="page"]::after {
  background: #efc86f;
}

@media (max-width: 1024px) {
  .unified-navbar .topbar { padding-inline: 24px; }
  .unified-navbar.portrait-home .topbar { top: 18px; }
  .unified-navbar .topbar-inner {
    height: 66px !important;
    padding-inline: 22px !important;
  }
  .unified-navbar .wordmark-brand { font-size: 24px !important; }
  .unified-navbar .topbar-actions { gap: 12px !important; }
  .unified-navbar .collection-link { height: 40px !important; font-size: 14px !important; }
}

@media (max-width: 720px) {
  .unified-navbar .topbar,
  .unified-navbar.portrait-home .topbar {
    top: 14px;
    padding-inline: 14px;
  }
  .unified-navbar .topbar-inner {
    height: 58px !important;
    padding-inline: 17px !important;
  }
  .unified-navbar .wordmark-brand { font-size: 22px !important; }
  .unified-navbar .topbar-actions { gap: 7px !important; }
  .unified-navbar .collection-link {
    height: 34px !important;
    padding-inline: 4px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 430px) {
  .unified-navbar .topbar,
  .unified-navbar.portrait-home .topbar { padding-inline: 10px; }
  .unified-navbar .topbar-inner { padding-inline: 12px !important; }
  .unified-navbar .wordmark-brand { font-size: 20px !important; }
  .unified-navbar .topbar-actions { gap: 3px !important; }
  .unified-navbar .collection-link {
    padding-inline: 3px !important;
    font-size: 10.5px !important;
  }
}

@media (max-width: 360px) {
  .unified-navbar .topbar,
  .unified-navbar.portrait-home .topbar { padding-inline: 8px; }
  .unified-navbar .topbar-inner { padding-inline: 10px !important; }
  .unified-navbar .wordmark-brand { font-size: 0 !important; }
  .unified-navbar .wordmark-brand::before {
    content: "A.";
    font-size: 20px;
    line-height: 1;
  }
  .unified-navbar .collection-link:nth-of-type(1) {
    display: inline-flex !important;
  }
  .unified-navbar .topbar-actions { gap: 1px !important; }
  .unified-navbar .collection-link {
    padding-inline: 2px !important;
    font-size: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .unified-navbar .topbar-shell,
  .unified-navbar .collection-link { transition: none !important; }
}
