.cgv-modal{position:fixed;inset:0;z-index:100001;background:rgba(2,12,26,.85);display:flex;align-items:center;justify-content:center;padding:16px}
.cgv-modal[hidden]{display:none}
.cgv-mbox{width:min(880px,100%);position:relative}
.cgv-frame{aspect-ratio:16/9;background:#000}
.cgv-frame iframe{width:100%;height:100%;border:0;display:block}
.cgv-mtitle{color:#fff;font-family:'Playfair Display',serif;font-size:1.1rem;margin-top:.7rem}
.cgv-x{position:absolute;top:-2.6rem;right:0;background:none;border:0;color:#fff;font-size:1.7rem;cursor:pointer}
/* ── Church Guide site additions on top of the theme ── */
.cg-ad-live{display:flex;justify-content:center;align-items:center;max-width:100%;overflow:hidden}
.cg-ad-live img{max-width:100%;height:auto;display:block}
.cg-empty{padding:2rem 1rem;text-align:center;color:#8a96a8;font-size:.9rem;background:#fff;border:1px dashed #d7dee8}
.cg-pager{display:flex;justify-content:center;gap:.35rem;flex-wrap:wrap;margin:1.6rem 0 .5rem}
.cg-pager a,.cg-pager span{min-width:36px;height:36px;padding:0 .7rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d7dee8;background:#fff;color:var(--navy,#054280);font-weight:600;font-size:.82rem;text-decoration:none}
.cg-pager .on{background:var(--navy,#054280);color:#fff;border-color:var(--navy,#054280)}
.cg-pager a:hover{border-color:var(--gold,#f7c264)}
.cg-flash{max-width:1100px;margin:1rem auto;padding:.8rem 1rem;border-left:4px solid var(--gold,#f7c264);background:#fffaf0;color:#3a3a3a;font-size:.9rem}
.cg-flash.ok{border-color:#2e9d5b;background:#eefaf3}
.cg-flash.err{border-color:#c0392b;background:#fdf0ee}
.sg-nav a.active{color:var(--navy,#054280)}
img.cg-fill{width:100%;height:100%;object-fit:cover;display:block}
.cg-ad.cg-ad-400{width:100%;max-width:300px;aspect-ratio:3/4;flex-direction:column;margin:0 auto 1.1rem}
.cg-ad.cg-ad-side{width:100%;max-width:300px;aspect-ratio:6/5;flex-direction:column;margin:0 auto 1.1rem}
.filter-sidebar .cg-ad-live{margin:0 auto 1.1rem}
/* canonical footer (from home theme) so every page's footer matches */
footer{background:var(--navy);padding:4rem 2rem 1.5rem}
.footer-inner{max-width:1280px;margin:0 auto}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;margin-bottom:3rem}
.footer-brand p{color:rgba(255,255,255,.5);font-size:.85rem;line-height:1.7;margin:1rem 0;max-width:320px}
.footer-logo-wrap{display:flex;align-items:center;gap:0;margin-bottom:1rem}
.footer-logo-cross{width:36px;height:36px;background:rgba(201,168,76,.2);border-radius:8px;position:relative;display:flex;align-items:center;justify-content:center}
.footer-logo-cross::before{content:'';position:absolute;left:50%;top:4px;transform:translateX(-50%);width:2.5px;height:28px;background:var(--gold);border-radius:2px}
.footer-logo-cross::after{content:'';position:absolute;top:10px;left:4px;width:28px;height:2.5px;background:var(--gold);border-radius:2px}
.footer-logo-text{font-family:'Playfair Display',serif;font-size:1.2rem;font-weight:700;color:white}
.footer-tagline{color:rgba(255,255,255,.5);font-size:.8rem;margin-top:.1rem}
.footer-contact{display:flex;flex-direction:column;gap:.4rem;margin-top:1rem}
.footer-contact a{color:rgba(255,255,255,.6);text-decoration:none;font-size:.83rem;display:flex;align-items:center;gap:.5rem;transition:color .2s}
.footer-contact a:hover{color:var(--gold)}
.footer-col h4{color:white;font-size:.88rem;font-weight:700;letter-spacing:.05em;margin-bottom:1rem}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:.55rem}
.footer-col ul li a{color:rgba(255,255,255,.5);text-decoration:none;font-size:.84rem;transition:color .2s}
.footer-col ul li a:hover{color:var(--gold)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:1.4rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}
.footer-bottom p{color:rgba(255,255,255,.35);font-size:.78rem}
.footer-social{display:flex;gap:.6rem}
@media(max-width:1024px){.footer-grid{grid-template-columns:1fr 1fr;gap:2rem}}
@media(max-width:768px){.footer-grid{grid-template-columns:1fr}}
footer{background:var(--navy);padding:2.2rem 2rem 0}
.footer-inner{max-width:1280px;margin:0 auto}
.footer-search{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);padding:1.2rem 1.5rem;display:flex;align-items:center;gap:.8rem;margin-bottom:3rem;flex-wrap:wrap}
.footer-search-label{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--gold);white-space:nowrap;flex-shrink:0}
.footer-search-input{flex:1;min-width:180px;padding:.55rem .9rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:6px;color:#fff;font-size:.86rem;font-family:'DM Sans',sans-serif;outline:none;transition:border .2s}
.footer-search-input::placeholder{color:rgba(255,255,255,.35)}
.footer-search-input:focus{border-color:var(--gold)}
.footer-search-select{padding:.55rem .8rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:6px;color:rgba(255,255,255,.7);font-size:.84rem;font-family:'DM Sans',sans-serif;outline:none;cursor:pointer}
.footer-search-select option{background:var(--navy);color:#fff}
.footer-search-btn{padding:.55rem 1.3rem;background:var(--gold);color:var(--navy);border:none;border-radius:6px;font-family:'DM Sans',sans-serif;font-weight:700;font-size:.84rem;cursor:pointer;white-space:nowrap;transition:background .2s}
.footer-search-btn:hover{background:var(--gold2)}
.footer-grid{display:grid;grid-template-columns:2.2fr 1fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:1.5rem}
.footer-brand{}
.footer-logo-wrap{display:flex;align-items:center;gap:0;margin-bottom:1rem}
.footer-logo-icon{width:60px;height:60px;background:transparent;border-radius:9px;position:relative;flex-shrink:0;overflow:hidden;margin-right:-6px}
.footer-logo-icon::before{content:none}
.footer-logo-icon::after{content:none}
.footer-logo-text{font-family:'Playfair Display',serif;font-size:1.1rem;font-weight:700;color:#fff;line-height:1.15}
.footer-logo-text span{display:block;font-size:.62rem;font-weight:400;font-family:'DM Sans',sans-serif;color:rgba(255,255,255,.45);letter-spacing:.07em;text-transform:uppercase;margin-top:.1rem}
.footer-brand-desc{font-size:.82rem;color:rgba(255,255,255,.48);line-height:1.75;margin-bottom:1.2rem}
.footer-contact{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1.2rem}
.footer-contact a{color:rgba(255,255,255,.55);text-decoration:none;font-size:.8rem;display:flex;align-items:center;gap:.4rem;transition:color .2s}
.footer-contact a:hover{color:var(--gold)}
.footer-find-btn{display:block;padding:.6rem 1.2rem;background:var(--gold);color:var(--navy);text-align:center;border-radius:7px;font-family:'DM Sans',sans-serif;font-weight:700;font-size:.83rem;text-decoration:none;transition:background .2s;margin-bottom:1.2rem}
.footer-find-btn:hover{background:var(--gold2)}
.footer-program{font-size:.72rem;color:rgba(255,255,255,.28);line-height:1.6;padding-top:.9rem;border-top:1px solid rgba(255,255,255,.08)}
.footer-col h4{font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:0}
.footer-col ul li a{display:flex;align-items:center;gap:.45rem;padding:.32rem 0;color:rgba(255,255,255,.52);text-decoration:none;font-size:.82rem;transition:all .2s;border-left:2px solid transparent;padding-left:0}
.footer-col ul li a:hover{color:var(--gold);padding-left:.5rem;border-left-color:var(--gold)}
.footer-col ul li a .fc-icon{font-size:.75rem;width:16px;flex-shrink:0;opacity:.7}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:1.2rem 0;display:flex;align-items:center;flex-wrap:wrap;gap:1.5rem}
.footer-bottom-left{font-size:.76rem;color:rgba(255,255,255,.3);line-height:1.5}
.footer-bottom-links{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}
.footer-bottom-links a{font-size:.76rem;color:rgba(255,255,255,.38);text-decoration:none;transition:color .2s}
.footer-bottom-links a:hover{color:var(--gold)}
.footer-bottom-links span{color:rgba(255,255,255,.15);font-size:.7rem}
.footer-social{display:flex;gap:.5rem}
.footer-social a{width:34px;height:34px;border:1px solid rgba(255,255,255,.15);border-radius:50%;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.45);font-size:.72rem;font-weight:700;text-decoration:none;transition:all .2s}
.footer-social a:hover{border-color:var(--gold);color:var(--gold);background:rgba(245,175,51,.1)}
@media(max-width:1100px){.footer-grid{grid-template-columns:1fr 1fr 1fr;gap:2rem}}
@media(max-width:768px){.footer-grid{grid-template-columns:1fr 1fr}
.footer-search{flex-direction:column;align-items:stretch}}
@media(max-width:500px){.footer-grid{grid-template-columns:1fr}}
@media (max-width:760px){footer [style*="justify-content:space-between"],footer [style*="justify-content: space-between"]{flex-wrap:wrap!important}
footer [style*="grid-template-columns"]{grid-template-columns:1fr 1fr!important;gap:1.6rem 1.2rem!important}
footer [style*="grid-template-columns"]>:first-child{grid-column:1/-1}}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr 1fr!important;gap:1.8rem 1.2rem!important}
.footer-grid>:first-child{grid-column:1/-1}
footer{padding-left:1.1rem!important;padding-right:1.1rem!important}}
@media (max-width:440px){footer .footer-grid,footer [style*="grid-template-columns"]{grid-template-columns:1fr 1fr!important}}
.cg-prog{display:block;white-space:nowrap;margin-top:.15rem}.cg-ad.cg-ad-400p{width:100%;max-width:300px;aspect-ratio:3/4;flex-direction:column;margin:0 auto 1.2rem;box-sizing:border-box}
.cg-ad.cg-midc,.cg-ad-live.cg-midc{width:100%;max-width:728px;margin:1.4rem auto}
.cg-ad.cg-sq{width:100%;max-width:300px;aspect-ratio:1/1;flex-direction:column;margin:0 auto}
/* Phase 2: AI newsroom stories — source attribution + related links */
.article-body .cg-lead{font-size:1.06rem}
.article-body .cg-source-box{margin:1.6rem 0 .4rem;padding:.9rem 1.1rem;background:#f4f7fb;border-left:4px solid #f5af33;border-radius:6px;font-size:.86rem;line-height:1.6;color:#3a5a7a}
.article-body .cg-source-box a{color:#054280;font-weight:700}
.article-body .cg-related-links{font-size:.92rem}
