/* ============================================================
   Wrapper / Section
============================================================ */
.ss-carousel__wrapper {
  background: #f0f5f7;
}

.ss-carousel__wrapper h2 {
  max-width: 500px;
  margin: 0 auto;
}


/* ============================================================
   Carousel Layout (Slick)
============================================================ */

.ss-carousel h2 {
  z-index: 3;
  padding-left: 25px;
  padding-right: 25px;
}

.ss-carousel .slick-track {
  display: flex;
  align-items: center;
  gap: 32px;
}


/* ============================================================
   Slides
============================================================ */
.carousel-slide {
  min-width: 1200px;
}

.carousel-slide .testimonial {
  display: flex;
  flex-wrap: wrap;
}

.carousel-slide .bullet-title {
  width: 100%;
}

.carousel-slide .author-info img {
  width: 44px;
  border-radius: 50%;
}

.carousel-slide .testimonial hr {
  margin: 30px 0;
  opacity: 12%;
  border-color: black;
  flex: 0 0 100%;
}

.carousel-slide:has(.white-border) .testimonial hr,
.carousel-slide:has(.black-bg--white-borders) .testimonial hr {
  border: 1px solid #fff;
  opacity: 50%;
}


/* ============================================================
   Card
============================================================ */
.card-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  opacity: 0.5;
  transform: scale(0.808);
  transform-origin: 100% 50%;
  transition: opacity 0.5s, transform 0.5s;
  max-width: 1200px;
  min-height: 606px;
  width: 100%
}

.slick-current .card-content {
  opacity: 1;
  transform: none;
}

.slick-current~div .carousel-slide .card-content {
  transform-origin: 0 50%;
}

/* Overlay used for dimming inactive cards */
.card-content::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.slick-current .card-content::after {
  opacity: 0;
}


/* ============================================================
   Media
============================================================ */
.carousel-slide .media-container {
  width: 100%;
  height: 100%;
  max-width: 500px;
  min-height: 542px;
}

.media-container img,
.carousel-slide .media-container img {
  width: 100%;
  min-height: 542px;
  object-fit: cover;
  border-radius: 12px;
}


/* ============================================================
   Text Content
============================================================ */
.text-container {
  width: 100%;
  max-width: 610px;
  width: 100%;
  max-width: 610px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* ============================================================
   Key Benefits List
============================================================ */
.key-benefits {
  list-style: none;
  padding-left: 0;
}

.key-benefits li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 7px;
}

.key-benefits li::before {
  content: "\00a0\00a0\00a0\00a0";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 18px;
  color: #36bdb5;
  background: url("/modules/contrib/egnyte_site_builder/images/teal-tick.svg") 50% 50% / 100% 100% no-repeat;
}


/* ============================================================
   Author / Attribution
============================================================ */
.author-info {
  display: flex;
  align-items: center;
}

.carousel-slide .author-info img {
  width: 44px;
  border-radius: 50%;
}

.author-title {
  margin-left: 10px;
}

.author-title strong {
  font-size: 20px;
  font-family: "Metric-semibold";
}

.author-title p {
  font-size: 16px;
}

.author_details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 100%;
}


/* ============================================================
   CTA
============================================================ */
.case_study_cta {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 206px;
  height: 38px;

  font-size: 16px;
  font-family: "Metric-semibold";
  color: #000;

  border: 1px solid #000;
  border-radius: 8px;
}

.case_study_cta::after {
  content: url("/modules/contrib/egnyte_site_builder/images/arrow-up-right.svg");
  display: inline-block;
  height: 20px;
  margin-left: 2px;
}

a.case_study_cta:hover {
  color: #000;
  border-width: 2px;
}


/* ============================================================
   Dots
============================================================ */
.promo-stories__dots {
  display: none !important;
  justify-content: center;
  list-style: none;
  margin-top: 20px;
}

.promo-stories__dots li {
  position: relative;
  width: 10px;
  height: 10px;
  margin: 0 3px;
  background-color: #dcdee3;
  border-radius: 50%;
  cursor: pointer;
}

.promo-stories__dots li::before {
  content: "";
  position: absolute;
  inset: -3px;
}

.promo-stories__dots li.slick-active {
  background-color: #32bdb5 !important;
}



/* ============================================================
   Arrows
============================================================ */
.promo-stories__arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #000;
  color: #fff !important;
  border: 0;
  border-radius: 50%;
  outline: 0;
  transform: translateY(-50%);
  transition: background-color 0.25s, color 0.25s;
}

.promo-stories__arrow--next {
  right: calc((50% - 622px));
}

.promo-stories__arrow--prev {
  left: calc((50% - 622px));
}


/* ============================================================
   Responsive
============================================================ */



@media (max-width: 1100px) and (min-width: 991px) {
  .author_details {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 1283px) and (min-width: 1024px) {
  .carousel-slide {
    min-width: 991px;
    max-width: 991px;
  }

  .promo-stories__arrow--next {
    right: calc((50% - 510px));
  }

  .promo-stories__arrow--prev {
    left: calc((50% - 510px));
  }
}

@media (max-width: 1283px) {
  .ss-carousel {
    padding: 100px 0;
    gap: 40px;
  }
}

@media (max-width: 1024px) and (min-width:991px) {
  .carousel-slide {
    min-width: 768px;
    max-width: 768px;
  }

  .promo-stories__arrow--next {
    right: calc((50% - 403px));
  }

  .promo-stories__arrow--prev {
    left: calc((50% - 403px));
  }
}

@media (max-width: 991px) {
  .card-content {
    flex-direction: column;
    max-width: 100%;
    margin: auto;
    transform-origin: center;
    transform: scale(1) !important;
  }

  .carousel-slide {
    min-width: 100%;
  }

  .carousel-slide .media-container {
    max-width: 100%;
    min-height: initial;
  }

  .media-container img,
  .carousel-slide .media-container img {
    min-height: initial;
    object-fit: cover;
  }

  .promo-stories__dots {
    display: flex !important;
  }

  .ss-carousel .margin-bottom-50 {
    margin-bottom: 25px !important;
  }

  .ss-carousel .slick-track {
    align-items: initial !important;
  }

  .ss-carousel .slick-slide {
    float: none !important;
    height: initial !important;
    min-height: initial !important;
  }

}

@media (max-width: 768px) {
  .author_details {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .case_study_cta {
    max-width: 100%;
    width: 100% !important;
  }

  .carousel-slide {
    padding: 0;
  }
}


@media (max-width: 500px) {
  .ss-carousel.padding-top-100.padding-bottom-100 {
    padding: 40px 24px;
  }

  .ss-carousel .slick-track {
    gap: initial;
  }

  .ss-carousel .banner_cta-container,
  .ss-carousel .banner_cta-container .button {
    width: 100%;
    max-width: 100%;
  }
}