.article-index {
  padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 80px);
}

.article-index h1 {
  margin-bottom: clamp(24px, 4vw, 40px);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 400px);
  gap: 20px;
}

.article-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .28s ease, box-shadow .28s ease;
}

@media (hover: hover) {
  .article-card:hover {
    border-color: #bdb8af;
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
  }
}

.article-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.article-card-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-card-copy {
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.article-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.article-card p,
.article-index-empty {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.article-card p {
  margin: 8px 0 0;
}

.article-card time {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

@media (min-width: 560px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 920px) {
  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-card {
    transition: none;
  }

  .article-card:hover {
    transform: none;
  }
}
