/* Moonnect UGC — format card videos
   Scoped under .mn-ugc. Do not ship html.shot rules.
   Swap media 1:1 by replacing ugc-format-0N-*.mp4 / .jpg with the same filenames. */

.mn-ugc .fc > .fc-vid{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  z-index:-2;
  pointer-events:none;
  border:0;
  background:#0f1a22;
}

/* Hide the still photo once a video (or its poster) is in place.
   Card 04 keeps the split divider + Önce/Sonra labels.
   Card 06 keeps the hook chips; card 05 keeps the quote. */
.mn-ugc .fc.has-vid > .ph,
.mn-ugc .fc.has-vid .split .ph{
  opacity:0;
  background-image:none;
}

.mn-ugc .fc.has-vid .split{
  pointer-events:none;
  background:transparent;
}

/* Video already autoplays in view — hide the decorative play glyph. */
.mn-ugc .fc.has-vid > .play{
  display:none;
}

/* Keep badges, pills, titles and overlays above the video + gradient (::after is z-index:-1). */
.mn-ugc .fc.has-vid > .top,
.mn-ugc .fc.has-vid > .body,
.mn-ugc .fc.has-vid > .hooks,
.mn-ugc .fc.has-vid > .quote{
  z-index:2;
}

@media (prefers-reduced-motion:reduce){
  /* JS pauses playback and leaves the poster visible. */
  .mn-ugc .fc.has-vid > .fc-vid{
    /* poster remains; do not force a dark cover over it */
  }
}
