/* Layer `stills`: the film stills of the case pages. MOCKUP: not for release.
   The images keep their own aspect ratio (width and height attributes); nothing is cropped. */

/* Main still: its frame carries an inline `aspect-ratio: 16 / 9`, which cropped or letterboxed
   any other ratio. Only an important rule beats an inline style, so this one is, and it is the
   only one. The frame then takes the height of the image. The stylesheet is linked on the case
   pages only. */
.detail-grid .detail-image .media-frame {
  aspect-ratio: auto !important;
}

.detail-grid .detail-image .media-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Frames 02 to 05: one column on small screens, two columns from 700px. The gap is half of the
   page gutter. */
.case-stills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: max(0.75rem, calc(var(--gutter, 3rem) / 2));
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-stills__item {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.case-stills__img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 699px) {
  .case-stills {
    grid-template-columns: minmax(0, 1fr);
  }
}
