/* Always available, below the banner/dialog and outside the document flow. */
.schwartz-privacy-icon { position: fixed; left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 18000; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding: 10px; border: 1px solid #ad8b00; border-radius: 50%; background: #ffce00; color: #222; box-shadow: 0 2px 8px #0003; cursor: pointer; }
.schwartz-privacy-icon:hover { background: #ffe477; }
.schwartz-privacy-icon:focus-visible { outline: 3px solid #655000; outline-offset: 3px; }
.schwartz-privacy-icon svg { flex: none; }
.schwartz-video-placeholder { padding: 24px; border: 1px solid #ddd; text-align: center; }
.schwartz-video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.schwartz-video-activate[hidden] { display: none !important; }
#klaro .cookie-notice, #klaro .cookie-modal .cm-modal { font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5; color: #222; background: #fff; }
#klaro .klaro.we_cookie_consent .cookie-modal .cm-modal .cm-header h1 { font-size: 26px; line-height: 1.25; overflow-wrap: anywhere; padding-right: 25px; }
/* Override the extension's button variants and the legacy site's yellow links. */
#klaro .klaro.we_cookie_consent .cm-btn { background: #ffce00 !important; color: #222 !important; border: 1px solid #ad8b00 !important; border-radius: 3px; font-weight: 600; }
#klaro .klaro.we_cookie_consent .cm-btn::before { display: none !important; }
#klaro .klaro.we_cookie_consent .cm-btn:hover { background: #ffe477 !important; }
#klaro .klaro.we_cookie_consent a { color: #655000 !important; text-decoration: underline; }
#klaro button:focus-visible, #klaro a:focus-visible, #klaro input:focus-visible + label { outline: 3px solid #655000; outline-offset: 3px; }
#klaro .cookie-modal { z-index: 20000; }
#klaro .cookie-notice { z-index: 19000; }
@media(max-width: 600px) {
  #klaro .cookie-notice:not(.cookie-modal-notice) { max-height: 85vh; overflow-y: auto; }
  #klaro .klaro.we_cookie_consent .cookie-modal .cm-modal .cm-header h1 { font-size: 23px; }
  #klaro .klaro.we_cookie_consent .cm-btn { min-height: 44px; margin-top: 8px; white-space: normal; }
}

/* Keep each video and its heading together, including before consent. */
.schwartz-video-card { margin: 0 0 28px; padding: 20px; border: 1px solid #ddd; border-top: 3px solid #ffce00; background: #fff; }
.schwartz-video-caption { margin: 0 0 18px; }
.schwartz-video-caption h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; line-height: 1.4; color: #444; }
.schwartz-video-caption p { margin: 0; font-size: 16px; line-height: 1.5; }
.schwartz-video-player { background: #f7f7f7; }
/* Klaro can set display:block on empty frames during initialisation. They must
   never intercept the contextual consent button or remain keyboard-focusable. */
.schwartz-video-player > iframe[data-name="youtube"]:not([src]),
.schwartz-video-player > iframe[data-name="youtube"][src=""] { display: none !important; }
.schwartz-video-player:has(> iframe[data-name="youtube"]:not([src])),
.schwartz-video-player:has(> iframe[data-name="youtube"][src=""]) { height: auto; padding-bottom: 0; }
.schwartz-video-player > [data-type="placeholder"] { position: relative; z-index: 1; }
.schwartz-video-player .klaro.we_cookie_consent.cm-as-context-notice { width: 100% !important; height: auto; padding: 22px; border: 0; }
.schwartz-video-player .klaro .context-notice { background: transparent; }
.schwartz-video-player .klaro .context-notice p { color: #444; font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5; }
.schwartz-video-player .klaro .context-notice .cm-buttons { margin-top: 18px; }
.schwartz-video-player .klaro.we_cookie_consent.cm-as-context-notice .context-notice .cm-buttons .cm-btn.cm-btn-success { flex-basis: auto; width: auto; max-width: 100%; min-height: 44px; padding: 10px 18px; border: 1px solid #ad8b00; background: #ffce00; color: #222; }
.schwartz-video-player .klaro .context-notice .cm-btn:focus-visible { outline: 3px solid #655000; outline-offset: 3px; }
@media(max-width: 600px) {
  .schwartz-video-card { padding: 15px; }
  .schwartz-video-player .klaro.we_cookie_consent.cm-as-context-notice { padding: 18px 12px; }
}

/* Flex rows adapt when consent changes the player height; legacy equal-height
   JavaScript otherwise leaves fixed column heights from before activation. */
.row:has(> [data-equalheight="item"] > .schwartz-video-card) { display: flex; flex-wrap: wrap; }
.row:has(> [data-equalheight="item"] > .schwartz-video-card)::before,
.row:has(> [data-equalheight="item"] > .schwartz-video-card)::after { display: none; }
.row:has(> [data-equalheight="item"] > .schwartz-video-card) > [data-equalheight="item"] { display: flex; height: auto !important; }
.schwartz-video-card { width: 100%; }
