/* Static archive safety layer: keep the recovered Elementor composition visible. */
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: #111; }
img { max-width: 100%; height: auto; }
.elementor-invisible { visibility: visible !important; opacity: 1 !important; transform: none !important; }
[data-aos] { opacity: 1 !important; transform: none !important; }
.swiper:not(.swiper-initialized) .swiper-wrapper { display: block; transform: none !important; }
.swiper:not(.swiper-initialized) .swiper-slide { display: none !important; }
.swiper:not(.swiper-initialized) .swiper-slide:first-child { display: flex !important; }
.swiper-pagination, .elementor-swiper-button { display: none !important; }
.elementor-button, a, button { cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #ff353d; outline-offset: 3px; }
.elementor-location-header { position: relative; z-index: 20; }
body.page .elementor[data-elementor-type="wp-page"] > .e-con:has(h1) {
  min-height: 360px !important;
  padding: 72px max(24px, 7vw) !important;
  justify-content: center !important;
  background-image: linear-gradient(90deg, rgba(17,17,17,.94), rgba(17,17,17,.55)), url('/assets/hirosolutionsinc.com/wp-content/uploads/2024/09/hm-slide1.webp') !important;
  background-position: center 38% !important;
  background-size: cover !important;
}
body.page .elementor[data-elementor-type="wp-page"] > .e-con:has(h1) .e-con[data-settings*="position"] {
  position: static !important;
}
body.page .elementor[data-elementor-type="wp-page"] > .e-con:has(h1) h1 {
  max-width: 820px;
  margin: 0 0 14px;
  font-size: clamp(42px, 5vw, 68px) !important;
  line-height: 1.02 !important;
}
body.page .elementor[data-elementor-type="wp-page"] > .e-con:has(h1) h2 {
  max-width: 760px;
}
/* The archived Elementor flip-box has no runtime animation. Show one clean,
   readable state instead of stacking its front and back over each other. */
body.page-id-59 .elementor-flip-box__front {
  display: none !important;
}
body.page-id-59 .elementor-flip-box__back {
  position: relative !important;
  transform: none !important;
}
body.page-id-59 .elementor-flip-box {
  height: auto !important;
  min-height: 420px;
}
/* WPForms styles were served dynamically by WordPress and are absent in a
   static archive. Keep the recovered application form visually usable. */
body.page-id-561 .wpforms-container {
  width: min(900px, 100%);
  margin: 0 auto;
  color: transparent;
}
body.page-id-561 .wpforms-error-noscript {
  display: none !important;
}
body.page-id-561 .wpforms-field {
  margin: 0 0 18px;
}
body.page-id-561 .wpforms-field-label,
body.page-id-561 .wpforms-field-description,
body.page-id-561 .wpforms-field-content,
body.page-id-561 .wpforms-field-content span {
  display: block;
  color: #f4f4f4 !important;
}
body.page-id-561 .wpforms-field-label {
  margin-bottom: 7px;
  font: 600 16px/1.35 Lora, serif;
}
body.page-id-561 .wpforms-form input[type="text"],
body.page-id-561 .wpforms-form input[type="email"],
body.page-id-561 .wpforms-form input[type="tel"],
body.page-id-561 .wpforms-form input[type="file"],
body.page-id-561 .wpforms-form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: #fff !important;
  background: #151515 !important;
  border: 1px solid #666 !important;
  border-radius: 4px !important;
}
body.page-id-561 .wpforms-form textarea {
  min-height: 130px;
  resize: vertical;
}
body.page-id-561 .wpforms-submit {
  min-height: 48px;
  padding: 12px 30px !important;
  color: #fff !important;
  background: #ef3338 !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 700;
  text-transform: uppercase;
}
body.blog .elementor-location-archive > .e-con:has(h1),
body.single-post .elementor-location-single > .e-con:has(h1) {
  min-height: 320px !important;
  padding: 64px max(24px, 7vw) !important;
  justify-content: center !important;
  background: linear-gradient(90deg, rgba(17,17,17,.94), rgba(17,17,17,.55)), url('/assets/hirosolutionsinc.com/wp-content/uploads/2024/09/hm-slide1.webp') center 38% / cover !important;
}
body.blog .elementor-widget-theme-post-featured-image {
  display: none !important;
}
@media (max-width: 767px) {
  body.page .elementor[data-elementor-type="wp-page"] > .e-con:has(h1) {
    min-height: 300px !important;
    padding: 52px 20px !important;
  }
  body.page .elementor[data-elementor-type="wp-page"] > .e-con:has(h1) h1 {
    font-size: clamp(36px, 12vw, 52px) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
