/* 
Theme Name: InfoStream Template
Theme URI: https://github.com/elementor/hello-theme/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
*/


.short-gallery .elementor-image-carousel-wrapper {
    max-height: 350px;
    height: 350px;
}

.short-gallery .elementor-image-carousel .swiper-slide {
    height: 350px !important;
}



/* Max height for the whole carousel */
.image-slider .elementor-image-carousel-wrapper {
    max-height: 500px;
    overflow: hidden;
}

/* Don't touch swiper-wrapper layout */
.image-slider .elementor-image-carousel .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
}

/* Each slide maintains fixed width from Elementor */
.image-slider .elementor-image-carousel .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px !important; /* match wrapper max-height */
}

/* Slide-inner fills height and centers content */
.image-slider .elementor-image-carousel .swiper-slide-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

/* Image fits full height, width scales automatically */
.image-slider .elementor-image-carousel .swiper-slide-image {
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}
@media (min-width: 1900px) {
  .image-slider .elementor-image-carousel-wrapper {
      max-height: 600px;
      height: 600px;
  }

  .image-slider .elementor-image-carousel .swiper-slide {
      height: 600px !important;
  }
}
@media (min-width: 2000px) {
  .image-slider .elementor-image-carousel-wrapper {
      max-height: 650px;
      height: 650px;
  }

  .image-slider .elementor-image-carousel .swiper-slide {
      height: 650px !important;
  }
}
@media (min-width: 2350px) {
  .image-slider .elementor-image-carousel-wrapper {
      max-height: 700px;
      height: 700px;
  }

  .image-slider .elementor-image-carousel .swiper-slide {
      height: 700px !important;
  }
}
@media (min-width: 2560px) {
  .image-slider .elementor-image-carousel-wrapper {
      max-height: 750px;
      height: 750px;
  }

  .image-slider .elementor-image-carousel .swiper-slide {
      height: 750px !important;
  }
}
@media (max-width: 768px) {
  .image-slider .elementor-image-carousel-wrapper {
      max-height: 400px;
      height: 400px;
  }

  .image-slider .elementor-image-carousel .swiper-slide {
      height: 400px !important;
  }
}
