/*
 * Vertical menu panel fix (Nov 2026)
 * On short screens the open panel scrolls, and its items slid under the rail logo.
 * The 160px top space is now a border, which stays put while the content scrolls
 * and clips the items at its edge.
 *
 * custom-style.php (around line 2792) sets
 *   #masthead .container .main-navigation .main-menu-wrapper { padding: 160px 70px 70px 0px !important; }
 * which kept the old 160px padding on top of the new border and doubled the gap.
 * The padding-top override below uses a more specific selector so it wins over
 * that !important rule. Left, right and bottom padding are left as custom-style.php sets them.
 *
 * Keep this file until custom-style.php line 2792 is changed to drop the 160px
 * top padding on desktop. Recompiling the Sass alone is not enough.
 */
@media (min-width: 1000px) {
  html body #masthead .container .main-navigation .main-menu-wrapper {
    padding-top: 0 !important;
    border-top: 160px solid #fff;
    box-sizing: border-box;
  }

  html body.admin-bar #masthead .container .main-navigation .main-menu-wrapper {
    height: calc(100vh - 30px);
  }
}
