.a42-video-dialog { box-sizing: border-box; width: min(1160px, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); margin: auto; padding: 1rem; overflow: auto; border: 0; border-radius: 12px; background: #0b2545; color: #fff; }
.a42-video-dialog::backdrop { background: rgb(0 0 0 / 78%); }
.a42-video-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.a42-video-top h2 { margin: 0; font-size: clamp(1rem, 2.5vw, 1.5rem); color: #fff; }
.a42-video-dialog button { min-height: 44px; padding: .6rem 1rem; border: 2px solid transparent; border-radius: 6px; font: inherit; font-weight: 700; cursor: pointer; }
.a42-video-close, .a42-video-consent { background: #0ea5ff; color: #0b2545; }
.a42-video-preferences { margin-top: .5rem; color: #fff; background: transparent; text-decoration: underline; }
.a42-video-dialog :focus-visible, [data-a42-video]:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #0b2545; }
.a42-video-player { width: 100%; aspect-ratio: 16 / 9; background: #050e1a; }
.a42-video-iframe { display: block; width: 100%; height: 100%; border: 0; }
.a42-video-notice { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding: clamp(1rem, 4vw, 3rem); text-align: center; }
.a42-video-notice p { max-width: 55ch; margin: 0 0 1rem; color: #fff; }
.a42-video-status:empty { display: none; }
[data-a42-video] { display: block; position: relative; padding: 0; border: 0; background: #0b2545; color: #fff; cursor: pointer; text-decoration: none; }
[data-a42-video] img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.a42-video-play-label { display: block; padding: .75rem 1rem; font-weight: 700; }
/* Consent copy stays below the complete local image, including on narrow demo cards. */
.a42-site .a42-video-trigger.a42-video-consent-needed { aspect-ratio: auto; }
.a42-site .a42-video-trigger.a42-video-consent-needed > img { position: static; inset: auto; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.a42-site .a42-video-trigger.a42-video-consent-needed::after,
.a42-site .a42-video-trigger.a42-video-consent-needed .a42-video-play { display: none; }
.a42-site .a42-video-trigger .a42-video-consent-notice { display: block; padding: .7rem 1rem; font-family: inherit; font-weight: 400; font-size: 14px; line-height: 1.5; text-align: left; color: #fff; background: #0b2545; }
.a42-site .a42-video-trigger .a42-video-consent-notice[hidden] { display: none; }
.a42-site .a42-video-trigger.a42-video-consent-needed .a42-video-play-label { position: static; inset: auto; box-sizing: border-box; min-height: 44px; padding: .75rem 1rem; font-size: 14px; line-height: 1.5; text-align: center; white-space: normal; overflow-wrap: break-word; color: #0b2545; background: #0ea5ff; }
.a42-site .a42-video-inline-status { margin: .5rem 0; padding: .6rem .8rem; border: 1px solid #596778; border-radius: 6px; font-size: 14px; line-height: 1.5; color: #0b2545; background: #fff; }
.a42-site .a42-video-inline-status[hidden] { display: none; }
@media (max-width: 520px) { .a42-video-dialog { width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); padding: .75rem; } .a42-video-notice { min-height: 260px; } .a42-video-player:has(.a42-video-notice) { aspect-ratio: auto; } .a42-video-top { align-items: flex-start; } }
