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

/* Screen reader text for accessibility */
.call-to-action .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 Container */
.call-to-action {
	width: 100%;
	padding: 65px 0 106px;
}
.call-to-action.has-dark-green-color .call-to-action-button {
	color:white!important;
}

.call-to-action-container {
	max-width: 1077px;
	margin: 0 auto;
	width: 95%;
}

/* Copy Section */
.call-to-action-copy {
	margin-bottom: 36px;
	text-align: left;
}
.call-to-action-copy h2 {
	font-size:37px;
	line-height:43px;
}

.call-to-action-copy p {
	margin: 0 0 1rem 0;
}

.call-to-action-copy p:last-child {
	margin-bottom: 0;
}

/* Buttons Container */
.call-to-action-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: flex-start;
	align-items: center;
}

/* Button */
.call-to-action-button {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.875rem 30px;
	background-color: var(--button-bg-color, #013D36);
	color: #ffffff;
	text-decoration: none;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 100;
	transition: background-color 0.3s ease, transform 0.2s ease, outline 0.2s ease;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	height: 57px;
}

.call-to-action-button:hover,
.call-to-action-button:focus {
	background-color: #6B7861;
}

.call-to-action-button:active {
	transform: translateY(0);
}

.call-to-action-button:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
}

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

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

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

/* Button Text */
.call-to-action-button-text {
	white-space: nowrap;
}

/* Disclaimer */
.call-to-action-disclaimer {
	margin-top: 58px;
	font-size: 14px;
	line-height: 27px;
	color: inherit;
	opacity: 0.32;
	margin-bottom: -55px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.call-to-action {
		padding: 45px 30px 75px;
	}
	.call-to-action-container {
		width:100%;
	}
	.call-to-action-copy {
		margin-bottom: 1.5rem;
	}

	.call-to-action-buttons {
		width: 100%;
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.call-to-action-button {
		width: fit-content;
		justify-content: center;
		margin: 0;
	}
	.call-to-action-copy h2 {
	    font-size: 29px;
	    line-height: 38px;
	}
}

@media (max-width: 500px) {
	.call-to-action-buttons {
		margin-top:50px;
	}
	.call-to-action-disclaimer {
		font-size:12px;
		line-height:15px;
		margin: 60px 0 10px;
	}
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
	.call-to-action-button {
		transition: none;
	}
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.call-to-action-button {
		border: 2px solid currentColor;
	}
}

/* Print Styles */
@media print {
	.call-to-action {
		background-color: #f5f5f5;
		padding: 1rem;
	}

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

