/* =====================================================================
   Mobile navigation placement
   Keep the brand on the left and hamburger on the far right of one compact row.
   Desktop navigation remains unchanged.
   ===================================================================== */
@media (max-width: 760px) {
  :root {
    --mobile-nav-h: 68px;
  }

  html {
    scroll-padding-top: calc(var(--mobile-nav-h) + 12px);
  }

  body {
    padding-top: var(--mobile-nav-h);
  }

  .site-nav__inner,
  body.mobile-nav-open .site-nav__inner {
    min-height: var(--mobile-nav-h);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: .75rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
  }

  .brand,
  body.mobile-nav-open .brand {
    min-height: 44px;
    justify-self: auto;
    align-self: center;
  }

  .nav-toggle,
  body.mobile-nav-open .nav-toggle {
    flex: 0 0 44px;
    justify-self: auto;
    align-self: center;
    margin: 0 0 0 auto;
  }

  .nav-links,
  .nav-links.is-open {
    padding-top: calc(var(--mobile-nav-h) + 1rem);
  }
}
