.featured-one-item {
  position: relative;
  background-color: $gray-bluish-light;
  width: 100%;
  margin: 75px 0;
  padding: 40px 0;
  overflow: hidden;

  @include sm {
    padding: 0;
  }

  &--no-bg {
    background-color: transparent;
    padding: 0;
  }

  &__container-info {
    max-width: $projects-content-width;
    display: flex;
    width: 100%;
    margin: 0 auto 0;
    padding: 0 22px;

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

    .featured-one-item--invert & {
      flex-direction: row-reverse;

      @include sm {
        flex-direction: column-reverse;
      }
    }
  }

  &__featured-image {
    background-color: $white;

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

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

    img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  &__featured-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 350px;
    margin: 0 0 0 30px;
    flex: 1;

    .featured-one-item--invert & {
      margin: 0 30px 0 0;
    }

    @include sm {
      margin: 0;
      padding: 24px 48px;
      min-width: 0;
    }
  }

  &__featured-pretitle {
    color: $medium-color;
    font-size: 14px;
    font-weight: 700;
  }

  &__featured-title {
    color: $primary-color;
    font-weight: 700;
    font-size: 38px;
    line-height: 45px;
    margin: 16px 0 32px;
    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;
    }
  }

  &__content {
    p:first-child {
      margin-top: 0;
    }

    p:last-child {
      margin-bottom: 20px;
    }
  }

  &__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;
    }
  }
}
