.logos-slider-2 {
  position: relative;
  margin: 75px 0 75px;
  padding: 0 $half-gutter;

  @include sm {
    margin: 30px auto;
  }

  &__divider {
    display: none;
    width: 1px;
    height: 0px;
    background-color: $gray-border;
    position: absolute;
    top: -182px;
    left: calc(50% - 1px);
  }

  &__wrapper {
    position: relative;
    width: 100%;
    max-width: $max-width;
    margin: auto;
  }

  &__header {
    margin-bottom: 40px;

    @include sm {
      margin-bottom: 32px;
    }

    .title-block {
      margin: 0;

      &__wrapper {
        margin: 0;
      }

      p {
        margin: 0;
      }
    }

    h2 {
      margin: 0;
      color: $primary-color;
    }
  }

  &__logos {
    padding-bottom: 56px;
  }

  .swiper-wrapper {
    width: 100%;
  }

  .swiper-slide {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 32px;
    padding: 0 32px;

    @include mdx {
      padding: 0 72px;
    }

    @include md {
      padding: 0 100px;
    }

    @include sm {
      row-gap: 24px;
    }
  }

  .swiper__navigation {
    margin-top: 24px;
  }

  &__logos--desktop {
    @include sm {
      display: none;
    }
  }

  &__logos--mobile {
    display: none;

    @include sm {
      display: block;
    }
  }

  &__logos-row {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    column-gap: 32px;
  }

  &__logo {
    max-width: 164px;
    width: 100%;
    text-align: center;

    @include sm {
      max-width: 200px;
    }

    img {
      object-fit: contain;
      height: 100%;
    }
  }

  &__logo-image {
    height: 87.5px;
    width: 100%;
    padding: 8px 8px 0;

    @include sm {
      height: 108px;
    }
  }

  &__logo-caption {
    color: $gray-70;
    font-family: $font-default;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: -0.12px;
  }

  &__swiper-prev {
    position: absolute;
    top: calc(50% - 28px);
    left: 0;
    transform: translate(0%, -50%) rotate(90deg);
    cursor: pointer;
    height: 64px;
    width: 64px;
    padding: 25px;
    border: 1px solid $gray-20;
    border-radius: 50%;
    background-color: $white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background-color 0.3s;

    @include mdx {
      transform: translate(0%, -50%) rotate(90deg);
    }

    @include md {
      transform: translate(0%, -50%) rotate(90deg);
    }

    svg path {
      transition: fill 0.3s;
    }

    &:hover {
      background-color: $medium-color;

      svg path {
        fill: $white;
      }
    }

    &.swiper-button-disabled {
      border: 1px solid $gray-10;
      background-color: $gray-10;

      svg path {
        fill: $gray-70;
      }
    }

    svg {
      position: relative;
      top: 1px;
    }
  }

  &__swiper-next {
    position: absolute;
    top: calc(50% - 28px);
    right: 0;
    transform: translate(0%, -50%) rotate(-90deg);
    cursor: pointer;
    height: 64px;
    width: 64px;
    padding: 25px;
    border: 1px solid $gray-20;
    border-radius: 50%;
    background-color: $white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background-color 0.3s;

    @include mdx {
      transform: translate(0%, -50%) rotate(-90deg);
    }

    @include md {
      transform: translate(0%, -50%) rotate(-90deg);
    }

    svg path {
      transition: fill 0.3s;
    }

    &:hover {
      background-color: $medium-color;

      svg path {
        fill: $white;
      }
    }

    &.swiper-button-disabled {
      border: 1px solid $gray-10;
      background-color: $gray-10;

      svg path {
        fill: $gray-70;
      }
    }

    svg {
      position: relative;
      top: 1px;
    }
  }

  &__navigation {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);

    .swiper__navigation {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
    }

    .swiper__dots {
      .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        border-radius: 6px;
        background-color: $primary-color;
        margin-right: 6px;
        opacity: 1;
        transition: all 0.3s;
      }

      .swiper-pagination-bullet-active {
        background-color: $medium-color;
        width: 24px;
        border-radius: 5px;
      }
    }
  }
}
