.nomon-hero-slider {
	--swiper-pagination-color: var(--wp--preset--color--background);
	--swiper-pagination-bullet-inactive-color: #000;
	--swiper-pagination-bullet-inactive-opacity: 0.33;
	--swiper-pagination-bullet-size: 10px;
	--swiper-pagination-bullet-horizontal-gap: 5px;
	--swiper-pagination-bottom: 33px;
}

/* Swiper's unlayered `.swiper-slide { height: 100% }` beats a Tailwind height utility. */
.nomon-hero-slider__slide {
	height: 550px;
}

.nomon-hero-slider__overlay {
	background: linear-gradient(transparent 60%, var(--wp--preset--color--accent) 100%);
}

/* Keeps the white title readable where it sits on a light part of the photo (AA for large text). */
.nomon-hero-slider__title {
	text-shadow: 0 1px 2px rgb(0 0 0 / 0.6), 0 0 12px rgb(0 0 0 / 0.6);
}

/* The bullet row is inline content; without this its line box shifts the dots off the 38 px centre line. */
.nomon-hero-slider .swiper-pagination {
	line-height: 0;
}

@media (max-width: 478px) {
	.nomon-hero-slider__slide {
		height: auto;
		aspect-ratio: 1;
	}

	.nomon-hero-slider__overlay {
		background: color-mix(in srgb, var(--wp--preset--color--accent) 50%, transparent);
	}
}
