.wildemans-header {
	position: relative;
	width: 100%;
	max-width: 924px;
	aspect-ratio: 924 / 216;
	overflow: hidden;
}

.wildemans-header .wildemans-header__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1200ms ease-in-out;
	pointer-events: none;
}

.wildemans-header .wildemans-header__image.is-active {
	opacity: 1;
}

.wildemans-header__controls[hidden] {
	display: none;
}

.wildemans-header__controls {
	position: absolute;
	inset: auto 0 6px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.wildemans-header__dots {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 100%;
}

.wildemans-header__dot {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	cursor: pointer;
}

.wildemans-header__dot::before {
	content: '';
	box-sizing: border-box;
	width: 10px;
	height: 10px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #0006;
	box-shadow: 0 0 2px #000;
}

.wildemans-header__dot[aria-pressed='true']::before {
	background: #fff;
}

.wildemans-header button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px #222;
}

@media (prefers-reduced-motion: reduce) {
	.wildemans-header .wildemans-header__image {
		transition: none;
	}
}
