.static-hero-slider {
	aspect-ratio: var(--slider-ratio-mobile, 1);
}

@media all and (min-width: 640px) {
	.static-hero-slider {
		aspect-ratio: var(--slider-ratio-desktop, 1);
	}
}

.static-hero-slider .swiper-slide {
	height: 100%;
}

.static-hero-slider picture {
	display: block;
	width: 100%;
	height: 100%;
}

/* Before Swiper boots (and inside the block editor, where the theme JS is not
   loaded) only the first slide should be visible. */
.static-hero-slider:not(.swiper-initialized) .swiper-slide + .swiper-slide {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.static-hero-slider .swiper-wrapper {
		transition-duration: 0ms !important;
	}
}
