/* Aperçu statique des actualités ; le lecteur reste inerte jusqu'au clic. */
body.ptfr-2027 #module-news .media-content:has(> .ptfr-news-video) {
  height: auto;
  padding-bottom: 0;
}
body.ptfr-2027 #module-news .ptfr-news-video {
  position: relative;
  /* Inline-level box: honour BBCode parent text-align (left/center/right). */
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  width: min(100%, var(--news-video-width, 560px));
  max-width: 100%;
  min-width: 0;
  aspect-ratio: var(--news-video-ratio, 16 / 9);
  margin: 12px 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #111;
}
body.ptfr-2027 #module-news .ptfr-news-video > button.ptfr-news-video-load {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: #111;
  color: #fff;
  font: inherit;
  font-weight: 650;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
}
body.ptfr-2027 #module-news .ptfr-news-video-load > img.ptfr-news-video-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
}
body.ptfr-2027 #module-news .ptfr-news-video-play {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 68px;
  height: 48px;
  border-radius: 13px;
  background: #f03;
}
body.ptfr-2027 #module-news .ptfr-news-video-play::after {
  content: "";
  display: block;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17px solid #fff;
}
body.ptfr-2027 #module-news .ptfr-news-video-load:is(:hover,:focus-visible) .ptfr-news-video-play { background: #c90028; }
body.ptfr-2027 #module-news .ptfr-news-video-load:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
body.ptfr-2027 #module-news .ptfr-news-video-label { max-width: 100%; overflow-wrap: anywhere; }
body.ptfr-2027 #module-news .has-poster .ptfr-news-video-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body.ptfr-2027 #module-news .ptfr-news-video > iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
body.ptfr-2027 #module-news .ptfr-news-video:has(.ptfr-news-video-fallback) { aspect-ratio: auto; height: auto; background: transparent; }
body.ptfr-2027 #module-news .ptfr-news-video-fallback { display: block; padding: 12px; }
