/*
 * Overwatch Africa: header fit rules, shared by the React app and the static pages.
 * The desktop menu has seven links. Below 1280px they cannot fit beside the logo and
 * the "Get in Touch" button, so the header uses the mobile menu there instead.
 */
header nav .hidden.lg\:flex > a { flex: none; }
header nav .hidden.lg\:flex > a > span { white-space: nowrap; }

@media (min-width: 1280px) {
  header nav .hidden.lg\:flex { gap: 0; }
  header nav .hidden.lg\:flex > a > span { padding-left: 0.625rem; padding-right: 0.625rem; }
}
@media (min-width: 1536px) {
  header nav .hidden.lg\:flex > a > span { padding-left: 0.875rem; padding-right: 0.875rem; }
}

@media (min-width: 1024px) and (max-width: 1279.98px) {
  header nav .hidden.lg\:flex,
  header nav .hidden.lg\:block { display: none !important; }
  header nav button.lg\:hidden { display: block !important; }
  header div.lg\:hidden:not([hidden]) { display: block !important; }
}
