/**
 * Lightweight homepage hero — replaces RevSlider "main-home".
 */
.tf-home-hero {
	--tf-hero-height: clamp(420px, 72vh, 760px);
	position: relative;
	isolation: isolate;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: var(--tf-hero-height);
	overflow: hidden;
	direction: rtl;
	background: #0a3a52;
	box-sizing: border-box;
}

.home .qodef-content,
.page-id-37 .qodef-content {
	overflow-x: clip;
}

.tf-home-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0;
	display: block;
}

.tf-home-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.tf-home-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		180deg,
		rgba(8, 40, 58, 0.12) 0%,
		rgba(8, 40, 58, 0.08) 45%,
		rgba(8, 40, 58, 0.28) 100%
	);
	pointer-events: none;
}

.tf-home-hero__badge {
	position: absolute;
	z-index: 2;
	top: 8%;
	left: 4%;
	width: clamp(110px, 16vw, 200px);
	height: auto;
	transform: rotate(-18deg);
	filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
	pointer-events: none;
}

.tf-home-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: var(--tf-hero-height);
	padding: 72px 20px 56px;
	text-align: center;
	box-sizing: border-box;
}

.tf-home-hero__title {
	margin: 0 0 18px;
	max-width: 920px;
	color: #ffffff;
	font-family: Rubik, Heebo, Arial, sans-serif;
	font-size: clamp(32px, 5.2vw, 64px);
	font-weight: 700;
	line-height: 1.15;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.tf-home-hero__subtitle {
	margin: 0;
	max-width: 720px;
	padding: 14px 22px;
	border-radius: 6px;
	background: rgba(210, 236, 245, 0.88);
	color: #0f5f8a;
	font-family: Rubik, Heebo, Arial, sans-serif;
	font-size: clamp(15px, 1.7vw, 20px);
	font-weight: 500;
	line-height: 1.55;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767px) {
	.tf-home-hero {
		--tf-hero-height: min(78vh, 640px);
	}

	.tf-home-hero__badge {
		top: 10%;
		left: 3%;
		width: clamp(92px, 28vw, 140px);
		transform: rotate(-14deg);
	}

	.tf-home-hero__content {
		justify-content: flex-end;
		padding: 48px 16px 40px;
	}

	.tf-home-hero__title {
		font-size: clamp(28px, 8.5vw, 40px);
		margin-bottom: 14px;
	}

	.tf-home-hero__subtitle {
		padding: 12px 16px;
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tf-home-hero__badge {
		transform: none;
	}
}

/**
 * Landing Layouts RevSlider — break out of boxed ~1300px content container.
 */
.tf-landing-layouts,
.vc_row:has(.tf-landing-layouts) {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	box-sizing: border-box;
}

.vc_row:has(.tf-landing-layouts) {
	left: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.vc_row:has(.tf-landing-layouts) > .wpb_column,
.vc_row:has(.tf-landing-layouts) .vc_column-inner,
.vc_row:has(.tf-landing-layouts) .wpb_wrapper {
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: none !important;
}

.tf-landing-layouts rs-module-wrap,
.tf-landing-layouts .rev_slider_wrapper {
	width: 100% !important;
	max-width: 100% !important;
	left: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
