/**
 * Main marketing layout (layouts/app.blade.php) — sticky footer at bottom of viewport when content is short.
 */
body.site-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.site-layout > .site-layout__main {
  flex: 1 0 auto;
}

body.site-layout > footer.footer {
  flex-shrink: 0;
}

/* Header alignment (marketing layout) */
@media (min-width: 992px) {
  #topnav .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Keep logo stable and aligned with nav links */
  #topnav .logo {
    float: none !important;
    line-height: normal !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  #topnav .site-header-logo {
    display: block !important;
    height: 46px !important;
    width: auto !important;
    max-width: 240px !important;
    object-fit: contain !important;
  }

  /* Push the menu to the right while keeping it vertically aligned */
  #topnav #navigation {
    position: static !important;
    width: auto !important;
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  #topnav .navigation-menu {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  #topnav .navigation-menu > li {
    display: flex !important;
    align-items: center !important;
  }

  /* Ensure nav anchors use the same vertical rhythm */
  #topnav .navigation-menu > li > a {
    display: flex !important;
    align-items: center !important;
    min-height: 62px !important;
  }

  #topnav .buy-button {
    margin-left: 24px !important;
  }
}
