/* A playground item reuses the project page's layout (/pages/work/project/
   style.css); only the media box differs. */

[hidden] {
  display: none !important;
}

/* the one image holds still on hover; it expands on click instead */
.pg-detail-media:hover img {
  transform: none;
}

/* full column width, and as tall as the media's own shape needs, so
   nothing is cropped off the sides (or anywhere else) */
.pg-detail-media {
  height: auto;
  aspect-ratio: auto;
}

.pg-detail-media img,
.pg-detail-media video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pg-detail-missing {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 20px;
  color: var(--text-muted);
}
