/*
 * Ajustements ciblés pour Elementor.
 */

/*
 * 1) Loop Grid : retire le soulignement des liens (provient du Kit global
 * Elementor « .elementor-kit-XX a { text-decoration: underline } »).
 * Le préfixe « body » suffit à surpasser cette règle sans !important ni ID figé.
 */
body .elementor-loop-container a {
	text-decoration: none;
}

/*
 * 2) Sommaire (Table des matières) : puces uniformes, petites et discrètes.
 * La puce est une icône SVG dont la largeur CSS vaut 0 → cercle au rendu
 * incohérent d'un item à l'autre. On force largeur = hauteur pour un petit
 * cercle régulier, en couleur atténuée.
 */
.elementor-toc__list-item svg.e-font-icon-svg {
	width: 3px;
	min-width: 3px;
	height: 3px;
	flex: 0 0 3px;
	margin-right: 8px;
	fill: #2E2A24;
}

/*
 * 3) Aération du contenu d'article (blocs Gutenberg de premier niveau
 * uniquement — sans effet sur les articles construits en Elementor, ni sur
 * l'intérieur de nos blocs custom).
 */
.elementor-widget-theme-post-content > p.wp-block-paragraph,
.elementor-widget-theme-post-content > ul.wp-block-list,
.elementor-widget-theme-post-content > ol.wp-block-list,
.elementor-widget-theme-post-content > figure.wp-block-image,
.elementor-widget-theme-post-content > .wp-block-quote {
	margin-bottom: 34px;
}

.elementor-widget-theme-post-content > h2.wp-block-heading {
	margin-top: 52px;
	margin-bottom: 20px;
}

.elementor-widget-theme-post-content > h3.wp-block-heading {
	margin-top: 38px;
	margin-bottom: 14px;
}

/*
 * 4) Légende des images (bloc Image Gutenberg) : incrustée en bas à gauche,
 * en blanc et en majuscules. Un léger dégradé sombre garantit la lisibilité
 * du texte blanc, y compris sur les photos claires.
 */
.elementor-widget-theme-post-content figure.wp-block-image {
	position: relative;
	display: table;
}

.elementor-widget-theme-post-content figure.wp-block-image > img {
	display: block;
}

.elementor-widget-theme-post-content figure.wp-block-image > figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 34px 20px 14px;
	color: #fff;
	font-family: 'Be Vietnam Pro', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: left;
	background: linear-gradient( to top, rgba( 0, 0, 0, 0.5 ), rgba( 0, 0, 0, 0 ) );
}

