.video-frame.has-consent {
  display: grid;
  min-height: 330px;
}

.video-preview {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-consent {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 40px);
  background: #1b2733;
  color: #f5f6f8;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.55;
}

.video-service-icon {
  flex-shrink: 0;
  color: #ff4545;
}

.video-consent-title {
  font-size: 1rem;
}

.video-consent .video-notice,
.video-consent noscript p {
  max-width: 580px;
  margin: 0;
  color: #d6dce3;
}

.video-consent a {
  color: #e6ecf3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video-consent .video-load {
  gap: 9px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #fa682d;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.video-consent .video-load:hover {
  background: #d94b13;
}

.video-load[hidden] {
  display: none;
}

.video-consent :focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* Announce activation without adding a visible box below the video. */
[data-youtube-video] .video-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
