.slider__control-next > svg {
  transform: rotate(-180deg);
}

.slider__slideWrapper {
  overflow: hidden;
  position: absolute;
  width: 580px;
  background: #ffffff;
  border-radius: 20px;
  top: 0;
  bottom: 0;
  transition-property: left, top, height;
  transition-duration: 0.3s;
}

.slider__content {
  position: relative;
  height: 420px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: row;
  cursor: move;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

.slider__slide {
  height: 100%;
  padding: 30px;
  width: 100%;
  padding-right: 25px;
  box-sizing: border-box;
  transform: translateY(30px);
  transition-property: transform;
  transition-duration: 0.3s;
}

.active .slider__slide {
  transform: none;
  border-radius: 10px;
  background-size: cover;
}

.active {
  border: 3px solid #fff;
}

.slider__slideContent {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.slider__persone {
  width: 150px;
  height: 150px;
  box-sizing: border-box;
}

.slider__img {
  margin-bottom: 15px;
}
.slider__persone-name {
  color: var(--blc, #000);
  font-family: "Open Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.slider__persone-days {
  color: #b7b7b7;
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-block: 4px;
}
.slider__persone-sum {
  color: var(--blc, #000);
  font-family: "Open Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.slider__personeInfo {
  font-weight: 800;
  font-size: 16px;
  line-height: 26px;
}

.slider__p {
  color: var(--blc, #000);
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%; /* 28.8px */
}

.slider__p-last {
  margin-bottom: 0;
}

@keyframes card-out {
  0% {
    z-index: 11;
    transform: translateX(0);
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }

  99% {
    z-index: 11;
  }

  100% {
    z-index: -1;
    transform: translateX(-100%);
    opacity: 0;
  }
}

.slider__slideWrapper.card--out {
  animation: card-out 0.4s ease-out;
  z-index: -1;
  transform: translateX(-100%);
  opacity: 0;
}

@keyframes card-in {
  0% {
    z-index: 11;
    transform: translateX(-100%);
    opacity: 0;
  }

  50% {
    opacity: 0.65;
  }

  100% {
    z-index: 11;
    transform: translateX(0);
    opacity: 1;
  }
}

.slider__slideWrapper.card--in {
  animation: card-in 0.4s ease-out;
  z-index: 11;
  transform: translateX(0);
  opacity: 1;
}

.slider__slideWrapper.active {
  z-index: 10;
}

.slider__controls {
  display: flex;
  justify-content: flex-end;
  column-gap: 34px;
  margin-top: 30px;
  margin-right: 70px;
}

.slider__control {
  cursor: pointer;
  border: none;
  background-color: transparent;
  outline-style: none;
}

.slider__control.disabled {
  opacity: 0.2;
  cursor: auto;
}

.mark {
  display: block;
  position: absolute;
  top: 45px;
  padding: 3px 3px;
  border-radius: 3px;
  color: #000;
  margin-left: -10px;
}

@media (max-width: 1200px) {
  .storiesSection-sliderWrapper {
    width: 60%;
    margin: 0 auto;
  }
}

@media (max-width: 991px) {
  .storiesSection-sliderWrapper {
    width: 85%;
  }
}

@media (max-width: 767px) {
  .storiesSection-sliderWrapper {
    width: 100%;
  }

  .storiesSection-sliderWrapper {
    margin-bottom: 30px;
  }

  .slider__slideWrapper {
    width: calc(100% - 40px);
  }

  .slider__p {
    font-size: 14px;
    line-height: 19px;
  }

  .slider__persone {
    box-sizing: border-box;
    width: 100px;
    padding-right: 25px;
  }

  .slider__slideWrapper {
    width: 100% !important;
  }

  .slider__personeInfo {
    margin-left: 15px;
  }

  .slider__p {
    font-size: 14px !important;
    line-height: 26px !important;
  }

  .slider__img {
    margin-right: 15px;
    margin-bottom: 20px;
  }
  .slider__testimonial p{
    font-size: 14px !important;
  }
  .slider__slide {
    padding: 20px;
  }

  .slider__content {
    height: 390px;
  }

  .slider__controls {
    max-width: 100%;
    width: calc(100% - 40px);
  }

  .slider__control svg {
    width: 28px;
    height: 18px;
  }

  .slider {
    margin-bottom: 0;
  }

  .slider__slideContent {
    flex-direction: column;
  }

  .slider__persone {
    display: flex;
    height: 100%;
    width: 100%;
  }


}

@media (max-width: 680px) {
  .slider__content,
  .slider__slideWrapper {
    height: 475px;
  }
}
