/* ===========================================================
 * Article card (parts/list_single_article_card.php)
 * Réutilisable partout où l'on remonte une liste d'articles.
 * =========================================================== */

.article-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: var(--vert1);
	text-decoration: none;
}

/* Wrapper image pour positionner les tags en absolu */
.article-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 298 / 297;
	overflow: hidden;
	background: #ECECEC;
}
.article-card__image, .page_hentry img.article-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.article-card__image--empty {
	background: #ECECEC;
}

/* Tags empilés en pastille en haut à gauche, par dessus l'image */
.article-card__tags {
	position: absolute;
	top: 16px;
	left: 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	z-index: 1;
}
.article-card__tag {
	display: inline-block;
	padding: 3px 8px;
	background: var(--gris1);
	color: var(--vert1);
	border-radius: var(--r20);
	font-size: 10px;
	letter-spacing: 10%;
	line-height: 1.5;
	text-transform: uppercase;
}
.article-card__title {
	font-family: 'crimson', serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 25px;
	color: var(--vert1);
	margin: 0;
}
