/* Zwei-Klick-Lösung für YouTube-Videos: Vorschaubild statt iframe,
   das Video wird erst nach Klick von youtube-nocookie.com geladen. */

.video-consent {
  background-color: #3a3a3a;
  overflow: hidden;
}

.video-consent-button {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.video-consent-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 200ms ease;
}

.video-consent-button:hover img,
.video-consent-button:focus-visible img {
  opacity: 0.45;
}

.video-consent-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  margin: -34px 0 0 -34px;
  border-radius: 12px;
  background-color: #cc3421;
}

.video-consent-play:after {
  content: "";
  position: absolute;
  top: 14px;
  left: 27px;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
}

.video-consent-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 8px 12px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  text-align: left;
}

.video-consent-hint a {
  color: #fff;
  text-decoration: underline;
}
