/*
 * pn-video-tro.css — this site's adjustments on top of pn-video.css.
 *
 * pn-video.css and pn-video.js are byte-identical copies shared by all seven
 * sites (canonical: video-api/site-assets/pn-video/), so they are NOT edited
 * here. Load this file AFTER pn-video.css.
 *
 * Applies to articles whose cover is a video (cover_video_id):
 *
 * 1. Listing cards carry no play badge. They are articles, not videos; the
 *    card still shows its cover image and still links to the article.
 *
 * 2. Hover previews (cards and the article-page cover) show the WHOLE frame,
 *    centred on black, instead of filling the box. The boxes are ~1.91:1, so
 *    `cover` cut a 9:16 preview down to a strip of its middle. pn-video.js
 *    copies the card image's own object-fit (`cover`) onto the card preview
 *    as an inline style, hence !important there.
 *
 * Full playback needs nothing here: .pn-video__player is already
 * `object-fit: contain` on black in pn-video.css.
 */
.pn-card-badge {
  display: none !important;
}

.pn-card-preview {
  object-fit: contain !important;
  object-position: 50% 50% !important;
  background: #000 !important;
}

.pn-video__preview {
  object-fit: contain;
  object-position: 50% 50%;
  background: #000;
}
