@charset "UTF-8";

html.is-video-open { overflow:hidden; }
.video-dialog {
  width:min(1040px,calc(100vw - 32px));
  width:min(1040px,calc((100dvh - 220px) * 16 / 9),calc(100vw - 32px));
  max-width:none;
  max-height:calc(100dvh - 32px);
  margin:auto;
  padding:0 4px 4px;
  border:0;
  background:transparent;
  color:#edf4f7;
  overflow:visible;
}
.video-dialog[open] { display:grid; grid-template-rows:minmax(0,1fr) auto; }
.video-dialog-content {
  min-height:0;
  border:1px solid #718c9c;
  border-radius:8px;
  background:#101c25;
  box-shadow:0 24px 80px #0009;
  overflow:auto;
}
.video-dialog::backdrop { background:#061019d9; }
.video-dialog-controls { display:flex; justify-content:center; padding:16px 4px 4px; }
.video-close { display:grid; place-items:center; flex-shrink:0; width:48px; height:48px; padding:0; border:1px solid #b8c7d1; border-radius:50%; background:#101c25; color:#edf4f7; cursor:pointer; }
.video-close:hover { background:#294251; }
.video-player { width:100%; aspect-ratio:16/9; background:#000; }
.video-player iframe { display:block; width:100%; height:100%; border:0; }
.video-dialog-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 24px; padding:16px 20px; }
.video-dialog-footer p { margin:0; color:#b8c7d1; font:400 16px/1.6 var(--font); }
.video-dialog-footer a { color:#edf4f7; font:600 14px/1.6 var(--font); text-decoration:underline; text-underline-offset:4px; }
.video-dialog :is(a,button):focus-visible { outline:3px solid #efa38b; outline-offset:3px; }
@media(max-width:600px) {
  .video-dialog-footer { padding:14px; }
}
