/*
  Reversible video-language pass.
  Remove this stylesheet link and the HTML blocks marked VIDEO THEME START/END
  to return to the prior site direction.
*/

.video-theme-panel {
  overflow: hidden;
  border: 1px solid #d7e6ed;
  border-radius: 8px;
  background: #f7fbfc;
  box-shadow: 0 22px 54px rgba(31, 42, 55, 0.1);
}

.video-theme-panel img {
  display: block;
  width: 100%;
}

.best-fit-card.video-theme-card {
  display: grid;
  gap: 14px;
  padding: 0;
}

.best-fit-card.video-theme-card .video-theme-panel {
  border-width: 0 0 1px;
  border-radius: 8px 8px 0 0;
  box-shadow: none;
}

.best-fit-card.video-theme-card .video-theme-panel img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.best-fit-card.video-theme-card strong,
.best-fit-card.video-theme-card span {
  padding-inline: 22px;
}

.best-fit-card.video-theme-card span {
  padding-bottom: 22px;
}

.video-theme-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
  border: 1px solid #d7e6ed;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f3fbfb 100%);
}

.video-theme-story p {
  color: var(--muted);
}

.video-theme-story .split-list {
  margin-top: 16px;
}

.video-theme-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.video-theme-mini-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #d7e6ed;
  border-radius: 8px;
  background: #ffffff;
}

.video-theme-mini-card strong {
  color: #172033;
}

.video-theme-mini-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-band.video-theme-cta {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr) auto;
  background: linear-gradient(135deg, #e9f6f5 0%, #f7fbfc 100%);
}

.cta-band.video-theme-cta .video-theme-panel {
  box-shadow: none;
}

.cta-band.video-theme-cta .video-theme-panel img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 980px) {
  .video-theme-story,
  .cta-band.video-theme-cta {
    grid-template-columns: 1fr;
  }

  .video-theme-mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .video-theme-story {
    padding: 20px;
  }
}
