.wx-caprows {
	perspective: 1200px;
}

.wx-caprows > li {
	transform-style: preserve-3d;
}

.wx-caprows a {
	min-height: 0;
	transform-origin: center bottom;
	backface-visibility: hidden;
}

/* Natural column size, same proportion as vh-dev. The old 46vh
   minimum was stretching the photo; a fixed 18rem made it too small. */
.wx-caprows img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	align-self: center;
	justify-self: stretch;
	object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
	.wx-caprows,
	.wx-caprows > li,
	.wx-caprows a {
		perspective: none;
		transform: none !important;
		filter: none !important;
		opacity: 1 !important;
	}
}
