.testimonials-slider {
  width: 100%;
  overflow: hidden;
  background-color: $gray-bluish;
  padding: 48px $gutter;

  @include sm {
    padding: 0 $gutter-mobile 24px;
  }

  &--background-white {
    background-color: $white;
  }

  &__slider {
    position: relative;
    max-width: $projects-detail-width;
    margin: 0 auto;
    padding: 0 32px;
  }

  &__nav-prev,
  &__nav-next {
    width: 51px;
    height: 51px;
    border-radius: 100%;
    border: 1px solid $gray-bluish;
    position: absolute;
    top: 250px;
    cursor: pointer;
    z-index: 1;
    background-color: $white;

    &::after {
      content: " ";
      width: 14px;
      height: 14px;
      display: block;
      border-right: 2px solid;
      border-top: 2px solid;
      border-radius: 2px;
      border-color: $primary-color;
      position: absolute;
      top: 50%;

      @include mdx {
        width: 12px;
        height: 12px;
      }
    }

    &.swiper-button-disabled {
      opacity: 0.5;
    }
  }

  &__nav-prev {
    left: 0;

    @include sm {
      display: none;
    }

    &::after {
      left: calc(50% + 2px);
      transform: translate(-50%, -50%) rotate(225deg);
    }
  }

  &__nav-next {
    right: 0;

    @include sm {
      display: none;
    }

    &::after {
      left: calc(50% - 2px);
      transform: translate(-50%, -50%) rotate(45deg);
    }
  }

  &__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
  }

  .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: $gray-border;
    margin-right: 6px;
    opacity: 1;

    &.swiper-pagination-bullet-active {
      background-color: $primary-color;
    }

    &:last-child {
      margin-right: 0;
    }
  }
}
