/**
 * @file
 * Related content section; the rows are the theme's article-card.
 */

.related-articles {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 64px 0 24px;
  clear: both;
}

/* custom.css forces Poppins/500 on headings with !important. */
.related-articles .related-articles__heading {
  margin: 0;
  padding: 0 0 4px;
  border-bottom: 1px solid #dedede;
  font-family: Inter, sans-serif !important;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700 !important;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: #686868;
}

.related-articles .rn-article-card {
  margin: 0 0 16px;
}

.related-articles .rn-article-card:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

/* Tweet page on phones: 56px under the tweet (Figma "Mobile / Tweet node"). */
@media (max-width: 600px) {
  .node--type-tweet .related-articles {
    margin-top: 56px;
  }
}
