/*
 * ioann-karpovka liturgical widget dialog (task 11). Markup: components/liturgical-dialog.blade.php,
 * behaviour: js/liturgical-dialog.js. Mobile = `not all and (min-width: 768px)`; never a max-width query (task 36).
 */
.ik-ldialog {
    width: min(960px, calc(100vw - 2 * var(--gutter)));
    max-width: none;
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: var(--radius-panel);
    background: var(--iskm-cream-50);
    color: var(--iskm-navy);
    box-shadow: var(--shadow-float);
    overflow: hidden;
}
.ik-ldialog[open] { display: flex; flex-direction: column; }
.ik-ldialog::backdrop { background: rgb(15 28 68 / .55); }
.ik-ldialog__bar { display: flex; justify-content: flex-end; padding: 8px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.ik-ldialog__frame { display: block; width: 100%; height: min(80vh, 820px); border: 0; background: var(--iskm-cream-50); }
html.ik-ldialog-open { overflow: hidden; }
@media not all and (min-width: 768px) {
    .ik-ldialog { width: 100vw; height: 100dvh; margin: 0; border-radius: 0; }
    .ik-ldialog__frame { flex: 1 1 auto; height: auto; min-height: 0; }
}
