/* ---------------------------------------------------------------------
   Restore fixes for plantdaddyyqg.com.

   The theme ships two copies of the menu: a desktop <ul class="site-nav">
   that it hides with its own `hide` class, and a second one inside
   <nav class="nav-bar"> that is the visible one. The visible copy does not
   carry the `list--inline` class the theme's own CSS keys off, so every item
   rendered full width and the three links stacked down the page, pushing the
   content ~500px below the fold.

   Rather than guess which class the theme intended, the inline layout is
   asserted directly on the element that is actually visible.
   ------------------------------------------------------------------ */
.nav-bar .site-nav{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:4px 18px;
  margin:0;
  padding:0;
  list-style:none;
}
.nav-bar .site-nav__item{display:inline-block;width:auto;float:none}
.nav-bar .site-nav__link{display:inline-block;padding:12px 4px;line-height:1.2}

/* The drawer menu stays closed until its toggle is used. */
.drawer:not(.is-open){display:none}

@media (max-width:767px){
  .nav-bar .site-nav{gap:2px 12px}
  .nav-bar .site-nav__link{padding:10px 4px;font-size:15px}
}

/* The menu wraps onto a second row at desktop width; centre both rows so the
   overflow items do not sit flush against the viewport edge. */
.nav-bar{display:flex;justify-content:center}
.nav-bar .site-nav{max-width:1100px}
