.hero-carousel {
  position: relative;
  /* margin-top: 18px; */
}

.hero-carousel__slide {
  vertical-align: middle;
}

.hero-carousel__slide-content {
  position: relative;
}

.hero-carousel__slide-content::before {
  display: block;
  content: '';
  width: 100%;
  padding-top: calc((13 / 64) * 100%);
  background-color: rgba(0, 0, 0, 0);
  position: relative;
  z-index: 50;
}

.hero-carousel__slide-content--filter::before {
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-carousel__slide-content--hight::before {
  padding-top: calc((21 / 64) * 100%);
}

.hero-carousel__slide-content--medium::before {
  padding-top: calc((19 / 96) * 100%);
}

@media screen and (max-width: 1024px) {
  .hero-carousel__slide-content::before {
    padding-top: calc((56 / 75) * 100%);
  }

  .hero-carousel__slide-content--hight::before {
    padding-top: calc((56 / 75) * 100%);
  }
}

.hero-carousel__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-carousel__media-img {
  width: 100%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  font-family: 'object-fit:cover';
  object-fit: cover;
}

.hero-carousel__media iframe {
  /* pointer-events: none; */
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  font-family: 'object-fit:cover';
  object-fit: cover;
}

.hero-carousel__media video {
  /* pointer-events: none; */
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  font-family: 'object-fit:cover';
  object-fit: cover;
}

@media screen and (min-width: 1025px) {
  .hero-carousel__media-img--mobile,
  .hero-carousel__media-video--mobile {
    display: none !important;
  }
}

@media screen and (max-width: 1024px) {
  .hero-carousel__media-img--desktop,
  .hero-carousel__media-video--desktop {
    display: none !important;
  }
}

.hero-carousel__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 100%;
  max-width: 131rem;
  padding: 0 60px;
  box-sizing: border-box;
  z-index: 60;
}

.hero-carousel__text.left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-carousel__text.left * {
  text-align: left;
}

.hero-carousel__text.center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-carousel__text.center * {
  text-align: center;
}

.hero-carousel__text.right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero-carousel__text.right * {
  text-align: right;
}

@media screen and (max-width: 1199px) {
  .hero-carousel__text {
    width: 80%;
  }
}

@media screen and (max-width: 767px) {
  .hero-carousel__text {
    padding: 0 10px !important;
  }
}

.hero-carousel__text a {
  text-decoration: none;
}

.hero-carousel__text > div {
  max-width: 840px;
}

.hero-carousel__text--large > div {
  max-width: 1160px;
}

.hero-carousel__text-top {
  font-family: Karbon;
  font-style: normal;
  font-weight: 400;
  font-size: calc(24px + (21 / 1920 * 100vw));
  line-height: 0.9;
  margin-bottom: 5px;
}

/* Condition chinoise */
html[lang="zh-CN"] .hero-carousel__text-top {
  line-height: 1.3;
}

.hero-carousel__text-top--bold {
  font-weight: bold;
}

.hero-carousel__text-top--bigger {
  font-size: 5.6rem;
}

@media screen and (max-width: 767px) {
  .hero-carousel__text-top {
    font-size: 24px;
  }

  .hero-carousel__text-top img {
    max-width: 75%;
  }
}

.hero-carousel__text-top:last-child {
  margin-bottom: 0;
}

.hero-carousel__text-middle {
  font-family: Karbon;
  font-style: normal;
  font-weight: bold;
  font-size: calc(38px + (47 / 1920 * 100vw));
  line-height: 0.9;
  margin-top: 5px;
  margin-bottom: 5px;
}

.hero-carousel__text-middle.hero-carousel__text-middle--light {
  font-weight: 400;
  font-size: calc(14px + (21 / 1920 * 100vw));
  margin-top: 0.2em;
}

.hero-carousel__text-middle.hero-carousel__text-middle--copyright::after {
  content: url('../../images/logo-sup.svg');
  transform: translateY(-1.7rem) scale(2);
  display: inline-block;
}

@media screen and (max-width: 767px) {
  .hero-carousel__text-middle {
    font-size: 38px;
  }

  .hero-carousel__text-middle.hero-carousel__text-middle--light {
    font-size: 24px;
  }

  .hero-carousel__text-middle img {
    max-width: 75%;
  }

  .hero-carousel__text-middle.hero-carousel__text-middle--copyright::after {
    transform: translateY(-0.5rem) scale(1.5);
  }
}

.hero-carousel__text-bottom {
  font-family: Karbon;
  font-style: normal;
  font-weight: 600;
  font-size: calc(12px + (14 / 1920 * 100vw));
  line-height: 1.2;
  margin-top: 3.5rem;
}

.hero-carousel__text-bottom a.link {
  font-size: 2.1rem;
}

.hero-carousel__text-bottom:first-child {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .hero-carousel__text-bottom {
    /* display: none; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    /* margin-top: 2rem; */
  }

  .hero-carousel__text-bottom a {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    opacity: 0 !important;
    /* font-size: calc(16px + (0 / 1920 * 100vw)); */
  }

  .hero-carousel__text-bottom img {
    max-width: 75%;
  }
}

.hero-carousel .slick-dots {
  bottom: 20px;
}

@media screen and (max-width: 767px) {
  .hero-carousel .slick-dots {
    bottom: 15px;
  }
}

.hero-carousel .slick-dots li {
  margin: 0 8.5px;
}

@media screen and (max-width: 767px) {
  .hero-carousel .slick-dots li {
    margin: 0 5px;
  }

  .hero-carousel .slick-dots li,
  .hero-carousel .slick-dots li button,
  .hero-carousel .slick-dots li button::before {
    width: 12px;
    height: 12px;
  }
}

.hero-carousel .slick-dots li button::before {
  content: '';
  border: 1px solid rgb(255, 255, 255);
  opacity: 1;
}

.hero-carousel .slick-dots li button:focus::before {
  outline: 2px solid #DB0717;
}

.hero-carousel .slick-dots li.slick-active button::before {
  opacity: 1;
  background: rgb(255, 255, 255);
}

.hero-carousel .slick-dots li:not(.slick-active):active button::before,
.hero-carousel .slick-dots li:not(.slick-active):hover button::before,
.hero-carousel .slick-dots li:not(.slick-active):focus button::before {
  background: rgb(255, 255, 255, 0.75);
}

.hero-carousel .slick-arrow {
  cursor: pointer;
  z-index: 100;
  font-size: 0;
  padding: 0;
  width: 32px;
  height: 31px;
  border: none;
  background: transparent;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.hero-carousel .slick-arrow::before {
  display: none;
}

.hero-carousel .slick-arrow.slick-prev {
  left: calc(12px + (28 / 1920 * 100vw));
}

.hero-carousel .slick-arrow.slick-next {
  right: calc(12px + (28 / 1920 * 100vw));
}

@media screen and (max-width: 1024px) {
  .hero-carousel .slick-arrow {
    transform: scale(0.75);
  }
}

@media screen and (max-width: 767px) {
  .hero-carousel .slick-arrow {
    transform: scale(0.5);
  }

  .hero-carousel .slick-arrow.slick-prev {
    left: 12px;
  }

  .hero-carousel .slick-arrow.slick-next {
    right: 12px;
  }
}
