.catedral-popup-overlay{position:fixed;inset:0;z-index:999000;background:rgba(12,9,33,.76);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:18px;animation:popupFade .24s ease}
.catedral-popup-dialog{--popup-width:650px;--popup-height:auto;background:#fff;color:#211752;width:min(var(--popup-width),calc(100vw - 36px));height:var(--popup-height);max-height:calc(100dvh - 36px);overflow:auto;position:relative;border-radius:22px;box-shadow:0 32px 100px rgba(0,0,0,.45);display:flex;flex-direction:column;outline:0}
.catedral-popup-close{position:absolute;top:15px;right:16px;z-index:2;border:0;background:#f4f1f8;color:#241750;border-radius:50%;font-size:27px;line-height:1;width:42px;height:42px;cursor:pointer;transition:background .2s,transform .2s}
.catedral-popup-close:hover{background:#e8def0;transform:rotate(90deg)}
.catedral-popup-close:focus-visible,.catedral-popup-nav button:focus-visible{outline:3px solid #bb2635;outline-offset:3px}
.catedral-popup-inner{padding:48px clamp(20px,5vw,44px) 30px;flex:1;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.catedral-popup-kicker{font:700 10px/1.5 system-ui,sans-serif;letter-spacing:.18em;color:#bb2635;margin:0 34px 15px}
.catedral-popup-dialog h2{font:600 clamp(22px,3vw,30px)/1.3 'Cinzel',Georgia,serif;margin:0 0 18px;color:#211752;overflow-wrap:anywhere}
.catedral-popup-text{white-space:pre-wrap;overflow-wrap:anywhere;font:400 16px/1.85 'Lora',Georgia,serif;margin:0;text-align:center;max-width:65ch;color:#434057}
.catedral-popup-image-wrap{width:100%;display:flex;justify-content:center;align-items:center}
.catedral-popup-image{max-width:100%;width:auto;height:auto;object-fit:contain;display:block;border-radius:10px}
.catedral-popup-nav{padding:12px 20px 20px;display:flex;justify-content:center;align-items:center;gap:18px;border-top:1px solid #f1edf5}
.catedral-popup-nav[hidden],.catedral-popup-text[hidden],.catedral-popup-image-wrap[hidden]{display:none!important}
.catedral-popup-nav button{border:1px solid #d8d2e3;border-radius:999px;background:white;color:#211752;width:37px;height:37px;cursor:pointer}
.catedral-popup-nav button:disabled{opacity:.32;cursor:default}
.catedral-popup-counter{font:600 12px system-ui,sans-serif;color:#685a79}
@keyframes popupFade{from{opacity:0}to{opacity:1}}
@media(max-width:540px){.catedral-popup-overlay{padding:12px}.catedral-popup-dialog{width:100%;max-height:calc(100dvh - 24px);border-radius:17px}.catedral-popup-inner{padding:62px 19px 26px}.catedral-popup-text{font-size:14px;line-height:1.75}.catedral-popup-dialog h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){.catedral-popup-overlay{animation:none}.catedral-popup-close{transition:none}}
/* V1.0.51: conteúdo HTML do comunicado, com tipografia do site e espaçamentos legíveis. */
.catedral-popup-text{width:100%;max-width:70ch;text-align:left;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.catedral-popup-text.is-html{white-space:normal}
.catedral-popup-text.is-html>p,.catedral-popup-text.is-html>div{margin:0 0 12px}
.catedral-popup-text.is-html p{margin:0 0 12px}
.catedral-popup-text.is-html p:last-child{margin-bottom:0}
.catedral-popup-text.is-html strong,.catedral-popup-text.is-html b{font-weight:700;color:#291d4d}
.catedral-popup-text.is-html h2,.catedral-popup-text.is-html h3,.catedral-popup-text.is-html h4{font-family:'Cinzel',Georgia,serif;color:#23174c;font-weight:700;letter-spacing:0;margin:12px 0 10px;line-height:1.4}
.catedral-popup-text.is-html h2{font-size:24px}.catedral-popup-text.is-html h3{font-size:20px}.catedral-popup-text.is-html h4{font-size:17px}
.catedral-popup-text.is-html a{color:#a9283c;text-decoration:underline;text-underline-offset:3px}
.catedral-popup-text.is-html ul,.catedral-popup-text.is-html ol{margin:8px 0 14px;padding-left:26px;text-align:left}
.catedral-popup-text.is-html li{margin:3px 0}
.catedral-popup-text.is-html blockquote{border-left:3px solid #bd283e;padding:8px 16px;margin:12px 0;background:#faf4f5}
.catedral-popup-text.is-html img{max-width:100%;height:auto;border-radius:8px;margin:8px auto;display:block}
.catedral-popup-text.is-html table{max-width:100%;width:100%;border-collapse:collapse;display:block;overflow-x:auto}
.catedral-popup-text.is-html th,.catedral-popup-text.is-html td{padding:9px 12px;border:1px solid #e6dce7;text-align:left}
.catedral-popup-text.is-html hr{border:0;border-top:1px solid #e5dbe5;margin:16px 0}
.catedral-popup-inner{justify-content:flex-start}.catedral-popup-dialog{max-height:calc(100dvh - 30px)}
@media(max-width:540px){.catedral-popup-text{font-size:14px}.catedral-popup-text.is-html h2{font-size:21px}}
