/* Blog listing: the cards and the pagination. Article typography lives in content.css. */
.post-card {
  display: flex; flex-direction: column; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.post-card h2 { font-size: 20px; margin-bottom: 8px; }
.post-card h2 a { color: var(--ink); }
.post-card p { flex: 1; color: var(--muted); font-size: 15px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 34px; }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 9px;
  color: var(--ink); font-size: 14px;
}
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }

@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .card-grid { grid-template-columns: 1fr; }
}
