/**
 * Dernières expositions (Galerie-toulouse, Galerie-toulouse-outland du 18/11).
 *
 * Filet en haut ; 80 px au-dessus et au-dessous ; colonne de titre (260 px) et trois cartes :
 * image 4 / 5, étiquette (11 px, 500, 0,18 em, couleur de l'univers), titre (15 px, 500, 1,4),
 * dates (12 px, #555). Sous 1024 px : deux colonnes, titre sur toute la largeur ; sous 640 px :
 * une colonne, « Toutes les expositions » sous les cartes.
 */

.iav-bloc.iav-expos {
	border-top: 1px solid var(--iav-filet);
}

.iav-bloc .iav-expos__grille {
	display: grid;
	grid-template-columns: var(--iav-colonne-titre) repeat(3, minmax(0, 1fr));
	gap: 32px;
	align-items: start;
	padding-top: 80px;
	padding-bottom: 80px;
}

/* Le thème coupe les titres au milieu des mots (word-break: break-word) : « EXPOSITIONS »
   dépasse un peu de la colonne de 260 px, comme dans la maquette, sans être coupé. */
.iav-bloc.iav-expos .iav-titre {
	word-break: normal;
}

.iav-bloc .iav-expos__colonne {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	min-width: 0;
}

.iav-bloc .iav-expos__tout--bas {
	display: none;
	grid-column: 1 / -1;
	justify-self: start;
}

.iav-bloc .iav-expo-carte {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	color: var(--iav-texte);
	text-decoration: none;
}

.iav-bloc .iav-expo-carte__visuel {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	margin-bottom: 4px;
	overflow: hidden;
}

.iav-bloc .iav-expo-carte__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.iav-bloc .iav-expo-carte__etiquette {
	font-size: 11px;
	line-height: 1.6;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--iav-accent);
}

.iav-bloc .iav-expo-carte__titre {
	font-size: 15px;
	line-height: 1.4;
	font-weight: 500;
}

.iav-bloc .iav-expo-carte:hover .iav-expo-carte__titre,
.iav-bloc .iav-expo-carte:focus-visible .iav-expo-carte__titre {
	color: var(--iav-survol, var(--iav-accent));
}

.iav-bloc .iav-expo-carte__dates {
	font-size: 12px;
	line-height: 1.6;
	color: var(--iav-texte-discret);
}

@media (max-width: 1024px) {
	.iav-bloc .iav-expos__grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.iav-bloc .iav-expos__colonne {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.iav-bloc .iav-expos__grille {
		grid-template-columns: minmax(0, 1fr);
	}

	.iav-bloc .iav-expos__tout--haut {
		display: none;
	}

	.iav-bloc .iav-expos__tout--bas {
		display: inline-block;
	}
}
