/* =====================================================================
   Braillard — Témoignages vidéo en cartes (.br-actu--vid)
   Carrousel = actualite.css ; modale = video.css. Ici : seulement ce qui
   diffère d'une carte d'actualité (la carte est un <button>, format vidéo,
   pictogramme lecture).
   ===================================================================== */
.br-actu--vid .br-actu__media{
  aspect-ratio: 16 / 9;            /* format des vidéos (les actualités sont en 4/3) */
  width: 100%; border-radius: 0; text-align: left; overflow: hidden;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-color: #e9e7e2;
}
/* un reset global colore les <button> au survol/focus : on garde l'image. */
.br-actu--vid .br-actu__media:hover,
.br-actu--vid .br-actu__media:focus{ background-color: #e9e7e2; color: inherit; }
.br-actu--vid .br-actu__media:focus-visible{ outline: 2px solid var(--br-black, #000); outline-offset: 2px; }
/* pas de voile sombre du bas (il servait au titre en surimpression des actualités) :
   un voile léger et uniforme pour détacher le pictogramme. */
.br-actu--vid .br-actu__media::after{ background: rgba(0,0,0,.18); transition: background .25s ease; }
.br-actu--vid .br-actu__media:hover::after{ background: rgba(0,0,0,.32); }
.br-temcards__play{
  position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(40px, 3.2vw, 56px); height: auto; color: #fff;
  transition: transform .25s ease;
}
.br-actu--vid .br-actu__media:hover .br-temcards__play{ transform: translate(-50%, -50%) scale(1.12); }
.br-temcards__title{
  margin: clamp(16px, 1.4vw, 24px) 0 0; color: var(--br-black, #000);
  font-family: var(--br-font-body); font-style: normal; font-weight: 500;
  font-size: var(--fs-body, clamp(16px, 1.16vw, 20px)); line-height: 1.25;
}
.br-actu--vid .br-actu__excerpt{ margin-top: 6px; }
/* la piste défile (overflow) : la modale est en position fixe, elle n'est pas rognée. */

/* Vidéo mise en avant (issue 77, 2026-10-08) : graphisme du widget Vidéo, mais calée sur la
   largeur du carrousel (pas de débord à droite ni de retrait à gauche), titre et bouton
   entièrement DANS l'image. */
.br-video--feat{ margin: 0 0 clamp(32px, 3.5vw, 56px); }
.br-video--feat .br-video__preview{ margin: 0; aspect-ratio: 16 / 9; min-height: 0; }
.br-video--feat .br-video__body{ padding: clamp(24px, 4.5vw, 72px); gap: clamp(18px, 2vw, 32px); }
.br-video--feat .br-video__title{ max-width: min(620px, 80%); }
.br-video--feat .br-video__cta{ margin-left: 0; }
@media (max-width: 900px){
  /* !important + spécificité : mobile-foundations.css (chargé en dernier) force la géométrie
     « débord » du widget Vidéo (retrait 48px, bouton en bas, titre hors image). */
  .br-video.br-video--feat .br-video__preview{ margin: 0 !important; height: auto !important; aspect-ratio: 4 / 3 !important; min-height: 0 !important; }
  .br-video.br-video--feat .br-video__body{ padding: 20px; justify-content: center; }
  .br-video.br-video--feat .br-video__title{ margin-left: 0; max-width: 100%; font-size: clamp(20px, 5.4vw, 26px); }
  .br-video.br-video--feat .br-video__cta{ position: static; margin-left: 0 !important; }
}
