/* Shared sticky navigation and mobile offcanvas menu. */
.unified-header {
  position: sticky !important;
  top: 0;
  height: auto !important;
  min-height: 140px;
  z-index: 1000;
}

.unified-header .main-nav {
  display: block !important;
}

.unified-header .main-nav ul {
  justify-content: center;
}

@media (max-width: 720px) {
  body.offcanvas-open { overflow: hidden; }
  body.offcanvas-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(12, 29, 48, .48);
    z-index: 998;
  }
  .unified-header {
    min-height: 105px;
  }
  .unified-header .unified-contact {
    display: none;
  }
  .unified-header .unified-header-inner {
    height: 101px;
  }
  .unified-header .menu-toggle {
    display: block !important;
    position: relative;
    z-index: 1002;
    border: 0;
    color: #17466e;
    font-size: 0;
    width: 42px;
    height: 42px;
    padding: 0;
  }
  .unified-header .menu-toggle::before {
    content: "☰";
    font-size: 28px;
  }
  .unified-header .main-nav {
    display: block !important;
    position: fixed;
    top: 105px;
    right: 0;
    width: min(320px, 86vw);
    height: calc(100vh - 105px);
    padding: 20px 0;
    transform: translateX(105%);
    transition: transform .25s ease;
    box-shadow: -8px 0 24px rgba(12, 29, 48, .2);
    z-index: 1001;
  }
  .unified-header .main-nav.open {
    transform: translateX(0);
  }
  .unified-header .main-nav ul {
    width: 100%;
    padding: 0 24px;
    gap: 0;
  }
  .unified-header .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
    font-size: 1rem;
  }
}
