/**
 * Blocs Gutenberg des evenements (is-style-dce-*).
 *
 * Charge sur le front ET dans l'editeur, pour un apercu fidele. Les couleurs passent par les
 * variables du theme avec repli, comme le reste du plugin.
 */

/* Infos pratiques : encadre clair a barre laterale. */
.is-style-dce-practical {
	padding: 22px 26px;
	border-left: 4px solid var(--main, #e91e8c);
	border-radius: 0 12px 12px 0;
	background: var(--background, #f9fafb);
}
.is-style-dce-practical h3 { margin: 0 0 12px; font-size: 18px; }
.is-style-dce-practical ul { margin: 0; }
.is-style-dce-practical li { margin: 6px 0; }

/* Intervenant : carte dynamique (bloc dce/speaker), depuis la base equipe ou saisie a la main. */
.dce-speaker-card {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 20px;
	align-items: center;
	padding: 22px 24px;
	border: 1px solid var(--card-border, #e5e7eb);
	border-radius: 16px;
	background: var(--base-2, #fff);
	box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.dce-speaker-card__media {
	width: 120px;
	height: 120px;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--main, #e91e8c), var(--violet, #8b5cf6));
}
.dce-speaker-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dce-speaker-card__link { text-decoration: none; }
.dce-speaker-card__name { margin: 0 0 4px; font-size: 20px; color: var(--base, #111827); }
.dce-speaker-card__link:hover .dce-speaker-card__name { color: var(--main, #e91e8c); }
.dce-speaker-card__role {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--main, #e91e8c);
}
.dce-speaker-card__bio { margin: 0; font-size: 15px; line-height: 1.6; color: var(--contrast, #6b7280); }
.dce-speaker-card__empty { color: #9ca3af; font-style: italic; }

@media (max-width: 560px) {
	.dce-speaker-card { grid-template-columns: 1fr; text-align: left; }
	.dce-speaker-card__media { width: 96px; height: 96px; }
}

/* A retenir : bandeau degrade a la charte. */
.is-style-dce-highlight {
	padding: 24px 28px;
	border-radius: 16px;
	color: #fff;
	background: linear-gradient(135deg, var(--main, #e91e8c), var(--main-accent, #be185d));
}
.is-style-dce-highlight p { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.5; }
.is-style-dce-highlight a { color: #fff; text-decoration: underline; }

/* Au programme : liste sans puce, chaque ligne avec un filet et un horaire en avant. */
.is-style-dce-agenda { list-style: none; margin: 0; padding: 0; }
.is-style-dce-agenda li {
	position: relative;
	margin: 0;
	padding: 12px 0 12px 20px;
	border-bottom: 1px solid var(--card-border, #e5e7eb);
}
.is-style-dce-agenda li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 20px;
	width: 8px;
	height: 8px;
	border-radius: 99px;
	background: var(--main, #e91e8c);
}
.is-style-dce-agenda li:last-child { border-bottom: 0; }
.is-style-dce-agenda strong { color: var(--main-accent, #be185d); margin-right: 8px; }
