.mfp-wrap { margin: 24px 0; }
/* Version « hero » : remplace le visuel du haut de l'article, sans marge. */
.mfp-wrap.mfp-hero { margin: 0; width: 100%; }
.mfp { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #000; line-height: 0; text-decoration: none !important; cursor: pointer; }
/* L'image garde son ratio d'origine : aucun recadrage. */
.mfp img { width: 100%; height: auto; display: block; transition: transform .45s ease, filter .3s ease; }
.mfp__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); transition: background .3s ease; }
.mfp__play { position: absolute; top: 50%; left: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: #FFC107; box-shadow: 0 6px 24px rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding-left: 4px; box-sizing: border-box; transition: transform .25s ease, box-shadow .25s ease; }
.mfp__label { position: absolute; left: 16px; bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font: 700 14px/1 system-ui, sans-serif; letter-spacing: .01em; }
.mfp:hover img, .mfp:focus-visible img { transform: scale(1.04); filter: brightness(.72); }
.mfp:hover .mfp__shade, .mfp:focus-visible .mfp__shade { background: rgba(0,0,0,.25); }
.mfp:hover .mfp__play, .mfp:focus-visible .mfp__play { transform: scale(1.12); box-shadow: 0 8px 30px rgba(255,193,7,.45); }
.mfp:focus-visible { outline: 3px solid #FFC107; outline-offset: 3px; }
@media (max-width: 600px) { .mfp__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .mfp__label { font-size: 12px; left: 10px; bottom: 10px; } }
@media (prefers-reduced-motion: reduce) { .mfp img, .mfp__play, .mfp__shade { transition: none; } }
/* Aperçu dans l'éditeur */
.mfp--editor { pointer-events: none; }
.mfp-empty { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; border: 2px dashed #999; border-radius: 12px; padding: 24px; }
