/* Project 400 2.1.40 — consistent Diocese typography, page nav and accessible mega-menu close. */
/* The same fixed and normal-header render paths both use .mega-menu and .mega-close. */
.mega-menu { position:fixed; overflow:hidden; }
.mega-menu .mega-close,
.darcis-native-nav .mega-menu .mega-close {
 position:absolute!important;top:12px!important;right:13px!important;left:auto!important;bottom:auto!important;
 display:grid!important;place-items:center!important;width:38px!important;height:38px!important;
 padding:0!important;margin:0!important;border:1px solid #4e1111!important;border-radius:50%!important;
 background:#4e1111!important;color:#fff!important;box-shadow:0 3px 9px rgba(78,17,17,.16)!important;
 font-size:0!important;line-height:0!important;transform:none!important;z-index:15!important;cursor:pointer;
}
.mega-menu .mega-close::before,.mega-menu .mega-close::after{
 content:""!important;position:absolute!important;top:50%!important;left:50%!important;
 width:15px!important;height:2px!important;border-radius:1px;background:#fff!important;
 transform:translate(-50%,-50%) rotate(45deg)!important;pointer-events:none;
}
.mega-menu .mega-close::after{transform:translate(-50%,-50%) rotate(-45deg)!important}
.mega-menu .mega-close:hover,.mega-menu .mega-close:focus-visible{background:#6e2424!important;box-shadow:0 0 0 3px #e1ca8a!important;outline:2px solid #fff;outline-offset:-4px}
/* Avoid the close control overlapping the first column. */
.mega-menu .mega-groups{padding-top:max(1.5rem,48px)}
@media(max-width:620px){.mega-menu .mega-close,.darcis-native-nav .mega-menu .mega-close{position:absolute!important;top:10px!important;right:10px!important;left:auto!important;margin:0!important}}
/* One shared tab strip immediately below the established internal headline. */
.p40040-subnav{background:#fff;border-bottom:1px solid #e8dfd2;box-shadow:0 2px 7px rgba(78,17,17,.04);position:relative;z-index:2}
.p40040-subnav-inner{width:min(1140px,calc(100% - 40px));margin:auto;display:flex;flex-wrap:wrap;gap:7px;padding:12px 0}
.p40040-filter{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:8px 14px;border:1px solid #efe5dc;border-radius:999px;background:#f8f5ee;color:#4e1111!important;font-size:12px;font-weight:700;line-height:1.2;font-family:inherit;text-decoration:none!important;white-space:nowrap}
.p40040-filter:hover,.p40040-filter:focus-visible{border-color:#c8a24a;color:#4e1111!important;box-shadow:0 0 0 2px #ead9b7;outline:0}
.p40040-filter.is-active{background:#4e1111!important;border-color:#4e1111!important;color:#fff!important}
/* Congregation statistics and group headings: burgundy/ivory, gold contrast. */
.p400-approved-page.p400-v2138-page .cong-top .reg-counts{display:flex;flex-wrap:wrap;gap:14px;margin-top:24px;padding:0;background:transparent!important}
.p400-approved-page.p400-v2138-page .cong-top .reg-counts>div{background:#4e1111!important;border:1px solid #854b42!important;border-top:3px solid #c8a24a!important;min-width:145px;padding:17px 19px;border-radius:3px}
.p400-approved-page.p400-v2138-page .cong-top .reg-counts b{display:block;color:#f6d58c!important;font:700 clamp(25px,3.1vw,36px)/1.15 Georgia,serif!important;opacity:1!important}
.p400-approved-page.p400-v2138-page .cong-top .reg-counts span{color:#fff9ef!important;font-size:12px!important;line-height:1.5;font-weight:600;opacity:1!important}
.p400-approved-page.p400-v2138-page .cong-band{background:#f5eee4!important;color:#4e1111!important;border:1px solid #e1d2bd!important;border-top:3px solid #c8a24a!important;padding:14px;align-items:start}
.p400-approved-page.p400-v2138-page .cong-band .cong-group-title{background:#fff!important;border-left:4px solid #c8a24a!important;color:#4e1111!important;padding:23px!important;min-height:180px}
.p400-approved-page.p400-v2138-page .cong-band .cong-group-title :is(span,h2,p){color:#4e1111!important;opacity:1!important;text-shadow:none!important}
.p400-approved-page.p400-v2138-page .cong-band .cong-group-title>span{color:#8e611d!important;font-weight:800!important;font-size:12px!important;letter-spacing:.09em}
.p400-approved-page.p400-v2138-page .cong-band .cong-group-title h2{font-size:clamp(23px,2.8vw,33px)!important;line-height:1.2!important}
.p400-approved-page.p400-v2138-page .cong-band .cong-group-title p{font-size:13px!important;line-height:1.65!important}
.p400-approved-page.p400-v2138-page .cong-band .cong-list .cong-card{background:#fff!important;border:1px solid #e0d2c3!important}
.p400-approved-page.p400-v2138-page .cong-list .cong-card :is(strong,span){color:#4e1111!important}
.p400-approved-page.p400-v2138-page .cong-list .cong-card small{color:#8a612a!important}
/* Consistent institution panel label and editorial heading hierarchy. */
.p400-approved-page.p400-v2138-page .facility-hero .eyebrow,
.p400-approved-page.p400-v2138-page .section-head .eyebrow.dark{font:800 11px/1.4 system-ui,sans-serif!important;letter-spacing:.13em!important;text-transform:uppercase!important;color:#8a5b26!important}
.p400-approved-page.p400-v2138-page .facility-hero h2.p40038-story-heading,
.p400-approved-page.p400-v2138-page .facility-hero h2{font:600 clamp(29px,3.3vw,41px)/1.17 Georgia,serif!important;color:#4e1111!important}
.p400-approved-page.p400-v2138-page .section-head h2{font:600 clamp(28px,3.3vw,40px)/1.17 Georgia,serif!important;color:#4e1111!important}
.p400-approved-page.p400-v2138-page .facility-hero p,.p400-approved-page.p400-v2138-page .section-head p{color:#544942!important;font-size:15px!important;line-height:1.72!important}
/* Place the explanatory kicker above the title, just as on approved Diocese pages. */
.p400-approved-page.p400-v2138-page :is(.facility-hero,.cong-top) .eyebrow{display:block;margin:0 0 10px}
.p400-approved-page.p400-v2138-page :is(.cong-page,.facilities) .section-head,
.p400-approved-page.p400-v2138-page .section-head:has(+ .facility-grid),
.p400-approved-page.p400-v2138-page .section-head:has(+ .cong-band){display:block!important;max-width:790px!important;grid-template-columns:none!important;text-align:left!important}
.p400-approved-page.p400-v2138-page :is(.cong-page,.facilities) .section-head .eyebrow,
.p400-approved-page.p400-v2138-page .section-head:has(+ .facility-grid) .eyebrow{display:block!important;width:auto!important;max-width:none!important;margin:0 0 11px!important;white-space:normal!important}
.p400-approved-page.p400-v2138-page :is(.cong-page,.facilities) .section-head h2,
.p400-approved-page.p400-v2138-page .section-head:has(+ .facility-grid) h2{max-width:770px!important;margin:0 0 12px!important}
/* Religions directory heading is a real section head followed by the first group panel. */
.p400-approved-page.p400-v2138-page .section-head:has(+ .cong-band){display:block!important;max-width:790px!important;grid-template-columns:none!important}
.p400-approved-page.p400-v2138-page .section-head:has(+ .cong-band) .eyebrow{display:block!important;margin:0 0 11px!important;width:auto!important}
.p400-approved-page.p400-v2138-page .section-head:has(+ .cong-band) h2{max-width:770px!important;margin:0 0 12px!important}
/* Remove standalone preview's extra exploration decoration; real chips are above content. */
.p400-approved-page.p400-v2138-page .facility-search,.p400-approved-page.p400-v2138-page .facility-filters{display:none!important}
/* Chaplaincy must match the same burgundy/gold/ivory as the rest of the Diocese. */
.p400-approved-page.p400-v2138-page .chap-hero{background:#f8f5ee!important;color:#4e1111!important;padding:26px 0!important;min-height:0!important;border-bottom:1px solid #e5d7c6}
.p400-approved-page.p400-v2138-page .chap-hero :is(h2,h3,p){color:#4e1111!important}
.p400-approved-page.p400-v2138-page .chap-hero .eyebrow{color:#90632e!important}
.p400-approved-page.p400-v2138-page .chap-split article{background:#fff!important;color:#4e1111!important;border:1px solid #e2d4c6!important;border-top:3px solid #c8a24a!important}
.p400-approved-page.p400-v2138-page .chap-split article:nth-child(2){background:#f8f5ee!important}
.p400-approved-page.p400-v2138-page .chap-split article>span,.p400-approved-page.p400-v2138-page .chap-split b{color:#7a1f1f!important}
.p400-approved-page.p400-v2138-page .chap-split :is(h3,p){color:#4e1111!important}
.p400-approved-page.p400-v2138-page .chap-attention{background:#4e1111!important;color:#fff!important;border-top:4px solid #c8a24a!important}
.p400-approved-page.p400-v2138-page .chap-attention :is(h2,p){color:#fff!important}
@media(max-width:700px){.p40040-subnav-inner{width:calc(100% - 24px);gap:6px;padding:10px 0;flex-wrap:nowrap;overflow:auto;scrollbar-width:thin}.p40040-filter{flex-shrink:0;font-size:11px}.p400-approved-page.p400-v2138-page .cong-band{padding:9px}.p400-approved-page.p400-v2138-page .cong-top .reg-counts>div{flex:1 1 125px;min-width:125px}}
