.articles-section {
  overflow: hidden;
}

.section-header .articles-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.articles-all {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: .24em;
}

.articles-section .articles-cards {
  padding-top: clamp(24px, 6vw, 60px);
}

.articles-cards .carousel:not([tabindex]) {
  cursor: auto;
}

.articles-cards .item > a {
  display: block;
}

.articles-cards .img {
  position: relative;
  overflow: hidden;
  background: #222;
}

.articles-cards .img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.articles-cards .text {
  margin-bottom: 0;
  font: inherit;
  overflow-wrap: anywhere;
}

.articles-cards a:hover .text {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.articles-cards a:focus-visible,
.articles-all:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.articles-cards .img.article-portrait {
  aspect-ratio: 2 / 3;
  padding-bottom: 0;
}

.articles-cards .img.article-portrait img {
  object-fit: contain;
}
