/* ==========================================================================
   Single Professeur — page interne
   ========================================================================== */

/* Photo frame */
.flash-prof-single-photo__frame {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #1f1f1f;
}

@supports not (aspect-ratio: 3 / 4) {
	.flash-prof-single-photo__frame::before {
		content: "";
		display: block;
		padding-top: 133.33%;
	}
	.flash-prof-single-photo__frame > img {
		position: absolute;
		inset: 0;
	}
}

.flash-prof-single-photo__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: radial-gradient(
			circle at 30% 20%,
			rgba(245, 245, 245, 0.1),
			rgba(14, 14, 14, 0.9) 55%
		),
		linear-gradient(
			135deg,
			rgba(245, 245, 245, 0.06),
			rgba(245, 245, 245, 0) 60%
		);
}

/* Prose (bio, cours) */
.flash-prof-single-prose p {
	margin-top: 0;
	margin-bottom: 1.25em;
}

.flash-prof-single-prose p:last-child {
	margin-bottom: 0;
}

.flash-prof-single-prose em {
	color: rgba(245, 245, 245, 0.85);
	font-style: italic;
}

.flash-prof-single-prose ul,
.flash-prof-single-prose ol {
	padding-left: 1.5em;
	margin-bottom: 1.25em;
}

.flash-prof-single-prose li {
	margin-bottom: 0.4em;
}

/* Mot du professeur (hero) */
.flash-prof-single-hero-mot blockquote p {
	margin-top: 0;
	margin-bottom: 0.75em;
}

.flash-prof-single-hero-mot blockquote p:last-child {
	margin-bottom: 0;
}

/* Vidéos (fichier local HTML5 ou iframe oEmbed) */
.flash-prof-single-video__embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
}

@supports not (aspect-ratio: 16 / 9) {
	.flash-prof-single-video__embed::before {
		content: "";
		display: block;
		padding-top: 56.25%;
	}
}

.flash-prof-single-video__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.flash-prof-single-video__player {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	border: 0;
	background: #000;
	object-fit: contain;
	vertical-align: middle;
}

.flash-prof-single-video__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 12rem;
	padding: 1.5rem;
	text-align: center;
}
