.publications-slider {
  position: relative;
  width: 100%;
  padding: 0 $gutter;
  margin: 75px auto;
  overflow: hidden;

  @include sm {
    padding: 0 $gutter-mobile;
    margin: 50px auto;
  }

  &__wrapper {
    width: 100%;
    max-width: $projects-detail-width;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }

  &__header {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    @include sm {
      align-items: center;
      justify-content: center;
    }
  }

  &__title {
    width: 100%;
    color: $primary-color;
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 3rem;
    margin: 0;
    padding-left: 24px;

    @include sm {
      text-align: center;
      padding-left: 0;
      padding: 0 $gutter-mobile;
    }
  }

  &__container {
    margin-top: 18px;
    width: 100%;
  }

  &__slider {
    width: 100%;
    position: relative;
    overflow: visible;
  }

  &__slide {
    width: 370px;

    @include sm {
      width: 100%;
      max-width: 320px;
    }
  }

  &__nav {
    display: flex;
    margin-left: 24px;

    @include sm {
      display: none;
    }
  }

  &__nav-prev,
  &__nav-next {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 1px solid $gray-bluish;
    cursor: pointer;
    position: relative;
    z-index: 1;
    background-color: $white;
    margin-left: 8px;

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

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

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

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

  &__slider-scrollbar {
    display: none;
    height: 1px !important;
    bottom: 1px !important;

    @include sm {
      display: block;
    }

    .swiper-scrollbar-drag {
      background: $primary-color;
      height: 3px;
      top: -1px;
    }
  }

  &__cta {
    margin: 54px auto 0;
    width: 100%;
    max-width: 440px;

    @include md {
      margin-top: 24px;
    }

    @include sm {
      margin-top: calc(32px + 17px);
    }

    .std-button {
      width: 100%;
    }
  }
}
