/**
 * Call to Action V2 Block Styles
 *
 * @package made-to-thrive-2026-base
 * @since 1.0.0
 */

/* Screen reader text for accessibility */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

/* Call to Action V2 Container */
.call-to-action-v2 {
	position: relative;
	width: 100%;
	min-height: 760px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
}

/* Background Wrapper */
.cta-v2-background-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

/* Background Image */
.cta-v2-background-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.cta-v2-background-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Content Wrapper */
.cta-v2-content-wrapper {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1159px;
	margin: 0 auto;
	padding: 0 0 61px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 500px;
}

/* Text Box - Base Styles */
.cta-v2-text-box {
	width: 100%;
	max-width: 878px;
	padding: 47px 60px 80px;
	position: relative;
	z-index: 2;
	/* Default background if no block color is set */
	background-color: rgba(0, 0, 0, 0.7);
	/* Default text color if no block color is set */
	color: #ffffff;
}

/* Text Box Inner */
.cta-v2-text-box-inner {
	width: 100%;
}

/* Text Box Positioning - Left */
.cta-v2-text-box-left {
	margin-right: auto;
	margin-left: 0;
}

/* Text Box Positioning - Right */
.cta-v2-text-box-right {
	margin-left: auto;
	margin-right: 0;
}

/* Heading */
.cta-v2-heading {
	font-size: 56px;
	line-height: 83px;
	font-weight: 100;
	margin: 0 0 15px;
	/* Inherit text color from parent */
	color: inherit;
}

/* Copy */
.cta-v2-copy {
	font-size: 17px;
	line-height: 27px;
	margin: 0 0 35px;
	/* Inherit text color from parent */
	color: inherit;
}

.cta-v2-copy:last-child {
	margin-bottom: 0;
}

/* Button Wrapper */
.cta-v2-button-wrapper {
	margin-top: 1.5rem;
}

/* Button */
.cta-v2-button {
	border: none;
	cursor: pointer;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 28px;
	background-color: #013D36;
	color: #ffffff;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: background-color 0.3s ease, transform 0.2s ease;
	font-size: 14px;
	font-weight: 100;
	letter-spacing: 0.13rem;
	height: 57px;
}

.cta-v2-button:hover,
.cta-v2-button:focus {
	background-color: #6B7861;
}


/* Button Icon Wrapper */
.cta-v2-button-icon-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* Button Icon */
.cta-v2-button-icon {
	width: 1.25rem;
	height: 1.25rem;
	object-fit: contain;
	display: inline-block;
}

.cta-v2-button-icon.fa-regular,
.cta-v2-button-icon.fa-solid {
	font-size: 1.25rem;
	line-height: 1;
	width: auto;
	height: auto;
}

/* Button Text */
.cta-v2-button-text {
	white-space: nowrap;
}
@media (max-width:1080px) {
	.cta-v2-content-wrapper {
		max-width:95%;
	}
}
/* Responsive Design */
@media (max-width: 768px) {
	.call-to-action-v2 {
		min-height: 400px;
	}

	.cta-v2-content-wrapper {
		padding: 300px 1.5rem 1.5rem;
		min-height: 400px;
	}

	.cta-v2-text-box {
		max-width: 100%;
		padding: 2rem;
		margin-left: 0;
		margin-right: 0;
	}

	.cta-v2-heading {
		font-size: 44px;
		margin-bottom: 1rem;
		line-height: 52px;
	}

	.cta-v2-copy {
		font-size: 1rem;
		margin-bottom: 1rem;
	}

	.cta-v2-button {
		padding: 0.75rem 1.25rem;
		font-size: 0.9375rem;
	}
}

@media (max-width: 500px) {
	    .cta-v2-content-wrapper {
        padding: 300px 20px 1.5rem;
        min-height: 400px;
    }
	    .cta-v2-text-box {
        max-width: 100%;
        padding: 20px;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
	.cta-v2-background-img,
	.cta-v2-button {
		transition: none;
	}
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.cta-v2-text-box {
		border: 2px solid currentColor;
	}

	.cta-v2-button {
		border: 2px solid currentColor;
	}
}

/* Print Styles */
@media print {
	.cta-v2-background-wrapper {
		display: none;
	}

	.call-to-action-v2 {
		background-color: #f5f5f5;
		min-height: auto;
	}

	.cta-v2-text-box {
		background-color: #ffffff;
		color: #000000;
		border: 1px solid #000000;
	}

	.cta-v2-button {
		background-color: #000000;
		color: #ffffff;
		border: 1px solid #000000;
		page-break-inside: avoid;
	}
}

