*{box-sizing:border-box;margin:0;padding:0}
:root{
  --gold:#f5af33;--gold2:#f7c264;--gold3:#fef1e0;--gold4:#fce6c6;
  --navy:#054280;--navy2:#043568;--navy3:#065298;--navy4:#ddeef8;
  --ink:#0d1f3c;--muted:#3a5a7a;--muted2:#6a8aaa;
  --border:#cce0f0;--bg:#f8f7fc;--white:#fff;
  --crimson:#8b1a2e;
}
html{scroll-behavior:smooth}
body{font-family:'DM Sans',sans-serif;background:var(--bg);color:var(--ink);overflow-x:hidden}

.topbar{background:var(--navy);padding:.4rem 2rem;display:flex;justify-content:flex-end;align-items:center;gap:1.5rem;font-size:.82rem}
.topbar a{color:rgba(255,255,255,.65);text-decoration:none;transition:color .2s}
.topbar a:hover{color:var(--gold)}
.topbar-sep{color:rgba(255,255,255,.25)}

header{background:var(--white);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:999;box-shadow:0 2px 12px rgba(14,31,59,.08)}
.header-inner{max-width:1280px;margin:0 auto;padding:.4rem 2rem;display:flex;align-items:center;gap:1rem}
.logo{display:flex;align-items:center;gap:0rem;text-decoration:none;flex-shrink:0}
.logo-icon{width:42px;height:42px;background:var(--navy);border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative}
.logo-icon::before{content:'';position:absolute;left:50%;top:20%;transform:translateX(-50%);width:3px;height:60%;background:var(--gold);border-radius:2px}
.logo-icon::after{content:'';position:absolute;top:38%;left:18%;width:64%;height:3px;background:var(--gold);border-radius:2px}
.logo-text{font-family:'Playfair Display',serif;font-size:1.35rem;font-weight:700;color:var(--navy);line-height:1}
.logo-text span{display:block;font-size:.72rem;font-weight:400;font-family:'DM Sans',sans-serif;color:#f5af33;letter-spacing:.06em;text-transform:uppercase;margin-top:.1rem}
.sg-nav{display:flex;justify-content:flex-end;margin-left:auto}
.sg-nav ul{list-style:none;display:flex;gap:.1rem;margin:0;padding:0}
.sg-nav ul li a{display:block;padding:.5rem .75rem;font-size:.85rem;font-weight:500;color:var(--muted);text-decoration:none;border-radius:6px;transition:all .2s;white-space:nowrap}
.sg-nav ul li a:hover,.sg-nav ul li a.active{background:var(--navy4);color:var(--navy)}
.btn-gold{padding:.5rem 1.2rem;background:var(--gold);color:var(--navy);border:none;border-radius:8px;font-family:'DM Sans',sans-serif;font-weight:700;font-size:.84rem;text-decoration:none;cursor:pointer;transition:all .2s}
.btn-gold:hover{background:var(--gold2)}
.theme-divider{height:3px;background:linear-gradient(90deg,var(--navy) 0%,var(--gold) 50%,var(--crimson) 100%)}

.breadcrumb{background:var(--white);border-bottom:1px solid var(--border);padding:.7rem 2rem}
.breadcrumb-inner{max-width:1280px;margin:0 auto;display:flex;align-items:center;gap:.45rem;font-size:.8rem;color:var(--muted2);flex-wrap:wrap}
.breadcrumb-inner a{color:var(--muted);text-decoration:none}
.breadcrumb-inner a:hover{color:var(--navy)}

.church-hero{background:var(--navy2);position:relative;overflow:hidden;display:flex;align-items:stretch}
.hero-bg-emoji{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12rem;opacity:.08;pointer-events:none}
.church-hero-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(4,53,104,.98) 0%,rgba(4,53,104,.6) 55%,rgba(4,53,104,.2) 100%)}
.church-hero-inner{position:relative;z-index:2;max-width:1280px;margin:0 auto;padding:1.8rem 2rem 1.8rem;width:100%;display:grid;grid-template-columns:1fr 450px;gap:2rem;align-items:stretch}
.church-badge{display:inline-flex;align-items:center;background:var(--gold);color:var(--navy);font-size:.65rem;font-weight:800;padding:.25rem .9rem;letter-spacing:.09em;text-transform:uppercase;margin-bottom:.7rem}
.church-tagline{font-size:.92rem;color:rgba(255,255,255,.55);font-style:italic;margin-bottom:.55rem}
.church-name{font-family:'Playfair Display',serif;font-size:clamp(2rem,4vw,3rem);font-weight:400;color:#fff;line-height:1.15;margin-bottom:.9rem}
.church-meta-row{display:flex;align-items:center;gap:1.3rem;flex-wrap:wrap;margin-bottom:1.6rem}
.cmi{display:flex;align-items:center;gap:.35rem;font-size:.83rem;color:rgba(255,255,255,.7)}
.hero-actions{display:flex;gap:.7rem;flex-wrap:wrap}
.btn-hg{padding:.68rem 1.5rem;background:var(--gold);color:var(--navy);border:none;border-radius:8px;font-family:'DM Sans',sans-serif;font-weight:700;font-size:.87rem;cursor:pointer;text-decoration:none;transition:all .2s;white-space:nowrap}
.btn-hg:hover{background:var(--gold2);transform:translateY(-2px)}
.btn-hs{padding:.66rem 1.3rem;background:rgba(255,255,255,.1);color:white;border:1.5px solid rgba(255,255,255,.3);border-radius:8px;font-family:'DM Sans',sans-serif;font-weight:600;font-size:.87rem;cursor:pointer;text-decoration:none;transition:all .2s;white-space:nowrap}
.btn-hs:hover{background:rgba(255,255,255,.2)}

.stats-bar{background:var(--navy);border-bottom:3px solid var(--gold)}
.stats-bar-inner{max-width:1280px;margin:0 auto;padding:0 2rem;display:flex;align-items:stretch}
.sbi{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.12rem;padding:1.1rem .5rem;border-right:1px solid rgba(255,255,255,.1);text-align:center}
.sbi:last-child{border-right:none}
.sbi-num{font-family:'Playfair Display',serif;font-size:1.55rem;font-weight:900;color:var(--gold);line-height:1}
.sbi-lbl{font-size:.67rem;color:rgba(255,255,255,.48);text-transform:uppercase;letter-spacing:.08em}

.quick-bar{background:var(--white);border-bottom:1px solid var(--border)}
.quick-bar-inner{max-width:1280px;margin:0 auto;padding:0 2rem;display:flex;align-items:stretch;overflow-x:auto}
.qbi{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;padding:.85rem .5rem;border-right:1px solid var(--border);text-align:center;min-width:120px}
.qbi:last-child{border-right:none}
.qbi-label{font-size:.63rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--muted2)}
.qbi-value{font-size:.87rem;font-weight:700;color:var(--navy)}

