.article-index {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: stretch;
}

.article-index > li {
  display: flex;
  min-width: 0;
}

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

.article-row {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-sizing: border-box;
  padding: var(--space-5);
  font-family: var(--font-sans);
  letter-spacing: -0.04em;
}

.article-row-date {
  display: block;
  font-size: var(--step--1);
  color: var(--fg-muted);
  margin-bottom: var(--space-1);
}

.article-row-title {
  margin: 0 0 var(--space-2);
  font-size: var(--step-2);
  line-height: 1.06;
  min-width: 0;
}

.article-row-title a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.article-row-title a:hover {
  color: var(--accent);
}

.article-row-excerpt {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 0 var(--space-3);
  color: var(--fg-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.article-row-tags {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.article-row-tags li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke);
  color: var(--fg-muted);
}
