/**
 * Homepage hero v2 — from lignum-land-redesign 7 (compact editorial banner).
 * Replaces Elementor section .elementor-element-43d5598a on the front page.
 */

/* Hide the original Elementor hero (kept in DOM for editor / cache safety). */
body.home .elementor-element-43d5598a,
body.molla-pack-theme-03.home .elementor-element-43d5598a {
	display: none !important;
}

.lignum-home-hero {
	--lignum-hero-ink: #25211d;
	--lignum-hero-cream: #f6f2e9;
	--lignum-hero-kicker: #e9e3db;
	--lignum-hero-accent: #c8ad8e;
	--lignum-hero-muted: #e9e4df;
	--lignum-hero-font: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;

	position: relative;
	color: #fff;
	height: 500px;
	min-height: 500px;
	max-height: 500px;
	box-sizing: border-box;
	overflow: hidden;
	background-color: #161412;
	background-image:
		linear-gradient(90deg, rgba(15, 14, 12, 0.76), rgba(18, 16, 14, 0.53) 37%, rgba(18, 16, 14, 0.08) 76%),
		var(--lignum-hero-image);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	font-family: var(--lignum-hero-font);
}

.lignum-home-hero__shell {
	height: 100%;
	width: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
	padding-left: var(--lignum-rail-pad, max(clamp(16px, 3vw, 32px), calc((100vw - 1440px) / 2)));
	padding-right: var(--lignum-rail-pad, max(clamp(16px, 3vw, 32px), calc((100vw - 1440px) / 2)));
	padding-top: clamp(48px, 7vh, 72px);
	padding-bottom: clamp(40px, 5vh, 56px);
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.lignum-home-hero__copy {
	width: min(100%, 710px);
	max-width: 710px;
	margin: 0;
	padding: 0;
}

.lignum-home-hero__kicker {
	font-family: var(--lignum-hero-font);
	font-size: 10px;
	letter-spacing: 0.18em;
	font-weight: 600;
	color: var(--lignum-hero-kicker);
	display: block;
	margin: 0 0 20px;
	text-transform: uppercase;
}

.lignum-home-hero__kicker span {
	color: var(--lignum-hero-accent);
	padding: 0 9px;
}

.lignum-home-hero__title {
	font-family: var(--lignum-hero-font) !important;
	font-style: normal !important;
	font-weight: 400 !important;
	letter-spacing: -0.05em !important;
	color: #fff !important;
	font-size: clamp(42px, 4.35vw, 62px) !important;
	line-height: 1.13 !important;
	margin: 0 0 19px !important;
	max-width: 700px;
	text-wrap: balance;
}

.lignum-home-hero__lead {
	font-family: var(--lignum-hero-font);
	font-size: 14px;
	line-height: 1.6;
	max-width: 430px;
	margin: 0 0 23px;
	color: var(--lignum-hero-muted);
}

.lignum-home-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	min-height: 46px;
	padding: 0 20px;
	white-space: nowrap;
	font-family: var(--lignum-hero-font);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none !important;
	background: var(--lignum-hero-cream);
	color: var(--lignum-hero-ink) !important;
	border: 0;
	border-radius: 0;
	transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.lignum-home-hero__btn span {
	font-size: 17px;
	line-height: 1;
	font-weight: 500;
}

.lignum-home-hero__btn:hover,
.lignum-home-hero__btn:focus {
	background: #fff;
	color: var(--lignum-hero-ink) !important;
	transform: translateY(-1px);
}

@media (max-width: 800px) {
	.lignum-home-hero {
		height: 500px;
		min-height: 500px;
		max-height: 500px;
		background-position: 59% center;
	}

	.lignum-home-hero__title {
		font-size: clamp(43px, 6vw, 56px) !important;
	}
}

@media (max-width: 550px) {
	.lignum-home-hero {
		height: 500px;
		min-height: 500px;
		max-height: 500px;
		background-position: 62% center;
		background-image:
			linear-gradient(90deg, rgba(15, 14, 12, 0.79), rgba(18, 16, 14, 0.53) 62%, rgba(18, 16, 14, 0.24)),
			var(--lignum-hero-image);
	}

	.lignum-home-hero__shell {
		padding-top: 40px;
	}

	.lignum-home-hero__kicker {
		font-size: 9px;
		margin-bottom: 17px;
	}

	.lignum-home-hero__title {
		font-size: clamp(38px, 9vw, 48px) !important;
	}

	.lignum-home-hero__lead {
		font-size: 13px;
		margin-bottom: 22px;
	}

	.lignum-home-hero__btn {
		min-height: 44px;
		padding: 0 18px;
	}
}

@media (max-width: 380px) {
	.lignum-home-hero__title {
		font-size: 36px !important;
	}

	.lignum-home-hero__btn {
		padding: 0 14px;
		gap: 16px;
	}
}
