.mf-video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:24px;margin:30px 0}.mf-video-card{border:1px solid #d6d6d6;border-radius:12px;overflow:hidden}.mf-video-card p{padding:0 18px 15px}.mf-video-trigger{position:relative;display:block;width:100%;border:0;background:#222;color:white;cursor:pointer;text-align:left;padding:0;font:inherit}.mf-video-trigger img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.mf-video-trigger strong{display:block;padding:16px}.mf-video-play{position:absolute;top:30%;left:50%;transform:translate(-50%,-50%);background:#e65d13;color:white;border-radius:50%;width:60px;height:60px;display:grid;place-items:center;font-size:25px}.mf-video-trigger:focus-visible{outline:3px solid #e65d13;outline-offset:3px}#mf-video-dialog{width:min(940px,94vw);max-height:90vh;overflow:auto;border:0;border-radius:12px;background:#181818;color:#fff;padding:20px}#mf-video-dialog::backdrop{background:#000c}.mf-video-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.mf-video-head h2{color:white;margin:0 0 15px;font-size:clamp(18px,3vw,28px)}#mf-video-close{background:transparent;color:white;border:1px solid #777;border-radius:50%;font-size:28px;width:44px;height:44px;cursor:pointer;flex:none}#mf-video-player iframe,#mf-video-player video{width:100%;aspect-ratio:16/9;border:0;display:block;background:black}#mf-video-player a{color:#ffac76}.mf-video-action{display:block;color:#fff;background:#ac3e0e;padding:10px 16px;text-align:center;font-weight:700}.mf-video-trigger:hover .mf-video-action{background:#87310b}.mf-video-notice{display:block;padding:10px 16px 0;color:inherit;font-size:12px;line-height:1.45}.mf-video-external-link{display:inline-block;margin-top:12px}.mf-video-trigger img{background:#242424}

/* Fermeture du lecteur : indépendante des styles globaux de boutons. */
#mf-video-dialog .mf-video-head{align-items:center;margin-bottom:16px;gap:12px}
#mf-video-dialog .mf-video-head h2{margin:0;min-width:0;overflow-wrap:anywhere;flex:1}
#mf-video-dialog #mf-video-close{appearance:none;box-sizing:border-box;display:inline-grid;place-items:center;position:relative;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;padding:0;margin:0;border:1px solid #777;border-radius:50%;background:#242424;color:#fff;cursor:pointer;line-height:1;box-shadow:none;transform:none;transition:background .18s,border-color .18s}
#mf-video-dialog #mf-video-close svg{display:block;width:20px;height:20px;pointer-events:none}
#mf-video-dialog #mf-video-close:hover{background:#e65d13;border-color:#e65d13}
#mf-video-dialog #mf-video-close:focus-visible{outline:2px solid #ffac76;outline-offset:3px}
@media(max-width:600px){#mf-video-dialog{box-sizing:border-box;padding:12px;width:94vw;max-height:90dvh}#mf-video-dialog .mf-video-head{gap:8px;margin-bottom:12px}}
