.ov-topbar {
  color: var(--ov-color-text-muted);
  background: var(--ov-color-bg-subtle);
  border-block-end: 1px solid var(--ov-color-border);
  font-size: var(--ov-step--1);
}

.ov-topbar .ov-container {
  display: flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--ov-space-2);
}

.ov-navbar-wrap {
  z-index: 100;
  background: color-mix(in srgb, var(--ov-color-surface) 92%, transparent);
  border-block-end: 1px solid var(--ov-color-border);
  backdrop-filter: saturate(150%) blur(12px);
}

.ov-navbar-wrap.is-sticky {
  position: sticky;
  inset-block-start: 0;
}

.ov-navbar {
  display: grid;
  min-height: 4.5rem;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--ov-space-3);
}

.ov-navbar-brand {
  min-width: 0;
}

.ov-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ov-color-heading);
  font-weight: 750;
  text-decoration: none;
}

.ov-brand:hover {
  color: var(--ov-color-heading);
}

.ov-brand-mark {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ov-color-primary), var(--ov-color-accent));
  border-radius: var(--ov-radius-2);
  font-family: var(--ov-font-mono);
  font-size: var(--ov-step--2);
  font-weight: 700;
}

.ov-brand-text {
  white-space: nowrap;
}

.ov-mainnav {
  justify-self: center;
}

.ov-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.ov-menu-toggle {
  display: none;
  gap: 0.22rem;
}

.ov-menu-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: var(--ov-radius-pill);
}

.ov-theme-toggle-icon {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset -0.32rem -0.32rem 0 0 currentColor;
}

[data-bs-theme="dark"] .ov-theme-toggle-icon {
  box-shadow: inset 0 0 0 0 currentColor;
}

.ov-mega-region {
  border-block-start: 1px solid var(--ov-color-border);
  background: var(--ov-color-surface);
}

.ov-mobile-menu {
  border-block-start: 1px solid var(--ov-color-border);
  background: var(--ov-color-surface);
}

.ov-mobile-menu .ov-container {
  display: grid;
  gap: var(--ov-space-3);
  padding-block: var(--ov-space-3);
}

.ov-mobile-actions {
  display: grid;
  gap: var(--ov-space-2);
}

.ov-breadcrumb-region,
.ov-alert-region {
  background: var(--ov-color-surface);
  border-block-end: 1px solid var(--ov-color-border);
}

@media (max-width: 991.98px) {
  .ov-navbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .ov-mainnav {
    display: none;
  }

  .ov-menu-toggle {
    display: inline-grid;
  }
}
