.custom-slider {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 6;
	min-height: 280px;
	max-height: 680px;
	margin: 0;
	overflow: hidden;
	touch-action: pan-y;
	box-shadow: rgb(0 0 0 / 31%) 0 10px 20px, rgb(0 0 0 / 25%) 0 6px 6px !important;
}
.custom-slider.is-single-slide {
	min-height: auto;
}

@media (max-width: 768px) {
.custom-slider {
	aspect-ratio: 16 / 9;
	min-height: 180px;
}
}
.slider-container {
	position: relative;
	width: 100%;
	height: 100%;
}
.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	opacity: 0;
	transform: scale(1.1);
	transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
	z-index: 0;
}
.slide.active {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	z-index: 1;
}
.slide picture, .slide a.slide-link, .slide img {
	display: block;
	width: 100%;
	height: 100%;
}
.slide img {
	object-fit: cover;
}
button.prev, button.next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 999px;
	background: rgb(0 0 0 / 19%);
	color: #fff;
	cursor: pointer !important;
	z-index: 10;
	transition: background .2s ease, transform .2s ease;
}
 button.prev:hover, button.next:hover, button.prev:focus-visible, button.next:focus-visible {
 background: rgba(0, 0, 0, 0.72);
}
 button.prev:focus-visible, button.next:focus-visible {
 outline: 2px solid #fff;
 outline-offset: 2px;
}
button.prev span, button.next span {
	font-size: 28px;
	line-height: 1;
}
button.prev {
	left: 14px;
}
button.next {
	right: 14px;
}
.slider-dots {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}
.slider-dots .dot {
	width: 11px;
	height: 11px;
	border: 0;
	border-radius: 50%;
	padding: 0;
	background: rgb(16 16 16 / 22%);
	cursor: pointer;
}
 .slider-dots .dot.active, .slider-dots .dot:hover, .slider-dots .dot:focus-visible {
 background: rgb(219 219 219 / 95%);
}
 .slider-dots .dot:focus-visible {
 outline: 2px solid #fff;
 outline-offset: 2px;
}

@media (max-width: 768px) {
button.prev,  button.next {
	width: 38px;
	height: 38px;
}
button.prev span,  button.next span {
	font-size: 22px;
}
button.prev {
	left: 10px;
}
button.next {
	right: 10px;
}
.slider-dots {
	bottom: 12px;
	gap: 8px;
}
.slider-dots .dot {
	width: 9px;
	height: 9px;
}
}
