.carousel-widget {
  position: relative;
  height: 100%;
}
.carousel-widget--with-shadow--left:before {
  content: "";
  width: 30%;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #f9f7ff 16.74%, rgba(249, 247, 255, 0) 114.02%);
  z-index: 2;
}
@media (max-width: 767.98px) {
  .carousel-widget--with-shadow--left:before {
    width: 10%;
  }
}
.carousel-widget--with-shadow--right:after {
  content: "";
  width: 30%;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(272.66deg, #f9f7ff 16.74%, rgba(249, 247, 255, 0) 114.02%);
  z-index: 2;
}
@media (max-width: 767.98px) {
  .carousel-widget--with-shadow--right:after {
    width: 10%;
  }
}
@media (max-width: 767.98px) {
  .carousel-widget--with-shadow--mobile-hidden:before, .carousel-widget--with-shadow--mobile-hidden:after {
    width: 0 !important;
  }
}
.carousel-widget .item, .carousel-widget .item--video, .carousel-widget .item--parts {
  border-radius: var(--border-radius-cards);
  background-color: white;
  transition: var(--transition-ms);
  overflow: hidden;
}
.carousel-widget .item--parts {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.carousel-widget .item--parts .image-wrapper {
  flex-shrink: 0;
  text-align: right;
}
.carousel-widget .item--video {
  --padding: 1.5em;
}
@media (max-width: 991.98px) {
  .carousel-widget .item--video {
    --padding: 1em;
  }
}
.carousel-widget .item--video .image-wrapper {
  position: relative;
}
.carousel-widget .item--video .image-wrapper::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.1), transparent, transparent, transparent, transparent, transparent);
}
.carousel-widget .item--video .image-wrapper .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-widget .item--video .image-wrapper .icon-play {
  position: absolute;
  top: var(--padding);
  right: var(--padding);
}
.carousel-widget .item--video .user-wrapper {
  padding: var(--padding);
  width: 75%;
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
}
@media (max-width: 991.98px) {
  .carousel-widget .item--video .user-wrapper {
    width: 100%;
  }
}
.carousel-widget .swiper {
  width: 100%;
  height: 100%;
}
.carousel-widget .swiper .swiper-slide {
  height: auto;
}
.carousel-widget .swiper > .swiper-wrapper {
  transition-timing-function: linear;
}
.carousel-widget .swiper .swiper-pagination-bullets {
  --swiper-pagination-bullet-inactive-opacity: 1;
}
