/* Use a photo-shaped frame, rather than stretching the photo to match article copy. */
.news-lead-image {
  display: block;
  align-self: center;
  width: 100%;
  min-height: 0 !important;
  aspect-ratio: 8 / 5;
  background-repeat: no-repeat;
}
.news-lead-image::after {
  background: linear-gradient(125deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .12));
}
.story-hero[data-image-fit="contain"] {
  height: auto !important;
  width: 100%;
  max-width: var(--story-image-max-width, 100%);
  aspect-ratio: var(--story-image-aspect, 8 / 5);
  margin-inline: auto;
  background-size: contain;
  background-repeat: no-repeat;
}
.story-hero[data-image-fit="contain"]::after {
  background: none;
}
