﻿/* ========================================================================== */
/* VIRTUAL FILE: post-grid.css                                                 */
/* ========================================================================== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-card-thumb img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.post-card-body {
  padding: 18px;
}

.post-card-body h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.post-card-body h2 a {
  color: var(--navy-900);
}

.post-card-body h2 a:hover {
  color: var(--blue-700);
}

.post-card-body p {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.pagination-wrap {
  margin-top: 20px;
}

.pagination-wrap .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy-900);
}

.pagination-wrap .page-numbers.current {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
}

.not-found-card {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

/* Footer */
/* ========================================================================== */

