/* Placeholder shown where a video is held until marketing consent */
.imbeer-embed-consent {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 20px;
  padding: 40px 20px;
  border: 1px solid currentColor;
  text-align: center;
}

.imbeer-embed-consent a {
  text-decoration: underline;
}

/* Take no space until Cookiebot restores src on consent */
iframe.cookieconsent-optin-marketing:not([src]),
iframe.cookieconsent-optin-marketing[src=""] {
  display: none;
}

/* Avada's FitVids skips iframes with no src at load, so size consent-held embeds here */
.video-shortcode > iframe.cookieconsent-optin-marketing[src]:not([src=""]) {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