.page-wrap{max-width:1280px;margin:0 auto;padding:0 2rem}
.profile-layout{display:grid;grid-template-columns:1fr 340px;gap:2rem;padding:2.5rem 0 4rem;align-items:start}

.tabs{display:flex;border-bottom:2px solid var(--border);margin-bottom:2rem;gap:0;overflow-x:auto}
.tab-btn{padding:.72rem 1.15rem;font-size:.85rem;font-weight:600;color:var(--muted);cursor:pointer;border:none;background:none;border-bottom:3px solid transparent;margin-bottom:-2px;transition:all .2s;white-space:nowrap;font-family:'DM Sans',sans-serif}
.tab-btn:hover{color:var(--navy)}
.tab-btn.active{color:var(--navy);border-bottom-color:var(--navy)}
.tab-pane{display:none;animation:fadeUp .25s ease}
.tab-pane.active{display:block}
@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

.cc{background:var(--white);border:1px solid var(--border);padding:2rem;margin-bottom:1.5rem}
.cc-title{font-family:'Playfair Display',serif;font-size:1.15rem;font-weight:800;color:var(--navy);margin-bottom:1.3rem;padding-bottom:.9rem;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:.6rem}
.cc-accent{width:4px;height:22px;background:var(--gold);flex-shrink:0;border-radius:2px}
.cc p{font-size:.9rem;line-height:1.82;color:var(--muted);margin-bottom:1rem}
.cc p:last-child{margin-bottom:0}

.mv-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.3rem}
.mv-card{background:var(--navy4);border:1px solid var(--border);border-left:4px solid var(--navy);padding:1.4rem}
.mv-card h4{font-family:'Playfair Display',serif;font-size:.95rem;font-weight:800;color:var(--navy);margin-bottom:.55rem}
.mv-card p{font-size:.84rem;color:var(--muted);line-height:1.68;margin:0}

.beliefs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-top:1rem}
.belief-item{background:var(--bg);border:1px solid var(--border);padding:.9rem;text-align:center}
.belief-icon{font-size:1.4rem;margin-bottom:.4rem}
.belief-label{font-size:.76rem;font-weight:700;color:var(--navy)}

.programs-grid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.program-card{background:var(--bg);border:1px solid var(--border);border-left:4px solid var(--gold);padding:1.1rem}
.program-title{font-weight:700;font-size:.88rem;color:var(--navy);margin-bottom:.4rem}
.program-desc{font-size:.81rem;color:var(--muted);line-height:1.65}

.service-list{display:flex;flex-direction:column;gap:.9rem}
.service-row{display:flex;gap:1.1rem;padding:1.1rem;border:1px solid var(--border);background:var(--bg);transition:border-left .2s,background .2s;cursor:default}
.service-row:hover{border-left:4px solid var(--gold);background:var(--gold3)}
.sdb{padding:.55rem .75rem;text-align:center;min-width:80px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.sdb-day{font-size:.62rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;opacity:.75}
.sdb-name{font-family:'Playfair Display',serif;font-size:.85rem;font-weight:900;line-height:1.2;margin-top:.15rem}
.sdt{}
.sdt-time{display:inline-flex;align-items:center;gap:.25rem;font-size:.73rem;font-weight:700;color:var(--gold);background:rgba(245,175,51,.12);padding:.2rem .6rem;border-radius:20px;margin-bottom:.3rem}
.sdt-name{font-weight:700;font-size:.9rem;color:var(--navy);margin-bottom:.3rem}
.sdt-desc{font-size:.81rem;color:var(--muted);line-height:1.6}

.leader-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem}
.leader-card{text-align:center;padding:1.4rem 1rem;border:1px solid var(--border);background:var(--white);transition:all .2s}
.leader-card:hover{border-color:var(--gold);background:var(--gold3)}
.leader-av{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto .9rem;font-family:'Playfair Display',serif;font-size:1.5rem;font-weight:900;color:#fff;border:3px solid var(--gold)}
.leader-name{font-weight:700;font-size:.9rem;color:var(--navy);margin-bottom:.2rem}
.leader-role{font-size:.72rem;color:var(--gold);font-weight:700;text-transform:uppercase;letter-spacing:.07em;margin-bottom:.5rem}
.leader-bio{font-size:.78rem;color:var(--muted);line-height:1.55}

.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.55rem}
.gi{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:2.8rem;cursor:pointer;overflow:hidden;transition:opacity .2s}
.gi:hover{opacity:.8}
.gi.wide{grid-column:span 2;aspect-ratio:2/1}

