/*
 * « Livres cités » en bas d'un article : couvertures à hauteur égale, en grille.
 * Structure Gutenberg : groupe .lc-livres-cites (mise en page grille)
 *   > groupe .lc-livre-cite > image .lc-couverture + paragraphes titre / lien.
 */
.lc-livres-cites {
	gap: 2rem 1.25rem;
	margin-block: 1.5rem 2rem;
	align-items: start;
}

.lc-livre-cite {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: .35rem;
}

/* Les marges de .is-layout-flow décaleraient les cartes les unes des autres. */
.lc-livre-cite > * {
	margin-block: 0 !important;
}

.lc-livre-cite .lc-couverture {
	margin: 0 0 .4rem;
	width: 100%;
	display: flex;
	justify-content: center;
}

.lc-livre-cite .lc-couverture img {
	height: 230px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	border-radius: 2px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
	transition: transform .2s ease, box-shadow .2s ease;
}

.lc-livre-cite .lc-couverture a:hover img,
.lc-livre-cite .lc-couverture a:focus-visible img {
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, .24);
}

.lc-livre-cite__titre {
	font-size: .92rem;
	line-height: 1.3;
}

.lc-livre-cite__lien {
	font-size: .85rem;
	overflow-wrap: anywhere; /* l'adresse brute, telle qu'elle apparaît dans l'éditeur */
}

/* Éditeur : case de couverture encore vide, à la hauteur des autres. */
.lc-livre-cite .lc-couverture .components-placeholder {
	min-height: 230px;
	padding: .75rem;
}
.lc-livre-cite .lc-couverture .components-placeholder button {
	white-space: normal;
	height: auto;
	text-align: center;
}

@media (max-width: 600px) {
	.lc-livre-cite .lc-couverture img {
		height: 180px;
	}
}

/* Mention exigée par le programme Amazon Partenaires. */
.lc-amazon-mention {
	margin-top: 2rem;
	padding-top: .75rem;
	border-top: 1px solid rgba(0, 0, 0, .12);
	font-size: .82rem;
	font-style: italic;
	opacity: .8;
}
