.video-ad {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 12px;
  background: #101526;
  line-height: 0;
}
.video-ad[hidden] {
  display: none;
}
.video-ad-media {
  position: relative;
}
.video-ad-picture-link {
  position: absolute;
  /* Leave the native playback controls available below the clickable picture. */
  inset: 0 0 56px;
  border-radius: 12px 12px 0 0;
}
.video-ad .video-ad-watch-link {
  display: block;
  box-sizing: border-box;
  min-height: 48px;
  padding: 14px 16px;
  background: #202c45;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.video-ad .video-ad-watch-link:hover {
  background: #304266;
}
.video-ad-picture-link:focus-visible,
.video-ad .video-ad-watch-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: -4px;
}
.video-ad video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.video-ad-label {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  background: rgb(0 0 0 / 65%);
  color: #ffffff;
  font-size: 10px;
  line-height: 1.2;
  pointer-events: none;
}
.consumer-app .workspace > .video-ad {
  width: min(1152px, calc(100% - 48px));
  margin: 16px auto 0;
}
.community-entry-content > .video-ad {
  margin-top: 20px;
}
@media (max-width: 620px) {
  .consumer-app .workspace > .video-ad {
    width: calc(100% - 28px);
    margin-top: 12px;
  }
}
