/* AgentenCode 06.11.2026: compact photographic listing previews for two
   independently approved near-square (839x823) editorial covers.
   Do not modify the actual artwork or the full image on article pages.
   The top-focused 40:21 thumbnail intentionally omits the redundant
   embedded article headline; the card headline below stays readable.
   Scoped only to the two DE/EN approved-preview classes. */
.news-card .ac3-news-thumb.ac-approved-preview-thumb {
  display: block;
  aspect-ratio: 40/21 !important;
  height: auto !important;
  overflow: hidden !important;
  background: #102838;
}
.news-card .ac3-news-thumb.ac-approved-preview-thumb img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 40/21 !important;
  object-fit: cover !important;
  object-position: center 26% !important;
  transition: none !important;
  transform: none !important;
}
.news-card .ac3-news-thumb.ac-approved-preview-thumb:hover img {
  transform: none !important;
}
.ac2-news-cover.ac-approved-preview-photo,
.ac2-home .ac2-news-cover.ac-approved-preview-photo,
/* Home news cards are re-rendered by app.js without the approved-preview class.
   Match only the two unchanged approved artwork filenames as a fallback. */
.ac2-home .ac2-news-cover[src*="-approved-original-v3-cover.webp"] {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 40/21 !important;
  object-fit: cover !important;
  object-position: center 26% !important;
}
@media (max-width: 700px) {
  .news-card .ac3-news-thumb.ac-approved-preview-thumb img,
  .ac2-news-cover.ac-approved-preview-photo,
  .ac2-home .ac2-news-cover.ac-approved-preview-photo {
    object-position: center 26% !important;
  }
}
/* Full, uncropped original artwork stays on the DE/EN article pages. */
.news-article .ag-cover.ag-approved-original-v3,
.news-article figure.ag-cover.ag-approved-original-v3,
.news-article .ag-cover.ag-approved-original-v3 > a {
  height:auto !important;
  aspect-ratio:auto !important;
  max-height:none !important;
  overflow:visible !important;
}
.news-article figure.ag-cover.ag-approved-original-v3 img {
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
}

/* app.js wraps hydrated home thumbnails in a 16:9 .ac2-news-picture.
   Match only the two approved-v3 photo assets and give that wrapper
   the SAME aspect as the 40:21 thumbnail. This prevents its blue
   background from appearing as a stray strip below the photo. */
.ac2-home .ac2-news-picture:has(> img.ac2-news-cover[src*="-approved-original-v3-cover.webp"]) {
  aspect-ratio: 40/21 !important;
}
