.variation-before-after {
  background: #f1edec;

  .page-width {
    @media screen and (max-width: 989px) {
      padding-left: 30px;
      padding-right: 30px;
    }
  }
  h2 {
    color: #e69d72;
    text-align: center;
    font-family: Arboria-BoldItalic;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 111%;
    letter-spacing: -2.16px;
    margin: 0 0 45px;

    @media screen and (min-width: 990px) {
      font-size: 72px;
    }

    p {
      margin: 0;
    }

    em {
      color: #73453d;
    }
  }
  .variation-before-after-swiper {
    position: relative;
  }
  .swiper-wrapper {
    @media screen and (min-width: 760px) {
      padding-bottom: 50px;
    }

    @media screen and (min-width: 1280px) {
      padding-bottom: 0;
    }
  }


  .swiper-pagination {
    @media screen and (max-width: 759px) {
      display: block;
      .swiper-pagination-bullet {
        opacity: 1;
        width: 12px;
        height: 12px;
        margin: 0 10px !important;
        background: #d9d9d9;
      }

      .swiper-pagination-bullet-active {
        background: #73453d;
      }
    }

    @media screen and (min-width: 760px) {
      display: none;
    }
  }

  .swiper-slide {
    display: flex;
    flex-flow: column-reverse;

    @media screen and (min-width: 760px) {
      flex-flow: nowrap;
      align-items: center;
    }

    @media screen and (min-width: 1280px) {
      margin-bottom: 55px;
      align-items: stretch;
    }

    .slide-content {
      padding-bottom: 4rem;
      @media screen and (min-width: 760px) {
        padding: 0;
      }
      @media screen and (min-width: 1280px) {
        min-height: 100%;
      }
    }

    .slide-text {
      margin-top: 30px;
      margin: 0 0 20px;
      color: #5e5e5e;
      font-family: Arboria-Book;
      font-size: 18px;
      font-style: normal;
      font-weight: 400;
      line-height: 137%; /* 24.66px */
      margin: 2rem 0 3rem;

      @media screen and (min-width: 760px) {
        padding-right: 20px;
      }

      @media screen and (min-width: 1280px) {
        margin-top: 0;
        padding-right: 70px;
      }
    }

    .slide-name {
      color: #5e5e5e;
      font-family: Arboria-Bold;
      font-size: 18px;
      font-style: normal;
      font-weight: 400;
      line-height: 160%; /* 28.8px */
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin: 0 0 2rem;
      @media screen and (min-width: 760px) {
        margin: 0;
      }
    }
  }
  .swiper-buttons-wrap {
    position: absolute;
    bottom: 15px;
    width: 100%;
    height: 20px;
    display: none;
    gap: 2rem;
    justify-content: space-between;
    z-index: 2;

    @media screen and (min-width: 760px) {
      display: flex;
      width: 100px;
      left: 0;
      bottom: 5px;
    }

    @media screen and (min-width: 990px) {
      bottom: 30px;
    }

    @media screen and (min-width: 1280px) {
      right: -4px;
      left: unset;
      top: 350px;
    }
  }

  .swiper-button-prev,
  .swiper-button-next {
    cursor: pointer;
    z-index: 2;
    width: 3.5rem;
    height: 3.5rem;
    display: block;
    &::after,
    &::before {
      display: none;
    }
  }

  .swiper-slide {
    .slide-content {
      display: none;
    }

    .slide-image {
      height: 33.5%;
      width: 33.5%;
    }
  }

  .swiper-slide-active {
    .slide-content {
      display: block;
      @media screen and (min-width: 1280px) {
        width: 90%;
        display: flex!important;
        flex-flow:column;
        justify-content: center;
      }
    }

    .slide-image {
      width: 100%;
    }
  }
}
