/* JB V53 — enlarge ONLY the seven manifesto video cards by 20% (width and height).
   Desktop: 127.37 x 74.15 -> 152.844 x 88.98 px.
   Mobile: 37.78 x 21.995 -> 45.336 x 26.394 px.
   Preserve --manifesto-open so the existing scroll-driven layout/reveal still works.
   Keep text size, margins, line placement and video aspect cropping unchanged. */
.manifesto-big .manifest-media {
  width: calc(152.844px * var(--manifesto-open));
  height: 88.98px;
  border-radius: calc(18px * var(--manifesto-open));
}
.m-manifesto .manifest-media {
  width: calc(45.336px * var(--manifesto-open));
  height: 26.394px;
  border-radius: calc(4.8px * var(--manifesto-open));
}
@media (prefers-reduced-motion: reduce) {
  .manifesto-big .manifest-media { width: 152.844px; }
  .m-manifesto .manifest-media { width: 45.336px; }
}

/* JB V54 — prevent white hairline on rounded manifesto video capsules.
   The original V7 styles set the parent capsule background to white. On
   sub-pixel rounded edges this can show through the clipped video.
   Give parent/child a matching black matte and overfill the video by 1 px
   under the parent clipping mask, without moving or resizing the capsule. */
.manifesto-big .manifest-media,
.m-manifesto .manifest-media {
  background: #000 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  -webkit-mask-image: -webkit-radial-gradient(white,black);
}
.manifesto-big .manifest-media > .jb-manifest-video,
.m-manifesto .manifest-media > .jb-manifest-video {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  max-width: none;
  max-height: none;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: #000 !important;
  object-fit: cover;
}
