/* Hero overlays — Base44 #home: gradient-to-r + gradient-to-t + gold hairline */

#hero.e-con {
	isolation: isolate;
	/* Vertically center; push copy to inline-start (right in RTL, left in LTR) */
	align-items: flex-start !important;
	justify-content: center !important;
}

/*
 * Kill Elementor's flat classic overlay (::before) and stack both Base44
 * gradients on one layer (paint order: to-t on top of to-r, same as Base44 DOM).
 */
#hero.e-con::before {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	z-index: 0 !important;
	pointer-events: none !important;
	opacity: 1 !important;
	background-color: transparent !important;
	background-image:
		linear-gradient(
			to top,
			#0a1428 0%,
			rgba(0, 0, 0, 0) 50%,
			rgba(10, 20, 40, 0.3) 100%
		),
		linear-gradient(
			to right,
			#0a1428 0%,
			rgba(10, 20, 40, 0.85) 50%,
			rgba(10, 20, 40, 0.4) 100%
		) !important;
}

/* Gold hairline — Base44: h-px from-transparent via-[#C5A059]/40 */
#hero.e-con::after {
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	top: auto !important;
	height: 1px !important;
	width: 100% !important;
	z-index: 2 !important;
	pointer-events: none !important;
	opacity: 1 !important;
	background-color: transparent !important;
	background-image: linear-gradient(
		to right,
		rgba(0, 0, 0, 0),
		rgba(197, 160, 89, 0.4),
		rgba(0, 0, 0, 0)
	) !important;
}

/*
 * Elementor 4 may omit .e-con-inner — keep copy ABOVE gradient overlays.
 * Base44 layout: max-w-7xl row, start-aligned max-w-2xl column.
 */
#hero.e-con > .e-con-inner,
#hero.e-con > .elementor-element {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding-block: 7rem 4rem;
	padding-inline: 1.25rem;
	box-sizing: border-box;
}

#hero.e-con > .e-con-inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

@media (min-width: 640px) {
	#hero.e-con > .e-con-inner,
	#hero.e-con > .elementor-element {
		padding-inline: 2rem;
	}
}

/* Base44: .max-w-2xl — start-aligned copy column (right in RTL, left in LTR) */
.ps-hero-copy {
	max-width: 42rem;
	width: 100%;
	margin-inline-end: auto;
	text-align: start;
	color: #fff;
}

.ps-hero-copy__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	padding: 0.375rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(197, 160, 89, 0.4);
	background: rgba(197, 160, 89, 0.1);
	color: #c5a059;
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	line-height: 1.4;
}

.ps-hero-copy__gold {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin-bottom: 1.25rem;
	color: #c5a059;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.4;
	font-family: var(--ps-font-serif, ui-serif, Georgia, Cambria, "Times New Roman", Times, serif);
	font-weight: 400;
}

.ps-hero-copy__gold svg {
	flex-shrink: 0;
}

.ps-hero-copy__title {
	margin: 0;
	color: #fff !important;
	font-family: var(--ps-font-serif, ui-serif, Georgia, Cambria, "Times New Roman", Times, serif);
	font-size: clamp(2rem, 4.5vw, 3.75rem);
	font-weight: 400;
	line-height: 1.1;
	text-align: start !important;
}

.ps-hero-copy__lede {
	margin: 1.5rem 0 0;
	max-width: 36rem;
	color: rgba(255, 255, 255, 0.7);
	font-family: var(--ps-font-sans, ui-sans-serif, system-ui, sans-serif);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.625;
	text-align: start;
}

.ps-hero-copy__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2.25rem;
}

.ps-hero-copy__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.2;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ps-hero-copy__btn--primary {
	background: #c5a059;
	color: #0a1428;
}

.ps-hero-copy__btn--primary:hover,
.ps-hero-copy__btn--primary:focus {
	background: #d4b06a;
	color: #0a1428;
}

.ps-hero-copy__btn--ghost {
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	backdrop-filter: blur(6px);
}

.ps-hero-copy__btn--ghost:hover,
.ps-hero-copy__btn--ghost:focus {
	border-color: #25d366;
	color: #25d366;
}

/* HTML widget wrapper shouldn't fight alignment */
#hero .elementor-widget-html,
#hero .elementor-widget-container {
	width: 100%;
}
