/* Only the existing site's injected navigation activates these adjustments. */
html.has-site-navigation {
  scroll-padding-top: calc(var(--site-nav-height, 0px) + 24px);
}

.has-site-navigation body > #combined-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  width: 100%;
  min-width: 0;
  background: #111827;
  border-bottom: 1px solid #374151;
  font: 600 16px/1.5 system-ui, sans-serif;
}

.has-site-navigation body > #combined-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 16px;
  border-radius: 8px;
  color: #d1d5db;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  touch-action: manipulation;
}

.has-site-navigation body > #combined-nav a[aria-current] {
  background: #f59e0b;
  color: #111827;
}

.has-site-navigation body > #combined-nav a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@media (min-width: 721px) {
  .has-site-navigation .sidebar {
    top: var(--site-nav-height, 0px);
    height: calc(100vh - var(--site-nav-height, 0px));
    height: calc(100dvh - var(--site-nav-height, 0px));
    overflow-y: auto;
  }
}
