.construction {
  height: 100%;
  width: 100%;
  background-image: url("../images/bg-constr.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.construction-container {
  position: relative;
  z-index: 2;
  height: 100%;
}

.construction-container h2 {
  color: #fff;
}

.construction-container .developer-crumbs,
.construction-container .developer-crumbs .developer-crumbs--item .developer-crumbs--item-link {
  color: #fff;
}

.date-container {
  display: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.date-container[data-target] {
  display: block;
  opacity: 1;
}

.date-block__link img {
  object-fit: cover !important;
}

.date-tab {
  display: flex;
  margin-left: 36px;
  position: absolute;
  top: 90%;
}

.date-tab--item {
  font-family: 'M PLUS 1p Regular';
  cursor: pointer;
  font-size: 33px;
  line-height: 40px;
  font-weight: 400;
  color: #fff;
  opacity: .7;
  padding-bottom: 3px;
  margin-right: 45px;
}

.date-tab--item-active {
  opacity: 1;
  border-bottom: 2px solid #fff;
}

.date-container {
  padding-bottom: 100px;
  border-bottom: 1px solid #D2DDE5;
}

.date-block {
  display: flex;
  justify-content: space-between;
  padding-top: 110px;
  position: relative;
}

.date-block:not(:last-child) {
  border-left: 2px solid #A5888D;
}

.date-block:last-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 120px;
  width: 2px;
  background-color: #A5888D;
}

.date-block--info {
  width: calc(40%);
  padding-left: 43px;
  position: relative;
}

.date-block--pic {
  width: calc(60%);
  height: 495px;
  position: relative;
}

.date-block--pic-img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.date-block--info-titul {
  font-family: 'M PLUS 1p Regular';
  font-size: 18px;
  line-height: 35px;
  font-weight: 400;
  color: #41474B;
  border-bottom: 1px solid #4AB7AB;
  width: fit-content;
  padding: 5px 0;
  margin-bottom: 15px;
}

.date-block--info-text {
  font-family: 'M PLUS 1p Light';
  font-size: 21px;
  line-height: 33px;
  font-weight: 300;
  max-width: 287px;
  color: #41474B;
}

.date-block--info-ball {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 25px solid #A5888D;
  top: 0;
  left: -25px;
}


/* Слайдер */
.swiper-container {
  position: relative;
}

.swiper {
  width: 100%;
  height: 495px !important;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Миниатюры */
.swiper-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px 0;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
}

.swiper-thumb {
  width: 70px;
  height: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 3px;
  transition: border-color 0.3s ease;
}

.swiper-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-thumb.active {
  border-color: #A5888D;
}

/* Стрелки */
.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
  background: transparent;
  min-width: 28px;
  max-height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  display: none;
}


@media (max-width: 996px) {

  .construction-container.container {
    padding: 0;
  }

  .construction-container h2 {
    padding-left: 43px;
  }

  .date-block {
    display: block;
  }

  .date-block--info-text {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 27px;
  }

  .date-block--info {
    width: calc(100%);
  }

  .date-block--pic {
    width: calc(100%);
    height: 450px;
    padding-left: 43px;
  }

  .swiper-thumbs {
    gap: 8px;
    bottom: 10px;
  }

  .swiper-thumb {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
  }

  .swiper-thumb.active {
    background: #fff;
    border-color: transparent;
  }

  .swiper-thumb img {
    display: none;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .swiper-3-next,
  .swiper-3-prev,
  .swiper-2-next,
  .swiper-2-prev,
  .swiper-1-next,
  .swiper-1-prev {
    display: none !important;
  }
}

@media (max-width:720px) {

  .swiper-button-next,
  .swiper-button-prev,
  .date-block--info-ball {
    display: none !important;
  }

  .date-block:not(:last-child) {
    border-left: none;
  }

  .date-block--info,
  .date-block--pic {
    padding-left: 0;
  }

  .date-block--pic {
    height: 378px;
  }

  .swiper {
    height: 378px !important;
  }

  .date-block:last-child::before {
    display: none;
  }

}