.hypnotique-legacy-slideshow {
	--hls-height: 650px;
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 2rem auto;
	overflow: hidden;
	background: #111;
}

.hypnotique-legacy-slideshow__viewport {
	width: 100%;
	height: var(--hls-height);
	overflow: hidden;
}

.hypnotique-legacy-slideshow__track {
	display: flex;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: transform .45s ease;
	will-change: transform;
}

.hypnotique-legacy-slideshow__slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.hypnotique-legacy-slideshow__slide figure {
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
}

.hypnotique-legacy-slideshow__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.hypnotique-legacy-slideshow figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: .75rem 1rem;
	color: #fff;
	background: linear-gradient(transparent, rgba(0, 0, 0, .78));
	font-size: .9rem;
}

.hypnotique-legacy-slideshow__button,
.hypnotique-legacy-slideshow__pause,
.hypnotique-legacy-slideshow__dot {
	appearance: none;
	border: 0;
	cursor: pointer;
}

.hypnotique-legacy-slideshow__button {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 46px;
	height: 46px;
	padding: 0;
	transform: translateY(-50%);
	border-radius: 50%;
	color: #fff;
	background: rgba(0, 0, 0, .48);
	font-size: 30px;
	line-height: 46px;
	text-align: center;
}

.hypnotique-legacy-slideshow__button:hover,
.hypnotique-legacy-slideshow__button:focus-visible,
.hypnotique-legacy-slideshow__pause:hover,
.hypnotique-legacy-slideshow__pause:focus-visible {
	background: rgba(0, 0, 0, .75);
}

.hypnotique-legacy-slideshow__button--prev { left: 16px; }
.hypnotique-legacy-slideshow__button--next { right: 16px; }

.hypnotique-legacy-slideshow__dots {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 18px;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
}

.hypnotique-legacy-slideshow__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 1px solid #fff;
	border-radius: 50%;
	background: rgba(255, 255, 255, .35);
}

.hypnotique-legacy-slideshow__dot.is-active {
	background: #fff;
}

.hypnotique-legacy-slideshow__pause {
	position: absolute;
	z-index: 2;
	right: 16px;
	bottom: 14px;
	width: 34px;
	height: 34px;
	padding: 0;
	border-radius: 50%;
	color: #fff;
	background: rgba(0, 0, 0, .48);
	font-size: 11px;
	line-height: 34px;
}

@media (max-width: 782px) {
	.hypnotique-legacy-slideshow { --hls-height: 420px; }
	.hypnotique-legacy-slideshow__button { width: 40px; height: 40px; line-height: 40px; }
	.hypnotique-legacy-slideshow__button--prev { left: 10px; }
	.hypnotique-legacy-slideshow__button--next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.hypnotique-legacy-slideshow__track { transition: none; }
}
