/**
 * Widget « Carrousel d'articles » — L'Africaine Elementor Addons
 * Préfixe : .laf-carousel
 */

.laf-carousel {
	width: 100%;
}

/* ----------------------------- En-tête ----------------------------- */
.laf-carousel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

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

.laf-carousel__nav {
	display: flex;
	flex: none;
	gap: 8px;
}

.laf-carousel__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	margin: 0;
	color: #000000;
	background-color: transparent;
	border: 1px solid #d0d0d0;
	border-radius: 50%;
	cursor: pointer;
	transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.laf-carousel__arrow svg {
	width: 14px;
	height: 14px;
	display: block;
}

.laf-carousel__arrow:hover {
	color: #fff;
	background-color: #384a30;
	border-color: #384a30;
}

.laf-carousel__arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
}

/* ----------------------------- Swiper (règles essentielles) ----------------------------- */
.laf-carousel .swiper {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.laf-carousel .swiper-wrapper {
	display: flex;
	box-sizing: content-box;
	height: auto;
	align-items: stretch;
}

.laf-carousel .swiper-slide {
	flex-shrink: 0;
	height: auto;
}

/* ----------------------------- Carte ----------------------------- */
.laf-carousel__card {
	display: flex;
	flex-direction: column;
}

.laf-carousel__thumb {
	position: relative;
	display: block;
	width: 100%;
	height: 220px;
	margin-bottom: 14px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #ececec;
	overflow: hidden;
}

.laf-carousel__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	display: inline-block;
	padding: 5px 10px;
	color: #000000;
	background-color: #f2d955;
	border-radius: 2px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	line-height: 1.2;
}

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

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

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

.laf-carousel__excerpt {
	margin: 0;
	color: #555555;
	font-size: 13px;
	line-height: 1.5;
}

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

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 767px) {
	.laf-carousel__title {
		font-size: 22px;
	}
}
