.articles-feed__headline {
  color: var(--accent);
}

.articles-feed__articles .articles-feed__article {
  gap: var(--spacer--lg);
}

.articles-feed__articles .articles-feed__article-thumbnail {
  position: relative;
  aspect-ratio: 3 / 2;
}

.articles-feed__articles .articles-feed__article-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.articles-feed__articles .articles-feed__article-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.articles-feed__articles .articles-feed__article-title {
  font-weight: var(--font-weight--normal);
}

.articles-feed__articles .articles-feed__article {
  position: relative;
}

.articles-feed__articles .articles-feed__article::before,
.articles-feed__articles .articles-feed__article::after {
  content: "";
  position: absolute;
  background: var(--gray);
}

@media (max-width: 767px) {
  .articles-feed__articles .articles-feed__article:not(:last-child)::after {
    bottom: calc(var(--spacer--xxxl) * -0.5);
    width: 100%;
    height: 1px;
  }
}

@media (min-width: 768px) {
  .articles-feed__articles .articles-feed__article:not(:nth-child(2n))::before {
    top: 0;
    right: calc(var(--spacer--xxxl) * -0.5);
    width: 1px;
    height: 100%;
  }

  .articles-feed__articles
    .articles-feed__article:not(:nth-last-child(-n + 2))::after {
    right: 0;
    bottom: calc(var(--spacer--xxxl) * -0.5);
    width: 100%;
    height: 1px;
  }
}
