.hero-carousel-slider.swiper {
  width: 100vw;
  max-width: 100vw;
  top: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.hero-carousel-item a {
  height: 700px;
  display: block;
  position: relative;
}

.hero-carousel-item .img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.hero-carousel-item a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(1, 4, 20, 0) 42%, rgba(1, 4, 20, 0.86) 63.5%, #010414 100%);
  pointer-events: none;
  z-index: var(--z-index-z-dropdown);
}

.hero-carousel-item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel-item h1 {
  margin: var(--space-space-lg) 0;
  color: var(--color-foreground-foreground-on-active);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-right: 56px;
}

.hero-carousel-item p {
  color: var(--color-foreground-foreground-on-active);
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  padding-right: 56px;
}

.hero-carousel-text {
  z-index: var(--z-index-z-dropdown);
  bottom: 160px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}

.container.hero-carousel-text {
  padding-right: 56px;
}

.carousel-thumb-slider.swiper {
  position: absolute;
  bottom: 30px;
  width: 100%;
}

.hero-carousel-wrap {
  position: relative;
  margin-bottom: var(--space-space-3xl);
}

.hero-carousel-wrap .carousel-thumb {
  height: 97px;
  border-radius: var(--border-radius-border-border-radius-md);
  overflow: hidden;
  border: var(--border-width-border-border-width-medium) solid transparent;
  cursor: pointer;
}

.hero-carousel-wrap .carousel-thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.hero-carousel-wrap .carousel-thumb-items .swiper-slide {
  border-radius: var(--border-radius-border-border-radius-md);
  overflow: hidden;
  padding: 10px var(--space-space-md);
  width: 196px;
}

.hero-carousel-wrap .swiper-slide-thumb-active .carousel-thumb {
  border-color: var(--color-color-neutral-neutral-0);
  box-shadow: 0px 0px 10px 0px var(--color-color-neutral-neutral-0);
}

.play-pause-slider {
  position: absolute;
  bottom: 160px;
  width: 100%;
  text-align: right;
}

.pause-svg {
  -webkit-mask-image: url('../../src/assets/icons/pause.svg');
  mask-image: url('../../src/assets/icons/pause.svg');
}

.play-svg {
  -webkit-mask-image: url('../../src/assets/icons/play.svg');
  mask-image: url('../../src/assets/icons/play.svg');
}

.swiper-toggle-play > div {
  width: 16px;
  height: 16px;
  display: inline-flex;
  background-color: var(--color-foreground-foreground-on-inverse-active);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.swiper-toggle-play {
  border-radius: var(--border-radius-border-border-radius-rounded);
  width: 32px;
  height: 32px;
  background-color: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}

.autoplay-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 32px;
  height: 32px;
  z-index: 1;
}

.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  width: 100%;
  height: 100%;
  stroke-width: 1px;
  stroke: var(--color-border-width-border-width-on-inverse);
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

@media only screen and (max-width: 1280px) {
  .container.hero-carousel-text {
    padding-right: 120px;
  }
  .autoplay-progress {
    right: 64px;
  }
}
@media only screen and (min-width: 961px) {
  .col-lg-8 .hero-carousel-text {
    padding-left: var(--space-space-lg);
  }
  .col-lg-8 .play-pause-slider {
    padding-right: var(--space-space-lg);
  }
  .col-lg-8 .play-pause-slider > div {
    padding-right: 0;
  }
  .col-lg-8 .autoplay-progress {
    right: 0;
  }
  .col-lg-8 .hero-carousel-slider.swiper {
    width: 100%;
    left: 0;
    transform: none;
    margin: 0;
    right: 0;
  }
}
@media only screen and (max-width: 960px) {
  .carousel-thumb-slider.swiper {
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 22px;
  }

  .hero-carousel-wrap .carousel-thumb{
    height: 79px;
  }

  .hero-carousel-item a {
    height: 422px;
  }

  .hero-carousel-item .img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: 25%;
    height: 53%;
  }

  .hero-carousel-item a:before{
    background: linear-gradient(180deg, rgba(2, 19, 35, 0), rgba(2, 19, 35, 0) 35%, rgb(2, 19, 35) 51%, rgb(2, 19, 35));
  }

  .hero-carousel-wrap .carousel-thumb-items .swiper-slide {
    width: 156px;
    padding: 10px var(--space-space-sm);
  }
  .hero-carousel-text, .play-pause-slider {
    bottom: 133px;
  }
  .container.hero-carousel-text {
    padding-right: 80px;
  }
  .hero-carousel-item h1 {
    margin: var(--space-space-sm) 0;
    padding-right: var(--space-space-4xl);
  }
  .hero-carousel-item p {
    padding-right: var(--space-space-4xl);
  }
  .autoplay-progress {
    right: 32px;
  }
}

@media only screen and (max-width: 767px) {
  .carousel-thumb-slider.swiper {
    padding-left: 15px;
  }
  .container.hero-carousel-text {
    padding-right: 72px;
  }
  .hero-carousel-item h1 {
    font-size: var(--typography-font-size-heading3-sm);
    line-height: var(--typography-line-height-heading3-sm);
  }
  .autoplay-progress {
    right: 24px;
  }
}

@media only screen and (max-width: 640px) {
  .carousel-thumb-slider.swiper {
    padding-left: var(--space-space-sm);
    padding-right: 47px;
  }

  .hero-carousel-wrap .carousel-thumb-items .swiper-slide {
    padding: var(--space-space-sm);
  }
  
  .container.hero-carousel-text {
    padding-right: var(--space-space-5xl);
  }
  .autoplay-progress {
    right: 16px;
  }
}
