.articles-grid {
  width: 100%;
  margin: 48px 0;
  padding: 0 $gutter;
  position: relative;

  &__title {
    color: $primary-color;
    margin: 0 0 24px;
  }

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

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

  &__container {
    width: calc(100% + 48px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: start;
    row-gap: 44px;
    margin: 0 -24px;

    @include mdx {
      grid-template-columns: 1fr 1fr 1fr;
    }

    @include sm {
      grid-template-columns: 1fr 1fr;
      width: 100%;
      margin: 0;
    }

    @include xs {
      grid-template-columns: 1fr;
    }

    .articles-grid--upcoming & {
      margin-bottom: 48px;
    }
  }

  &__no-results {
    text-align: center;
  }

  &__loading {
    text-align: center;
  }

  &__more-list {
    text-align: center;
    margin-top: 48px;
  }

  &__item {
    display: block;
    padding: 24px;
    background-color: transparent;
    transition: background-color 0.3s ease-out;

    &:hover {
      background-color: $background-blue;
    }
  }

  &__item-image {
    @include image-aspect-ratio(100%, 64%);

    margin-bottom: 24px;
    background-color: $gray-bluish;
  }

  &__item-date {
    font-size: 1.2rem;
    line-height: 1.6rem;
    letter-spacing: 0.02rem;
    font-weight: 700;
    color: $primary-color;
    display: block;
    margin-bottom: 8px;
  }

  &__item-title {
    font-size: 1.8rem;
    line-height: 2.2rem;
    font-weight: 700;
    color: $primary-color;
    margin: 0 0 24px;
  }

  &__item-actions {
    display: flex;
    align-items: center;
  }

  &__item-tag {
    padding: 6px 8px;
    background-color: rgba($color: $blue, $alpha: 0.1);
    color: $blue;
    font-size: 1.4rem;
    line-height: 2rem;
    font-weight: 400;
    margin-right: 16px;
  }

  &__cta-bar {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin-top: 12px;
  }
}
