/*
 * Parity shims — NOT part of the original template.
 *
 * The template's stylesheets are shipped byte-for-byte unmodified. A few of the
 * original's visual rules, however, were applied at RUNTIME by jQuery plugins
 * rather than by CSS. This file reproduces exactly those effects declaratively,
 * so the rendered result matches without a flash before hydration.
 *
 * Loaded last, after main.css and style.css.
 */

/* ---------------------------------------------------------------------------
 * jquery.meanmenu (meanScreenWidth: 1199)
 *
 * Below the breakpoint the plugin adds `.mean-remove` to the source nav
 * (`#mobile-menu`), which meanmenu.css hides with `display: none !important`.
 * Without this, the desktop menu stays laid out on tablet/mobile, inflating the
 * header and pushing the page into horizontal overflow.
 * ------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  nav#mobile-menu {
    display: none !important;
  }
}

/* Above the breakpoint meanmenu never builds the mobile clone, so the offcanvas
 * copy must stay hidden — it is only reachable via the hamburger, which is
 * itself `d-xl-none`. */
@media (min-width: 1200px) {
  .offcanvas__info .mobile-menu {
    display: none;
  }
}
