/**
 * Benefits Grid Pattern
 */

.benefits-grid {
	background: #010d18;
	padding: 120px 160px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 72px;
}

.benefits-grid-heading {
	color: #fffefa;
	font-size: 48px;
	font-family: 'Apris Trial', serif;
	font-weight: 400;
	line-height: 58px;
	text-align: center;
	margin: 0;
}

.benefits-grid-columns {
	gap: 72px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-height: 200px;
}

.benefits-grid-columns .wp-block-column {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	text-align: center;
	height: 100%;
	min-height: 200px;
	padding: 0 !important;
	position: relative;
}

.benefits-grid-columns .wp-block-column:not(:last-child)::after {
	content: '';
	position: absolute;
	right: -36px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgba(255, 254, 250, 0.2);
}

.benefits-grid-title {
	color: #fffefa;
	font-size: 32px;
	font-family: 'Apris Trial', serif;
	font-weight: 300;
	line-height: 38px;
	text-align: center;
	margin: 0 0 20px;
	width: 100%;
}

.benefits-grid-text {
	color: rgba(255, 254, 250, 0.75);
	font-size: 16px;
	font-family: 'Manrope', sans-serif;
	font-weight: 400;
	line-height: 20px;
	text-align: center;
	margin: 0;
	width: 100%;
}

.benefits-grid-text strong {
	color: #fffefa;
	font-weight: 700;
}

.benefits-grid-text + .benefits-grid-text {
	margin-top: 12px;
}

/* Responsive */
@media (max-width: 900px) {
	.benefits-grid {
		padding: 80px 40px;
		gap: 48px;
	}

	.benefits-grid-heading {
		font-size: 40px;
		line-height: 48px;
	}

	.benefits-grid-columns {
		flex-direction: column;
		gap: 48px !important;
		max-height: none;
	}

	.benefits-grid-columns .wp-block-column {
		min-height: auto;
		padding-bottom: 48px !important;
	}

	.benefits-grid-columns .wp-block-column:not(:last-child)::after {
		right: auto;
		left: 0;
		right: 0;
		top: auto;
		bottom: -24px;
		width: auto;
		height: 1px;
	}

	.benefits-grid-title {
		font-size: 28px;
		line-height: 34px;
	}
}

@media (max-width: 768px) {
	.benefits-grid {
		padding: 60px 24px;
		gap: 40px;
	}

	.benefits-grid-heading {
		font-size: 32px;
		line-height: 40px;
	}

	.benefits-grid-title {
		font-size: 24px;
		line-height: 30px;
	}

	.benefits-grid-text {
		font-size: 14px;
		line-height: 18px;
	}
}
