/* ====================== Component: News Grid ====================== */
.news { background: var(--color-cream); padding-block: 64px; }
.news__grid { display: grid; grid-template-columns: 1fr; gap: 26px; }

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-bottom: 2px solid var(--color-yellow);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(24, 22, 20, 0.12); }

.news-card__media { height: 215px; overflow: hidden; background: #ece7df; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #ece7df, #d9d2c6); }

.news-card__body { padding: 28px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card__date {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-brown);
  margin-bottom: 6px;
}
.news-card__title { font-size: 18px; line-height: 26px; letter-spacing: -0.18px; }
.news-card__excerpt { margin-top: 12px; margin-bottom: 24px; font-size: 14px; line-height: 22.75px; color: var(--color-body); flex: 1; }

/* Pagination */
.news__pagination { margin-top: 48px; }
.news__pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.news__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--color-white);
  border: 1px solid var(--color-hairline);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-ink);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.news__pagination .page-numbers:hover,
.news__pagination .page-numbers.current { background: var(--color-yellow); border-color: var(--color-yellow); }
.news__empty { font-size: 16px; color: var(--color-body); }

@media (min-width: 560px) {
  .news__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .news { padding-block: 96px; }
}
@media (min-width: 1024px) {
  .news__grid { grid-template-columns: repeat(3, 1fr); }
}
