/* The two windows of assets/brand/site-dialogs.js (ו1395): the pilot card ("להצטרפות" in the bar) and a film. The card
   itself is styled by explain.css under #xp; this sheet draws only the window around it. */
.sdlg { position: fixed; inset: 0; z-index: 2147483600; display: grid; place-items: center; overflow: auto;
  padding: max(30px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(8, 14, 28, .62); }
.sdlg[hidden] { display: none; }
html.sdlg-open { overflow: hidden; }
html.sdlg-open .np-a11y-btn { visibility: hidden; }
.sdlg__in { position: relative; width: min(560px, 100%); }
#xp.sdlg__in, .sdlg .sdlg__in { background: transparent; min-height: 0; }
/* inside #xp the card's own button rules would win: the id keeps the close button as drawn here */
#xp .sdlg__x, .sdlg__x { position: absolute; z-index: 3; top: -16px; left: -16px; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 0;
  background: #fff; color: #16294a; font: 900 22px/1 'Heebo', sans-serif; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .22); }
.sdlg__x:focus-visible, .sdlg__close:focus-visible { outline: 3px solid #14867a; outline-offset: 2px; }
.sdlg__film { width: min(1040px, 100%); border-radius: 22px; overflow: hidden; background: #0e1b32; color: #fff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .5); }
.sdlg__scr { aspect-ratio: 16 / 9; background: #000; }
.sdlg__scr video { display: block; width: 100%; height: 100%; background: #000; }
.sdlg--film.is-tall .sdlg__film { width: min(100%, calc((100dvh - 120px) * 9 / 16)); }
.sdlg--film.is-tall .sdlg__scr { aspect-ratio: 9 / 16; }
.sdlg__bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 18px; }
.sdlg__bar b { font: 800 17px/1.25 'Heebo', sans-serif; }
.sdlg__close { min-height: 42px; padding-inline: 18px; border-radius: 999px; border: 0; background: #fff; color: #16294a;
  font: 800 15px/1 'Heebo', sans-serif; cursor: pointer; flex: none; }
@media (max-width: 640px) { .sdlg { padding-inline: 10px; } .sdlg__film { border-radius: 16px; } }
