/* Carteles Eventos – Frontend */

.ceem-carteles {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 1.5em 0;
	justify-content: center;
}

.ceem-cartel {
	margin: 0;
	max-width: 100%;
}

.ceem-cartel-img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 2px 12px rgba(0,0,0,.12);
	transition: transform .2s ease, box-shadow .2s ease;
}

.ceem-cartel-link:hover .ceem-cartel-img {
	transform: scale(1.02);
	box-shadow: 0 4px 20px rgba(0,0,0,.18);
}

/* Una sola imagen centrada (modo aleatorio por defecto) */
.ceem-carteles:has(.ceem-cartel:only-child) {
	justify-content: center;
}

.ceem-carteles:has(.ceem-cartel:only-child) .ceem-cartel {
	max-width: 600px;
	width: 100%;
}
