.static-ribbon-cta {
  position: relative;
  margin: 24px 0;
  padding: 0 $half-gutter;

  @include sm {
    padding: 0;
  }

  &__wrapper {
    max-width: $max-width;
    margin: auto;
    padding: 0 $half-gutter;

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

  &__content {
    background: $primary-color;
    padding: 28px calc(100% / 12 + #{$half-gutter});
    color: $white;
    display: flex;
    align-items: center;
    justify-content: space-between;

    @include mdx {
      padding: 28px 30px;
    }

    @include sm {
      padding: 32px 40px;
      flex-direction: column
    }
  }

  &__text {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;

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

  &__title {
    color: $white;
    font-weight: 700;
    margin-right: 16px;

    @include sm {
      margin-right: 0;
      margin-bottom: 8px;
    }
  }

  &__icon {
    margin-right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;

    @include sm {
      width: 56px;
      height: 56px;
      margin-right: 0;
      margin-bottom: 24px;
    }

    svg {
      display: block;
      width: 100%;
      height: 100%;

      path {
        fill: $white;
      }
    }
  }

  &__subtitle {
    color: $white;
    margin-right: 16px;

    @include sm {
      margin-right: 0;
    }
  }

  &__cta {
    justify-self: flex-end;

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

    .std-button {
      padding: 0 24px;
      white-space: nowrap;

      @include sm {
        min-width: 260px;
      }
    }
  }
}
