.media-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.media-video {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e9ce824d;
  border-radius: 6px;
  background: #211f2c;
}

.media-video iframe {
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #101016;
}

.media-video figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem 1.2rem;
  padding: 1rem 1.2rem;
}

.media-video figcaption a { font-size: .875em; }

@media (max-width: 720px) {
  .media-video-grid { grid-template-columns: minmax(0, 1fr); }
}

.b-article-typo .media-video {
  width: min(100%, 70rem);
  margin-block: 1.6rem;
}

.media-trailer-dialog {
  box-sizing: border-box;
  width: min(calc(100% - 24px), 860px);
  max-height: calc(100% - 24px);
  margin: auto;
  padding: 1rem;
  border: 1px solid #e9ce827a;
  border-radius: 8px;
  background: #1b1a22;
  color: #faf2e3;
  font: 1.4rem/1.4 system-ui, sans-serif;
}

.media-trailer-dialog::backdrop { background: #08060bbf; }

.media-trailer-dialog__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.media-trailer-dialog__bar h2 {
  margin: 0;
  font: 600 clamp(1.6rem, 3.5vw, 2.4rem)/1.25 system-ui, sans-serif;
}

.media-trailer-dialog__bar form { margin: 0; }

.media-trailer-dialog__bar button {
  min-height: 44px;
  padding-inline: .8em;
  border: 1px solid #e9ce827a;
  border-radius: 4px;
  background: transparent;
  color: #ffe18c;
  font: inherit;
  cursor: pointer;
}

.media-trailer-dialog .media-video iframe { max-height: 75dvh; }

.media-video figcaption a,
.media-trailer-dialog__footer a { color: #ffe18c; }

.media-trailer-dialog__footer { padding: .8rem .3rem 0; }

