.front-slider {
	--front-slider-image-height: min(56.25cqw, 60vh);
	position: relative;
	container-type: inline-size;
}

.front-slider-track {
	display: flex;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	list-style: none;
	margin: 0;
	padding: 0;
}

.front-slider-slide {
	flex: 0 0 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	scroll-snap-align: start;
}

.front-slider-image {
	height: var(--front-slider-image-height);
	background: #d6d6d6;
}

.front-slider-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.front-slider-caption {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex: 1;
	background: #D6D6D6;
	color: #080808;
	text-align: left;
}

.front-slider-title {
	padding: 15px 20px;
	font-size: 19px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.front-slider-more {
	border: 1px solid #333;
	padding: 10px 15px;
	margin: 10px;
	flex: none;
}

.front-slider-more:hover {
	border: 1px solid #DE2821;
}

.front-slider-controls,
.front-slider-dots {
	display: flex;
	align-items: center;
	justify-content: center;
}

.front-slider-controls[hidden] {
	visibility: hidden;
}

.front-slider-controls button {
	display: grid;
	place-items: center;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.front-slider-controls .front-slider-arrow {
	position: absolute;
	z-index: 1;
	top: calc(var(--front-slider-image-height) / 2);
	transform: translateY(-50%);
	width: 44px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.58);
	color: #fff;
	font-size: 0;
}

.front-slider-arrow::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 9px;
	height: 9px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translateX(-4px) rotate(45deg);
}

.front-slider-arrow[data-slider-step="-1"]::before {
	transform: translateX(4px) rotate(-135deg);
}

.front-slider-controls .front-slider-arrow:hover {
	background: rgba(0, 0, 0, 0.8);
}

.front-slider-arrow[data-slider-step="-1"] {
	inset-inline-start: 12px;
}

.front-slider-arrow[data-slider-step="1"] {
	inset-inline-end: 12px;
}

.front-slider-dots button {
	width: clamp(16px, 5vw, 28px);
}

.front-slider-dots button::before {
	content: "";
	width: 8px;
	height: 8px;
	border: 1px solid currentColor;
	border-radius: 50%;
}

.front-slider-dots button[aria-current="true"]::before {
	background: currentColor;
}

.front-slider :focus-visible {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}

@media only screen and (max-width: 600px) {
	.front-slider {
		--front-slider-image-height: 30vh;
	}
}
