.eis-swiper {
	--eis-height: 320px;
	position: relative;
	overflow: hidden;
}

/* Slide width follows the image: same height everywhere, width whatever the
   original aspect ratio dictates. Portraits stay narrow, panoramas stay wide. */
.eis-swiper .eis-slide {
	width: auto;
	height: var(--eis-height);
	/* Guard: a very wide panorama on a narrow viewport would otherwise push
	   past the container. The slide clips it instead. */
	max-width: 100%;
	overflow: hidden;
}

.eis-swiper .eis-slide img {
	display: block;
	height: 100%;
	width: auto;
	max-width: none;
}

.eis-swiper .swiper-pagination {
	position: static;
	margin-top: 12px;
}

.eis-swiper .swiper-button-prev,
.eis-swiper .swiper-button-next {
	color: currentColor;
}
