.cols-image-grid {
  position: relative;
  width: 100%;
  padding: 64px $gutter;
  background-color: $gray-bluish;
  margin: 80px 0;

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

  @include sm {
    padding: 40px $gutter-mobile;
    margin: 50px 0;
  }

  &__wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: $max-width;
  }

  &__container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  &__title {
    text-align: center;
    margin: 0 0 10px 0;
    max-width: 676px;

    @include sm {
      font-size: 2.6rem;
      line-height: 3rem;
      max-width: 100%;
    }
  }

  &__subtitle {
    text-align: center;
    display: block;
    font-size: 2.1rem;
    line-height: 2.9rem;
    margin-bottom: 20px;
    color: $primary-color;
    max-width: 676px;

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

  &__grid {
    margin: 0 auto;
    width: 100%;
    max-width: 760px;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    flex-wrap: wrap;

    @include sm {
      flex-direction: column;
      align-items: center;
      margin: 4px auto 0;
    }
  }

  &__item {
    width: 100%;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;

    @include sm {
      flex-direction: row;
      justify-content: space-between;
      max-width: 343px;
      padding: $gutter-mobile;
      border-bottom: 1px solid $white;
      margin-top: 0;
    }
  }

  &__item-image {
    width: 200px;
    height: 120px;

    @include sm {
      width: 94px;
      height: 56px;
    }

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

  &__item-cta {
    margin-top: 24px;

    @include sm {
      margin-top: 0;

      .std-button {
        height: 3.6rem;
        font-size: 1.2rem;
        padding: 0 16px;
      }
    }

    .icon-arrow-right {
      position: relative;
      padding-right: 50px;

      @include sm {
        padding-right: 42px;
      }

      &::after {
        content: "";
        mask-image: url(../assets/img/svg/icon-chevron-white-right.svg);
        mask-repeat: no-repeat;
        mask-size: contain;
        background-color: $white;
        width: 18px;
        height: 18px;
        position: absolute;
        z-index: 1;
        top: 50%;
        transform: translateY(-50%);
        right: 22px;
        white-space: nowrap;

        @include sm {
          right: 13px;
          width: 15px;
          height: 15px;
        }
      }
    }
  }
}
