/*
 * Material-for-MkDocs compatibility only.
 *
 * Actual Orion navigation geometry lives in:
 *   /orion-nav.css
 *
 * Actual navigation markup lives in:
 *   /nav.php
 */

.md-header.orion-shared-site-header {
  height: auto;
  background: var(--header-bg, #3f51b5);
  color: var(--header-text, #ffffff);
}

.md-header__inner.orion-shared-header-inner {
  width: 100%;
  max-width: 1280px;
  height: auto;
  min-height: 3.2rem;
}

/*
 * Material's palette controls remain in the DOM
 * so Orion and Material can keep light/dark mode
 * synchronized, but the native control is hidden.
 */
.orion-material-palette-bridge {
  display: none !important;
}

/*
 * The handbook drawer control is only needed on
 * smaller screens. Desktop navigation remains clean.
 */
.orion-handbook-drawer-button {
  display: none;
}

@media (max-width: 1100px) {
  .orion-handbook-drawer-button {
    display: inline-flex;
    flex: 0 0 auto;
  }
}

/* Orion handbook active-page visibility — light mode */
[data-md-color-scheme="default"] .md-nav__link--active {
    display: block;
    margin-left: -0.35rem;
    padding: 0.35rem 0.55rem;
    border-left: 4px solid #3156b8;
    border-radius: 4px;
    background: #e8efff;
    color: #2347a1 !important;
    font-weight: 700;
}