.event-list{display:flex;flex-direction:column;gap:1rem}
.event-row{display:flex;gap:1rem;padding:1.1rem;border:1px solid var(--border);background:var(--white);transition:all .2s;text-decoration:none;cursor:pointer}
.event-row:hover{border-color:var(--gold4);box-shadow:0 4px 16px rgba(245,175,51,.12)}
.edb{padding:.55rem .65rem;text-align:center;min-width:50px;flex-shrink:0}
.edb-day{font-family:'Playfair Display',serif;font-size:1.5rem;font-weight:900;line-height:1}
.edb-mon{font-size:.62rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.event-tag{font-size:.64rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.28rem}
.event-title{font-family:'Playfair Display',serif;font-size:.93rem;font-weight:700;color:var(--navy);line-height:1.3;margin-bottom:.28rem}
.event-meta{font-size:.77rem;color:var(--muted)}

.review-summary{display:flex;align-items:center;gap:2.5rem;margin-bottom:1.8rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border)}
.rbar-row{display:flex;align-items:center;gap:.7rem;margin-bottom:.4rem}
.rbar-track{flex:1;height:7px;background:var(--border);border-radius:4px;overflow:hidden}
.rbar-fill{height:100%;background:var(--gold);border-radius:4px}
.review-list{display:flex;flex-direction:column;gap:1.3rem}
.review-item{padding-bottom:1.3rem;border-bottom:1px solid var(--border)}
.review-item:last-child{border-bottom:none;padding-bottom:0}
.reviewer-row{display:flex;align-items:center;gap:.8rem;margin-bottom:.55rem}
.rev-av{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:#fff;flex-shrink:0}
.rev-name{font-weight:700;font-size:.88rem;color:var(--navy)}
.rev-meta{font-size:.72rem;color:var(--muted2)}
.rev-text{font-size:.86rem;color:var(--muted);line-height:1.72}

.sc{background:var(--white);border:1px solid var(--border);margin-bottom:1.2rem;overflow:hidden}
.sc-hd{background:var(--navy);padding:.72rem 1.2rem;display:flex;align-items:center;justify-content:space-between}
.sc-hd-title{font-size:.72rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.85)}
.sc-hd a{font-size:.72rem;color:var(--gold);text-decoration:none;font-weight:600}
.sc-body{padding:1.2rem}

