.category-header {
  margin-bottom: 2rem;
}

.category-title {
  margin-bottom: 0.5rem;
}

.category-description p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.pagination {
  margin: 3rem 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.pagination-status {
  color: #888;
}

.pagination-link {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #555;
  background: #f9f9f9;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pagination-link:hover {
  background: #f0f0f0;
  border-color: #ccc;
  color: #333;
}

.pagination-link.is-disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
  background: #fafafa;
}

.posts {
  margin: 0;
}

/* Row: image left, text right */
.post-row {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.5rem 0;
}

/* Image column */
.post-thumb {
  flex: 0 0 220px;        /* fixed column width */
  max-width: 220px;
  height: 140px;          /* fixed height so all images same size */
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* crops nicely while filling box */
  display: block;
}

/* Text column */
.post-main {
  flex: 1;
}

.post-main .post-title {
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.post-main .post-date {
  display: block;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.post-excerpt {
  margin: 0 0 0.5rem;
}

.post-read-more {
  font-weight: 600;
  text-decoration: none;
}

/* Divider between rows */
.post-divider {
  border: 0;
  border-bottom: 1px solid #e0e0e0;
  margin: 0;
}

/* Mobile: stack columns */
@media (max-width: 768px) {
  .pagination {
    flex-direction: column;
    gap: 0.5rem;
  }

  .pagination-status {
    order: -1;
  }

  .post-row {
    flex-direction: column;
  }

  .post-thumb {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    height: 180px;
  }
}
