.vlab-hero-output,
.vlab-hero-output * {
	box-sizing: border-box;
}

/*
 * On pages containing the slider, remove common theme title banners,
 * featured-title images and breadcrumbs. The PHP body class prevents a flash
 * on normal pages; the rendered class is a fallback for page builders that
 * keep shortcode content outside the regular WordPress editor.
 */
body:is(.vlab-has-hero-slider, .vlab-has-hero-slider-rendered) :is(
	.page-title,
	.page-title-area,
	.page-title-wrap,
	.page-title-wrapper,
	.page-header,
	.entry-header,
	.titlebar,
	.title-bar,
	.breadcrumb,
	.breadcrumbs,
	.breadcrumb-area,
	.breadcrumbs-area,
	.breadcrumb-wrap,
	.site-breadcrumbs,
	.yoast-breadcrumb,
	.wd-page-title,
	.woodmart-title,
	.ast-title-bar-wrap,
	.fusion-page-title-bar,
	.et_pb_title_container,
	.kadence-page-title
) {
	display: none !important;
}

body:is(.vlab-has-hero-slider, .vlab-has-hero-slider-rendered) :is(
	.main-page-wrapper,
	#main-content,
	#content,
	.site-content,
	.content-area,
	main.site-main,
	article.page,
	.entry-content,
	.elementor-location-single
) {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body:is(.vlab-has-hero-slider, .vlab-has-hero-slider-rendered) .entry-content > :first-child,
body:is(.vlab-has-hero-slider, .vlab-has-hero-slider-rendered) .vlab-hero-output,
body:is(.vlab-has-hero-slider, .vlab-has-hero-slider-rendered) .vlab-hero-slider {
	margin-top: 0 !important;
}

.vlab-hero-slider {
	position: relative;
	width: 100%;
	height: var(--vlab-desktop-height, 620px);
	margin: 0;
	overflow: hidden;
	background: #101828;
	isolation: isolate;
}

.vlab-hero-slider.is-full-width {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.vlab-slider-viewport,
.vlab-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.vlab-slide {
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--vlab-fade-duration, 1s) ease, visibility var(--vlab-fade-duration, 1s) ease;
}

.vlab-slide.is-active {
	z-index: 2;
	opacity: 1;
	visibility: visible;
}

.vlab-slide img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center;
	transform: scale(1);
	filter: none;
	transition: transform calc(var(--vlab-fade-duration, 1s) * 1.35) ease, filter var(--vlab-fade-duration, 1s) ease;
}

.vlab-effect-fade-zoom .vlab-slide img {
	transform: scale(1.06);
}

.vlab-effect-fade-zoom .vlab-slide.is-active img {
	transform: scale(1);
}

.vlab-effect-fade-blur .vlab-slide img {
	filter: blur(9px);
	transform: scale(1.025);
}

.vlab-effect-fade-blur .vlab-slide.is-active img {
	filter: blur(0);
	transform: scale(1);
}

.vlab-slide-overlay {
	position: absolute;
	z-index: 2;
	inset: 0;
	background: #07111f;
	opacity: var(--vlab-overlay-opacity, 0.35);
	pointer-events: none;
}

.vlab-slide-content {
	position: absolute;
	z-index: 3;
	inset: 0;
	display: flex;
	align-items: center;
	padding: clamp(52px, 7vw, 120px) clamp(28px, 8vw, 150px) clamp(72px, 8vw, 120px);
	color: #fff;
	pointer-events: none;
}

.vlab-slide-content-inner {
	width: min(780px, 100%);
	opacity: 0;
	transform: translateY(24px);
	transition: opacity calc(var(--vlab-fade-duration, 1s) * 0.8) ease calc(var(--vlab-fade-duration, 1s) * 0.2), transform calc(var(--vlab-fade-duration, 1s) * 0.8) ease calc(var(--vlab-fade-duration, 1s) * 0.2);
	pointer-events: auto;
}

.vlab-slide.is-active .vlab-slide-content-inner {
	opacity: 1;
	transform: translateY(0);
}

.vlab-text-left .vlab-slide-content {
	justify-content: flex-start;
	text-align: left;
}

.vlab-text-center .vlab-slide-content {
	justify-content: center;
	text-align: center;
}

.vlab-text-center .vlab-slide-content-inner {
	margin-right: auto;
	margin-left: auto;
}

.vlab-text-right .vlab-slide-content {
	justify-content: flex-end;
	text-align: right;
}

.vlab-text-right .vlab-slide-content-inner {
	margin-left: auto;
}

.vlab-hero-title {
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: inherit;
	font-size: clamp(38px, 5vw, 78px);
	font-weight: 750;
	line-height: 1.05;
	letter-spacing: -0.025em;
	text-shadow: 0 3px 22px rgba(0, 0, 0, 0.42);
}

