/**
 * Rotating image (includes/rotator.php).
 *
 * The images share one grid cell, so the slot takes the height of the images
 * themselves and needs no height setting. The one on show is .is-active; the
 * others sit underneath at no opacity, and the 1 second fade is the old
 * homepage slideshows' timing.
 */

.actabl-rotator {
	display: grid;
}

.actabl-rotator > .actabl-rotator__image {
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity 1s ease;
}

.actabl-rotator > .actabl-rotator__image.is-active {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.actabl-rotator > .actabl-rotator__image {
		transition: none;
	}
}
