
/* === Byron's: first-paint hero fix (safe overrides) === */

/* Ensure the hero slider and its nested Owl Carousel containers have a height at first paint */
.slider-wrap,
#home-slider,
#owl-main,
#owl-main .owl-stage-outer,
#owl-main .owl-stage,
#owl-main .owl-item,
#owl-main .item {
  min-height: 100vh; /* fill viewport to avoid the gap/white bar */
}

/* Make slide backgrounds cover the area immediately, before JS resizes things */
#owl-main img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop gracefully to container */
  max-width: none;   /* override theme's "max-width:none" side-effects */
}

/* When using the .fixed-height helper in the theme, keep things consistent */
.fixed-height,
.fixed-height .overlay {
  min-height: 100vh;
  height: auto !important;
}

/* Prevent unexpected extra space from sections right after the hero */
.section:first-of-type {
  margin-top: 0 !important;
}

/* If the overlay depends on parent height, ensure it stretches fully */
.overlay {
  height: 100%;
}
