/* Thumbnail polish only. Card grids, widths, typography and spacing stay in style.css. */
.post-card .post-published-date { white-space: normal; }
.post-card .post-event-date { margin: 0 0 10px; font-size: .86rem; line-height: 1.5; color: var(--leaf-deep); }
.home-content-layout .home-news-grid .post-card .thumb img,
.news-archive-grid .post-card .thumb img,
.post-grid .post-card .thumb img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: 50% var(--card-focus, 35%);
}

.news-archive-grid .post-card .thumb,
.post-grid .post-card .thumb { position: relative; }

/* Posters stay legible in the original slot; photos fill it edge to edge. */
.home-content-layout .home-news-grid .post-card .thumb img.lipa-poster-source,
.news-archive-grid .post-card .thumb img.lipa-poster-source,
.post-grid .post-card .thumb img.lipa-poster-source,
.home-content-layout .home-news-grid .card-image-poster .thumb img,
.news-archive-grid .card-image-poster .thumb img,
.post-grid .card-image-poster .thumb img {
  object-fit: contain;
  object-position: center;
  background: #f3f5f2;
}

.post-card .thumb:has(.lipa-poster-source):hover img { transform: none; }
.post-card.card-image-poster:hover .thumb img { transform: none; }
.home-content-layout .home-news-grid .card-image-photo .thumb img,
.news-archive-grid .card-image-photo .thumb img,
.post-grid .card-image-photo .thumb img { object-fit: cover; object-position: 50% var(--card-focus, 35%); }
