/* ============================================================
   BLOG LISTING
   ============================================================ */

.blog-wrapper {
  padding: 56px 0 40px;
}

.blog-hero {
  max-width: 800px;
  margin: 0 auto 44px;
  text-align: center;
}

.blog-hero h1 {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  color: var(--color-text);
  margin: 8px 0 16px;
}

.blog-hero .lead {
  color: var(--color-text-body);
}

.blog-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.post-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-meta {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.post-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-family: 'Roboto Slab', serif;
}

.post-card h3 a {
  color: var(--color-text);
  text-decoration: none;
}
.post-card h3 a:hover { color: var(--color-link); }

.post-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
  flex: 1;
}

.post-card .read-more {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text);
  text-decoration: none;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 50px 0 20px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.pagination a:hover { border-color: var(--color-cta); }
.pagination .current { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.pagination .disabled { opacity: 0.35; pointer-events: none; }

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