/* Override BB's global module margin (Builder > Global Settings) so this
   module's own padding/spacing isn't fighting an extra 15px gutter. */
.fl-module-eaton-cta-block .fl-module-content {
	margin: 0;
}

.esq-cta-block {
	position: relative;
	background: #2A444D;
	padding: 80px 64px;
	overflow: hidden;
}

/* Auto-injected version on singular product posts — those pages use a
   1200px contained layout throughout, so this needs to match rather than
   running full-bleed like the manually-placed homepage version does. */
.esq-cta-block-contained {
	max-width: 1200px;
	margin: 0 auto;
}

/* Separator above the auto-injected block, pulling it out from whatever
   content immediately precedes it on the page. */
.esq-cta-block-separator {
	border: none;
	border-top: 1px solid #e3e1da;
	max-width: 33%;
	width: 33%;
	margin: 40px auto;
}

.esq-cta-block-stencil {
	position: absolute;
	top: 50%;
	right: -40px;
	height: 140%;
	width: auto;
	max-width: none;
	transform: translateY( -50% ) scale( 1.05 );
	transition: transform 1s ease;
	pointer-events: none;
}

.esq-cta-block.is-visible .esq-cta-block-stencil {
	transform: translateY( -50% ) scale( 1 );
}

.esq-cta-block-content {
	position: relative;
	max-width: 530px;
}

.esq-cta-block-heading {
	font-family: "Chronicle Display", Times, serif;
	color: #B48C68;
	font-size: 61px;
	line-height: 1.1;
	margin: 0 0 16px;
	text-transform: none;
	font-weight: 400;
}

.esq-cta-block-text {
	font-family: "Jost", Arial, sans-serif;
	color: #fff;
	font-weight: 400;
	font-size: 18px;
	line-height: 26px;
	letter-spacing: normal;
	margin: 0 0 32px;
}

.esq-cta-block-text a,
.esq-cta-block-text strong {
	font-weight: 700;
	color: #fff;
}

/* Identical to the hero banner CTA — same component, different module. */
.esq-cta-block-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #B48C68;
	color: #171717;
	font-family: "Jost", Arial, sans-serif;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 14px;
	text-decoration: none;
	padding: 14px 22px;
	white-space: nowrap;
	transition: background 0.25s ease, color 0.25s ease;
}

.esq-cta-block-cta:hover {
	background: #171717;
	color: #B48C68;
}

.esq-cta-block-cta .esq-arrow-icon {
	display: inline-block;
	transition: transform 0.25s ease;
}

.esq-cta-block-cta:hover .esq-arrow-icon {
	transform: translateX( 4px );
}

/* Animate-in on scroll — toggled by IntersectionObserver in
   cta-block-init.js. Staggered per element so heading leads, then the
   paragraph, then the button. */
.esq-anim {
	opacity: 0;
	transform: translateY( 20px );
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.esq-cta-block.is-visible .esq-anim {
	opacity: 1;
	transform: translateY( 0 );
}

.esq-cta-block.is-visible .esq-cta-block-heading {
	transition-delay: 0s;
}

.esq-cta-block.is-visible .esq-cta-block-text {
	transition-delay: 0.15s;
}

.esq-cta-block.is-visible .esq-cta-block-cta {
	transition-delay: 0.3s;
}

@media ( max-width: 900px ) {
	.esq-cta-block {
		padding: 56px 24px;
	}

	.esq-cta-block-content {
		text-align: center;
		margin: 0 auto;
	}

	.esq-cta-block-heading {
		font-size: 32px;
	}

	.esq-cta-block-cta {
		margin: 0 auto;
	}

	.esq-cta-block-stencil {
		opacity: 0.6;
	}
}
