/* Titre animé */
.mb-ahead { margin: 0; }
.mb-ahead__words { display: inline-block; position: relative; white-space: nowrap; }
.mb-ahead__hl { display: inline-block; }
/* Curseur clignotant de la machine à écrire */
.mb-ahead__words--typing::after {
	content: ""; display: inline-block; width: 2px; height: 0.9em; margin-left: 0.06em; vertical-align: -0.05em;
	background: var(--mb-ahead-cursor, currentColor); animation: mb-ahead-blink 1s steps(1) infinite;
}
.mb-ahead__words--fade .mb-ahead__hl { transition: opacity 0.4s ease, transform 0.4s ease; }
.mb-ahead__words--fade .mb-ahead__hl.is-out { opacity: 0; transform: translateY(0.2em); }
@keyframes mb-ahead-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.mb-ahead__words--typing::after { animation: none; }
}
