/**
 * Lesieur — Cartes "Nos dernières publications financières" (home).
 * Cartes 200×300 avec bords carrés et apercu PDF en cover.
 */

/* Force le widget Elementor qui embarque le shortcode à occuper toute la
   largeur disponible du container parent (d49f00f), sinon le widget shrink
   sur son contenu et les cartes se retrouvent empilées. */
.elementor-widget-shortcode:has(.lesieur-latest-pubs),
.elementor-widget-shortcode:has(.lesieur-latest-pubs) > .elementor-widget-container {
	width: 100%;
	flex: 1 1 100%;
}

.lesieur-latest-pubs {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
	gap: 1.5rem;
	flex-wrap: nowrap;
	width: 100%;
}

.lesieur-latest-pubs__card {
	display: block;
	width: 200px;
	min-height: 300px;
	background-color: #F7F7F7;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 0;
	text-decoration: none;
}

/* Indicateur de focus clavier (WCAG AA) — pas d'effet au hover souris */
.lesieur-latest-pubs__card:focus-visible {
	outline: 2px solid #C20E1A;
	outline-offset: 3px;
}

.lesieur-latest-pubs .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1024px) {
	.lesieur-latest-pubs { justify-content: center; }
}

@media (max-width: 767px) {
	.lesieur-latest-pubs { gap: 1rem; flex-wrap: wrap; }
	.lesieur-latest-pubs__card { width: 45%; min-height: 260px; }
}

@media (max-width: 480px) {
	.lesieur-latest-pubs { flex-direction: column; align-items: center; }
	.lesieur-latest-pubs__card { width: 100%; max-width: 260px; }
}
