{% if module.enable %}
.rotating-banner__container {
  position: relative;
  /*background-image: url('https://20459808.fs1.hubspotusercontent-na1.net/hubfs/20459808/hero-bg-optimized.webp');*/
  background-color: rgba(122, 122, 130, 1);
  background-position: center;
  background-size: cover;
}

.rotating-banner__container:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgb(163,163,175, 0.4);
}

.rotating-banner__block {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/*! Flickity v2.3.0
https://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- flickity-button ---- */

.flickity-button {
  position: absolute;
  border: none;
  color: #fff;
  background: none;
}

.flickity-button:hover {
  color: #fff;
  cursor: pointer;
}

.flickity-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #19F;
}

.flickity-button:active {
  opacity: 0.6;
}

.flickity-button:disabled {
  opacity: 0.3;
  cursor: auto;
  /* prevent disabled button from capturing pointer up event. #716 */
  pointer-events: none;
}

.flickity-button-icon {
  fill: currentColor;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button, .swiper-button-next, .swiper-button-previous {
  top: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  /* vertically center */
  transform: translateY(-50%);
}

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 27%;
  top: 27%;
  width: 40%;
  height: 40%;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin: 0 8px;
  background: #cacaca;
  border-radius: 50%;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  background: #8A1E04;
}

/* Custom CSS */
.carousel-cell.swiper-slide {

  padding: 4rem 5rem;
  gap: 2rem;
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}

.carousel-cell-switched.swiper-slide {

  padding: 4rem 5rem;
  gap: 2rem;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row-reverse;
  overflow: hidden;
}

.carousel__image {
  width: 45%;
}

.carousel__content {
  width: 55%;
}

.carousel__content h2 {
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}

.carousel__content p {
  line-height: 1.4em;
  color: #fff;
}

.swiper-wrapper {
  max-width: 90%;
}

@media only screen and (max-width: 768px) {
  .carousel-cell,
  .carousel-cell-switched {
    flex-direction: column;
  }
  .carousel__image {
    width: 100%;
  }
  .carousel__content {
    width: 100%;
  }
}

@media only screen and (max-width: 426px) {
  .carousel-cell {
    padding: 2rem 4rem 3rem 4rem;
  }
  .carousel-cell-switched {
    padding: 2rem 4rem 3rem 4rem;
  }
  .carousel__content h2 {
    font-size: 20px;
  }
  .carousel__content p {
    font-size: 16px;
  }
}
{% if module.enable %}