/**
 * ChoirSuite — Styles de la section "Nos prochains concerts" de la page
 * d'accueil. Ne couvre QUE la partie dynamique (grille des concerts / état
 * vide) : l'eyebrow, le titre et le lien "Voir tous les concerts" sont déjà
 * stylés côté Divi. Habillage sombre façon teaser, distinct du calendrier
 * Agenda (choirsuite-calendar.css) : aucune classe partagée entre les deux.
 * Toutes les classes sont préfixées .choirsuite-home-concerts-*.
 */

.choirsuite-home-concerts {
	box-sizing: border-box;
	width: 100%;
}

.choirsuite-home-concerts * {
	box-sizing: border-box;
}

.choirsuite-home-concerts-grid {
	/* flex plutôt que grid en repeat(auto-fit, 1fr) : avec une seule carte,
	   1fr aurait étiré la colonne (donc la carte et son image) sur toute la
	   largeur disponible. Ici chaque carte est plafonnée en largeur et
	   centrée, qu'il y en ait 1, 2 ou 3. */
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.choirsuite-home-concerts-card {
	display: flex;
	flex-direction: column;
	flex: 1 1 300px;
	max-width: 380px;
	background: #1a1a1a;
	border: 1px solid #2a2a2a;
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none !important;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.choirsuite-home-concerts-card:hover {
	border-color: #1c8577;
	transform: translateY(-2px);
}

.choirsuite-home-concerts-image {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.choirsuite-home-concerts-body {
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.choirsuite-home-concerts-date {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #1c8577 !important;
	text-transform: uppercase;
}

.choirsuite-home-concerts-name {
	color: #ffffff !important;
	font-size: 22px;
	line-height: 1.3;
}

.choirsuite-home-concerts-location {
	color: #999999 !important;
	font-size: 14px;
}

.choirsuite-home-concerts-empty {
	padding: 2em;
	/* Contre une règle du thème (p:not(.has-background):last-of-type) qui
	   force padding-bottom à 0 sur ce <p> — même bug déjà rencontré et
	   corrigé sur .choirsuite-calendar-empty, voir choirsuite-calendar.css.
	   !important nécessaire pour l'emporter. */
	padding-bottom: 2em !important;
	border: 1px dashed rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	text-align: center;
	color: rgba(255, 255, 255, 0.6) !important;
}
