:root{--plum:#280733;--purple:#521a63;--violet:#783083;--gold:#f3be49;--soft-gold:#fff1c9;--paper:#fffdf9;--blush:#f6eff5;--cream:#faf7f1;--ink:#25152e;--muted:#6e6572;--line:#e9dfe8;--round:18px;--shadow:0 12px 38px rgba(39,12,46,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px/1.7 system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper)}.site-header img,main img,.site-footer img{max-width:100%;height:auto;display:block}a{color:inherit}button,input,textarea{font:inherit}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}h1,h2,h3,.serif{font-family:Georgia,'Times New Roman',serif;line-height:1.15;letter-spacing:-.035em}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(3rem,7vw,5.9rem);font-weight:400}h2{font-size:clamp(2.2rem,4vw,3.65rem);font-weight:400}h3{font-size:1.55rem}p{margin-bottom:1.1em}.container{width:min(1210px,calc(100% - 48px));margin-inline:auto}.section{padding:85px 0}.section.soft{background:var(--cream)}.section.blush{background:var(--blush)}.eyebrow{color:var(--violet);text-transform:uppercase;font-size:.74rem;letter-spacing:.17em;font-weight:800}.eyebrow.light{color:var(--gold)}.lede{font-size:1.12rem;color:var(--muted);max-width:760px}.muted{color:var(--muted)}.btn{border:1px solid transparent;display:inline-flex;justify-content:center;align-items:center;gap:.8rem;min-height:47px;padding:11px 20px;border-radius:8px;text-decoration:none;font-size:.85rem;font-weight:750;transition:transform .2s,box-shadow .2s}.btn:hover{transform:translateY(-2px);box-shadow:0 9px 22px #260b3020}.btn.gold{background:var(--gold);color:var(--plum)}.btn.purple{background:var(--purple);color:white}.btn.outline{border-color:#dcc3e0;color:var(--purple);background:transparent}.btn.white{background:white;color:var(--purple)}.btn-group{display:flex;flex-wrap:wrap;gap:12px}.topline{background:var(--plum);color:#f7e9fa;font-size:.75rem}.topline .container{display:flex;justify-content:space-between;gap:20px;padding-top:7px;padding-bottom:7px}.topline b{color:var(--gold)}.site-header{position:sticky;top:0;background:#fffcfa;z-index:100;border-bottom:1px solid var(--line);box-shadow:0 5px 15px #20002008}.admin-bar .site-header{top:32px}.header-main{display:flex;align-items:center;min-height:86px;gap:20px}.site-brand{display:flex;align-items:center;text-decoration:none;margin-right:auto;flex:none;gap:12px;color:var(--plum)}.site-brand img{height:62px;width:auto;max-width:175px;object-fit:contain}.brand-text{font:700 1.25rem/1.05 Georgia,serif;letter-spacing:.09em}.brand-text small{display:block;font:.64rem/1.4 system-ui,sans-serif;letter-spacing:.16em;margin-top:4px;color:#795c79}.primary-menu{display:flex;align-items:center;gap:16px;padding:0;margin:0;list-style:none;font-size:.8rem;font-weight:700}.primary-menu a{text-decoration:none}.primary-menu a:hover,.primary-menu .current-menu-item>a{color:var(--violet)}.menu-toggle{display:none;background:transparent;border:1px solid var(--line);border-radius:9px;padding:8px 10px;color:var(--plum);font-size:1.4rem}.flags{color:#8e577e;background:#f9f0f6;text-align:center;white-space:nowrap;overflow:hidden;padding:7px 0;letter-spacing:.22em;font-size:1.15rem}.hero,.page-hero{background:radial-gradient(circle at 82% 22%,#6d2977 0,#461353 50%,#280733 100%);color:white;position:relative;overflow:hidden}.hero:after,.page-hero:after{content:'';position:absolute;inset:auto -190px -260px auto;width:740px;height:740px;border:1px solid #f5c96e4d;border-radius:50%;box-shadow:0 0 0 90px #ffffff07,0 0 0 200px #f1c35b07;pointer-events:none}.hero-wrap{min-height:575px;display:grid;grid-template-columns:1.03fr .97fr;align-items:center;gap:5%;position:relative;z-index:1;padding-top:70px;padding-bottom:70px}.hero h1{margin:18px 0 24px;max-width:600px}.hero p{max-width:565px;color:#eadbed;font-size:1.1rem}.hero-visual{height:430px;position:relative}.photo{overflow:hidden;border-radius:var(--round);background:linear-gradient(125deg,#51215d,#9565a1);position:relative;min-height:220px}.photo img{width:100%;height:100%;object-fit:cover}.hero-visual .photo{height:100%;box-shadow:0 25px 65px #15051c70}.image-credit{position:absolute;right:15px;bottom:15px;background:#21062cca;padding:7px 11px;color:white;border-radius:30px;font-size:.68rem}.no-photo{min-height:240px;display:flex;align-items:center;justify-content:center;text-align:center;padding:28px;background:linear-gradient(135deg,#4b175a,#7d4988);color:#fff}.no-photo span{border:1px dashed #e7bc80a9;border-radius:12px;padding:28px;max-width:90%}.hero .no-photo{height:100%}.page-hero .container{padding-top:80px;padding-bottom:78px;position:relative;z-index:2}.page-hero h1{margin:10px 0 14px}.page-hero p{color:#efe3ee;font-size:1.08rem;max-width:740px}.grid{display:grid;gap:25px}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.split{display:grid;grid-template-columns:1fr 1fr;gap:6%;align-items:center}.split .photo{min-height:410px;box-shadow:var(--shadow)}.card{background:#fff;border:1px solid var(--line);border-radius:var(--round);overflow:hidden;box-shadow:0 7px 21px #2f113c08}.card-body{padding:25px}.card p{color:var(--muted)}.card h3{margin-bottom:9px}.card a:not(.btn){color:var(--purple);font-weight:700;text-decoration-thickness:1px;text-underline-offset:3px}.number{font:500 2.4rem Georgia,serif;color:#b58c4b}.ministry-card{display:flex;flex-direction:column;min-height:345px}.ministry-card .photo,.leader-card .photo{height:210px;min-height:210px;border-radius:0}.ministry-card .card-body{display:flex;flex:1;flex-direction:column}.ministry-card .more{margin-top:auto}.leader-card .photo{height:270px}.leader-card h3{font-size:1.27rem}.leader-card p{font-size:.85rem}.faith-item{display:flex;gap:26px;border-bottom:1px solid var(--line);padding:22px 0}.faith-item:last-child{border:0}.faith-item h3{margin-bottom:8px}.faith-item p{color:var(--muted)}.service-card .photo{height:220px;min-height:220px;border-radius:0}.service-meta{font-weight:800;color:var(--purple)!important}.feature-pills{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0}.pill{padding:8px 16px;border-radius:30px;background:var(--blush);font-size:.8rem;color:var(--purple);font-weight:700}.quote-banner{padding:66px 0;background:linear-gradient(110deg,#250533,#5b1c65);color:white}.quote-banner h2{margin:0 0 15px}.quote-banner p{font-size:1.2rem;color:#f0ddef}.quote-banner strong{color:var(--gold)}.faq details{background:white;border:1px solid var(--line);border-radius:10px;padding:18px 22px;margin-bottom:12px}.faq summary{cursor:pointer;font-weight:750}.faq details p{margin:15px 0 0;color:var(--muted)}.content-area{font-size:1.025rem;line-height:1.85}.content-area h2{font-size:2.3rem;margin-top:1.4em}.content-area a{color:var(--violet)}.content-area img{border-radius:12px}.inner-note{padding:25px;background:#fff6df;border-left:4px solid var(--gold);border-radius:8px}.site-footer{background:#240632;color:#eee0ee}.site-footer .container{padding-top:55px;padding-bottom:26px}.footer-columns{display:grid;grid-template-columns:1.4fr .9fr 1fr;gap:50px}.footer-columns h3{font:600 1rem system-ui,sans-serif;color:var(--gold)}.footer-columns p,.footer-columns a{font-size:.87rem;color:#e4d7e5}.footer-columns a{text-decoration:none}.footer-links{list-style:none;padding:0}.footer-links li{margin:6px 0}.footline{border-top:1px solid #ffffff28;margin-top:30px;padding-top:18px;color:#d2bfd6;font-size:.72rem}.page-content-block{padding-top:25px}.wp-block-image img{height:auto}.ministry-detail-head{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.ministry-detail-head .photo{min-height:370px}.info-row{display:flex;gap:12px;align-items:flex-start;padding:14px 0;border-bottom:1px solid var(--line)}.info-row strong{min-width:115px}.wp-post-image{object-fit:cover}.pagination{padding-top:24px}.pagination a{padding:8px 12px;background:var(--cream);border-radius:6px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);overflow:hidden;height:1px;width:1px}.screen-reader-text:focus{clip:auto;height:auto;width:auto;position:static}.skip-link:focus{position:fixed;top:10px;left:10px;z-index:9999;background:white;color:var(--plum);padding:8px 12px}
@media(max-width:1100px){.primary-menu{gap:10px;font-size:.74rem}.header-main>.btn{display:none}.cols-5{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:860px){.primary-menu{display:none;position:absolute;top:100%;left:0;right:0;background:white;flex-direction:column;align-items:stretch;padding:20px 24px;border-bottom:1px solid var(--line);box-shadow:var(--shadow)}.primary-menu.is-open{display:flex}.menu-toggle{display:block}.header-main{min-height:74px}.topline .container span:last-child{display:none}.hero-wrap,.split,.ministry-detail-head{grid-template-columns:1fr}.hero-wrap{padding-top:65px;padding-bottom:45px;min-height:auto}.hero-visual{height:330px}.section{padding:64px 0}.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-columns{grid-template-columns:1fr 1fr}.footer-columns>div:first-child{grid-column:1/-1}}@media(max-width:560px){.container{width:min(100% - 32px,1210px)}.topline{font-size:.64rem}.site-brand img{height:45px}.brand-text{font-size:.95rem}.brand-text small{font-size:.48rem}.flags{font-size:.8rem}.hero h1{font-size:3.6rem}.page-hero .container{padding-top:58px;padding-bottom:55px}.page-hero h1{font-size:3.4rem}.hero-visual{height:240px}.cols-3,.cols-2,.cols-5,.footer-columns{grid-template-columns:1fr}.footer-columns>div:first-child{grid-column:auto}.card-body{padding:21px}.service-card .photo{height:180px}.leader-card .photo{height:280px}.section{padding:49px 0}.split .photo{min-height:270px}.quote-banner{padding:48px 0}.faith-item{gap:15px}.ministry-detail-head .photo{min-height:260px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Ministry detail completeness: official leader portraits, cross-linking and accessible captions. */
.photo-caption{font-size:.84rem;line-height:1.55;color:var(--muted);margin:12px 4px 0}.photo-caption strong{color:var(--purple)}
.leader-callout{display:flex;align-items:flex-start;gap:30px;max-width:720px;padding:30px;background:white;border-radius:var(--round);border:1px solid var(--line)}
.leader-callout h3{margin:0 0 6px}.leader-callout p{color:var(--muted);margin:0 0 12px}.leader-callout a{color:var(--purple);font-weight:750}
.ministry-related{min-height:250px;display:flex;flex-direction:column}.ministry-related .number{font-size:1.8rem}.ministry-related h3{font-size:1.37rem}.ministry-related p{font-size:.92rem}.ministry-related a{color:var(--purple);font-weight:750;margin-top:auto}
@media(max-width:600px){.leader-callout{gap:15px;padding:20px}.ministry-related{min-height:0}}

/* FIX: user-agent [hidden] had been overridden by .no-photo{display:flex}.
   This used to put an error banner underneath valid original photographs. */
[hidden]{display:none!important}
.photo{isolation:isolate}
.photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.hero-visual .photo img,.service-card .photo img,.ministry-card .photo img,.leader-card .photo img{height:100%}
@media(max-width:860px){.admin-bar .site-header{top:46px}}


/* Official Shekinah footer — mirrors the church-supplied reference image.
   Scoped selectors deliberately avoid affecting the rest of the theme. */
.site-footer{background:linear-gradient(122deg,#850c84 0%,#780080 53%,#760080 100%);color:#fff}
.site-footer .sci-footer-inner{width:min(1600px,calc(100% - 56px));margin:auto;padding:50px 0 25px}
.sci-footer-grid{display:grid;grid-template-columns:.79fr .84fr 1.26fr 1fr;gap:40px;align-items:start}
.sci-footer-column h2,.sci-visit-panel h2{font-family:Georgia,'Times New Roman',serif;font-weight:700;letter-spacing:-.045em;color:#fff}
.sci-footer-column h2{font-size:clamp(2rem,2.25vw,2.65rem);line-height:1.18;margin:0 0 28px}
.site-footer .sci-footer-links,.site-footer .sci-contact-links{list-style:none;margin:0;padding:0}
.site-footer .sci-footer-links li{margin:0 0 15px;line-height:1.4}
.site-footer .sci-footer-links a,.site-footer .sci-footer-inactive{display:inline-block;color:white;font-size:clamp(1rem,1.06vw,1.19rem);line-height:1.4;font-weight:700;text-decoration:none}
.site-footer .sci-footer-inactive{cursor:default}
.site-footer .sci-footer-links a:hover,.site-footer .sci-contact-links a:hover,.site-footer .sci-facebook-item a:hover{text-decoration:underline;text-underline-offset:5px}
.site-footer .sci-contact-links{padding-top:4px}
.site-footer .sci-contact-links li{display:flex;align-items:flex-start;gap:13px;margin:0 0 17px;font-size:clamp(1rem,1.06vw,1.15rem);line-height:1.48;font-weight:700}
.site-footer .sci-contact-links a{color:white;text-decoration:none;overflow-wrap:anywhere}
.sci-footer-icon{width:43px;height:43px;min-width:43px;border-radius:50%;background:rgba(255,255,255,.135);display:grid;place-items:center;color:#ffc84a}
.sci-footer-icon svg{width:23px;height:23px}
.sci-visit-panel{background:rgba(255,255,255,.115);border:1px solid rgba(255,193,68,.55);border-radius:11px;padding:32px 32px 30px;min-height:332px}
.sci-visit-panel .sci-visit-eyebrow{margin:0 0 16px;color:#ffca4f;font-size:.98rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
.sci-visit-panel h2{font-size:clamp(2.05rem,2.25vw,2.75rem);margin:0 0 24px;line-height:1.14;white-space:nowrap}
.sci-visit-panel>p:not(.sci-visit-eyebrow){font-size:clamp(1rem,1.07vw,1.16rem);line-height:1.59;font-weight:400;margin:0 0 26px}
.sci-facebook-item{display:flex;align-items:center;gap:13px;font-size:1.02rem;font-weight:750;line-height:1.35;overflow-wrap:anywhere}
.sci-facebook-item a{color:#fff;text-decoration:none}
.sci-facebook-icon{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#f7be49;color:#7b0783;font-family:Arial,sans-serif;font-size:24px;font-weight:850;line-height:1}
.sci-footer-credit{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:54px;border-radius:11px;background:#f4bd4c;color:#81027d;min-height:77px;padding:17px 28px;font-weight:800;font-size:clamp(.95rem,1.03vw,1.17rem);line-height:1.4}
.sci-footer-credit a{color:inherit;text-decoration:none}
.sci-footer-credit a:hover{text-decoration:underline}
.sci-footer-credit span:last-child{white-space:nowrap}
@media(max-width:1250px){.sci-footer-grid{grid-template-columns:.9fr 1fr 1.45fr;gap:28px}.sci-visit-panel{grid-column:1 / -1;min-height:auto;display:grid;grid-template-columns:minmax(230px, .9fr) 1.1fr;column-gap:35px;align-items:center}.sci-visit-panel .sci-visit-eyebrow,.sci-visit-panel h2{grid-column:1}.sci-visit-panel>p:not(.sci-visit-eyebrow),.sci-facebook-item{grid-column:2}.sci-visit-panel>p:not(.sci-visit-eyebrow){grid-row:1 / 3;margin:0}.sci-facebook-item{grid-row:3}.sci-footer-column h2{font-size:2.3rem}}
@media(max-width:760px){.site-footer .sci-footer-inner{width:min(100% - 36px,620px);padding:40px 0 22px}.sci-footer-grid{grid-template-columns:1fr 1fr;gap:32px 24px}.sci-footer-contact,.sci-visit-panel{grid-column:1 / -1}.sci-footer-column h2{font-size:2rem;margin-bottom:18px}.site-footer .sci-footer-links li{margin-bottom:12px}.site-footer .sci-contact-links li{font-size:1rem}.sci-visit-panel{display:block;padding:27px;min-height:auto}.sci-visit-panel h2{white-space:normal}.sci-visit-panel>p:not(.sci-visit-eyebrow){margin-bottom:20px}.sci-footer-credit{flex-direction:column;align-items:flex-start;gap:9px;margin-top:35px;padding:18px 20px;font-size:.95rem}.sci-footer-credit span:last-child{white-space:normal}}
@media(max-width:430px){.sci-footer-grid{grid-template-columns:1fr 1fr;column-gap:15px}.sci-footer-column h2{font-size:1.75rem}.site-footer .sci-footer-links a,.site-footer .sci-footer-inactive{font-size:.9rem}.site-footer .sci-footer-contact h2{font-size:2rem}.sci-footer-icon{width:38px;height:38px;min-width:38px}.sci-footer-contact li{gap:10px}.sci-visit-panel h2{font-size:2.1rem}.sci-facebook-item{font-size:.89rem}}


/* v1.4: WordPress toolbar avatar isolation.
   These selectors intentionally affect admin users only, not church photographs.
   The page's image rules now apply only inside our website areas. */
#wpadminbar img.avatar,
#wpadminbar img.avatar-26,
#wpadminbar #wp-admin-bar-my-account > a img {
    display:inline-block!important;
    width:26px!important;
    height:26px!important;
    max-width:26px!important;
    max-height:26px!important;
    min-width:0!important;
    min-height:0!important;
    object-fit:cover!important;
    vertical-align:middle!important;
    border-radius:50%;
}
#wpadminbar #wp-admin-bar-user-info img.avatar {
    width:64px!important;
    height:64px!important;
    max-width:64px!important;
    max-height:64px!important;
}
/* Ensure the WordPress account submenu does not float over the church header
   unless the toolbar item is explicitly hovered/focused. */
#wpadminbar #wp-admin-bar-my-account > .ab-sub-wrapper {
    display:none!important;
}
#wpadminbar #wp-admin-bar-my-account:hover > .ab-sub-wrapper,
#wpadminbar #wp-admin-bar-my-account:focus-within > .ab-sub-wrapper,
#wpadminbar #wp-admin-bar-my-account.hover > .ab-sub-wrapper {
    display:block!important;
}

/* Studio 6.30.17 integration: stable edit surfaces, without changing the church palette. */
[data-studio-hero] { position:relative; }
.signature-visual-edit .hero [data-studio-edit-text],
.signature-visual-edit .page-hero [data-studio-edit-text] { cursor:text; }
.site-header .site-brand img { max-height:82px;max-width:275px;width:auto;height:auto;object-fit:contain; }
@media (max-width:600px){.site-header .site-brand img{max-height:52px;max-width:180px}}

/* Native Signature Ministries detail metadata, styled with the Shekinah palette. */
.studio-ministry-details{background:#f6eff5;border-left:4px solid #f3be49;border-radius:10px;padding:18px 22px;margin:26px 0}
.studio-ministry-details p{margin:.35rem 0;color:#25152e}

/* Plugin-owned rendering: no theme CSS required. The WordPress toolbar is isolated. */
body.sai-website{margin:0;background:#fffdf9;color:#25152e;}
.sai-website .site-brand .brand-mark{height:63px;width:63px;max-width:none;object-fit:contain;flex:none}
.sai-website .site-brand .brand-text{font-size:1.23rem;line-height:1.04}
.sai-website .site-brand .brand-text small{font-size:.55rem;line-height:1.4}
@media(max-width:560px){.sai-website .site-brand .brand-mark{height:45px;width:45px}.sai-website .site-brand .brand-text{font-size:.9rem}}
#wpadminbar{z-index:99999!important}#wpadminbar .avatar{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;min-height:0!important;min-width:0!important;object-fit:cover}
#wpadminbar #wp-admin-bar-user-info .avatar{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important}

/* Professional brand treatment when a remote church photo is inaccessible; never development placeholder text. */
.photo .church-brand-fallback{display:flex;flex-direction:column;gap:12px;min-height:100%;height:100%;justify-content:center;align-items:center;padding:25px;background:radial-gradient(circle at 30% 30%,#71307d,#280733);}
.photo .church-brand-fallback img{height:90px!important;width:90px!important;max-width:90px;object-fit:contain!important;flex:none}
.photo .church-brand-fallback span{border:0!important;padding:0!important;max-width:100%;font:700 .85rem/1.3 Georgia,serif;color:#fff;text-align:center}
