/* GDPR video facade — thumbnail + click-to-load
   Robust against Chimpify global img { max-width:100%!important; height:auto } */

.dm-embed-facade {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background-color: #2c363f;
  background-size: cover;
  background-position: center;
  color: #fff;
  z-index: 1;
}

/* Poster: must defeat sitewide img rules */
.ch-blog-text .dm-embed-facade > img.dm-embed-poster,
.medium-insert-embeds .dm-embed-facade > img.dm-embed-poster,
.dm-embed-facade > img.dm-embed-poster {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 0 !important;
  pointer-events: none !important;
  vertical-align: top !important;
}

/* Dark scrim over thumbnail */
.dm-embed-facade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 22, 26, 0.48);
  z-index: 1;
  pointer-events: none;
}

/* Centered consent UI above scrim */
.dm-embed-facade > .dm-embed-ui {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  box-sizing: border-box;
  text-align: center;
  pointer-events: none; /* clicks pass except on controls */
}
.dm-embed-facade > .dm-embed-ui > .dm-embed-load,
.dm-embed-facade > .dm-embed-ui > .dm-embed-hint,
.dm-embed-facade > .dm-embed-ui > .dm-embed-hint a {
  pointer-events: auto;
}

.dm-embed-facade .dm-embed-load {
  appearance: none;
  border: 2px solid #e5bd47;
  background: rgba(18, 22, 26, 0.45);
  color: #e5bd47;
  font: inherit;
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  cursor: pointer;
  backdrop-filter: blur(2px);
}
.dm-embed-facade .dm-embed-load:hover {
  background: #e5bd47;
  color: #111;
}
.dm-embed-facade .dm-embed-hint {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.95;
  max-width: 28rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.dm-embed-facade .dm-embed-hint a {
  color: #e5bd47;
}

.medium-insert-embeds figure:has(.dm-embed-facade) {
  margin-left: 0;
  margin-right: 0;
}
