.pv-case .pv-development-stage-portrait-top .pv-gallery figure img {
  object-position: 50% 0;
}

.pv-case .pv-development-stage-wide .pv-gallery figure img {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.pv-case .pv-development-stage-portrait-frames .pv-gallery figure img {
  height: auto;
  max-height: none;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.pv-case .pv-development-motion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.pv-case .pv-development-motion-grid:has(figure:only-child) {
  grid-template-columns: minmax(0, 560px);
}

.pv-case .pv-development-motion-grid figure {
  min-width: 0;
  margin: 0;
}

.pv-case .pv-development-motion-grid video {
  display: block;
  width: 100%;
  height: min(38vw, 480px);
  border-radius: 14px;
  background: #171717;
  object-fit: contain;
}

.pv-case .pv-development-motion-grid figcaption {
  padding-top: 12px;
  color: #d6dbd1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .pv-case .pv-development-motion-grid,
  .pv-case .pv-development-motion-grid:has(figure:only-child) {
    grid-template-columns: 1fr;
  }

  .pv-case .pv-development-motion-grid video {
    height: min(78vw, 460px);
  }
}
