/**
 * Widget « Partenaires — Types » — L'Africaine Elementor Addons
 * Préfixe : .laf-ptypes
 */

.laf-ptypes {
	background-color: #fff;
	padding: 40px;
}

.laf-ptypes__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid #e7e3d8;
}

.laf-ptypes__cell {
	padding: 30px 28px;
	border-left: 1px solid #e7e3d8;
}

.laf-ptypes__cell:first-child {
	border-left: 0;
}

.laf-ptypes__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	color: #c9a227;
}

.laf-ptypes__icon svg {
	width: 30px;
	height: 30px;
	fill: #c9a227;
}

.laf-ptypes__icon i {
	font-size: 30px;
	color: #c9a227;
	line-height: 1;
}

.laf-ptypes__title {
	margin: 0 0 14px;
	color: #000000;
	font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.laf-ptypes__text {
	margin: 0;
	color: #6b6f62;
	font-size: 13px;
	line-height: 1.6;
}

/* --------------------------- Responsive --------------------------- */

@media (max-width: 991px) {
	.laf-ptypes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.laf-ptypes__cell:nth-child(odd) {
		border-left: 0;
	}

	.laf-ptypes__cell:nth-child(n + 3) {
		border-top: 1px solid #e7e3d8;
	}
}

@media (max-width: 767px) {
	.laf-ptypes {
		padding: 24px;
	}

	.laf-ptypes__grid {
		grid-template-columns: 1fr;
	}

	.laf-ptypes__cell {
		border-left: 0;
	}

	.laf-ptypes__cell + .laf-ptypes__cell {
		border-top: 1px solid #e7e3d8;
	}
}
