.banner-carousel {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.banner-carousel__viewport {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.banner-carousel__track {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: transform 0.6s ease;
	will-change: transform;
}

.banner-carousel__slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

.banner-carousel__link {
	display: block;
	width: 100%;
}


.banner-carousel__picture {
	display: block;
	width: 100%;
}

.banner-carousel__image {
	display: block;
	width: 100%;
	max-width: none;
	height: min(796px, calc(100vw * 796 / 1983));
	object-fit: cover;
}

.banner-carousel__download {
	position: absolute;
	top: 32px;
	right: 32px;
	bottom: auto;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: #fff;
	color: var(--wp--preset--color--primary, #614d76);
	font-size: 0.925rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.banner-carousel__download svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

.banner-carousel__download:hover,
.banner-carousel__download:focus-visible {
	background: var(--wp--preset--color--primary, #614d76);
	color: #fff;
	outline: none;
}

.banner-carousel__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background 0.2s ease;
}

.banner-carousel__arrow:hover,
.banner-carousel__arrow:focus-visible {
	background: rgba(0, 0, 0, 0.75);
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.banner-carousel__arrow svg {
	width: 24px;
	height: 24px;
}

.banner-carousel__arrow--prev {
	left: 16px;
}

.banner-carousel__arrow--next {
	right: 16px;
}

.banner-carousel__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 0;
}

.banner-carousel__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c9c9c9;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.banner-carousel__dot:hover,
.banner-carousel__dot:focus-visible {
	background: #8a8a8a;
}

.banner-carousel__dot.is-active {
	background: #111;
	transform: scale(1.2);
}

@media (prefers-reduced-motion: reduce) {
	.banner-carousel__track {
		transition: none;
	}
}

@media (max-width: 767px) {
	.banner-carousel__image {
		height: calc(100vw * 796 / 637);
	}
}

@media (max-width: 768px) {
	.banner-carousel__arrow {
		width: 38px;
		height: 38px;
	}

	.banner-carousel__arrow--prev {
		left: 8px;
	}

	.banner-carousel__arrow--next {
		right: 8px;
	}

	.banner-carousel__arrow svg {
		width: 18px;
		height: 18px;
	}
}

@media (max-width: 480px) {
	.banner-carousel__download {
		top: 16px;
		right: 16px;
		bottom: auto;
	}

	.banner-carousel__dots {
		gap: 8px;
		padding: 10px 0;
	}

	.banner-carousel__dot {
		width: 8px;
		height: 8px;
	}
}
