/* Generated from site/src/styles/components/news.css by wordpress/tools/sync-theme-assets.mjs – edit the source, not this copy. */
/*
 * News listing cards and pagination; news single header.
 * WordPress: enqueued on the news listing, archives and single posts.
 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1023px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: minmax(0, 1fr); } }

.news-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 0 20px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 4px 44px rgb(0 0 0 / 0.1);
  overflow: hidden;
}
.news-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.news-card > :not(img) { margin-inline: 20px; }
.news-meta { margin: 0; color: #6b3a3a; font-size: 15px; font-weight: 600; }
.news-title { font-family: var(--display); font-size: calc(var(--h-date) * 0.9); line-height: 1.15; letter-spacing: -0.5px; }
.news-title a { color: var(--red); }
.news-excerpt { margin: 0; font-size: 17px; }

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 30px 0 40px;
  font-weight: 700;
}
.pagination > * { display: inline-block; min-width: 40px; padding: 6px 10px; text-align: center; }
.pagination [aria-current='page'] { background: var(--red); color: var(--white); }

.news-single .news-meta { margin-bottom: 8px; }
.news-single .section-title { margin-bottom: 20px; }
