.v-choice-carousel {
  display: block;
  overflow: hidden;
  background: rgb(var(--color-background));
  color: rgb(var(--color-text));
}

.v-choice-carousel__inner {
  display: block;
}

.v-choice-carousel__header-block {
  text-align: center;
}

.v-choice-carousel__header-block .block-heading,
.v-choice-carousel__header-block .block-richtext {
  margin-right: auto;
  margin-left: auto;
}

v-choice-carousel {
  display: block;
  position: relative;
}

.v-choice-carousel__viewport {
  position: relative;
  overflow: visible;
}

.v-choice-carousel__swiper {
  overflow: visible;
}

.v-choice-carousel__slide {
  width: min(var(--page-width), calc(100vw - 240px));
  height: auto;
  max-height: 860px;
}

.v-choice-carousel__card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(var(--color-text), 0.08);
}

.v-choice-carousel__link {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.v-choice-carousel__media,
.v-choice-carousel__media picture,
.v-choice-carousel__image,
.v-choice-carousel__placeholder,
.v-choice-carousel__media img,
.v-choice-carousel__media svg {
  display: block;
  width: 100%;
  height: 100%;
}

.v-choice-carousel__image,
.v-choice-carousel__placeholder,
.v-choice-carousel__media img,
.v-choice-carousel__media svg {
  object-fit: cover;
  object-position: center;
}

.v-choice-carousel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent 45%);
  opacity: 0;
}

.v-choice-carousel--show-overlay .v-choice-carousel__media::after {
  opacity: 1;
}

.v-choice-carousel__badge {
  position: absolute;
  z-index: 2;
  top: 42px;
  left: 50%;
  max-width: calc(100% - 48px);
  min-height: 30px;
  padding: 6px 24px;
  border-radius: 999px;
  color: rgb(var(--color-light-text));
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(40px);
  transform: translateX(-50%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v-choice-carousel__content {
  position: absolute;
  z-index: 2;
  right: 20%;
  bottom: 32px;
  left: 20%;
  color: rgb(var(--color-light-text));
  text-align: center;
}

.v-choice-carousel__slide-title,
.v-choice-carousel__slide-text,
.v-choice-carousel__signature {
  margin: 0;
}

.v-choice-carousel__slide-text {
  margin-top: 28px;
}

.v-choice-carousel__signature {
  margin-top: 20px;
}

.v-choice-carousel__arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    opacity 0.2s ease,
    background 0.2s ease;
}

.v-choice-carousel__arrow:hover {
  background: rgba(255, 255, 255, 0.58);
}

.v-choice-carousel__arrow svg {
  display: block;
}
.v-choice-carousel__arrow--next svg {
  margin-left: 2px;
}
.v-choice-carousel__arrow--prev svg {
  margin-right: 2px;
}
.v-choice-carousel__arrow--prev {
  left: calc((100vw - min(var(--page-width), calc(100vw - 240px))) / 2 + 44px);
}

.v-choice-carousel__arrow--prev svg {
  transform: rotate(180deg);
}

.v-choice-carousel__arrow--next {
  right: calc((100vw - min(var(--page-width), calc(100vw - 240px))) / 2 + 44px);
}

.v-choice-carousel .swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 1199px) {
  .v-choice-carousel__slide {
    width: min(var(--page-width), calc(100vw - 92px));
    min-height: 620px;
  }

  .v-choice-carousel__content {
    right: 8%;
    bottom: 34px;
    left: 8%;
  }

  .v-choice-carousel__arrow--prev {
    left: calc((100vw - min(var(--page-width), calc(100vw - 92px))) / 2 + 24px);
  }

  .v-choice-carousel__arrow--next {
    right: calc(
      (100vw - min(var(--page-width), calc(100vw - 92px))) / 2 + 24px
    );
  }
}

@media (max-width: 767px) {
  .v-choice-carousel__slide {
    width: calc(100vw - 60px);
    min-height: 520px;
  }

  .v-choice-carousel__card {
    border-radius: 3px;
  }
  
  .v-choice-carousel__slide-text {
    margin-top: 4.13vw;
  }

  .v-choice-carousel__badge {
    top: 7.6vw;
    min-height: 24px;
    padding: 6px 24px;
  }

  .v-choice-carousel__content {
    right: 6.4vw;
    bottom: 6.13vw;
    left: 6.4vw;
  }

  .v-choice-carousel__signature {
    margin-top: 3.33vw;
  }
  .v-choice-carousel__arrow {
    width: 8.13vw;
    height: 8.13vw;
    min-width: 34px;
    min-height: 34px;
  }

  .v-choice-carousel__arrow--prev {
    left: calc((100vw - (100vw - 60px)) / 2 + 20px);
  }

  .v-choice-carousel__arrow--next {
    right: calc((100vw - (100vw - 60px)) / 2 + 20px);
  }
}
