/* Emgage overrides, loaded last so it wins the Divi cascade.
   Keep this file small and explain every rule: it is the one place
   hand-written CSS lives in an otherwise machine-migrated site. */

/* The primary nav is a flex container that Divi ships with flex-wrap:wrap.
   With the menu column capped by the 32%-wide logo wrap, the items ran out
   of room around 1280px and dropped onto a second row while empty space
   remained in the header. Above Divi's 980px mobile breakpoint the menu
   should stay on one line; below it Divi swaps to the hamburger and this
   block deliberately does not apply. */
@media (min-width: 981px) {
  .et_pb_menu .et-menu.nav {
    flex-wrap: nowrap;
  }

  /* Without this a non-wrapping row would compress the items and break
     labels like "Vendor-Neutral CMMC Implementation" mid-word. */
  .et_pb_menu .et-menu.nav > li {
    white-space: nowrap;
  }

  /* Submenus are absolutely positioned dropdowns and must keep their own
     vertical stacking, so opt them back out of the nowrap above. */
  .et_pb_menu .et-menu.nav ul.sub-menu {
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* reCAPTCHA badge placement on the three retained Landingi landing pages.
   Served verbatim by tagmanager.landingi.io alongside the reCAPTCHA script
   (see site/assets/js/landingi-recaptcha.js for the full provenance note);
   kept so the badge sits where it did on the source site. Harmless on the
   other pages, where the selector simply matches nothing. */
.grecaptcha-badge {
    width: 70px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    left: -7px !important;
    bottom: 10px !important;
    transform: scale(0.8) !important;
    z-index: 1000000 !important;
}
.grecaptcha-badge:hover {
    width: 256px !important;
    left: -2px !important;
    transform: scale(1) !important;
}

@media (max-width:764px) {
    .grecaptcha-badge {
        width: 62px !important;
        height: 55px !important;
        bottom: 1px !important;
    }
}
