.laive-food-hero-slider {
	--food-hero-max-width: 100%;
	--food-hero-height: 720px;
	--food-hero-background: #111111;
	--food-hero-image-fit: cover;
	--food-hero-image-position: center center;
	--food-hero-image-position-mobile: center center;
	--food-hero-transition-ms: 600ms;
	--food-hero-autoplay-ms: 5000ms;
	--food-hero-top-overlay: rgba(0, 0, 0, 0.18);
	--food-hero-top-overlay-height: 25%;
	--food-hero-bottom-overlay: rgba(0, 0, 0, 0.72);
	--food-hero-bottom-overlay-height: 48%;
	--food-hero-content-width: 980px;
	--food-hero-content-bottom: 122px;
	--food-hero-text-align: center;
	--food-hero-text-gap: 12px;
	--food-hero-nav-width: 420px;
	--food-hero-nav-bottom: 64px;
	--food-hero-nav-height: 4px;
	--food-hero-nav-gap: 0px;
	--food-hero-nav-radius: 999px;
	--food-hero-nav-track: #ffffff;
	--food-hero-nav-progress: #009b48;
	position: relative;
	width: 100%;
	max-width: var(--food-hero-max-width);
	height: var(--food-hero-height);
	margin-right: auto;
	margin-left: auto;
	background: var(--food-hero-background);
}

.laive-food-hero-slider *,
.laive-food-hero-slider *::before,
.laive-food-hero-slider *::after {
	box-sizing: border-box;
}

.laive-food-hero-slider__viewport {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	isolation: isolate;
	background: var(--food-hero-background);
}

.laive-food-hero-slider__slides,
.laive-food-hero-slider__slide,
.laive-food-hero-slider__picture {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.laive-food-hero-slider__slide {
	z-index: 1;
	display: block;
	margin: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--food-hero-transition-ms) ease;
}

.laive-food-hero-slider__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.laive-food-hero-slider__slide::before,
.laive-food-hero-slider__slide::after {
	position: absolute;
	left: 0;
	z-index: 2;
	width: 100%;
	pointer-events: none;
	content: "";
}

.laive-food-hero-slider__slide::before {
	top: 0;
	height: var(--food-hero-top-overlay-height);
	background: linear-gradient(180deg, var(--food-hero-top-overlay) 0%, rgba(0, 0, 0, 0) 100%);
}

.laive-food-hero-slider__slide::after {
	bottom: 0;
	height: var(--food-hero-bottom-overlay-height);
	background: linear-gradient(0deg, var(--food-hero-bottom-overlay) 0%, rgba(0, 0, 0, 0) 100%);
}

.laive-food-hero-slider__picture {
	display: block;
	z-index: 1;
	overflow: hidden;
}

.laive-food-hero-slider__picture img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: var(--food-hero-image-fit);
	object-position: var(--food-hero-image-position);
}

.laive-food-hero-slider__content {
	position: absolute;
	right: auto;
	bottom: var(--food-hero-content-bottom);
	left: 50%;
	z-index: 4;
	display: flex;
	flex-direction: column;
	gap: var(--food-hero-text-gap);
	width: min(var(--food-hero-content-width), calc(100% - 48px));
	text-align: var(--food-hero-text-align);
	transform: translateX(-50%);
}

.laive-food-hero-slider__heading,
.laive-food-hero-slider__subtitle {
	width: 100%;
	margin: 0;
}

.laive-food-hero-slider__heading {
	color: #ffffff;
	font-family: inherit;
	font-size: clamp(32px, 4.2vw, 58px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: 0;
}

.laive-food-hero-slider__subtitle {
	color: #ffffff;
	font-family: inherit;
	font-size: clamp(17px, 1.6vw, 24px);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0;
}

.laive-food-hero-slider__nav {
	position: absolute;
	bottom: var(--food-hero-nav-bottom);
	left: 50%;
	z-index: 4;
	display: flex;
	gap: var(--food-hero-nav-gap);
	width: min(var(--food-hero-nav-width), calc(100% - 48px));
	height: var(--food-hero-nav-height);
	transform: translateX(-50%);
}

.laive-food-hero-slider__nav-button {
	position: relative;
	flex: 1 1 0;
	height: max(var(--food-hero-nav-height), 16px);
	min-width: 24px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	color: inherit;
}

.laive-food-hero-slider__nav-button:hover,
.laive-food-hero-slider__nav-button:focus,
.laive-food-hero-slider__nav-button:focus-visible,
.laive-food-hero-slider__nav-button:active {
	background: transparent !important;
	outline: none !important;
	box-shadow: none !important;
	border: 0 !important;
}

.laive-food-hero-slider__nav-button span {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	display: block;
	height: var(--food-hero-nav-height);
	overflow: hidden;
	border-radius: var(--food-hero-nav-radius);
	background: var(--food-hero-nav-track);
	transform: translateY(-50%);
}

.laive-food-hero-slider__nav-button.is-active span {
	background: var(--food-hero-nav-progress);
}

@media (max-width: 1024px) {
	.laive-food-hero-slider {
		--food-hero-height: 620px;
		--food-hero-content-bottom: 96px;
		--food-hero-nav-bottom: 54px;
		--food-hero-content-width: 760px;
	}
}

@media (max-width: 767px) {
	.laive-food-hero-slider {
		--food-hero-height: 520px;
		--food-hero-content-bottom: 82px;
		--food-hero-nav-width: 260px;
		--food-hero-nav-bottom: 44px;
		--food-hero-bottom-overlay-height: 56%;
	}

	.laive-food-hero-slider__picture img {
		object-position: var(--food-hero-image-position-mobile);
	}

	.laive-food-hero-slider__content {
		width: min(var(--food-hero-content-width), calc(100% - 32px));
	}

	.laive-food-hero-slider__heading {
		font-size: clamp(26px, 8vw, 38px);
	}

	.laive-food-hero-slider__subtitle {
		font-size: 16px;
	}

	.laive-food-hero-slider__nav {
		width: min(var(--food-hero-nav-width), calc(100% - 32px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.laive-food-hero-slider__slide {
		transition: none;
	}

}
