/* IH performance V1: reserve image space without changing its aspect ratio. */
img[width][height] {
  height: auto;
}

/* The existing Owl carousel hides the whole hero before its JS initializes.
   Render the same first record immediately; Owl retains its normal controls,
   ordering, auto-height, ten-second autoplay and subsequent slide behavior. */
.banner-slider.owl-carousel:not(.owl-loaded) {
  display: block;
}
.banner-slider.owl-carousel:not(.owl-loaded) > .banner-item:not(:first-child) {
  display: none;
}
.banner-slider.owl-carousel:not(.owl-loaded) > .banner-item:first-child {
  display: block;
}

/* Do not hide the initial hero image for its former delayed entrance effect. */
.banner-slider .ih-perf-first-slide .banner-img-two img {
  -webkit-animation: none !important;
  animation: none !important;
}

/* At this breakpoint the existing carousel buttons occupy normal flow. */
@media only screen and (max-width: 991px) {
  .banner-slider.owl-carousel:not(.owl-loaded)::after {
    content: "";
    display: block;
    height: 40px;
  }
}
