/**
 * Full Height CTA Block Styles
 */

.full-height-cta {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--wp--preset--color--white);
}

/* Overlay for better text readability */
.full-height-cta__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: lightgray;
	opacity: 0.15;
	pointer-events: none;
	z-index: 1;
}

.full-height-cta__container {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: var(--rvn-spacing-3xl) var(--rvn-spacing-xl);
}

.full-height-cta__content {
	max-width: 600px;
}

/* Typography */
.full-height-cta__heading {
	font-size: var(--rvn-font-size-h2);
	line-height: 1.1;
	margin: 0 0 var(--rvn-spacing-3xl) 0;
	text-transform: uppercase;
	font-weight: var(--rvn-font-weight-black);
	color: var(--wp--preset--color--white);
}

.full-height-cta__text {
  max-width: 650px;
	margin-bottom: var(--rvn-spacing-3xl);
	color: var(--wp--preset--color--white);
}

.full-height-cta__text p {
	color: var(--wp--preset--color--white);
}

.full-height-cta__text p:last-child {
	margin-bottom: 0;
}

/* Button */
.full-height-cta__button {
	margin-top: var(--rvn-spacing-3xl);
}

/* Alignment Support */
.full-height-cta.alignfull {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Responsive Styles */
@media (min-width: 1024px) {
	.full-height-cta__content {
		max-width: 800px;
	}
}

@media (max-width: 1023px) {
	.full-height-cta {
		min-height: 80vh;
		justify-content: center;
	}

	.full-height-cta__container {
		padding: var(--rvn-spacing-xl) var(--rvn-spacing-lg);
		text-align: center;
	}

	.full-height-cta__content {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin: 0 auto;
	}

	.full-height-cta__heading {
		font-size: clamp(40px, 6vw, 60px);
		text-align: center;
	}

	.full-height-cta__text {
		font-size: 20px;
		text-align: center;
	}

	.full-height-cta__button {
		display: flex;
		justify-content: center;
	}
}

@media (max-width: 767px) {
	.full-height-cta {
		min-height: 70vh;
	}

	.full-height-cta__container {
		padding: var(--rvn-spacing-xl) var(--rvn-spacing-md);
	}

	.full-height-cta__content {
		max-width: 100%;
	}

	.full-height-cta__heading {
		font-size: clamp(32px, 8vw, 48px);
		margin-bottom: var(--rvn-spacing-lg);
	}

	.full-height-cta__text {
		font-size: 18px;
		margin-bottom: var(--rvn-spacing-xl);
	}

	.full-height-cta__button .wp-block-button__link {
		padding: var(--rvn-spacing-sm) var(--rvn-spacing-lg);
		font-size: 18px;
	}
}
