/* Home — critical: show/hide heroes only (no height hacks) */
.mst-home-hero-mobile {
  display: none !important;
}

.videoRemoveOnMob {
  display: block;
}

@media only screen and (max-width: 852px) {
  .mst-home-hero-mobile {
    display: block !important;
  }

  .videoRemoveOnMob,
  .sliderDesktop {
    display: none !important;
  }
}

@media only screen and (min-width: 853px) {
  .mst-home-hero-mobile {
    display: none !important;
  }

  .sliderDesktop {
    display: none !important;
  }
}

/* Desktop video hero */
.videoRemoveOnMob .single-hero-slider.slider-height-2 {
  position: relative;
  overflow: hidden;
}

.videoRemoveOnMob #heroVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.videoRemoveOnMob .overlay-dark-video {
  z-index: 1;
}

.videoRemoveOnMob .single-hero-slider .container.position-absolute {
  z-index: 2;
}

.header-area {
  position: relative;
  z-index: 1030;
}

/* Home: H1 on white; gray features bar must not overlap (Bootstrap .row.gy-5 → margin-top: -48px) */
body.mfx-page-home .features .row.gy-5 {
  margin-top: 0;
}

body.mfx-page-home .magniflex-primary-seo-heading {
  padding-bottom: 40px;
}

/* Home blog (iDream): dots under slides, no huge gap from dot-style-test negative bottom */
body.mfx-page-home .blog-area .dot-style-test.slick-slider {
  margin-bottom: 0;
}

body.mfx-page-home .blog-area .dot-style-test ul.slick-dots {
  position: relative;
  left: auto;
  transform: none;
  bottom: auto;
  margin-top: 1.25rem;
  margin-bottom: 0;
}

body.mfx-page-home .blog-area .slick-list {
  overflow: hidden;
}
