/* Hadrien.ai v256 — Correctifs ciblés des lecteurs des articles « Astuces vidéo ». */
.video-embed-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-inline: auto;
}

/* Embed officiel : ne jamais recadrer le contenu ou les commandes Instagram. */
.video-embed-frame .instagram-media {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 450px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  overflow: visible !important;
}
.video-embed-frame iframe {
  display: block;
  box-sizing: border-box;
  max-width: 100% !important;
  margin-inline: auto !important;
}

/* Les MP4 d'origine, avec leurs commandes et leur son, restent inchangés. */
.video-embed-frame > video.hadrien-video-local {
  display: block;
  width: 100%;
  max-width: 450px;
  min-width: 0;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

/* Le lien direct est toujours en dessous du lecteur, jamais à côté. */
.video-embed-frame > .video-instagram-link {
  display: block;
  flex: none;
  box-sizing: border-box;
  width: 100%;
  max-width: 450px;
  margin: 12px auto 0;
  text-align: center;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}
.video-embed-frame > .video-instagram-link a {
  color: var(--accent, #ff4500);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
@media (max-width: 360px) {
  .video-embed-frame { padding-inline: 0; }
  .video-embed-frame > .video-instagram-link { font-size: 11px; }
}
