/* ITMC Popup Parafia 1.0.1 — popup parafialny. */
.itmc-parish-popup[hidden]{display:none!important}
.itmc-parish-popup{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:28px;box-sizing:border-box}
.itmc-parish-popup *{box-sizing:border-box}
.itmc-parish-popup__overlay{position:absolute;inset:0;background:rgba(0,0,0,var(--itmc-parish-popup-overlay,.4))}
/* Thin white frame, sharp corners and soft lift from the page. */
.itmc-parish-popup__dialog{position:relative;z-index:1;width:min(var(--itmc-parish-popup-width,60vw),1200px);max-width:100%;max-height:calc(100vh - 104px);max-height:calc(100dvh - 104px);border:1px solid #fff!important;border-radius:0!important;background:transparent;box-shadow:0 22px 65px rgba(0,0,0,.34);outline:none;overflow:visible}
.itmc-parish-popup__banner{display:block;width:100%;height:auto;max-height:calc(100vh - 106px);max-height:calc(100dvh - 106px);object-fit:contain;border-radius:0!important}
/* Subtle close icon. Suppress theme button decorations; retain keyboard focus. */
#itmc-parish-popup .itmc-parish-popup__close{appearance:none!important;-webkit-appearance:none!important;position:absolute!important;top:-35px!important;right:-1px!important;z-index:3!important;display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;outline:none!important;background:transparent!important;color:#fff!important;box-shadow:none!important;cursor:pointer!important;line-height:1!important;transition:opacity .2s ease!important;opacity:.76!important}
#itmc-parish-popup .itmc-parish-popup__close::before,#itmc-parish-popup .itmc-parish-popup__close::after{content:none!important;display:none!important}
#itmc-parish-popup .itmc-parish-popup__close svg{display:block!important;width:18px!important;height:18px!important;stroke:#fff!important;stroke-width:1.5!important;stroke-linecap:round!important;fill:none!important;filter:drop-shadow(0 1px 2px rgba(0,0,0,.55));pointer-events:none}
#itmc-parish-popup .itmc-parish-popup__close:hover{background:transparent!important;color:#fff!important;opacity:1!important}
#itmc-parish-popup .itmc-parish-popup__close:focus-visible{outline:1px solid rgba(255,255,255,.85)!important;outline-offset:1px!important;opacity:1!important}
body.itmc-parish-popup-open{overflow:hidden!important}
@media(max-width:767px){.itmc-parish-popup{padding:16px}.itmc-parish-popup__dialog{width:94vw;max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px)}.itmc-parish-popup__banner{max-height:calc(100vh - 102px);max-height:calc(100dvh - 102px)}#itmc-parish-popup .itmc-parish-popup__close{top:-35px!important;right:-1px!important;width:32px!important;height:32px!important}}
@media(prefers-reduced-motion:reduce){#itmc-parish-popup .itmc-parish-popup__close{transition:none!important}}
