/* Keep single-media Community cards the same size before and after loading. */
article[data-feed-item] .feed-visual:not(.feed-media-mosaic) .post-photo-open,
article[data-feed-item] .feed-visual:not(.feed-media-mosaic) video[data-feed-src] {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  background: #101410;
}
article[data-feed-item] .feed-visual:not(.feed-media-mosaic) video[data-feed-src] {
  height: auto;
  object-fit: contain;
}
article[data-feed-item] .feed-visual:not(.feed-media-mosaic) .post-photo-open { position: relative; }
article[data-feed-item] .feed-visual:not(.feed-media-mosaic) .post-photo-open img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
}

