.articles-page {
  max-width: 1200px;
  padding-bottom: 120px;
}
.articles-page .story-grid {
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 24px;
}
.story-card {
  min-width: 0;
  border: 1px solid #e7e7e1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 23, 20, 0.045);
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.story-card:hover,
.story-card:focus-within {
  border-color: #d5d5cd;
  box-shadow: 0 16px 38px rgba(23, 23, 20, 0.1);
  transform: translateY(-6px);
}
.story-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
}
.articles-page .story-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #eeeeea;
  overflow: hidden;
}
.articles-page .story-image img {
  transition: transform 350ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
.story-card:hover .story-image img,
.story-card:focus-within .story-image img {
  transform: scale(1.035);
}
.story-image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #9b9b93;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-align: center;
}
.story-card-body {
  display: flex;
  min-height: 230px;
  padding: 22px 22px 20px;
  flex: 1;
  flex-direction: column;
}
.articles-page .story-card .tag {
  width: fit-content;
  margin: 0 0 10px;
  font-size: 0.72rem;
}
.articles-page .story-card h2 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 1.28rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.articles-page .story-card p {
  display: -webkit-box;
  margin: 13px 0 20px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.story-card-more {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 750;
}
.story-card-more::after {
  content: " →";
  color: var(--accent);
}
@media (max-width: 900px) {
  .articles-page .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .articles-page .story-grid {
    max-width: 420px;
    grid-template-columns: 1fr;
  }
  .story-card-body {
    min-height: 210px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story-card,
  .articles-page .story-image img {
    transition: none;
  }
}
