/* Wide navigation needs enough horizontal room. Compact laptops and smaller
   screens use the same accessible menu trigger as mobile. */
.menu-toggle {
  display: none !important;
}

@media (max-width: 1199px) {
  header > div {
    min-height: 80px;
    padding-inline: clamp(16px, 3vw, 32px) !important;
    gap: 10px;
  }

  header > div > a:first-child {
    margin-right: auto;
  }

  header > div > nav {
    display: none !important;
  }

  header > div > div:last-child {
    order: 2;
    margin-left: auto;
  }

  header .menu-toggle,
  body:has(.insight-shell) header .menu-toggle {
    order: 3;
    display: inline-flex !important;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    align-self: center;
    border: 1px solid rgba(248, 247, 244, .16);
    border-radius: 4px;
    background: #16161a;
    color: #f8f7f4;
    line-height: 1;
  }

  header .menu-toggle .material-symbols-outlined {
    display: block;
    font-size: 25px;
    line-height: 1;
  }
}

@media (max-width: 767px) {
  header > div > div:last-child {
    margin-right: 8px;
  }
}
