/**
 * CTA Banner Pattern styles - Figma Pixel Perfect
 * "Ready To Work With Us?" section
 *
 * @package NexioEducation
 */

.cta-banner {
	background-color: var(--wp--preset--color--dark-blue, #010d18);
	padding: 64px 142px;
	min-height: 306px;
	overflow: hidden;
	position: relative;
}

/* Vertical line on left edge */
.cta-banner::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 190px;
	background-color: var(--wp--preset--color--white, #fffefa);
}

.cta-banner > .wp-block-columns {
	gap: 0;
	align-items: flex-start;
}

.cta-banner > .wp-block-columns > .wp-block-column:first-child {
	position: relative;
	flex-basis: auto !important;
	width: auto;
	padding-right: 108px;
}

/* Vertical line between columns */
.cta-banner > .wp-block-columns > .wp-block-column:first-child::after {
	content: "";
	position: absolute;
	right: 54px;
	top: 0;
	width: 1px;
	height: 190px;
	background-color: var(--wp--preset--color--white, #fffefa);
}

.cta-banner-title {
	font-family: var(--wp--preset--font-family--body, 'Manrope', sans-serif);
	font-size: 48px;
	font-weight: 800;
	line-height: 58px;
	color: var(--wp--preset--color--white, #fffefa);
	margin: 0;
	max-width: 222px;
}

.cta-banner > .wp-block-columns > .wp-block-column:last-child {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 36px;
	align-items: flex-end;
}

.cta-banner-text {
	font-family: var(--wp--preset--font-family--heading, 'Apris Trial', serif);
	font-size: 36px;
	font-weight: 300;
	line-height: 43.2px;
	color: #ffffff;
	margin: 0;
	max-width: 681px;
	text-align: left;
}

.cta-banner .wp-block-buttons {
	display: flex !important;
	justify-content: flex-end !important;
	width: 100%;
	margin-top: auto;
}

.cta-banner .wp-block-button {
	margin: 0 !important;
}

.cta-banner .wp-block-button__link {
	background: transparent;
	border: 1px solid rgba(255, 254, 250, 0.5);
	border-radius: 33px;
	padding: 8px 32px;
	font-family: var(--wp--preset--font-family--body, 'Manrope', sans-serif);
	font-size: 14px;
	font-weight: 700;
	line-height: 16.8px;
	color: var(--wp--preset--color--white, #fffefa);
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.cta-banner .wp-block-button__link:hover {
	background: rgba(255, 254, 250, 0.1);
}

/* Responsive */
@media (max-width: 1200px) {
	.cta-banner {
		padding: 48px 80px;
		min-height: auto;
	}

	.cta-banner::before {
		display: none;
	}

	.cta-banner > .wp-block-columns > .wp-block-column:first-child {
		padding-right: 60px;
	}

	.cta-banner > .wp-block-columns > .wp-block-column:first-child::after {
		right: 30px;
		height: 150px;
	}

	.cta-banner-title {
		font-size: 36px;
		line-height: 44px;
	}

	.cta-banner-text {
		font-size: 28px;
		line-height: 36px;
	}
}

@media (max-width: 900px) {
	.cta-banner {
		padding: 40px 24px;
	}

	.cta-banner > .wp-block-columns {
		flex-direction: column;
		gap: 32px;
	}

	.cta-banner > .wp-block-columns > .wp-block-column:first-child {
		flex-basis: 100% !important;
		width: 100%;
		padding-right: 0;
	}

	.cta-banner > .wp-block-columns > .wp-block-column:first-child::after {
		display: none;
	}

	.cta-banner > .wp-block-columns > .wp-block-column:last-child {
		flex-basis: 100% !important;
		width: 100%;
	}

	.cta-banner-title {
		font-size: 28px;
		line-height: 36px;
		max-width: 100%;
		padding-bottom: 24px;
		border-bottom: 1px solid var(--wp--preset--color--white, #fffefa);
	}

	.cta-banner-text {
		font-size: 20px;
		line-height: 28px;
	}

	.cta-banner .wp-block-buttons {
		justify-content: flex-start;
	}
}
