/* ==========================================================================
   ESTONE CALL TO ACTION BANNER SECTION STYLESHEET
   ========================================================================== */

/* Frontend Full Screen Edge-to-Edge Container Breakout */
.estone-cta-wrapper {
	position: relative;
	width: 100vw !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	padding: 4.5rem 3rem;
	overflow: hidden;
	text-align: center;
	box-sizing: border-box;
}

/* Gutenberg Admin Block Editor Canvas Containment ONLY */
.editor-styles-wrapper .estone-cta-wrapper,
.block-editor-block-list__layout .estone-cta-wrapper,
.block-editor-block-list__block .estone-cta-wrapper,
.block-editor-iframe__html .estone-cta-wrapper {
	width: 100% !important;
	max-width: 100% !important;
	left: auto !important;
	right: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.estone-cta-wrapper * {
	box-sizing: border-box;
}

/* Inner Container */
.estone-cta-inner-container {
	margin: 0 auto;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* Header */
.estone-cta-header {
	width: 100%;
	margin-bottom: 2rem;
}

.estone-cta-title {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 2.15rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	margin: 0;
	line-height: 1.3;
	word-wrap: break-word;
	text-align: center;
}

/* Button Wrapper & Pill Button */
.estone-cta-btn-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.estone-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-weight: 700;
	box-shadow: 0 4px 18px rgba(201, 0, 0, 0.25);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	line-height: 1;
	user-select: none;
}

.estone-cta-btn:hover {
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 8px 25px rgba(201, 0, 0, 0.4);
}

/* Responsive Breakdown */
@media (max-width: 600px) {
	.estone-cta-wrapper {
		padding: 3rem 1.25rem;
	}

	.estone-cta-title {
		font-size: 1.65rem;
	}
}
