/* Custom overrides for the Minima theme */

/* Header navigation: with many nav links the default float-based header
   overflows the page on wider screens. Use a flex row that wraps instead.
   Scoped to >600px so the mobile hamburger menu is left untouched. */
@media screen and (min-width: 601px) {
  .site-header .wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .site-header {
    min-height: 0;
  }

  .site-title {
    float: none;
    margin-right: auto;
  }

  .site-nav {
    float: none;
    line-height: 1.5;
  }

  .site-nav .page-link {
    display: inline-block;
    line-height: 2;
  }
}
