.youtube-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: #212529;
  color: #fff;
  text-align: center;
}

.youtube-video {
  border-radius: 0.35rem;
}

.youtube-preview img,
.youtube-preview::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.youtube-preview img {
  object-fit: cover;
}

.youtube-preview::after {
  content: "";
  background: rgba(0, 0, 0, 0.7);
}

.youtube-consent {
  position: relative;
  z-index: 1;
  max-width: 24rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

.youtube-consent p {
  margin-bottom: 0.75rem;
}

.youtube-consent a {
  display: block;
  margin-top: 0.5rem;
  color: #fff;
  font-size: 0.8rem;
  text-decoration: underline;
}

.youtube-consent noscript {
  display: block;
}
