/* Keep the original anchored inside its own example while it expands. */
@media (any-hover: hover) {
  :is(.vr-card-media > .vr-thumb, .ps-card-media > .ps-thumb,
      .pp-media > img.thumb, .case-media > img.thumb, .scenario-card .visual > img.thumb,
      .card-media > .thumb, .template-card > .thumb-box,
      .pp-story .visual > img.thumb, .story-card .visual > .thumb) {
    z-index: 3;
    cursor: zoom-in;
  }

  :is(.vr-card-media > .vr-thumb, .ps-card-media > .ps-thumb,
      .pp-media > img.thumb, .case-media > img.thumb, .scenario-card .visual > img.thumb,
      .card-media > .thumb, .template-card > .thumb-box,
      .pp-story .visual > img.thumb, .story-card .visual > .thumb):hover {
    box-sizing: border-box;
    width: min(72%, 320px);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    background: white;
    box-shadow: 0 6px 24px rgb(0 0 0 / 25%);
  }

  :is(.vr-card-media > .vr-thumb, .ps-card-media > .ps-thumb, .card-media > .thumb,
      .template-card > .thumb-box, .story-card .visual > .thumb):hover > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .vto-thumbs > img:hover {
    position: relative;
    z-index: 1;
    transform: scale(2.4);
    transform-origin: bottom left;
    object-fit: contain;
    background: white;
  }
}
