/* Track grid: fixed square frames; preserve complete media. Strip sizing remains independent. */
.track-gallery .filmstrip.filmstrip--grid .film-cell { min-width: 0; }
.track-gallery .filmstrip.filmstrip--grid .gallery-item {
  width: 100%; height: auto; aspect-ratio: 1 / 1;
}
.track-gallery .filmstrip.filmstrip--grid .gallery-item > img,
.track-gallery .filmstrip.filmstrip--grid .gallery-item > video,
.track-gallery .filmstrip.filmstrip--grid .gallery-embed-frame {
  width: 100%; height: 100%; max-width: none; aspect-ratio: auto; object-fit: contain;
}
