.video-is-open{overflow:hidden}
.video-dialog{box-sizing:border-box;width:min(1000px,calc(100% - 40px));max-width:none;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #d6cfbf;border-radius:12px;background:#fffefa;color:var(--ink,#0b2a35);box-shadow:0 20px 80px #0006;overflow:auto}
.video-dialog::backdrop{background:rgba(3,20,28,.83)}
.video-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 22px}
.video-dialog-header h2{margin:0;font-size:clamp(22px,3vw,32px);line-height:1.15;overflow-wrap:anywhere}
.video-close{flex:none;min-height:44px;padding:10px 14px;border:1px solid #d6cfbf;border-radius:5px;background:#f0eee8;color:#0b2a35;font:600 14px Arial,sans-serif;cursor:pointer}
.video-close:hover{background:#e5dfd3}
.video-close:focus-visible,.video-dialog a:focus-visible{outline:3px solid #947135;outline-offset:3px}
.video-frame{position:relative;width:100%;aspect-ratio:16/9;background:#061923}
.video-frame iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0}
.video-dialog.video-dialog-short{width:min(460px,calc(100% - 24px))}
.video-dialog-short .video-dialog-header h2{font-size:21px}
.video-dialog-short .video-frame{width:min(100%,34vh);width:min(100%,34dvh);aspect-ratio:9/16;margin-inline:auto}
.faq-video a[data-video]{display:inline;white-space:normal;overflow-wrap:anywhere}
.video-dialog-info{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 22px;font-size:12px;line-height:1.5}
.video-dialog-info p{margin:0;font-size:inherit}
.video-dialog-info a{color:#74511d;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.video-dialog{width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:8px}.video-dialog-header{padding:12px;gap:12px}.video-dialog-header h2{font-size:23px}.video-close{padding:10px;font-size:12px}.video-dialog-info{display:block;padding:12px;font-size:11px}.video-dialog-info p{margin-bottom:6px}}
