/**
 * Styles for the "iFox Banner Slider" widget's slides (BannerSliderWidget).
 * Loaded only when that widget is actually used on a page (see
 * ifoxslider.php's registration on 'elementor/frontend/before_register_styles').
 */

.ifox-banner-slide {
  position: relative;
  overflow: hidden;
}

.ifox-banner-slide__media {
  display: block;
  width: 100%;
  aspect-ratio: 14/5;
}

.ifox-banner-slide__image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.ifox-banner-slide__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: unset !important;
  max-width: 1400px !important;
  margin: auto !important;
}

.ifox-banner-slide__tag {
  color: #6b6b67;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

.ifox-banner-slide__title {
  color: #7f2c2e;
  font-family: "Brolimo", sans-serif !important;
  font-size: 72px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 78px;
  margin-bottom: 1rem;
  max-width: 65%;
}

.ifox-banner-slide__description {
  max-width: 40em;
  margin-bottom: 2.5rem;
  max-width: 65%;
}

.ifox-banner-slide__description p {
  color: #181818 !important;
}

.ifox-banner-slide__cta {
  display: inline-block;
  width: fit-content;
  transition: opacity 0.2s ease;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  --ce-btn-bg-color: #7f2c2e;
  background-color: var(--ce-btn-bg-color);
  border-style: none;
  padding: 15px 30px 15px 30px;
  color: #fff !important;
}

.ifox-banner-slide__cta:hover {
  opacity: 0.8;
}

@media (max-width: 1420px) {
  .elementor-widget
    .swiper-slide
    .ifox-banner-slide__content:not(.swiper-lazy-preloader) {
    padding: 8% 6% !important;
  }

  .ifox-banner-slide__media {
    aspect-ratio: 12 / 5;
  }

  .ifox-banner-slide__title {
    font-size: 52px;
    line-height: 58px;
  }
}

@media (max-width: 1280px) {
  .ifox-banner-slide__media {
    aspect-ratio: 10 / 5;
  }
}

@media (max-width: 1024px) {
  .ifox-banner-slide__title {
    font-size: 42px;
    line-height: 48px;
  }
}
@media (max-width: 767px) {
  .ifox-banner-slide__media {
    aspect-ratio: 4 / 5;
  }
}
