.featured-slide {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 20px;

  @include sm {
    padding: 0;
  }

  &--invert {
    flex-direction: row-reverse;
  }
  &--single {
    @include sm {
      margin-top: 90px;
      flex-direction: column;
      width: 100%;
      max-width: 720px;
    }
  }
  &__column-left {
    display: flex;
    align-items: flex-start;
    margin: 0 30px 0 0;
    width: 100%;
    overflow: hidden;
    max-width: 700px;

    @include sm {
      max-width: unset;
      width: 100%;
      flex-direction: column;
      flex: 1;
    }

    .featured-slide--single & {
      @include sm {
        max-width: 100%;
      }
    }

    .featured-slide--invert & {
      flex-direction: row-reverse;
      margin: 0 0 0 30px;

      @include mdx {
        max-width: unset;
        width: 100%;
        flex-direction: column;
        flex: 1;
      }
    }

    img {
      display: block;
      width: 100%;
      max-width: 436px;
      max-height: 464px;
      object-fit: cover;
      height: auto;

      @include mdx {
        max-width: unset;
      }

      // @include sm {
      //   max-width: 238px;
      //   max-height: 275px;
      // }

      .featured-slide--single & {
        @include mdx {
          max-width: unset;
        }

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

    @include sm {
      .featured-slide--single & {
        flex-direction: column-reverse;
        margin: 0;
      }
    }
/*
    .link-left-arrow {
      color: $white;

      &::after {
        border-color: $white;
      }
    }
    */
  }
  &__block-text-color {
    width: 100%;
    max-width: 246px;
    padding: 25px;
    flex-shrink: 0;

    @include mdx {
      max-width: 100%;
    }

    @include sm {
      .featured-slide--single & {
        max-width: 100%;
      }
    }
  }

  &__left-pretitle {
    font-size: 14px;
    line-height: 21px;
    font-weight: 700;
    margin: 0 0 15px;
  }
  &__left-title {
    font-size: 21px;
    line-height: 29px;
    font-weight: 700;
    margin: 0 0 15px;

    @include sm {
      font-size: 18px;
      line-height: 26px;
    }
  }
  &__left-subtitle {
    font-size: 16px;
    margin: 0 0 15px 0;
    overflow: hidden;

    @include sm {
      margin: 0 0 24px 0;
    }
  }
  &__column-right {
    width: 100%;
    max-width: 467px;
    display: flex;
    flex-direction: column;

    img {
      display: block;
      width: 100%;
      max-width: 465px;
      max-height: 260px;
      object-fit: cover;
      height: auto;

      @include sm {
        max-width: 365px;
        max-height: 160px;
      }

      .featured-slide--single & {
        @include sm {
          max-width: 100%;
          max-height: 100%;
        }
      }
    }

    @include mdx {
      width: auto;
    }

    @include sm {
      width: unset;
      max-width: 100%;

      .featured-slide--single & {
        max-width: 100%;
        margin-top: 32px;

        img {
          width: 100%;
        }
      }

      .featured-slide__block-text {
        padding: 0 24px;
      }
    }
  }
  &__block-text {
    width: 100%;
    max-width: 320px;
    margin: 30px 30px 30px 0;

    @include sm {
      .featured-slide--single & {
        max-width: 100%;
        margin: 24px 0 0;
      }
    }
  }
  &__right-pretitle {
    color: $medium-color;
    font-size: 14px;
    line-height: 21px;
    font-weight: 700;
    margin: 0 0 15px;
  }
  &__right-title {
    color: $primary-color;
    font-size: 21px;
    line-height: 29px;
    font-weight: 700;
    margin: 0 0 15px;
  }
  &__right-subtitle {
    color: $primary-color;
    font-size: 16px;
    margin: 0 0 15px 0;
    overflow: hidden;

    @include sm {
      margin: 0 0 24px 0;
    }
  }

  &--slider {
    position: absolute;
    top: 0;
    pointer-events: none;
    width: 100%;
    padding: 0 20px;

    @include mdx {
      padding: 0 40px;
    }

    .animate {
      &__fadeInRight {
        position: relative;
        transform: translateX(250%);
        opacity: 0;
        transition: 0.4s all 0.2s;
      }
      &__fadeInLeft {
        position: relative;
        transform: translateX(-250%);
        opacity: 0;
        transition: 0.4s all 0.3s;
      }
      &__fadeInDown {
        position: relative;
        transform: translateY(-250%);
        opacity: 0;
        transition: 0.4s all 0.4s;
      }
      &__fadeInUp {
        position: relative;
        transform: translateY(250%);
        opacity: 0;
        transition: 0.4s all 0.5s;
      }
    }
  }
  &--current {
    position: relative;
    pointer-events: all;

    .animate {
      &__fadeInRight {
        transform: translateX(0%);
        opacity: 1;
      }
      &__fadeInLeft {
        transform: translateX(0%);
        opacity: 1;
      }
      &__fadeInDown {
        transform: translateY(0%);
        opacity: 1;
      }
      &__fadeInUp {
        transform: translateY(0%);
        opacity: 1;
      }
    }
  }

  &__cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: -8px 0;

    .std-button {
      padding: 0 19px;
      margin: 8px 16px 8px 0;
    }

    .link-left-arrow {
      margin: 8px 0;
    }
  }
}
