/**
 * Widget « Section Catégorie » — L'Africaine Elementor Addons
 * Préfixe : .laf-cat
 */

.laf-cat {
	width: 100%;
}

/* ----------------------------- En-tête ----------------------------- */
.laf-cat__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e5e5e5;
}

.laf-cat__title {
	margin: 0;
	color: #384a30;
	font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
}

.laf-cat__explore {
	flex: none;
	color: #000000;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	padding-bottom: 2px;
	border-bottom: 1px solid currentColor;
	transition: color 0.18s ease, border-color 0.18s ease;
}

.laf-cat__explore:hover {
	color: #b02926;
	border-color: #b02926;
}

/* ----------------------------- Grille ----------------------------- */
.laf-cat__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 30px;
	row-gap: 36px;
}

.laf-cat__card {
	display: flex;
	flex-direction: column;
}

.laf-cat__thumb {
	display: block;
	width: 100%;
	height: 200px;
	margin-bottom: 14px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #ececec;
}

.laf-cat__cat {
	display: block;
	margin-bottom: 7px;
	color: #b02926;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	line-height: 1.2;
}

.laf-cat__card-title {
	margin: 0 0 8px;
	color: #000000;
	font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
}

.laf-cat__card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.18s ease;
}

.laf-cat__card-title a:hover {
	color: #b02926;
}

.laf-cat__excerpt {
	margin: 0;
	color: #555555;
	font-size: 14px;
	line-height: 1.55;
}

.laf-cat__empty {
	margin: 0;
	color: #888;
	font-size: 13px;
	font-style: italic;
}

/* ----------------------------- Responsive (repli) -----------------------------
 * Le nombre de colonnes est piloté par le contrôle « Colonnes » (par appareil).
 * Ce repli ne sert qu'en l'absence du CSS généré par Elementor.
 */
@media (max-width: 767px) {
	.laf-cat__grid {
		grid-template-columns: 1fr;
	}

	.laf-cat__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}
