.wilhc-carousel {
	--wilhc-slide-width: 94%;
	--wilhc-gap: 14px;
	--wilhc-radius: 20px;
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	box-sizing: border-box;
	outline: none;
}

.wilhc-carousel *,
.wilhc-carousel *::before,
.wilhc-carousel *::after {
	box-sizing: border-box;
}

@media (min-width: 601px) {
	.wilhc-carousel .wilhc-hide-desktop {
		display: none !important;
	}
}

@media (max-width: 600px) {
	.wilhc-carousel .wilhc-hide-phone {
		display: none !important;
	}
}

.wilhc-viewport {
	position: relative;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	cursor: grab;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x pan-y;
}

.wilhc-viewport::-webkit-scrollbar {
	display: none;
}

.wilhc-viewport.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.wilhc-track {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--wilhc-gap);
	width: 100%;
	margin: 0;
	padding-right: calc((100% - var(--wilhc-slide-width)) / 2);
	padding-left: calc((100% - var(--wilhc-slide-width)) / 2);
}

.wilhc-slide {
	position: relative;
	flex: 0 0 var(--wilhc-slide-width);
	width: var(--wilhc-slide-width);
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--wilhc-radius);
	background: #f5f5f7;
	transform: translateZ(0);
}

.wilhc-image {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover;
	object-position: center var(--wilhc-position-desktop, 50%);
	user-select: none;
	pointer-events: none;
	-webkit-user-drag: none;
}

@media (max-width: 600px) {
	.wilhc-image {
		object-position: center center;
	}
}

.wilhc-carousel.wilhc-overlay-on .wilhc-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(0, 0, 0, var(--wilhc-overlay-opacity, 0.35));
	pointer-events: none;
}

.wilhc-slide-content {
	position: absolute;
	z-index: 10;
	right: 7%;
	bottom: 11%;
	left: 7%;
	max-width: 680px;
	color: var(--wilhc-text-color, #fff);
	pointer-events: none;
}

.wilhc-slide-content.wilhc-align-left {
	margin-right: auto;
	margin-left: 0;
	text-align: left;
}

.wilhc-slide-content.wilhc-align-center {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.wilhc-slide-content.wilhc-align-right {
	margin-right: 0;
	margin-left: auto;
	text-align: right;
}

.wilhc-slide-headline {
	margin: 0;
	padding: 0;
	color: inherit;
	font-size: clamp(30px, 4vw, 64px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.03em;
	text-wrap: balance;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.15);
}

.wilhc-slide-description {
	margin-top: 15px;
	color: inherit;
	font-size: clamp(15px, 1.5vw, 21px);
	font-weight: 400;
	line-height: 1.4;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.wilhc-slide-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin-top: 22px;
	padding: 12px 23px;
	border: 0;
	border-radius: 999px;
	background: var(--wilhc-button-color, #fff);
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.13);
	color: var(--wilhc-button-text-color, #000) !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	cursor: pointer;
	pointer-events: auto;
	transition: transform 0.18s ease, opacity 0.18s ease;
}

.wilhc-slide-button:hover {
	transform: scale(1.03);
	opacity: 0.92;
}

.wilhc-slide-button:focus-visible,
.wilhc-arrow:focus-visible,
.wilhc-dot:focus-visible,
.wilhc-carousel:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.wilhc-arrow {
	position: absolute;
	top: 50%;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(225, 225, 230, 0.9);
	color: rgba(70, 70, 73, 0.8);
	cursor: pointer;
	transform: translateY(-50%);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	transition: background 0.18s ease, opacity 0.18s ease, visibility 0.18s ease;
}

.wilhc-arrow svg {
	width: 22px;
	height: 22px;
}

.wilhc-prev {
	left: calc((100% - var(--wilhc-slide-width)) / 2 + 15px);
}

.wilhc-next {
	right: calc((100% - var(--wilhc-slide-width)) / 2 + 15px);
}

.wilhc-arrow.is-disabled,
.wilhc-arrow:disabled {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.wilhc-dots {
	position: absolute;
	bottom: 28px;
	left: 50%;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	transform: translateX(-50%);
}

.wilhc-dot {
	width: 7px;
	height: 7px;
	min-width: 7px;
	min-height: 7px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.48);
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
	cursor: pointer;
}

.wilhc-dot.is-active {
	background: #fff;
}

.wilhc-carousel.wilhc-single-visible .wilhc-arrow,
.wilhc-carousel.wilhc-single-visible .wilhc-dots {
	display: none !important;
}

@media (max-width: 600px) {
	.wilhc-carousel {
		--wilhc-slide-width: calc(100% - 28px);
		--wilhc-gap: 10px;
		--wilhc-radius: 16px;
	}

	.wilhc-slide-content {
		right: 20px;
		bottom: 12%;
		left: 20px;
		max-width: none;
	}

	.wilhc-slide-headline {
		font-size: clamp(24px, 8vw, 38px);
	}

	.wilhc-slide-description {
		margin-top: 10px;
		font-size: 14px;
	}

	.wilhc-slide-button {
		min-height: 42px;
		margin-top: 15px;
		padding: 10px 19px;
		font-size: 14px;
	}

	.wilhc-arrow {
		width: 38px;
		height: 38px;
	}

	.wilhc-arrow svg {
		width: 18px;
		height: 18px;
	}

	.wilhc-prev {
		left: calc((100% - var(--wilhc-slide-width)) / 2 + 9px);
	}

	.wilhc-next {
		right: calc((100% - var(--wilhc-slide-width)) / 2 + 9px);
	}

	.wilhc-dots {
		bottom: 16px;
		gap: 9px;
	}

	.wilhc-dot {
		width: 6px;
		height: 6px;
		min-width: 6px;
		min-height: 6px;
	}
}

.wilhc-carousel.wilhc-fullscreen {
	--wilhc-slide-width: 100vw;
	--wilhc-gap: 0;
	--wilhc-radius: 0;
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	margin-right: -50vw;
	margin-left: -50vw;
	overflow: hidden;
}

.wilhc-carousel.wilhc-fullscreen .wilhc-viewport {
	width: 100vw;
	height: 100vh;
	height: 100svh;
	height: 100dvh;
}

.wilhc-carousel.wilhc-fullscreen .wilhc-track {
	width: max-content;
	height: 100%;
	gap: 0;
	padding-right: 0;
	padding-left: 0;
}

.wilhc-carousel.wilhc-fullscreen .wilhc-slide {
	flex: 0 0 100vw;
	width: 100vw;
	height: 100vh;
	height: 100svh;
	height: 100dvh;
	min-height: 100svh;
	border-radius: 0;
	aspect-ratio: auto;
}

.wilhc-carousel.wilhc-fullscreen .wilhc-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center var(--wilhc-position-desktop, 50%);
}

.wilhc-carousel.wilhc-fullscreen .wilhc-prev {
	left: max(16px, env(safe-area-inset-left));
}

.wilhc-carousel.wilhc-fullscreen .wilhc-next {
	right: max(16px, env(safe-area-inset-right));
}

.wilhc-carousel.wilhc-fullscreen .wilhc-dots {
	bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
}

@media (max-width: 600px) {
	.wilhc-carousel.wilhc-fullscreen .wilhc-image {
		object-position: center center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wilhc-carousel *,
	.wilhc-carousel *::before,
	.wilhc-carousel *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
	}
}
