.featured-three-items {
  position: relative;
  margin: 75px 0;

  @include sm {
    margin: 50px 0;
  }

  &.featured-three-items--white-grid {
    background-color: $gray-bluish;

    .featured-three-items__background-white {
      display: none;
    }

    .featured-slide__block-text-color {
      background-color: $white !important;
    }
  }

  &__container {
    width: 100%;
    padding: 48px $gutter;

    @include sm {
      padding: 24px $gutter-mobile;
    }
  }

  &__featured {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
  }

  &__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    width: 100%;
  }

  &__slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    max-width: $projects-detail-width;
  }

  &__container-info {
    max-width: $projects-detail-width;
    display: flex;
    width: 100%;
    margin: 0 auto 0;

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

  &__background-white {
    background-color: $white;
    position: absolute;
    width: 100%;
    max-width: 1160px;
    height: 665px;
    top: 40px;
    left: 50%;
    transform: translateX(calc(-50% + 80px));
    z-index: 0;

    @include sm {
      top: 0px;
      left: 0%;
      transform: translateX(0);
    }
  }

  &__title {
    color: $primary-color;
    font-weight: 600;
    max-width: 600px;
    text-align: center;
    font-size: 48px;
    line-height: 58px;
    margin: 0;
    padding: 80px $gutter 35px;

    @include sm {
      font-weight: 600;
      font-size: 38px;
      line-height: 45px;
      padding: 40px 40px 35px;
    }
  }

  &__subtitle {
    color: $primary-color;
    font-weight: 500;
    max-width: 400px;
    text-align: center;
    font-size: 18px;
    line-height: 27px;
    margin: 0 0 75px;
    padding: 0 $gutter;

    @include sm {
      padding: 0 40px;
    }
  }

  &__featured-image {
    width: 623px;
    max-height: 420px;
    flex-shrink: 0;

    @include mdx {
      width: 530px;
      max-height: 320px;
    }

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

    @include xs {
      max-height: 100vw;
      height: 100vw;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  &__featured-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 0 0 30px;
    flex: 1;

    @include sm {
      width: 100%;
      margin: 30px 0 0;
      padding: 0 50px;
    }
  }

  &__featured-pretitle {
    color: $medium-color;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: $font-default;
    line-height: 1.8rem;
    letter-spacing: 0.14px;
  }

  &__featured-title {
    color: $primary-color;
    font-weight: 700;
    font-size: 38px;
    line-height: 45px;
    margin: 15px 0 24px;
    max-height: 180px;
    overflow: hidden;

    @include mdx {
      font-size: 32px;
      line-height: 36px;
    }

    @include sm {
      font-size: 26px;
      line-height: 32px;
      margin: 15px 0;
    }

    @include xs {
      max-height: 130px;
    }
  }

  &__featured-summary {
    font-size: 16px;
    margin: 0 0 15px 0;
    overflow: hidden;

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

  &__featured-content {
    color: $primary-color;
    margin-top: -15px;

    @include sm {
      margin-top: 10px;
      margin-bottom: 24px;
    }
  }

  &__container-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 auto;
    max-width: $projects-detail-width;
    padding: 0 40px;

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

  .featured-slide {
    margin-top: 40px;
    padding: 0;
    justify-content: space-between;

    @include sm {
      margin-top: 60px;
      padding: 0;
    }

    &__column-left {
      max-width: 759px;

      .featured-slide__block-text-color {
        max-width: 320px;
        background-color: $gray-bluish;
        padding: 32px;

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

      img {
        max-width: 439px;
        max-height: 400px;
      }
    }

    .featured-slide__left-pretitle,
    .featured-slide__right-pretitle {
      color: $medium-color;
      font-size: 1.4rem;
      font-weight: 600;
      font-family: $font-default;
      line-height: 1.8rem;
      letter-spacing: 0.14px;
    }

    &__left-title,
    &__right-title {
      font-family: $font-heading;
      font-size: 2.6rem;
      font-weight: 600;
      line-height: 120%;
      margin: 0 0 12px;
    }

    &__left-subtitle,
    &__right-subtitle {
      font-family: $font-default;
      font-size: 1.6rem;
      font-weight: 400;
      line-height: 150%;
      letter-spacing: -0.16px;
      margin-bottom: 32px;
    }

    &__column-right {
      max-width: 321px;

      img {
        max-width: 321px;
        max-height: 231px;
      }

      .featured-slide__block-text {
        margin: 32px 0;
      }
    }
  }

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

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

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