/* Mobile / tablet menu panel (opened by the "Menu" button, below 992px).
   Own file because the main stylesheet is cached for a year under a fixed name.
   Look: edge-to-edge panel in the navbar's off-white (--background), Germania One links in black,
   the studio red as the single accent. */
@media screen and (max-width: 991px) {
  /* Navbar row: centre the Menu/Close button on the logo's midline, level with the EN/FR
     switcher (it used to sit near the top of the row, higher than the flag). */
  .container---navbar > .grid { align-items: center; }
  /* The export pins the button and its Menu/Close children to the top of their cells by
     #w-node-… id (place-self: start end), which beats a class selector, hence !important. */
  .container---navbar > .grid > .nav-menu-button { align-self: center !important; }
  .nav-menu-button > .open-button,
  .nav-menu-button > .close-button { align-self: center !important; }
  /* Break out of the navbar's side padding so the panel spans the full screen width. */
  .menu-container {
    top: 16px; /* start under the navbar's bottom padding, so the panel meets the navbar edge */
    left: 50%;
    right: auto;
    width: 100vw;
    margin-left: -50vw;
  }
  .menu-2 {
    background-color: #faf9f6; /* same as the navbar (--background) */
    padding: 28px 24px 32px;
    position: relative;
  }
  .menu-2[inert] { visibility: hidden; }
  .menu-2::before { /* red rule along the top edge */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #bc2317;
  }
  /* One column: the main links, then a hairline, then the secondary links. */
  .menu-2 .grid {
    display: flex;
    flex-direction: column;
    grid-row-gap: 0;
    padding-top: 0;
    background-color: transparent;
  }
  /* The exported markup pins each list to grid cells by id; ignore that here. */
  .menu-2 .menu-link-list {
    grid-row-gap: 2px;
    grid-area: auto !important;
    align-self: stretch !important;
    width: 100%;
  }
  .menu-2 .link { margin: 0; padding: 0; }
  .menu-2 .link .main { margin: 0; }
  .menu-2 .link .clone { display: none; }

  .menu-2 .link .main > div {
    display: block;
    padding: 9px 0;
    font-family: Germaniaone, Arial, sans-serif;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: .01em;
    color: #000;
  }
  .menu-2 .link:hover .main > div,
  .menu-2 .link:focus-visible .main > div { color: #bc2317; }
  .menu-2 .link[aria-disabled="true"] .main > div { color: rgba(0, 0, 0, .55); }
  .menu-2 .text-span-3 {
    font-family: Jost, sans-serif;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .6);
    margin-left: 6px;
  }

  /* Secondary group (Kickstarter, Français): smaller, set apart by a short red rule. */
  .menu-2 .menu-link-list + .menu-link-list {
    margin-top: 22px;
    padding-top: 22px;
    position: relative;
  }
  .menu-2 .menu-link-list + .menu-link-list::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 3px;
    background: #bc2317;
  }
  .menu-2 .menu-link-list + .menu-link-list .link .main > div {
    font-family: Jost, sans-serif;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: .04em;
    padding: 7px 0;
    color: #000;
  }
}
