/* ─── Home Carousel ─────────────────────────────────────────────────────────── */

.iks-home-carousel {
  width: 100%;
  max-width: 1140px;
  margin: 100px auto;
}

/* Slides */

.iks-home-carousel__slides {
  position: relative;
}

.iks-home-carousel__slide {
  display: flex;
  align-items: stretch;
  gap: 16px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.iks-home-carousel__slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* Left: image area */

.iks-home-carousel__left {
  flex: 0 0 auto;
  width: 100%;
  max-width: 482px;
  height: 455px;
}

.iks-home-carousel__image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.iks-home-carousel__main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0 100px 57px 0;
}

.iks-home-carousel__overlay-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 225px;
  height: 235px;
  background-image: url("../images/home-carousel-bg.png");
  background-size: 225px 235px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Right: text area */

.iks-home-carousel__right {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 66px 50px 70px;
  position: relative;
}

.iks-home-carousel-right-bg-left {
  position: absolute;
  top: 50px;
  left: 0;
  width: 42px;
  height: 42px;
  background-image: url("../images/home-carousel-bg-1.svg");
  background-size: 32px 32px;
  background-position: center;
  background-repeat: no-repeat;
}

.iks-home-carousel-right-bg-right {
  position: absolute;
  top: 50px;
  right: 0;
  width: 48px;
  height: 48px;
  background-image: url("../images/home-carousel-bg-2.svg");
  background-size: 48px 48px;
  background-position: center;
  background-repeat: no-repeat;
}

.iks-home-carousel__title1 {
  font-family: "ImperialScript";
  font-weight: 400;
  font-size: 82px;
  line-height: 41px;
}

.iks-home-carousel__title2 {
  font-weight: 800;
  font-size: 72px;
  line-height: 72px;
  text-transform: uppercase;
}

.iks-home-carousel__content {
  font-weight: 500;
  font-size: 16px;
}

/* Footer */

.iks-home-carousel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  height: 47px;
}

/* Dots */

.iks-home-carousel__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.iks-home-carousel__dot {
  display: block;
  width: 12px;
  height: 47px;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
  background-color: transparent;
  background-image: url("../images/icon-carousel-item.svg");
  background-position-y: center;
  background-repeat: no-repeat;
}

.iks-home-carousel__dot.dot--first {
  background-image: url("../images/icon-carousel-start.svg");
  background-position-y: bottom;
}

.iks-home-carousel__dot.dot--last {
  background-image: url("../images/icon-carousel-end.svg");
  background-position-y: top;
}

.iks-home-carousel__dot.dot--first.dot--active {
  background-image: url("../images/icon-carousel-start-active.svg");
}

.iks-home-carousel__dot.dot--active {
  background-image: url("../images/icon-carousel-item-active.svg");
}

.iks-home-carousel__dot.dot--last.dot--active {
  background-image: url("../images/icon-carousel-end-active.svg");
}

/* Arrows */

.iks-home-carousel__arrows {
  display: flex;
  align-items: center;
  gap: 16px;
}

.iks-home-carousel__arrow {
  height: 40px;
  width: 40px;
  cursor: pointer;
  transition: opacity 0.2s;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
}

.iks-home-carousel__arrow.arrow--prev {
  background-image: url("../images/icon-arrow-left.svg");
}

.iks-home-carousel__arrow.arrow--next {
  background-image: url("../images/icon-arrow-right.svg");
}

.iks-home-carousel__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (max-width: 1200px) {
  .iks-home-carousel__slide {
    flex-direction: column;
    align-items: center;
  }

  .iks-home-carousel__right {
    max-width: 482px;
  }
}

@media (max-width: 700px) {
  .iks-home-carousel__right {
    padding: 30px 0;
  }

  .iks-home-carousel__overlay-image {
    display: none;
  }

  .iks-home-carousel__main-image {
    padding: 0;
  }

  .iks-home-carousel-right-bg-left,
  .iks-home-carousel-right-bg-right {
    display: none;
  }

  .iks-home-carousel__title2 {
    font-size: 48px;
  }
}
