/* Video cards (site/assets/video-cards.js): the article's muted clip plays over the picture of every
   preview of a video article while the card is on screen. No buttons; the picture opens the article. */
.cm-vmedia { position: relative !important; overflow: hidden !important; display: block; cursor: pointer; }
/* the clip: hidden at once whenever YouTube is not playing it (so its pause and loading symbols
   never show), and faded in over the photo once it plays */
.cm-vclip { position: absolute; z-index: 1; max-width: none !important; border: 0; opacity: 0; pointer-events: none; transition: none; }
.cm-vmedia.cm-vplaying .cm-vclip { opacity: 1; transition: opacity .45s ease; }
/* the theme's own small camera icon on video posts is not needed */
article[data-cm-video] .post-format { display: none !important; }
/* the photo zoom on hover would show the clip's edges */
article[data-cm-video] .cm-vplaying .cm-img { transform: none !important; }
@media (prefers-reduced-motion: reduce) { .cm-vmedia.cm-vplaying .cm-vclip { transition: none; } }
