/* ========================================
   News — listing & post pages
   ======================================== */

.news-grid {
  align-items: start;
}

.news-card {
  display: block;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  color: inherit;
  text-decoration: none;
}

.news-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--charcoal);
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-img-placeholder {
  background: linear-gradient(135deg, var(--charcoal), var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-img-placeholder img {
  width: 40%;
  height: 40%;
  object-fit: contain;
  opacity: 0.35;
}

.news-card-body {
  padding: 24px;
}

.news-card-body h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.3;
}

.news-card-body p {
  color: var(--muted);
}

.news-card-date {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.pagination .btn {
  border-color: var(--border-dark);
  color: var(--ink);
}

.pagination .btn:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.2);
}

.pagination-status {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* Single post */
.post-article {
  max-width: 720px;
  margin: 0 auto;
}

.post-article .post-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.post-article .post-featured-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
}

.post-article .post-featured-image img {
  width: 100%;
  display: block;
}

.post-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}

.post-body h2, .post-body h3, .post-body h4 {
  font-family: var(--font-serif);
  margin: 40px 0 16px;
}

.post-body p { margin-bottom: 20px; }
.post-body ul, .post-body ol { margin: 0 0 20px 24px; }
.post-body li { margin-bottom: 8px; }
.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--muted);
  font-style: italic;
}
.post-body img {
  max-width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}
.post-body a { color: var(--gold); text-decoration: underline; }
.post-body pre {
  background: var(--charcoal);
  color: var(--cream);
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .news-card-body { padding: 20px; }
  .pagination { gap: 16px; }
}
