.reviews {
  margin: 100px 0 98px;
  overflow: hidden;

  @include tablet {
    margin: 77px 0 92px;
  }

  &__title {
    margin: 18px 0 21px;

    @include tablet {
      margin: 21px 0 23px;
    }
  }

  &__slider {
    & .swiper {
      overflow: visible;
    }
  }

  &__slide {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px 40px;
    background-color: $white;

    @include laptop {
      padding: 19px;
    }

    &-video {
      height: 205px;
      margin: 0 0 15px;
      overflow: hidden;
      border-radius: 10px 40px;
      background-color: $blue;

      @include laptop {
        height: 160px;
      }

      @include tablet {
        height: 136px;
      }

      & > * {
        display: block;
        width: 100%;
        height: 100%;
      }
    }

    &-name {
      margin: 0 0 8px;
      font-weight: 600;
      font-size: 26px;
      line-height: 146%;
      color: $darkgrey;

      @include tablet {
        font-size: 20px;
      }
    }

    &-text {
      font-style: italic;
      font-weight: 400;
      font-size: 17px;
      line-height: 146%;
      color: $grey;

      @include tablet {
        font-size: 14px;
      }
    }
  }

  &__slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 61px 0 0;
  }
}
