/* Keep the long news list out of a page-sized filtered compositing layer. */
body[data-news-page] #albumPageGrid {
  animation: none;
  filter: none;
  transform: none;
  scroll-margin-top: 100px;
}
body[data-news-page] .news-pagination {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 24px 0 4px;
}
body[data-news-page] .news-pagination a { min-width: 0; justify-self: start; }
body[data-news-page] .news-pagination a[rel="next"] { justify-self: end; }
body[data-news-page] .news-page-count { color: #94a3b8; font-size: 12px; text-align: center; }
@media (max-width: 820px), (pointer: coarse) {
  body[data-news-page] .album-page-card,
  body[data-news-page] .site-header,
  body[data-news-page] .page-hero,
  body[data-news-page] .site-footer {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body[data-news-page] .news-pagination { gap: 8px; }
  body[data-news-page] .news-pagination .button { padding: 10px 12px; font-size: 12px; }
}

/* Override the intrinsic HTML height when the responsive card narrows the cover. */
body[data-news-page] #albumPageGrid .album-page-card > a:first-child > .album-cover {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