.stat-boxes{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.stat-box{background:var(--navy4);border:1px solid var(--border);padding:1.1rem;text-align:center}
.stat-num{font-family:'Playfair Display',serif;font-size:1.8rem;font-weight:900;color:var(--navy);line-height:1}
.stat-lbl{font-size:.69rem;color:var(--muted2);margin-top:.22rem;text-transform:uppercase;letter-spacing:.07em}

.cinfo-row{display:flex;align-items:flex-start;gap:.85rem;padding:.65rem 0;border-bottom:1px solid var(--border)}
.cinfo-row:last-child{border-bottom:none}
.ci-icon{width:34px;height:34px;border-radius:50%;background:var(--navy4);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:.9rem}
.ci-label{font-size:.68rem;color:var(--muted2);font-weight:600;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.13rem}
.ci-val{font-size:.84rem;color:var(--ink);line-height:1.5}
.ci-val a{color:var(--navy);text-decoration:none}
.ci-val a:hover{color:var(--crimson)}

.social-btns{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.3rem}
.s-fb{background:#1877F2;color:#fff;border:none;padding:.45rem .85rem;border-radius:6px;font-size:.77rem;font-weight:700;cursor:pointer;font-family:'DM Sans',sans-serif;text-decoration:none;transition:opacity .2s}
.s-yt{background:#FF0000;color:#fff;border:none;padding:.45rem .85rem;border-radius:6px;font-size:.77rem;font-weight:700;cursor:pointer;font-family:'DM Sans',sans-serif;text-decoration:none;transition:opacity .2s}
.s-wa{background:#25D366;color:#fff;border:none;padding:.45rem .85rem;border-radius:6px;font-size:.77rem;font-weight:700;cursor:pointer;font-family:'DM Sans',sans-serif;text-decoration:none;transition:opacity .2s}
.s-fb:hover,.s-yt:hover,.s-wa:hover{opacity:.83}

.map-ph{height:190px;background:var(--navy4);display:flex;align-items:center;justify-content:center;font-size:3rem;cursor:pointer;border-bottom:1px solid var(--border);transition:background .2s}
.map-ph:hover{background:var(--border)}

.det-row{display:flex;align-items:flex-start;padding:.6rem 0;border-bottom:1px solid var(--border)}
.det-row:last-child{border-bottom:none}
.det-label{font-size:.7rem;color:var(--muted2);font-weight:600;text-transform:uppercase;letter-spacing:.06em;min-width:90px;padding-top:.1rem}
.det-val{font-size:.84rem;color:var(--ink);line-height:1.5}

.related-a{display:flex;gap:.85rem;padding:.85rem 0;border-bottom:1px solid var(--border);text-decoration:none}
.related-a:last-child{border-bottom:none}
.rth{width:56px;height:56px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:1.5rem}
.rname{font-family:'Playfair Display',serif;font-size:.87rem;font-weight:700;color:var(--navy);line-height:1.3;margin-bottom:.2rem}
.related-a:hover .rname{color:var(--crimson)}
.rloc{font-size:.74rem;color:var(--muted2)}

.claim-box{background:var(--gold3);border:1px solid var(--gold4);padding:1.4rem;text-align:center}
.claim-tag{font-size:.67rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--navy);margin-bottom:.4rem}
.claim-title{font-family:'Playfair Display',serif;font-size:1rem;font-weight:800;color:var(--navy);margin-bottom:.5rem}
.claim-desc{font-size:.8rem;color:var(--muted);line-height:1.6;margin-bottom:.9rem}
.claim-btn{display:block;padding:.65rem;background:var(--navy);color:#fff;text-decoration:none;font-size:.85rem;font-weight:700;border-radius:6px;transition:background .2s}
.claim-btn:hover{background:var(--navy3)}

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}
.flw{display:flex;align-items:center;gap:0;margin-bottom:.5rem}
.flc{width:60px;height:60px;background:transparent;border-radius:9px;position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;margin-right:-6px}
.flc::before{content:none}
.flc::after{content:none}
.flt{font-family:'Playfair Display',serif;font-size:1.2rem;font-weight:700;color:white}
.fcl{display:flex;flex-direction:column;gap:.4rem;margin-top:1rem}
.fcl a{color:rgba(255,255,255,.6);text-decoration:none;font-size:.83rem;display:flex;align-items:center;gap:.5rem;transition:color .2s}
.fcl 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}
.fsoc{display:flex;gap:.6rem}
.fsoc a{width:34px;height:34px;border:1px solid rgba(255,255,255,.2);border-radius:50%;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.5);font-size:.75rem;font-weight:700;text-decoration:none;transition:all .2s}
.fsoc a:hover{border-color:var(--gold);color:var(--gold)}

@media(max-width:1024px){
  .profile-layout{grid-template-columns:1fr}
  .leader-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
  .mv-grid,.programs-grid{grid-template-columns:1fr}
  .beliefs-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .sg-nav{display:none}
  .stats-bar-inner,.quick-bar-inner{flex-wrap:wrap}
  .sbi{flex:1 1 45%;border-right:none;border-bottom:1px solid rgba(255,255,255,.1)}
  .qbi{flex:1 1 40%;border-right:none;border-bottom:1px solid var(--border)}
  .leader-grid{grid-template-columns:1fr 1fr}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .gi.wide{grid-column:span 1;aspect-ratio:1}
  .footer-grid{grid-template-columns:1fr}
  .beliefs-grid{grid-template-columns:repeat(3,1fr)}
}
  /* ── Church Hero Image Slider ── */
  .hero-slider{position:relative;width:450px;flex-shrink:0;border-radius:0;align-self:stretch;height:auto;border-top:1px solid #fff;border-bottom:1px solid #fff;padding:10px;background:var(--navy2);box-sizing:border-box;}
  .hero-slide{position:absolute;top:0;left:0;width:450px;height:100%;opacity:0;transition:opacity .75s ease;pointer-events:none;}
  .hero-slide.active{opacity:1;pointer-events:auto;}
  .hero-slide img{width:450px;height:100%;object-fit:cover;display:block;}
  .hs-btn{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.42);color:#fff;border:none;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10;font-size:.88rem;transition:background .2s;}
  .hs-btn:hover{background:rgba(0,0,0,.75);}
  .hs-prev{left:8px;}
  .hs-next{right:8px;}
  .hs-dots{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);display:flex;gap:5px;z-index:10;}
  .hs-dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.4);border:none;padding:0;cursor:pointer;transition:all .3s;}
  .hs-dot.active{background:#fff;width:18px;border-radius:4px;}

  /* ── Team Member Profile Modal ── */
  .lm-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:9999;align-items:center;justify-content:center;backdrop-filter:blur(6px);padding:1.5rem;}
  .lm-overlay.open{display:flex;}
  @keyframes lmIn{from{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}
  .lm-modal{width:100%;max-width:640px;overflow:hidden;box-shadow:0 32px 80px rgba(0,0,0,.55);animation:lmIn .3s ease;max-height:90vh;display:flex;}
  .lm-left{width:220px;flex-shrink:0;background:var(--navy2);display:flex;flex-direction:column;align-items:center;padding:2.5rem 1.3rem 1.8rem;position:relative;overflow:hidden;}
  .lm-left::before{content:'';position:absolute;bottom:-60px;left:-60px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.04);}
  .lm-gold-bar{position:absolute;top:0;left:0;right:0;height:4px;background:var(--gold);}
  .lm-av{width:180px;height:240px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:3.2rem;font-weight:900;color:#fff;box-shadow:0 10px 32px rgba(0,0,0,.45);margin-bottom:1.2rem;border:2px solid rgba(255,255,255,.15);}
  .lm-left-name{font-family:'Playfair Display',serif;font-size:.98rem;font-weight:700;color:#fff;text-align:center;line-height:1.3;margin-bottom:.3rem;}
  .lm-left-role{font-size:.58rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:var(--gold);text-align:center;margin-bottom:1rem;}
  .lm-left-sep{width:28px;height:1px;background:rgba(255,255,255,.18);margin:0 auto .9rem;}
  .lm-phone-row{display:flex;align-items:center;gap:.35rem;color:rgba(255,255,255,.45);font-size:.68rem;margin-top:auto;padding-top:.8rem;}
  .lm-x{position:absolute;top:10px;right:10px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.6);width:24px;height:24px;border-radius:50%;font-size:.72rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;z-index:5;}
  .lm-x:hover{background:rgba(255,255,255,.22);color:#fff;}
  .lm-right{flex:1;background:#fff;display:flex;flex-direction:column;overflow:hidden;}
  .lm-right-head{padding:1.8rem 1.8rem .9rem;border-bottom:1px solid var(--border);flex-shrink:0;}
  .lm-meet{font-size:.6rem;font-weight:900;text-transform:uppercase;letter-spacing:.18em;color:var(--muted2);margin-bottom:.1rem;}
  .lm-big-name{font-family:'Playfair Display',serif;font-size:2.1rem;font-weight:900;color:var(--navy);line-height:1;margin-bottom:.25rem;}
  .lm-big-role{font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:var(--muted2);}
  .lm-body{padding:1.2rem 1.8rem;overflow-y:auto;flex:1;}
  .lm-quote{font-size:2.4rem;color:var(--navy);line-height:.8;margin-bottom:.45rem;font-family:Georgia,serif;opacity:.2;}
  .lm-intro{font-size:.86rem;color:#444;line-height:1.8;margin-bottom:1rem;font-style:italic;}
  .lm-sec-title{font-size:.62rem;font-weight:900;text-transform:uppercase;letter-spacing:.14em;color:var(--navy);border-left:3px solid var(--gold);padding-left:.5rem;margin-bottom:.45rem;margin-top:.9rem;}
  .lm-para{font-size:.82rem;color:var(--muted);line-height:1.75;}
  .lm-foot{padding:.85rem 1.8rem;border-top:1px solid var(--border);display:flex;gap:.55rem;flex-shrink:0;background:#fafafa;}
  .lm-wa{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.55rem;background:#25D366;color:#fff;border:none;font-family:inherit;font-weight:700;font-size:.8rem;cursor:pointer;text-decoration:none;transition:background .2s;}
  .lm-wa:hover{background:#1ebe5d;}
  .lm-close{padding:.55rem 1.2rem;background:var(--navy);color:#fff;border:none;font-family:inherit;font-weight:700;font-size:.8rem;cursor:pointer;}
  .lm-close:hover{opacity:.85;}

/* Church Guide advertising spaces */
.cg-ad-wrap{width:100%;min-width:0;max-width:1200px;margin:1.6rem auto;padding:0 16px;display:flex;justify-content:center;box-sizing:border-box}
.cg-ad-row{width:100%;min-width:0}
.cg-ad{box-sizing:border-box;background:linear-gradient(135deg,#f8f7fc,#eef2f8);border:1.5px dashed #c0d0e0;display:flex;align-items:center;justify-content:center;gap:.4rem .9rem;flex-wrap:wrap;text-align:center;padding:.6rem 1rem;font-family:inherit}
.cg-ad-lbl{font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;color:#6d7f96}
.cg-ad-sz{font-size:.72rem;color:#9aa8bb}
.cg-ad-btn{background:var(--gold,#f7c264);color:var(--navy,#054280)!important;font-weight:700;font-size:.75rem;padding:.42rem 1rem;border-radius:5px;text-decoration:none!important;transition:background .2s,color .2s}
.cg-ad-btn:hover{background:var(--navy,#054280);color:#fff!important}
.cg-lb{width:728px;max-width:100%;min-height:90px}
.cg-ingrid{grid-column:1/-1;width:100%;max-width:728px;margin:.4rem auto;min-height:90px}
.cg-col{flex-direction:column}
.cg-ad-row{max-width:1100px;margin:2.2rem auto 2.4rem;padding:0 16px;display:flex;gap:1.2rem;justify-content:center;align-items:stretch;flex-wrap:wrap;box-sizing:border-box}
.cg-bn{width:728px;max-width:100%;height:250px}
.cg-spot{position:relative;width:300px;max-width:100%;min-height:250px;box-sizing:border-box;border-radius:6px;overflow:hidden;color:#fff;text-decoration:none!important;display:flex;flex-direction:column;justify-content:flex-end;padding:1rem 1.1rem;background:radial-gradient(circle at 75% 25%,rgba(247,194,100,.35),transparent 55%),linear-gradient(160deg,var(--navy,#054280),#021c38);box-shadow:0 6px 20px rgba(5,66,128,.18);transition:transform .2s}
.cg-spot:hover{transform:translateY(-3px)}
.cg-spot-ico{position:absolute;top:.9rem;right:1rem;font-size:2.6rem;opacity:.9}
.cg-spot-tag{align-self:flex-start;background:var(--gold,#f7c264);color:var(--navy,#054280);font-size:.64rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.25rem .55rem;border-radius:3px;margin-bottom:.6rem}
.cg-spot-name{font-weight:800;font-size:1.05rem;line-height:1.25;margin-bottom:.3rem;color:#fff}
.cg-spot-meta{font-size:.76rem;color:rgba(255,255,255,.78);line-height:1.5}
.cg-spot-btn{margin-top:.75rem;align-self:flex-start;border:1px solid var(--gold,#f7c264);color:var(--gold,#f7c264);font-size:.74rem;font-weight:700;padding:.35rem .8rem;border-radius:4px}
.cg-sb-pack{display:flex;flex-direction:column;gap:1rem;margin-top:1rem;width:100%}
.cg-sb-pack .cg-spot{width:100%;min-height:360px}
.cg-hp{width:100%;height:600px;flex-direction:column}
.cg-side-reg{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:1050;writing-mode:vertical-rl;text-orientation:mixed;background:var(--gold,#f7c264);color:var(--navy,#054280)!important;text-decoration:none!important;font-weight:800;font-size:.82rem;letter-spacing:.06em;padding:1.1rem .55rem;border-radius:8px 0 0 8px;box-shadow:-3px 3px 12px rgba(2,28,56,.25);transition:padding .2s,background .2s,color .2s}
.cg-side-reg:hover{background:var(--navy,#054280);color:var(--gold,#f7c264)!important;padding-right:.8rem}
.cg-side-reg:focus-visible{outline:3px solid var(--navy,#054280);outline-offset:2px}
@media (max-width:760px){.cg-bn{height:auto;min-height:160px}.cg-spot{width:100%}.cg-hp{height:auto;min-height:250px}}
@media (max-width:600px){.cg-side-reg{font-size:.7rem;padding:.85rem .42rem}}

.cg-midc{width:100%;max-width:728px;margin:1.4rem auto}

.cg-ad-400p{width:100%;max-width:300px;aspect-ratio:3/4;flex-direction:column;margin:0 auto 1.2rem;box-sizing:border-box}

h1.church-name{margin-top:0}

/* ===== Church Guide mobile layer ===== */
.cg-burger{display:none;width:42px;height:42px;flex:0 0 42px;border:1.5px solid var(--border,#dbe3ee);border-radius:10px;background:#fff;align-items:center;justify-content:center;cursor:pointer;padding:0;margin-left:.2rem}
.cg-burger span,.cg-burger span::before,.cg-burger span::after{display:block;width:20px;height:2px;background:var(--navy,#054280);border-radius:2px;position:relative;transition:transform .2s,background .2s}
.cg-burger span::before,.cg-burger span::after{content:'';position:absolute;left:0}
.cg-burger span::before{top:-6px}.cg-burger span::after{top:6px}
header.cg-open .cg-burger span{background:transparent}
header.cg-open .cg-burger span::before{transform:translateY(6px) rotate(45deg)}
header.cg-open .cg-burger span::after{transform:translateY(-6px) rotate(-45deg)}
.cg-nav-cta{display:none}
@media (max-width:1024px){
  header{position:sticky}
  .header-inner{padding:.45rem 1rem!important;gap:.5rem!important;flex-wrap:nowrap!important;justify-content:flex-start!important;position:relative}
  .header-inner>.logo{min-width:0;flex:0 1 auto}
  .header-inner .sg-nav{display:none!important;position:absolute;left:0;right:0;top:100%;margin:0!important;background:#fff;box-shadow:0 14px 30px rgba(5,40,90,.18);border-top:1px solid var(--border,#dbe3ee);z-index:1000;max-height:calc(100vh - 70px);overflow-y:auto}
  header.cg-open .sg-nav{display:block!important}
  .header-inner .sg-nav ul{display:flex!important;flex-direction:column!important;gap:0!important;padding:.4rem 1rem 1rem!important}
  .header-inner .sg-nav ul li a{padding:.9rem .4rem!important;font-size:1rem!important;border-radius:0!important;border-bottom:1px solid var(--border,#e3e9f1);color:var(--navy,#054280)!important;font-weight:600!important}
  .header-inner .sg-nav ul li a.active{background:var(--navy4,#ddeef8)!important;padding-left:.8rem!important}
  .header-inner>div:not(.logo-text),.header-inner>.header-cta,.header-inner>.header-links{margin-left:auto!important;flex-shrink:0}
  .cg-burger{display:flex}
}
@media (max-width:600px){
  .logo img{height:42px!important;width:38px!important;margin-bottom:2px!important}
  .logo{gap:.35rem!important}
  .logo-text{font-size:1.02rem!important;line-height:1.15!important;white-space:nowrap}
  .logo-text span{display:none!important}
  .header-inner .btn-gold{padding:.5rem .75rem!important;font-size:.74rem!important;white-space:nowrap}
  .topbar{justify-content:flex-start!important;overflow-x:auto;white-space:nowrap;padding:.4rem 1rem!important;gap:.8rem!important;font-size:.74rem!important;scrollbar-width:none;flex-wrap:nowrap!important}
  .topbar::-webkit-scrollbar{display:none}
  .topbar a{flex-shrink:0}
}
@media (max-width:440px){
  .header-inner>div:not(.logo-text):not(.cg-burger-wrap),.header-inner>.header-cta,.header-inner>.header-links{display:none!important}
  .cg-burger{margin-left:auto}
  .cg-nav-cta{display:block}
  .cg-nav-cta a{display:block!important;text-align:center;margin-top:.8rem;background:var(--gold,#f5af33)!important;color:var(--navy,#054280)!important;border-radius:9px!important;border:0!important;font-weight:800!important;padding:.85rem!important}
}
@media (max-width:760px){
  html,body{overflow-x:clip}
  img,video,iframe,canvas{max-width:100%}
  [class*="layout"]>*,[class*="-grid"]>*{min-width:0}
  .cg-ad-wrap,.cg-ad-row{padding:0 1rem!important;max-width:100%!important}
  .cg-ad{max-width:100%!important}
  .cg-lb,.cg-ad.cg-lb{width:100%!important;height:auto!important;min-height:70px}
  table{max-width:100%}
  h1{overflow-wrap:break-word}
  .cg-side-reg{display:none!important}
}

@media (max-width:760px){
  [style*="width:728px"],[style*="width: 728px"]{width:100%!important;max-width:100%!important;height:auto!important;min-height:80px;flex-wrap:wrap;padding:.8rem!important;box-sizing:border-box}
  [style*="width:600px"],[style*="width:480px"],[style*="width:450px"],[style*="width:430px"],[style*="width:400px"]{width:100%!important;max-width:100%!important}
  #newsSliderWrap{width:100%!important;height:280px!important}
  :has(>#newsSliderWrap){flex-direction:column!important}
  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}
  .feature-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .fb-slider-wrap{max-width:100%!important}
}

@media (max-width:760px){
  [style*="grid-column:span"],[style*="grid-column: span"],[style*="grid-column:1/-1"],.cg-ingrid{grid-column:1/-1!important}
  .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}
  .cat-tab,.tab-btn,[class*="-tab"]{flex-shrink:0}
  [class*="search"] input{min-width:0}
  [class*="search"] button{flex-shrink:0;white-space:nowrap}
  .page-wrap,.section,.section-inner{padding-left:1rem!important;padding-right:1rem!important}
  .cc{padding:1.2rem 1.1rem!important}
}
@media (max-width:440px){
  footer .footer-grid,footer [style*="grid-template-columns"]{grid-template-columns:1fr 1fr!important}
}

/* page: charity-profile.html */
/* agentC: shared profile-page mobile rules (church / ministry / charity / bible college) */
@media (max-width:900px){
  /* hero: info first, image slider full width underneath */
  .church-hero-inner{grid-template-columns:minmax(0,1fr)!important;gap:1.1rem!important}
  .church-hero .hero-slider{display:block!important;width:100%!important;height:240px!important;align-self:auto!important;padding:6px!important}
  .church-hero .hero-slide,.church-hero .hero-slide img{width:100%!important}
  .hs-btn{width:36px!important;height:36px!important}
  .hs-dot{width:9px!important;height:9px!important}
  .hs-dot.active{width:20px!important}
  /* details tables: give labels a fixed column so long labels never touch values */
  .det-label{flex:0 0 118px;min-width:0!important;padding-right:.7rem;overflow-wrap:anywhere}
  .det-val{min-width:0;flex:1}
}
@media (max-width:760px){
  /* hero text + buttons */
  .church-hero-inner,.hero .hero-inner{padding:1.4rem 1rem 1.3rem!important}
  .church-name,.hero .hero-name{font-size:1.75rem!important;line-height:1.18!important;margin-bottom:.7rem!important}
  .church-meta-row,.hero-meta{gap:.35rem 1rem!important;margin-bottom:1.1rem!important}
  .cmi,.hmi{font-size:.84rem!important}
  .hero-actions{display:flex!important;flex-wrap:wrap!important;gap:.55rem!important}
  .hero-actions>a{flex:1 1 calc(50% - .3rem);min-height:44px;display:inline-flex!important;align-items:center;justify-content:center;text-align:center;padding:.6rem .7rem!important;font-size:.85rem!important;white-space:nowrap}
  .church-hero .hero-slider{height:220px!important}

  /* tabs: one swipeable row, edge to edge */
  .tabs{margin:0 -1rem 1.2rem!important;padding:0 1rem;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
  .tabs::-webkit-scrollbar{display:none}
  .tab-btn{padding:.8rem .9rem!important;min-height:44px;scroll-snap-align:start}
  .profile-layout{padding:1.4rem 0 2.5rem!important;gap:1.2rem!important}

  /* section cards */
  .cc-title{font-size:1.08rem!important;margin-bottom:1rem!important;padding-bottom:.75rem!important}
  .mv-grid{grid-template-columns:minmax(0,1fr)!important;gap:.8rem!important}
  .mv-card{padding:1rem 1.05rem!important}

  /* "what we believe / values / offer" mini-cards: two per row */
  .beliefs-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.6rem!important}
  .belief-item{padding:.85rem .5rem!important;display:flex;flex-direction:column;align-items:center;justify-content:center}
  .belief-label{font-size:.8rem!important;line-height:1.3}
  .programs-grid{grid-template-columns:minmax(0,1fr)!important;gap:.75rem!important}
  .program-card{padding:.95rem 1rem!important}

  /* leader / team / faculty cards: one per row, avatar beside name */
  .leader-grid,.team-grid,.faculty-grid{grid-template-columns:minmax(0,1fr)!important;gap:.75rem!important}
  .leader-card,.team-card,.faculty-card{display:grid!important;grid-template-columns:60px minmax(0,1fr);column-gap:.9rem;align-items:center;text-align:left!important;padding:1rem!important}
  .leader-card>*,.team-card>*,.faculty-card>*{grid-column:1/-1}
  .leader-av,.team-av,.fac-av{grid-column:1!important;grid-row:1/3;width:60px!important;height:60px!important;margin:0!important;font-size:1.2rem!important;border-width:2px!important}
  .leader-name,.team-name,.fac-name{grid-column:2!important;align-self:end;margin-bottom:.1rem!important}
  .leader-role,.team-role,.fac-title{grid-column:2!important;align-self:start;margin-bottom:0!important}
  .leader-bio,.team-bio,.fac-dept{margin-top:.7rem;font-size:.82rem!important;line-height:1.6!important}

  /* service times rows */
  .service-row{gap:.85rem!important;padding:.85rem!important}
  .sdb{min-width:68px!important;padding:.5rem!important}

  /* events list rows */
  .event-row{gap:.8rem!important;padding:.9rem!important}

  /* sidebar boxes */
  .sc{margin-bottom:1rem!important}
  .sc-body{padding:1rem!important}
  .cinfo-row{gap:.75rem!important}
  .ci-val{overflow-wrap:anywhere}
  .map-ph{height:170px!important}
  .related-a{gap:.75rem!important}
  .social-btns a,.cinfo-row a[class^="s-"]{min-height:42px}
}
@media (max-width:760px){
  /* photo gallery: big photo full width, two below it, thumbnails 3 + 2 */
  .cc>div[style*="grid-template-columns:1fr 300px"],.cc>div[style*="grid-template-columns:1fr 340px"]{grid-template-columns:minmax(0,1fr)!important}
  .cc>div[style*="grid-template-columns:1fr 300px"]>div:first-child,.cc>div[style*="grid-template-columns:1fr 340px"]>div:first-child{height:220px!important}
  .cc>div[style*="grid-template-columns:1fr 300px"]>div:last-child,.cc>div[style*="grid-template-columns:1fr 340px"]>div:last-child{flex-direction:row!important}
  .cc>div[style*="grid-template-columns:1fr 300px"]>div:last-child>div,.cc>div[style*="grid-template-columns:1fr 340px"]>div:last-child>div{flex:1 1 0;min-width:0;height:120px!important}
  .cc>div[style*="grid-template-columns:repeat(5,1fr)"]{display:flex!important;flex-wrap:wrap}
  .cc>div[style*="grid-template-columns:repeat(5,1fr)"]>div{flex:1 1 calc(33.33% - 4px);min-width:0;height:86px!important}
  /* event poster cards: one per row */
  #tab-events .cc>div[style*="grid-template-columns:repeat(2,1fr)"]{grid-template-columns:minmax(0,1fr)!important;gap:1rem!important}
  #tab-events .cc>div[style*="grid-template-columns:repeat(2,1fr)"]>div>div:first-child{height:160px!important}
}
@media (max-width:760px){
  /* cause areas: one per row, icon beside text */
  #tab-causes .cc>div[style*="repeat(3,1fr)"]{grid-template-columns:minmax(0,1fr)!important;gap:.7rem!important}
  #tab-causes .cc>div[style*="repeat(3,1fr)"]>div{display:grid!important;grid-template-columns:48px minmax(0,1fr);column-gap:.9rem;text-align:left!important;padding:1rem!important}
  #tab-causes .cc>div[style*="repeat(3,1fr)"]>div>*{grid-column:2}
  #tab-causes .cc>div[style*="repeat(3,1fr)"]>div>div:first-child{grid-column:1;grid-row:1/span 3;font-size:2rem!important;margin:0!important;line-height:1}
  /* projects */
  #tab-projects .cc>div>div[style*="display:flex;gap:1.2rem"]{gap:.85rem!important;padding:1rem!important}
  #tab-projects .cc>div>div[style*="display:flex;gap:1.2rem"]>div:first-child{width:42px!important;height:42px!important;font-size:1.35rem!important}
  /* donate: contact options and form stacked */
  #tab-donate .cc>div[style*="grid-template-columns:1fr 1fr"]{grid-template-columns:minmax(0,1fr)!important;gap:1.2rem!important}
  #tab-donate input,#tab-donate select,#tab-donate textarea{font-size:16px!important;min-height:44px}
  #tab-donate button{min-height:46px}
  /* leadership team: one per row, avatar beside name */
  #tab-team .cc>div[style*="repeat(3,1fr)"]{grid-template-columns:minmax(0,1fr)!important;gap:.75rem!important}
  #tab-team .cc>div[style*="repeat(3,1fr)"]>div>div:nth-child(2){display:grid!important;grid-template-columns:60px minmax(0,1fr);column-gap:.9rem;align-items:center;text-align:left!important;padding:1rem!important}
  #tab-team .cc>div[style*="repeat(3,1fr)"]>div>div:nth-child(2)>*{grid-column:1/-1}
  #tab-team .cc>div[style*="repeat(3,1fr)"]>div>div:nth-child(2)>div:nth-child(1){grid-column:1;grid-row:1/3;width:60px!important;height:60px!important;margin:0!important;font-size:1.25rem!important}
  #tab-team .cc>div[style*="repeat(3,1fr)"]>div>div:nth-child(2)>div:nth-child(2),
  #tab-team .cc>div[style*="repeat(3,1fr)"]>div>div:nth-child(2)>div:nth-child(3){grid-column:2;margin-bottom:.1rem!important}
  #tab-team .cc>div[style*="repeat(3,1fr)"]>div>div:nth-child(2)>div:nth-child(2){align-self:end}
  #tab-team .cc>div[style*="repeat(3,1fr)"]>div>div:nth-child(2)>div:nth-child(3){align-self:start}
  #tab-team .cc>div[style*="repeat(3,1fr)"]>div>div:nth-child(2)>div:nth-child(4){display:none}
  #tab-team .cc>div[style*="repeat(3,1fr)"]>div>div:nth-child(2)>div:nth-child(5){margin:.7rem 0 .7rem!important;font-size:.82rem!important}
  #tab-team .cc>div[style*="repeat(3,1fr)"]>div>div:nth-child(2)>div:nth-child(6){justify-self:start}
}

.cg-prog{display:block;white-space:nowrap;margin-top:.15rem}
