.inovatiq-wayback-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inovatiq-wayback-form-status {
  margin-top: 14px;
}

.inovatiq-wayback-form-status .elementor-message {
  display: block;
}

.elementor-widget-form .elementor-field-group .elementor-field:focus {
  outline: none;
}

/* Elementor normally controls dropdown visibility via JS/CSS. */
.elementor-menu-toggle + .elementor-nav-menu--dropdown {
  display: none;
}

.elementor-menu-toggle[aria-expanded="true"] + .elementor-nav-menu--dropdown,
.elementor-menu-toggle + .elementor-nav-menu--dropdown.inovatiq-wayback-open {
  display: block;
}

@media (min-width: 768px) {
  .elementor-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .elementor-nav-menu--main {
    display: none !important;
  }

  /* Use a CSS-drawn icon so the burger works even when Elementor icon font is unavailable. */
  .elementor-menu-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  .elementor-menu-toggle i {
    display: none !important;
  }

  .elementor-menu-toggle::before,
  .elementor-menu-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    margin-left: -11px;
    background: #0c0c0c;
    transition: transform 0.2s ease, top 0.2s ease, box-shadow 0.2s ease;
  }

  .elementor-menu-toggle::before {
    top: 15px;
    box-shadow: 0 7px 0 #0c0c0c;
  }

  .elementor-menu-toggle::after {
    top: 29px;
  }

  .elementor-menu-toggle.elementor-active::before {
    top: 22px;
    transform: rotate(45deg);
    box-shadow: none;
  }

  .elementor-menu-toggle.elementor-active::after {
    top: 22px;
    transform: rotate(-45deg);
  }

  /* Keep the header dropdown menu fully inside mobile viewport. */
  .elementor-element-22070d6e,
  .elementor-element-22070d6e .elementor-column-wrap,
  .elementor-element-22070d6e .elementor-widget-wrap,
  .elementor-element-37cb266f {
    overflow: visible !important;
  }

  .elementor-element-37cb266f {
    position: relative;
  }

  .elementor-element-37cb266f .elementor-nav-menu--dropdown {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: 0 !important;
    left: auto !important;
    width: min(280px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box;
    z-index: 9999;
  }

  .elementor-element-37cb266f .elementor-nav-menu--dropdown .elementor-item {
    white-space: normal;
  }
}

/* Prevent duplicate menu on homepage caused by Elementor Pro theme location header. */
.home .elementor-location-header {
  display: none !important;
}

/* Fallback when Elementor frontend animation JS fails to init. */
.elementor-section.elementor-invisible,
.elementor-column.elementor-invisible,
.elementor-widget.elementor-invisible {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Prevent WP admin-bar bump from leaving a blank strip at the top. */
html {
  margin-top: 0 !important;
}

body.admin-bar {
  margin-top: 0 !important;
}

/* Force Font Awesome to local files (the archived CSS points to dead Wayback URLs). */
@font-face {
  font-family: "Inovatiq FA Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/fa-solid-900.woff2") format("woff2"),
    url("../fonts/fa-solid-900.woff") format("woff");
}

@font-face {
  font-family: "Inovatiq FA Free";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fa-regular-400.woff2") format("woff2"),
    url("../fonts/fa-regular-400.woff") format("woff");
}

@font-face {
  font-family: "Inovatiq FA Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fa-brands-400.woff2") format("woff2"),
    url("../fonts/fa-brands-400.woff") format("woff");
}

.fa,
.fas {
  font-family: "Inovatiq FA Free" !important;
  font-weight: 900;
}

.far {
  font-family: "Inovatiq FA Free" !important;
  font-weight: 400;
}

.fab {
  font-family: "Inovatiq FA Brands" !important;
  font-weight: 400;
}

/* Keep form submit buttons aligned with site branding. */
.elementor-form button[type="submit"],
.elementor-form input[type="submit"],
.elementor-form .elementor-button {
  background-color: #ff6b22 !important;
  border-color: #ff6b22 !important;
  color: #fff !important;
}

.elementor-form button[type="submit"]:hover,
.elementor-form input[type="submit"]:hover,
.elementor-form .elementor-button:hover {
  background-color: #ee6730 !important;
  border-color: #ee6730 !important;
}

/* Improve spacing and alignment for careers application forms. */
.elementor-form#apply-form .elementor-form-fields-wrapper {
  row-gap: 14px;
}

.elementor-form#apply-form .elementor-field-group {
  margin-bottom: 0 !important;
}

.elementor-form#apply-form .elementor-field-type-upload {
  margin-top: 2px;
}

.elementor-form#apply-form .elementor-upload-field {
  display: block;
  width: 100%;
}

.elementor-form#apply-form .elementor-field-type-submit {
  margin-top: 6px;
}

.elementor-form#apply-form .elementor-button {
  width: 100%;
  max-width: 470px;
}

.elementor-form#apply-form .inovatiq-wayback-form-status {
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 767px) {
  .elementor-form#apply-form .elementor-button {
    max-width: 100%;
  }
}
