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

.post-call-to-action {
	width: 100%;
	padding: 0;
	box-sizing: border-box;
}

.post-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;
}

.post-call-to-action__container {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}


.post-call-to-action__inner {
	margin: 44px auto;
	border: 1px solid #013D36;
	border-radius: 30px;
	background: #ffffff;
	padding: 18px 39px 40px;
	box-sizing: border-box;
}

.post-call-to-action__header {
	max-width: 980px;
}

.post-call-to-action__title {
	margin: 30px 0 -9px!important;
	font-weight: 300;
	font-size: 46px!important;
	line-height: 1.05;
	letter-spacing: 0.005rem;
	color: #013D36;
}

.post-call-to-action__copy {
	margin: 0 0 2rem 0;
	max-width: 900px;
	color: #013D36;
	font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	font-size: clamp(1.05rem, 1.2vw, 1.375rem);
	line-height: 1.5;
}

.post-call-to-action__copy p {
	margin: 0 0 0.75rem 0;
}

.post-call-to-action__copy p:last-child {
	margin-bottom: 0;
}

.post-call-to-action__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	align-items: center;
	justify-content: flex-start;
	margin: 36px 0 6px;
}

.post-cta-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: 500;
	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;
}

.post-cta-button:hover {
	background-color: #6B7861;
}

.post-cta-button-icon-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.post-cta-button-icon {
	width: 1.25rem;
	height: 1.25rem;
	object-fit: contain;
	display: inline-block;
	filter: brightness(0) invert(1);
}

.post-cta-button-icon.fa-regular,
.post-cta-button-icon.fa-solid {
	filter: none;
	width: auto;
	height: auto;
	font-size: 20px;
	line-height: 1;
	color: #ffffff;
}

.post-cta-button-text {
	letter-spacing: inherit;
}

@media (max-width: 768px) {
	.post-call-to-action__inner {
		border-radius: 32px;
	}

	.post-call-to-action__buttons {
		gap: 1rem;
	}

	.post-cta-button {
		padding: 0.95rem 2rem;
		letter-spacing: 0.14em;
	}
}

@media (max-width: 520px) {
	.post-call-to-action__inner {
		border-radius: 26px;
	}

	.post-call-to-action__buttons {
		align-items: stretch;
	}

	.post-cta-button {
		justify-content: center;
		width: fit-content;
	}
}

@media (prefers-reduced-motion: reduce) {
	.post-cta-button {
		transition: none;
	}
}

@media (prefers-contrast: high) {
	.post-call-to-action__inner {
		border-width: 3px;
	}

	.post-cta-button {
		border: 2px solid currentColor;
		box-shadow: none;
	}
}

@media print {
	.post-call-to-action__inner {
		border: 1px solid #000000;
	}

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


