.article-card {
  min-width: 0;
}
.article-card .news-card-link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  padding: 20px;
  color: #212121;
  background: #eceff3;
  text-decoration: none;
  transition: background-color 0.45s ease, color 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.article-card .news-card-link:hover {
  text-decoration: none;
}
.article-card .news-card-link:focus-visible {
  box-shadow: inset 0 0 0 3px #945200;
}
.article-card .news-card-arrow {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: #ff9202;
  transition: color 0.35s ease, background-color 0.35s ease;
}
.article-card .news-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 20px 0 12px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}
.article-card .news-card-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  height: 56px;
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 28px;
}
.article-card .news-card-media {
  flex: none;
  margin-block-start: auto;
  aspect-ratio: 318/225;
  border-radius: 14px;
  overflow: hidden;
}
.article-card .news-picture, .article-card .news-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card .news-picture[hidden] {
  display: none;
}
.article-card .news-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #dce5ed, #bbcbd8);
}

@media (min-width: 768px) {
  .article-card .news-card-media {
    aspect-ratio: 400/225;
  }
}
@media (min-width: 1280px) {
  .article-card:focus-within .news-card-link {
    transform: translateY(-40px);
    background: #000;
    color: #fff;
  }
  .article-card:focus-within .news-card-arrow {
    background: #ff9202;
    color: #fff;
  }
  .article-card:is(:hover, :focus-within) .news-card-link::after {
    content: "";
    position: absolute;
    inset: 0 0 -40px;
  }
}
@media (min-width: 1280px) and (hover: hover) {
  .article-card:hover .news-card-link {
    transform: translateY(-40px);
    background: #000;
    color: #fff;
  }
  .article-card:hover .news-card-arrow {
    background: #ff9202;
    color: #fff;
  }
}
@media (prefers-reduced-motion: reduce) {
  .article-card .news-card-link, .article-card .news-card-arrow {
    transition: none;
  }
}
