/* Preserve the released image frames when CMS originals have different dimensions.
   Ratios follow the supplied top images (262x180), lead (555x300), and 16:10 grid. */
body[data-page='home'] #latest-news-grid .editorial-image {
  display: block;
  position: relative;
  aspect-ratio: 262 / 180;
  width: 100%;
  height: auto;
  /* Keep the original 6px corners on the clipping frame as well as the image. */
  border-radius: 6px !important;
  overflow: hidden;
}
body[data-page='home'] #latest-news-grid article.post > .editorial-image > img {
  border-radius: inherit !important;
}
body[data-page='home'] #latest-news-grid .editorial-image img,
body[data-page='home'] #sub-news-grid article > a > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body[data-page='home'] #continuous-coverage-section > a > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The released desktop frame is 551 x 283.9375, and 464.28125 x 295.109375
   at the narrower desktop breakpoint. Keep the frame independent of headline
   and feed length; the original 1fr grid row shrank when CMS text grew. */
@media (min-width: 1024px) {
  body[data-page='home'] #main-news-split-section > .container > div > div:first-child {
    contain: none;
  }
  body[data-page='home'] #continuous-coverage-section {
    --coverage-image-height: 295.109375px;
    height: auto !important;
    min-height: 0;
    grid-template-rows: var(--coverage-image-height) auto;
  }
  body[data-page='home'] #continuous-coverage-section > a:first-child {
    height: var(--coverage-image-height);
    aspect-ratio: auto;
  }
}
@media (min-width: 1200px) {
  body[data-page='home'] #continuous-coverage-section {
    --coverage-image-height: 283.9375px;
  }
}
body[data-page='home'] #sub-news-grid article > a:first-child {
  aspect-ratio: 16 / 10;
  flex: none;
}
@media (max-width: 991px) {
  body[data-page='home'] #latest-news-grid .editorial-image {
    aspect-ratio: 16 / 9 !important;
  }
}