.vlab-font-playfair .vlab-hero-title {
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 700;
}

.vlab-font-cinzel .vlab-hero-title {
	font-family: "Cinzel", Georgia, serif;
	font-weight: 700;
	letter-spacing: 0.015em;
}

.vlab-font-cormorant .vlab-hero-title {
	font-family: "Cormorant Garamond", Garamond, Georgia, serif;
	font-weight: 700;
	line-height: 0.98;
}

.vlab-font-great-vibes .vlab-hero-title {
	font-family: "Great Vibes", "Brush Script MT", cursive;
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0;
}

.vlab-font-bodoni .vlab-hero-title {
	font-family: "Bodoni Moda", Didot, "Times New Roman", serif;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.vlab-font-libre .vlab-hero-title {
	font-family: "Libre Baskerville", Georgia, serif;
	font-weight: 700;
	line-height: 1.1;
}

.vlab-font-montserrat .vlab-hero-title {
	font-family: "Montserrat", Arial, sans-serif;
	font-weight: 750;
}

.vlab-font-poppins .vlab-hero-title {
	font-family: "Poppins", Arial, sans-serif;
	font-weight: 700;
}

.vlab-font-theme-default .vlab-hero-title {
	font-family: inherit;
}

.vlab-hero-subtitle {
	max-width: 680px;
	margin: 18px 0 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.95);
	font-family: inherit;
	font-size: clamp(17px, 1.8vw, 24px);
	font-weight: 400;
	line-height: 1.5;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.vlab-text-center .vlab-hero-subtitle {
	margin-right: auto;
	margin-left: auto;
}

.vlab-text-right .vlab-hero-subtitle {
	margin-left: auto;
}

.vlab-hero-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 26px;
	padding: 12px 26px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
	color: #122033;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.vlab-hero-button:hover,
.vlab-hero-button:focus-visible {
	background: transparent;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
}

.vlab-hero-button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
}

.vlab-slider-arrow {
	position: absolute;
	z-index: 5;
	top: 50%;
	display: grid;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	background: rgba(10, 20, 35, 0.38);
	color: #fff;
	font: inherit;
	font-size: 23px;
	line-height: 1;
	place-items: center;
	transform: translateY(-50%);
	cursor: pointer;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.vlab-slider-arrow:hover,
.vlab-slider-arrow:focus-visible {
	border-color: #fff;
	background: rgba(10, 20, 35, 0.75);
	transform: translateY(-50%) scale(1.06);
}

.vlab-slider-arrow:focus-visible,
.vlab-slider-dot:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.vlab-slider-prev { left: clamp(14px, 3vw, 46px); }
.vlab-slider-next { right: clamp(14px, 3vw, 46px); }

.vlab-slider-dots {
	position: absolute;
	z-index: 5;
	left: 50%;
	bottom: 22px;
	display: flex;
	gap: 9px;
	align-items: center;
	padding: 8px 11px;
	border-radius: 999px;
	background: rgba(10, 20, 35, 0.26);
	transform: translateX(-50%);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.vlab-slider-dot {
	display: block;
	width: 9px;
	height: 9px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	transition: width 180ms ease, border-radius 180ms ease, background-color 180ms ease;
}

.vlab-slider-dot.is-active {
	width: 25px;
	border-radius: 99px;
	background: #fff;
}

.vlab-content-below-slider {
	width: 100%;
	margin-top: 0;
}

@media (max-width: 1024px) {
	.vlab-hero-slider {
		height: var(--vlab-tablet-height, 480px);
	}
}

@media (max-width: 767px) {
	.vlab-hero-slider {
		height: var(--vlab-mobile-height, 360px);
	}

	.vlab-slider-arrow {
		width: 40px;
		height: 40px;
		font-size: 19px;
	}

	.vlab-slider-prev { left: 10px; }
	.vlab-slider-next { right: 10px; }
	.vlab-slider-dots { bottom: 14px; }

	.vlab-slide-content {
		padding: 46px 24px 68px;
	}

	.vlab-hero-title {
		font-size: clamp(32px, 11vw, 50px);
	}

	.vlab-hero-subtitle {
		margin-top: 12px;
		font-size: 16px;
		line-height: 1.45;
	}

	.vlab-hero-button {
		min-height: 44px;
		margin-top: 20px;
		padding: 10px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vlab-slide,
	.vlab-slide img,
	.vlab-slide-content-inner,
	.vlab-hero-button,
	.vlab-slider-arrow,
	.vlab-slider-dot {
		transition-duration: 0.01ms !important;
	}
}
