/* Capped at the thumbnail's own intrinsic width. The facade and player are
 * width:100%, and .dossier-content is the wide main column -- ~930px at a
 * 1728px viewport -- so uncapped the 16/9 box rendered ~930x522, upscaling the
 * 480x270 YouTube thumbnail roughly 2x and pushing the synopsis below the fold
 * on the one section that is open by default. 480px is the largest size that
 * shows the thumbnail 1:1; below that the figure just tracks the column, so
 * narrow viewports are unaffected. (The /catalog-updates twin caps harder,
 * min(320px, 100%), because it sits inline in a row -- see catalog_updates.css.) */
.ev-video {
  margin: 0;
  max-width: 480px;
}

.ev-video__facade,
.ev-video__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--shadow-ink);
  box-shadow: 0 18px 36px -28px color-mix(in srgb, var(--shadow-ink) 72%, transparent);
}

.ev-video__facade {
  position: relative;
  display: block;
  padding: 0;
  cursor: pointer;
}

.ev-video__facade:focus-visible {
  outline: 3px solid var(--accent-canonical);
  outline-offset: 3px;
}

.ev-video__facade img,
.ev-video__player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.ev-video__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(54px, 12%, 68px);
  color: #fff;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.42));
  transform: translate(-50%, -50%);
}

.ev-video__play svg {
  display: block;
  width: 100%;
  fill: #ff0033;
}

.ev-video__play .ev-video__triangle {
  fill: currentColor;
}

.ev-video figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  padding-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.ev-video__title {
  flex-basis: 100%;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.35;
}

.ev-video figcaption a {
  margin-left: auto;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.ev-video figcaption a:hover,
.ev-video figcaption a:focus-visible {
  text-decoration: underline;
}

.ev-video figcaption a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
