/*
 * Centered CTA
 * Standalone text + up to two buttons (from Progression Tiles footer).
 */

.centered_cta-section {
	--cc-text: #1a1a1a;
	--cc-surface: #f8f8f8;
}

.centered_cta-section--bg-white {
	background-color: #fff;
}

.centered_cta-section--bg-grey {
	background-color: var(--cc-surface);
}

.centered_cta-section .cc-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	text-align: center;
}

.centered_cta-section .cc-cta-text {
	margin: 0;
	/* max-width: 40rem; */
	color: var(--cc-text);
	font-family:
		'Founders Grotesk Medium',
		'Founders Grotesk Medium Fallback',
		sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.35;
	text-align: center;
}

.centered_cta-section .cc-ctas {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	width: auto;
}

.centered_cta-section .cc-cta {
	width: auto;
}

.centered_cta-section .cc-cta .h-button {
	width: auto;
	max-width: 100%;
}

/* =====================================================
   BUTTONS — match secondary 44px height
   ===================================================== */

.centered_cta-section .cc-cta .h-button--secondary.h-button--light .h-button-content,
.centered_cta-section .cc-cta .h-button--secondary.h-button--light .h-button-text-content {
	text-transform: none;
	font-size: 20px !important;
	line-height: 16px !important;
	letter-spacing: 0% !important;
}

.centered_cta-section .cc-cta .h-button--primary.h-button--light {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	min-height: 44px;
	max-height: 44px;
	padding-top: 0;
	padding-bottom: 0;
	box-sizing: border-box;
	overflow: hidden;
	text-align: center;
}

.centered_cta-section .cc-cta .h-button--primary.h-button--light .h-button-content {
	display: block;
	width: 100%;
	text-align: center;
	text-transform: none;
	font-size: 20px !important;
	line-height: 1.25 !important;
	letter-spacing: 0% !important;
}

.centered_cta-section .cc-cta .h-button--primary.h-button--light .material-icons {
	height: 100%;
	max-height: 44px;
	box-sizing: border-box;
}

.centered_cta-section .cc-cta .h-button--secondary.h-button--light {
	width: auto;
	max-width: 100%;
	height: 44px;
	min-height: 44px;
	max-height: 44px;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 12px;
	padding-right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: transparent !important;
	border-color: #0a0a96;
	border-width: 2px;
	color: #0a0a96;
	text-align: center;
	opacity: 1 !important;
	box-sizing: border-box;
}

.centered_cta-section .cc-cta .h-button--secondary.h-button--light .h-button-content,
.centered_cta-section .cc-cta .h-button--secondary.h-button--light .h-button-text-content {
	color: #0a0a96 !important;
	text-align: center;
}

.centered_cta-section.faculty-theme--primary .cc-cta .h-button--secondary.h-button--light:hover,
.centered_cta-section.faculty-theme--primary .cc-cta .h-button--secondary.h-button--light:focus,
.centered_cta-section.faculty-theme--acap .cc-cta .h-button--secondary.h-button--light:hover,
.centered_cta-section.faculty-theme--acap .cc-cta .h-button--secondary.h-button--light:focus {
	background-color: #0f24dc !important;
	border-color: #0f24dc;
	color: #fff;
	opacity: 1 !important;
}

.centered_cta-section.faculty-theme--primary .cc-cta .h-button--secondary.h-button--light:hover .h-button-content,
.centered_cta-section.faculty-theme--primary .cc-cta .h-button--secondary.h-button--light:focus .h-button-content,
.centered_cta-section.faculty-theme--acap .cc-cta .h-button--secondary.h-button--light:hover .h-button-content,
.centered_cta-section.faculty-theme--acap .cc-cta .h-button--secondary.h-button--light:focus .h-button-content {
	color: #fff !important;
}

@media (max-width: 767px) {
	.centered_cta-section .cc-cta .h-button--secondary.h-button--light .h-button-content,
	.centered_cta-section .cc-cta .h-button--secondary.h-button--light .h-button-text-content {
		text-transform: none;
		font-size: 16px !important;
		line-height: 16px !important;
		letter-spacing: 0% !important;
	}

	.centered_cta-section .cc-cta .h-button--primary.h-button--light .h-button-content {
		font-size: 16px !important;
	}
}

@media (min-width: 768px) {
	.centered_cta-section .cc-ctas {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.75rem;
	}

	.centered_cta-section .cc-cta {
		width: auto;
	}
}
