.infrastructure__slider {
  position: relative;
}
.infrastructure__slider .pagination-dots {
  display: none;
}
.infrastructure__slider .swiper-prev, .infrastructure__slider .swiper-next {
  background-color: var(--primary-main);
  color: #fff;
  position: absolute;
  z-index: 2;
  top: 50%;
}
.infrastructure__slider .swiper-prev {
  left: -24px;
  -webkit-transform: translateX(-100%) translateY(-50%);
      -ms-transform: translateX(-100%) translateY(-50%);
          transform: translateX(-100%) translateY(-50%);
}
.infrastructure__slider .swiper-next {
  right: -24px;
  -webkit-transform: translateX(100%) translateY(-50%);
      -ms-transform: translateX(100%) translateY(-50%);
          transform: translateX(100%) translateY(-50%);
}
.infrastructure .infrastructure-card__decor {
  width: 160%;
}

@media (max-width: 1560px) {
  .infrastructure__slider .swiper-next {
    right: 10px;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .infrastructure__slider .swiper-prev {
    left: 10px;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
  }
}
@media (max-width: 1024px) {
  .infrastructure__slider .swiper-next, .infrastructure__slider .swiper-prev {
    display: none;
  }
  .infrastructure__slider .swiper-slide-active .infrastructure-card__img {
    opacity: 1;
  }
  .infrastructure__slider .swiper-slide-active .infrastructure-card__content {
    color: var(--text-light);
    bottom: var(--padding-box);
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
  }
  .infrastructure__slider .swiper-slide-active .infrastructure-card__inner:before {
    opacity: 1;
  }
}
@media (max-width: 600px) {
  .infrastructure__slider {
    margin: 0 calc(var(--padding) * -1);
  }
  .infrastructure__slider .swiper {
    padding: 0 var(--padding);
  }
  .infrastructure__slider .pagination-dots {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}