/* ============================================================
   ADVANTAGES
   Split out of style.css — see functions.php for the enqueue.
   ============================================================ */

/* ============================================================
   3. ADVANTAGES
   ============================================================ */

.advantages {
	position: relative;
	background-color: var(--chocolate);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	padding: 160px 30px;
	overflow: hidden;
}

.advantages__grid {
	display: flex;
	flex-wrap: wrap;
	row-gap: 30px;	
}

.advantages__overlay {
	position: absolute;
	inset: 0;
	background: rgba(56, 34, 24, 0.64);
	z-index: 0;
}

.advantages__inner {
	position: relative;
	z-index: 1;
}

.advantages__title {
	font-family: var(--font-display);
	font-size: 40px;
	line-height: 0.9;
	letter-spacing: -1px;
	font-feature-settings: "dlig" 1;
	text-transform: uppercase;
	text-align: center;
	color: var(--cream);
	margin: 0 0 72px;
}

@media (max-width: 767px) {
	.advantages__title {
		font-size: 30px;
		margin-bottom: 40px;
	}
}

.advantages__item {
	position: relative;
	height: 100%;
	background: rgba(255, 245, 235, 0.8);
	border-radius: 3px;
	padding: 16px;
}

/* min-height: 172px; */
.advantages__icon {
	width: 32px;
	height: 32px;
	margin-bottom: 24px;
}

.advantages__icon img {
	display: block;
	width: 100%;
	height: 100%;
}

.advantages__item-title {
	font-family: var(--font-display);
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--chocolate);
	margin: 0 0 12px;
}

.advantages__text {
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: -0.25px;
	color: var(--black);
	opacity: 0.72;
}

.advantages__text p {
	margin: 0;
}

.advantages__text p + p {
	margin-top: 8px;
}

@media (max-width: 767px) {
	.advantages {
		padding: 60px 20px;
	}
}

