/* ==========================================================================
   Features (was Elementor page #621): intro + rows of two feature cards.
   Breakpoints: laptop <=1366, tablet <=1024, mobile <=767.
   ========================================================================== */

.mlc-features > div,
.mlc-features-card { position: relative; }

.mlc-features .mlc-img img { vertical-align: middle; }

/* --- Intro (fades in from above, as before) ---------------------------------------- */
.mlc-features-hero {
	display: flex;
	flex-direction: column;
	margin-top: 4em;
	padding: 0 10%;
}

.mlc-features-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 10px;
}

.mlc-features .mlc-features-hero__title {
	color: #000;
	font-family: var(--mlc-font);
	font-size: 40px;
	font-weight: 700;
	line-height: 57px;
	text-align: center;
}

.mlc-features-hero__desc {
	font-family: var(--mlc-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
	letter-spacing: .27px;
	text-align: center;
}

/* --- Card rows ------------------------------------------------------------------------ */
.mlc-features-row {
	display: flex;
	gap: 50px;
	margin-top: 50px;
	padding: 0 10%;
}

.mlc-features-hero + .mlc-features-row { margin-top: 30px; }
.mlc-features-row--last { margin-bottom: 50px; }

.mlc-features-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 50%;
	padding: 30px 30px 20px;
	border-radius: 10px;
}

.mlc-features-card--blue {
	width: 49%;
	background-color: #ecf0ff;
}

.mlc-features-card--peach { background-color: #ffe9e3; }
.mlc-features-card--empty { background-color: #fff; }

.mlc-features .mlc-features-card__title {
	font-family: var(--mlc-font);
	font-size: 30px;
	font-weight: 700;
	line-height: 39px;
	text-align: center;
}

.mlc-features-card__text {
	align-self: center;
	width: 95%;
	max-width: 95%;
	font-family: var(--mlc-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 27px;
	text-align: center;
}

.mlc-features-card__text--w83 { width: 83%; max-width: 83%; }
.mlc-features-card__text--w77 { width: 77%; max-width: 77%; }

.mlc-features-card__img { margin: 10px 0; }

/* Laptop */
@media (max-width: 1366px) {
	.mlc-features-hero,
	.mlc-features-row { padding: 0 4%; }

	.mlc-features-card__text--w83-laptop { width: 83%; max-width: 83%; }
}

/* Tablet */
@media (max-width: 1024px) {
	.mlc-features-row {
		flex-direction: column;
		align-items: flex-start;
		padding: 0 3%;
	}

	.mlc-features-card,
	.mlc-features-card--blue { width: 100%; }
}

/* Mobile */
@media (max-width: 767px) {
	.mlc-features-hero {
		margin-top: 2em;
		padding: 0 5%;
	}

	.mlc-features .mlc-features-hero__title {
		font-size: 28px;
		line-height: 37px;
	}

	.mlc-features-hero__desc { align-self: center; }

	.mlc-features-row {
		flex-wrap: wrap;
		padding: 0 5%;
	}

	.mlc-features .mlc-features-card__title {
		font-size: 24px;
		line-height: 31px;
	}

	.mlc-features .mlc-features-card__title--lh { line-height: 39px; }
}
