/* Reference-based desktop theme. Loaded after style.css. */
:root {
  --page:#eceeed;--paper:#faf9f6;--white:#fff;--ink:#121415;--muted:#485056;
  --navy:#071118;--navy-soft:#0b171d;--navy-card:#111b20;
  --gold:#c9934e;--gold-light:#e9c58f;--gold-dark:#a66f2e;
  --line:#e3dfd8;--line-dark:rgba(255,255,255,.13);
  --shadow:0 18px 55px rgba(8,18,23,.11);--radius:12px;--radius-lg:18px;--max:1180px
}
html{background:var(--page)}
body{background:var(--paper);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.5;overflow-x:clip}
.home-hero h1,.page-hero h1,.ministers-heading h1,.events-hero h1,.vision-hero h1,.online-hero h1,.news-intro h1,.site-header a,.site-header button{filter:none!important;text-shadow:none!important}
.container{width:min(var(--max),calc(100% - 48px))}.page-surface{background:var(--paper)}
.section-tight{padding:31px 0}.section-soft{background:#f2efe9}.section-title-row{margin-bottom:18px}
.section-title-row h2{font-size:25px;letter-spacing:-.025em}.section-title-row p,.small,.muted{color:var(--muted)}
.section-link,.text-link{color:var(--gold-dark);font-weight:750}.kicker{color:var(--gold-dark);letter-spacing:.08em}

/* Shared interactions */
.btn,.nav-cta,.filter-chip,.news-tab,.minister-filter,.online-channel-button,.text-link,.section-link{transition:transform .2s cubic-bezier(.22,1,.36,1),box-shadow .2s ease,border-color .2s ease,background-color .2s ease,color .2s ease}
.btn{min-height:42px;border-radius:7px;padding:10px 17px;font-size:13px;font-weight:750}.btn-small{min-height:36px;padding:8px 14px;font-size:12px}
.btn-gold{background:var(--gold-light);border-color:#d8ab6b;color:#281b0c}.btn-gold:hover{background:#f0d09f;border-color:#e2b46f}
.btn-outline-light{border-color:rgba(255,255,255,.56)}.btn-outline-light:hover{background:rgba(255,255,255,.09)}
.btn-outline-dark:hover{background:var(--navy);border-color:var(--navy);color:#fff}.btn:hover{transform:translateY(-2px)}.btn:active{transform:translateY(0) scale(.985)}
.reveal{transform:translateY(10px);transition-duration:.32s;transition-timing-function:cubic-bezier(.22,1,.36,1)}

/* Header and logo */
.site-header,.site-header.site-header-overlay{color:#fff;background:#071118;border-bottom:1px solid rgba(255,255,255,.08)}
.site-header.site-header-overlay{background:linear-gradient(180deg,rgba(4,11,15,.9),rgba(4,11,15,.47) 66%,transparent);border-bottom:0}
.nav-wrap,.site-header-overlay .nav-wrap{height:82px}.brand{min-width:238px;gap:10px}
.brand-logo-wrap,.footer .brand-logo-wrap{width:43px;height:43px;overflow:visible;border:0;border-radius:0;background:transparent}
.brand-logo-image{width:100%;height:100%;object-fit:contain;border-radius:0;filter:drop-shadow(0 2px 7px rgba(0,0,0,.18))}
.brand-copy small{margin-bottom:2px;color:#d8dfe2;font-size:10px}.brand-copy strong{color:#fff;font-size:13px;line-height:1.15}
.nav{gap:24px}.nav a{padding:30px 0 28px;color:#f5f6f6;font-size:11.5px;font-weight:650}.nav a::after{bottom:19px;height:1px;background:var(--gold-light)}
.nav a:hover,.nav a.active{color:#fff}.nav-cta{min-height:38px;padding:9px 14px!important;border-color:rgba(233,197,143,.35)!important;background:rgba(233,197,143,.11)!important;color:#f0d5ab!important;font-size:11.5px;font-weight:700}
.nav-cta:hover{border-color:rgba(233,197,143,.6)!important;background:rgba(233,197,143,.2)!important}

/* Replaceable example photos */
.media-placeholder{background-color:#172229;background-repeat:no-repeat;background-size:cover;background-position:center}
.media-placeholder::before{background:linear-gradient(180deg,rgba(5,12,16,.02),rgba(5,12,16,.26))}.media-placeholder::after{display:none!important}
.photo-warm{background-image:url('../img/header-home.webp')}.photo-community{background-image:url('../img/header-ministers.webp')}
.photo-youth{background-image:url('../img/header-news.webp')}.photo-help{background-image:url('../img/header-events.webp')}
.photo-bible{background-image:url('../img/header-about.webp')}.photo-kids{background-image:url('../img/header-ministries.webp')}
.photo-music{background-image:url('../img/header-home.webp');background-position:68% center}

/* Home */
.home-hero{min-height:560px}.home-hero .hero-visual{inset:0 -38px 0 0;background-color:#071118;background-image:linear-gradient(90deg,#071118 0%,rgba(7,17,24,.98) 25%,rgba(7,17,24,.82) 43%,rgba(7,17,24,.36) 67%,rgba(7,17,24,.08) 100%),url('../img/header-home.webp')!important;background-size:100% 100%,auto 96%!important;background-position:left top,right center!important;background-repeat:no-repeat!important}
.home-hero-inner{min-height:560px;justify-content:center;padding:105px 0 145px}.home-hero h1{max-width:570px;margin-bottom:18px;font-size:clamp(46px,3.8vw,54px);line-height:1.01;letter-spacing:-.045em;text-shadow:0 3px 22px rgba(0,0,0,.25)}
.home-hero p{max-width:430px;margin-bottom:23px;color:#f1f3f3;font-size:17px}.hero-actions{gap:11px}.hero-actions .btn{min-height:44px;padding:10px 20px}
.hero-events{bottom:18px}.hero-events-panel{grid-template-columns:.84fr repeat(3,1fr);min-height:104px;padding:12px 15px;border:1px solid rgba(233,197,143,.2);border-radius:14px;background:rgba(14,16,16,.78);box-shadow:0 18px 45px rgba(0,0,0,.22);backdrop-filter:blur(11px)}
.hero-events-title{align-items:flex-start;flex-direction:column;justify-content:center;gap:7px}.hero-events-title h3{font-size:15px}.hero-events-title .section-link{color:var(--gold-light);font-size:10.5px}
.hero-mini-event{grid-template-columns:58px 41px 1fr;gap:9px;padding-left:12px}.hero-thumb{height:52px}.hero-date{width:41px;height:50px}.hero-mini-event strong{font-size:11px}.hero-mini-event span{font-size:9.5px}
.home-intro-grid{grid-template-columns:.82fr .92fr 1.36fr;gap:28px}.home-intro-copy h2{font-size:21px}.home-intro-copy p{font-size:13px;line-height:1.62}.home-about-media{height:205px}
.home-news-list{gap:7px}.news-list-row{grid-template-columns:104px 1fr;min-height:61px;padding:5px;border-radius:9px}.news-list-row .media-placeholder{height:54px}.news-list-row h4{font-size:12.5px}
.service-grid{gap:18px}.service-tile{border-radius:10px;box-shadow:0 8px 24px rgba(13,25,31,.04)}.service-tile .media-placeholder{height:112px}.service-tile-body{padding:12px}.service-tile h3{font-size:15px}.service-tile p{min-height:39px;font-size:12px}

/* Inner page photo headers */
.page-hero{min-height:305px;align-items:flex-end;background:var(--navy)}.page-hero .hero-bg{inset:0 -40px 0 0;background-color:#071118;background-size:auto 145%!important;background-position:right center!important;background-repeat:no-repeat!important}
.page-hero::before{z-index:1;background:linear-gradient(90deg,rgba(4,12,17,.98),rgba(4,12,17,.82) 42%,rgba(4,12,17,.25) 78%,rgba(4,12,17,.11)),linear-gradient(0deg,rgba(4,12,17,.44),transparent 55%)}
.page-hero-content{max-width:var(--max);padding:118px 0 43px}.page-hero h1{max-width:570px;margin-bottom:10px;font-size:48px}.page-hero p{max-width:520px;color:#eef1f2;font-size:15.5px}
.ministries-hero{min-height:275px}.projects-hero{min-height:290px}.contacts-hero{min-height:330px}

/* About and vision */
.about-top-grid{grid-template-columns:.85fr .95fr 1.35fr;gap:0}.about-top-grid .info-panel{border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;padding:11px 24px 11px 0}.about-top-grid .info-panel:nth-child(2){padding-left:24px}
.info-panel-link{display:block}.info-panel-link:hover h3{color:var(--gold-dark)}.quote-panel{margin-left:20px;min-height:145px;border-radius:10px}.quote-panel::before{background:linear-gradient(90deg,rgba(5,12,16,.82),rgba(5,12,16,.18))}.quote-panel blockquote{position:relative;z-index:1;font-size:16px}
.value-grid{gap:10px}.value-card{border:0;border-radius:10px;background:#f1ede7;padding:17px}.value-card:hover{background:#fff}.value-card h3{font-size:15px}.value-card p{font-size:11.5px}
.about-lower-grid{gap:28px}.timeline-row p,.schedule-line,.welcome-card .small{font-size:12px}.schedule-card,.welcome-card{border-radius:10px}.gallery-row{gap:7px}.gallery-row .media-placeholder{height:84px}
.vision-hero{min-height:500px;padding-top:82px;background-image:linear-gradient(90deg,rgba(4,12,17,.97),rgba(4,12,17,.75) 48%,rgba(4,12,17,.18)),url('../img/header-home.webp')!important;background-size:cover!important;background-position:center!important}
.vision-hero-grid{min-height:418px;padding:62px 0 74px}.vision-hero h1{font-size:54px}.vision-list-section{padding:42px 0 58px}.vision-list-heading{margin-bottom:23px}.vision-list-heading h2{font-size:33px}.vision-points{gap:10px}.vision-point{border-radius:10px;padding:17px}

/* Ministers */
.ministers-hero{min-height:550px}.ministers-hero-art{inset:0 -38px 0 0;background-color:#071118;background-image:url('../img/header-ministers.webp')!important;background-size:auto 104%!important;background-position:right center!important;background-repeat:no-repeat!important}
.ministers-hero::after{background:linear-gradient(90deg,rgba(4,12,17,.99),rgba(4,12,17,.9) 37%,rgba(4,12,17,.52) 63%,rgba(4,12,17,.12)),linear-gradient(0deg,rgba(4,12,17,.54),transparent 54%)}
.ministers-hero-inner{padding:104px 0 26px}.ministers-heading{margin-bottom:14px}.ministers-heading h1{margin-bottom:9px;font-size:46px}.ministers-heading p{font-size:14px}
.pastor-feature{width:min(600px,100%);grid-template-columns:176px 1fr;gap:16px;padding:12px;border-radius:12px;background:linear-gradient(100deg,rgba(21,21,19,.96),rgba(17,18,17,.88));border-color:rgba(233,197,143,.2)}.pastor-portrait{height:214px}.pastor-feature-copy{padding:3px 5px}.pastor-feature-copy h2{font-size:22px}.pastor-feature-copy>p,.pastor-calling span{font-size:11.5px}.pastor-actions{margin-top:10px}
.minister-team-section .section-title-row p{display:none}.minister-filters{margin:-2px 0 15px}.minister-filter{padding:6px 11px;font-size:10.5px}.minister-reference-grid{gap:12px}.minister-card-portrait{height:126px}.minister-card-content{padding:11px}.minister-card-content h3{font-size:13px}.minister-card-content p{min-height:66px;font-size:10.5px}.minister-service-section{padding-bottom:32px}.minister-service-list article{padding:14px}

/* Ministries and projects */
.ministry-grid{gap:10px}.ministry-card{min-height:155px;border-radius:9px;padding:17px}.ministry-card::after{background:linear-gradient(0deg,rgba(3,8,11,.94),rgba(3,8,11,.2))}.ministry-card h3{font-size:15px}.ministry-card p{font-size:11.5px}.ministry-icon{width:35px;height:35px;margin-bottom:7px;font-size:17px}
.page-surface .content-filter-row .filter-chip{border-color:#d5d0c8;background:#fff;color:#343b3f}.page-surface .content-filter-row .filter-chip:hover{border-color:#c79552;background:#fffaf1;color:#171a1c}.page-surface .content-filter-row .filter-chip.active{border-color:var(--gold-light);background:var(--gold-light);color:#281b0c}
.functional-project-grid,.project-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.project-card{border-radius:9px}.project-card .media-placeholder{height:120px}.project-body{padding:12px}.project-card h3{font-size:14px}.project-card p{min-height:58px;font-size:11.5px}.mission-strip{border-radius:10px;background:linear-gradient(105deg,#101719,#30251b)}.mission-item{padding:20px}

/* Events */
.events-hero{min-height:385px}.events-hero-photo{inset:0 -40px 0 0;background-color:#071118;background-size:auto 118%!important;background-position:right center!important;background-repeat:no-repeat!important}.events-hero::after{background:linear-gradient(90deg,rgba(4,12,17,.99),rgba(4,12,17,.9) 35%,rgba(4,12,17,.48) 64%,rgba(4,12,17,.08) 100%),linear-gradient(0deg,rgba(4,12,17,.66),transparent 55%)}
.events-hero>.container{padding-top:112px}.events-hero h1{font-size:48px}.events-hero p{max-width:430px;font-size:15px}.events-layout{grid-template-columns:1.75fr .75fr;gap:18px;margin-top:-116px;padding-bottom:18px}
.feature-event{grid-template-columns:43% 57%;border-radius:11px}.feature-event-media{min-height:225px}.feature-event-copy{padding:18px}.feature-event h2{font-size:22px}.feature-event p{font-size:12px}.calendar-card,.announcement-card{border-radius:11px;padding:16px}.filter-row{margin:8px 0 17px}.filter-chip{padding:7px 12px;font-size:10.5px}
.events-main-grid{grid-template-columns:1.75fr .75fr;gap:18px}.event-row{grid-template-columns:58px 94px 1fr 101px;gap:12px;padding:8px 10px}.event-row h3{font-size:13px}.event-row p{font-size:10.5px}.events-bottom-space{height:26px}

/* News */
.news-intro{grid-template-columns:.84fr .95fr 1.18fr;gap:28px;padding:30px 0 26px}.news-intro h1{font-size:43px}.news-intro .muted{max-width:320px;font-size:14px}.news-feature-media{height:238px;border-radius:11px}.news-feature-copy h2{font-size:22px}.news-feature-copy p{font-size:12.5px}
.news-toolbar{margin:5px 0 18px}.news-tab{padding:7px 12px;border-color:transparent;background:transparent;font-size:10.5px}.news-tab.active{background:var(--gold-light)}.news-sort{font-size:11px}.news-grid{gap:14px}.news-card{border-radius:9px}.news-card .media-placeholder{height:150px}.news-card-body{padding:12px}.news-card h3{font-size:15px}.news-card p{min-height:58px;font-size:11.5px}
.newsletter{overflow:hidden;border-radius:11px;background:linear-gradient(90deg,rgba(6,16,22,.98),rgba(6,16,22,.83)),url('../img/header-news.webp') center/cover}

/* Contacts and online */
.contact-layout{grid-template-columns:.78fr 1.22fr;gap:18px}.contact-card{border-radius:10px}.map-large{min-height:390px;border-radius:10px}
.online-hero{min-height:465px}.online-hero-photo{inset:0 -38px 0 0;background-color:#071118;background-size:auto 102%!important;background-position:right center!important;background-repeat:no-repeat!important}.online-hero::after{background:linear-gradient(90deg,#071118 0%,rgba(7,17,24,.98) 31%,rgba(7,17,24,.76) 52%,rgba(7,17,24,.18) 82%,rgba(7,17,24,.05))}.online-hero-content{padding:126px 0 58px}.online-hero h1{font-size:49px}.online-hero p{font-size:15.5px}.online-switcher{gap:18px}.online-preview{border-radius:12px}.online-preview-copy{padding:21px}.online-preview-copy h2{font-size:28px}.online-channel-button{border-radius:10px;padding:13px}

/* Neutral replaceable visuals for dynamic cards. */
:is(.news-card .media-placeholder,.news-list-row .media-placeholder,.service-tile .media-placeholder,.project-card .media-placeholder,.announcement-item .media-placeholder,.ministry-card).photo-warm{background-image:radial-gradient(circle at 72% 28%,rgba(224,174,104,.45),transparent 20%),linear-gradient(145deg,#3a3028,#151f24 64%,#0d161b)}
:is(.news-card .media-placeholder,.news-list-row .media-placeholder,.service-tile .media-placeholder,.project-card .media-placeholder,.announcement-item .media-placeholder,.ministry-card).photo-community{background-image:radial-gradient(circle at 30% 32%,rgba(212,178,125,.3),transparent 23%),linear-gradient(135deg,#344347,#17272d 58%,#0b151a)}
:is(.news-card .media-placeholder,.news-list-row .media-placeholder,.service-tile .media-placeholder,.project-card .media-placeholder,.announcement-item .media-placeholder,.ministry-card).photo-youth{background-image:radial-gradient(circle at 68% 25%,rgba(229,191,132,.36),transparent 20%),linear-gradient(135deg,#4b4435,#26383a 58%,#111c21)}
:is(.news-card .media-placeholder,.news-list-row .media-placeholder,.service-tile .media-placeholder,.project-card .media-placeholder,.announcement-item .media-placeholder,.ministry-card).photo-help{background-image:radial-gradient(circle at 68% 40%,rgba(207,159,94,.32),transparent 22%),linear-gradient(140deg,#4b392c,#25362f 60%,#101a1e)}
:is(.news-card .media-placeholder,.news-list-row .media-placeholder,.service-tile .media-placeholder,.project-card .media-placeholder,.announcement-item .media-placeholder,.ministry-card).photo-bible{background-image:radial-gradient(circle at 58% 32%,rgba(233,191,124,.34),transparent 19%),linear-gradient(145deg,#443629,#1c262a 61%,#0b1519)}
:is(.news-card .media-placeholder,.news-list-row .media-placeholder,.service-tile .media-placeholder,.project-card .media-placeholder,.announcement-item .media-placeholder,.ministry-card).photo-kids{background-image:radial-gradient(circle at 35% 35%,rgba(226,189,130,.34),transparent 20%),linear-gradient(135deg,#5a4938,#304448 58%,#111b20)}
:is(.news-card .media-placeholder,.news-list-row .media-placeholder,.service-tile .media-placeholder,.project-card .media-placeholder,.announcement-item .media-placeholder,.ministry-card).photo-music{background-image:radial-gradient(circle at 72% 30%,rgba(218,168,100,.4),transparent 18%),linear-gradient(135deg,#352c31,#19282e 58%,#0a1419)}
:is(.news-card,.news-list-row,.service-tile,.project-card,.announcement-item) .media-placeholder::after{content:attr(data-photo);display:block!important;inset:auto 8px 8px auto;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(5,13,18,.66);padding:4px 7px;color:#e9edef;font-size:8px;font-weight:700;letter-spacing:.04em;text-transform:none}

.about-page .page-hero .hero-bg{left:0;right:-40px}.about-page .page-hero::before{left:0;right:0}
.vision-body .vision-hero{background-position:center,right -38px center!important;background-size:100% 100%,auto 102%!important;background-repeat:no-repeat!important}

/* Footer */
.footer{background:#071118}.footer-grid{grid-template-columns:1.2fr .65fr .7fr .98fr 1.25fr;gap:24px;padding:27px 0 18px}.footer .brand{min-width:0}.footer .brand-logo-wrap{width:40px;height:40px}.footer h4{margin-bottom:10px;font-size:12px}.footer p,.footer a{font-size:10.5px}.footer-map{min-height:118px;border-radius:8px}.footer-bottom{padding:13px 0;font-size:9.5px}.social-dot{width:28px;height:28px}

@media(max-width:1080px){
  .container{width:min(var(--max),calc(100% - 36px))}.nav{gap:15px}.nav a{font-size:10.5px}.brand{min-width:205px}
  .home-intro-grid{grid-template-columns:1fr 1fr}.home-intro-grid>:last-child{grid-column:1/-1}.home-news-list{grid-template-columns:repeat(3,1fr)}.news-list-row{grid-template-columns:82px 1fr}
  .functional-project-grid,.project-grid{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:1.2fr .7fr .8fr 1fr}.footer-map{grid-column:1/-1;min-height:150px}
}

@media(max-width:860px){
  .nav-wrap,.site-header-overlay .nav-wrap{height:70px}.brand{min-width:0}.nav{top:70px;left:14px;right:14px;gap:2px;padding:13px;border-color:rgba(255,255,255,.13);background:rgba(7,17,24,.98);box-shadow:0 22px 55px rgba(0,0,0,.3)}.nav a{padding:9px 6px;font-size:13px}.nav-mobile-support{margin-top:5px}.site-header .menu-btn{display:flex!important;visibility:visible;position:relative;z-index:110;flex:0 0 44px}
  .home-hero{min-height:670px}.home-hero-inner{min-height:670px;padding:105px 0 238px}.home-hero h1{font-size:45px}.hero-events-panel{grid-template-columns:1fr 1fr}.hero-events-title{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}
  .home-intro-grid,.about-top-grid,.about-lower-grid,.contact-layout{grid-template-columns:1fr}.home-intro-grid>:last-child{grid-column:auto}.home-news-list{grid-template-columns:1fr}
  .about-top-grid .info-panel,.about-top-grid .info-panel:nth-child(2){padding:18px 0;border-right:0;border-bottom:1px solid var(--line)}.quote-panel{margin:8px 0 0}
  .events-layout,.events-main-grid{grid-template-columns:1fr}.events-layout{margin-top:-82px}.functional-project-grid,.project-grid{grid-template-columns:repeat(2,1fr)}
  .news-intro{grid-template-columns:1fr 1fr}.news-intro>:first-child{grid-column:1/-1}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand-col,.footer-map{grid-column:1/-1}
}

@media(max-width:620px){
  .site-header .nav-wrap{display:flex;width:calc(100% - 28px)!important;justify-content:space-between}.site-header .nav-cta{display:none!important}.site-header .menu-btn{display:flex!important;visibility:visible!important;position:absolute!important;right:14px;top:13px;z-index:120}
  .container{width:calc(100% - 28px)}.section-tight{padding:26px 0}.brand-logo-wrap{width:39px;height:39px}.brand-copy strong{max-width:175px;font-size:12px}
  .home-hero{min-height:800px;background:var(--navy)}.home-hero .hero-visual{inset:0 -28px 0 0;background-image:linear-gradient(180deg,rgba(4,12,17,.28),rgba(4,12,17,.32) 34%,rgba(4,12,17,.9) 78%,#071118),url('../img/header-home.webp')!important;background-size:100% 100%,auto 100%!important;background-position:left top,right center!important}
  .home-hero-inner{min-height:800px;justify-content:flex-start;padding:180px 0 352px}.home-hero h1{max-width:315px;font-size:39px}.home-hero p{max-width:305px;font-size:14px}.hero-actions{align-items:stretch;flex-direction:column;width:min(100%,230px)}
  .hero-events{bottom:15px}.hero-events-panel{display:block;padding:14px}.hero-events-title{display:flex;margin-bottom:8px}.hero-mini-event{grid-template-columns:45px 1fr;padding:10px 0;border-top:1px solid rgba(255,255,255,.11);border-left:0}.hero-mini-event .hero-thumb{display:none}.hero-date{grid-row:1/3}
  .service-grid,.value-grid,.ministry-grid,.news-grid,.functional-project-grid,.project-grid{grid-template-columns:1fr}
  .page-hero,.contacts-hero{min-height:390px}.page-hero .hero-bg{right:-28px;background-size:auto 110%!important;background-position:right center!important}.page-hero-content{padding:104px 0 38px}.page-hero h1{font-size:37px}.page-hero p{font-size:14px}
  .vision-hero{min-height:560px;padding-top:70px;background-position:66% center!important}.vision-hero-grid{min-height:490px;padding:72px 0}.vision-hero h1{font-size:39px}.vision-list-heading h2{font-size:29px}
  .ministers-hero{min-height:690px}.ministers-hero-art{background-position:68% center!important}.ministers-hero-inner{padding:102px 0 20px}.ministers-heading h1{max-width:250px;font-size:38px}.ministers-heading p{max-width:260px;font-size:12px}
  .pastor-feature{grid-template-columns:105px 1fr;margin-top:148px;padding:10px;gap:11px}.pastor-portrait{height:176px}.pastor-feature-copy h2{font-size:18px}.pastor-feature-copy>p{font-size:9.5px!important}.pastor-calling{display:none}
  .minister-reference-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.minister-reference-card{flex:0 0 84%;scroll-snap-align:center}
  .events-hero{min-height:390px}.events-hero>.container{padding-top:105px}.events-hero h1{font-size:38px}.events-layout{margin-top:-60px}.feature-event{grid-template-columns:1fr}.feature-event-media{min-height:190px}.calendar-card{display:none}.event-row{grid-template-columns:54px 1fr}.event-time,.event-row-copy{grid-column:2}.event-row .btn{grid-column:1/-1}
  .news-intro{grid-template-columns:1fr;padding-top:25px}.news-intro>:first-child{grid-column:auto}.news-intro h1{font-size:36px}.news-feature-media{height:215px}.news-toolbar{align-items:stretch}.news-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.news-tab{flex:0 0 auto}.newsletter{grid-template-columns:1fr}
  .online-hero{min-height:430px}.online-hero-content{padding:108px 0 50px}.online-hero h1{font-size:38px}.footer-grid{grid-template-columns:1fr 1fr;gap:22px}.footer-brand-col,.footer-map{grid-column:1/-1}
}

@media(prefers-reduced-motion:reduce){.reveal{opacity:1!important;transform:none!important}}

/* Final correction pass 03: crisp typography, seamless hero photos and dynamic layouts. */
:root{--max:1260px}
html{background:#071118}
body{
  font-family:Arial,"Segoe UI",sans-serif;
  font-size:15px;
  font-synthesis:none;
  text-rendering:geometricPrecision;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale
}
body,body.page-ready,body.page-leaving{transform:none!important}
body *{text-shadow:none!important}
h1,h2,h3,h4,h5,h6,strong,b{font-weight:700}
.site-header .nav-wrap,.home-hero-inner,.page-hero-content,.ministers-hero-inner,.events-hero>.container,.online-hero-content,.footer-grid,.footer-bottom{transform:translateZ(0);backface-visibility:hidden}
.btn,.nav-cta,.nav-mobile-support,.nav a,.filter-chip,.news-tab,.minister-filter,.role-tag,.kicker,.text-link,.section-link{font-weight:700}
.nav{gap:16px}.nav a{font-size:11px}.brand{min-width:210px}.brand-copy strong{font-size:13px}

/* The logo is now an independent control, not a duplicate Home link. */
.brand-button{appearance:none;border:0;background:transparent;color:inherit;padding:0;text-align:left;cursor:pointer;font:inherit}
.footer-brand-button{margin-bottom:10px}
.logo-modal-card{width:min(440px,100%);text-align:center;padding:42px 32px 30px}
.logo-modal-card img{display:block;width:min(280px,78vw);height:auto;max-height:58vh;object-fit:contain;margin:0 auto 18px}
.logo-modal-card h2{font-size:24px;margin:0}

/* New photos already contain a natural dark area; overlays only improve legibility. */
.home-hero .hero-visual{
  inset:0!important;
  background-image:linear-gradient(90deg,rgba(4,13,19,.32),rgba(4,13,19,.14) 48%,rgba(4,13,19,.02) 78%),linear-gradient(0deg,rgba(4,13,19,.40),transparent 42%),url('../img/header-home-v3.png')!important;
  background-size:cover!important;
  background-position:center!important
}
.page-hero .hero-bg,.ministers-hero-art,.online-hero-photo{inset:0!important;background-size:cover!important;background-position:center!important}
.header-photo-about{background-image:url('../img/header-about-v3.png')!important}
.header-photo-ministries{background-image:url('../img/header-ministries-v3.png')!important}
.header-photo-contacts{background-image:url('../img/header-contacts-v3.png')!important}
.page-hero::before{background:linear-gradient(90deg,rgba(4,13,19,.42),rgba(4,13,19,.16) 52%,rgba(4,13,19,.03) 82%),linear-gradient(0deg,rgba(4,13,19,.32),transparent 58%)}
.about-page .page-hero .hero-bg{inset:0!important}
.ministers-hero-art{background-image:url('../img/header-ministers-v3.png')!important}
.ministers-hero::after{background:linear-gradient(90deg,rgba(4,13,19,.38),rgba(4,13,19,.14) 56%,rgba(4,13,19,.02) 84%),linear-gradient(0deg,rgba(4,13,19,.44),transparent 50%)}
.online-hero-photo{background-image:url('../img/header-home-v3.png')!important}
.online-hero::after{background:linear-gradient(90deg,rgba(4,13,19,.42),rgba(4,13,19,.16) 55%,rgba(4,13,19,.02) 86%)}
.vision-hero{background-image:linear-gradient(90deg,rgba(4,13,19,.40),rgba(4,13,19,.12) 62%,rgba(4,13,19,.02)),url('../img/header-home-v3.png')!important;background-size:cover!important;background-position:center!important}
.page-hero,.ministers-hero,.online-hero,.home-hero{border-right:0!important;box-shadow:none!important}

/* About: one wide vision card and a flexible, data-driven history. */
.about-top-grid{grid-template-columns:1.05fr 1.35fr;gap:22px;align-items:stretch}
.about-top-grid .info-panel,.about-top-grid .info-panel:nth-child(2){padding:22px 24px;border:1px solid var(--line);border-radius:11px;background:#fff}
.about-vision-wide{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.about-vision-wide p{max-width:620px;margin-bottom:14px}
.quote-panel-v3{position:relative;overflow:hidden;min-height:190px;margin:0;border:0;border-radius:11px;background:url('../img/header-ministries-v3.png') 70% center/cover no-repeat;color:#fff}
.quote-panel-v3::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,12,17,.91),rgba(4,12,17,.38) 72%,rgba(4,12,17,.16))}
.quote-panel-v3::after{display:none!important}
.quote-panel-v3 blockquote{position:relative;z-index:1;display:flex;min-height:190px;flex-direction:column;justify-content:center;padding:25px;font-size:17px;font-weight:700}
.quote-panel-v3 cite{display:block;margin-top:9px;font-size:12px;font-style:normal}
.about-history-section{padding-top:42px;padding-bottom:58px;background:#f2efe9}
.history-heading{align-items:end}.history-heading h2{font-size:34px}.history-heading p{max-width:510px}
.history-timeline{position:relative;display:grid;gap:12px;max-width:1040px;margin:0 auto}
.history-timeline::before{content:"";position:absolute;left:25px;top:30px;bottom:30px;width:1px;background:#d4b17b}
.history-entry{position:relative;display:grid;grid-template-columns:52px 1fr;gap:20px;align-items:start;border:1px solid var(--line);border-radius:12px;background:#fff;padding:20px 22px 20px 14px}
.history-entry.has-history-photo{grid-template-columns:52px 1fr 230px}
.history-marker{position:relative;z-index:1;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#071118;border:4px solid #f2efe9;color:#edc995;font-size:11px;font-weight:700}
.history-entry-copy time{display:block;margin-bottom:3px;color:#a66f2e;font-size:13px;font-weight:700}
.history-entry-copy h3{margin:0 0 6px;font-size:19px}.history-entry-copy p{margin:0;color:#485056;line-height:1.65}
.history-entry-photo{width:230px;height:135px;object-fit:cover;border-radius:9px}

/* Pastor card sits close to the bottom edge like the reference. */
.ministers-hero{min-height:570px}
.ministers-hero-inner{position:relative;min-height:570px;box-sizing:border-box;padding:112px 0 0!important}
.ministers-heading{margin-bottom:0;max-width:680px}.ministers-heading h1{font-size:48px}.ministers-heading p{font-size:15px}
.pastor-feature{position:absolute;left:0;bottom:12px;width:min(650px,100%);grid-template-columns:190px 1fr;gap:17px;padding:13px;background:rgba(17,19,18,.94);border-color:rgba(233,197,143,.22);backdrop-filter:none}
.pastor-portrait{height:226px}.pastor-feature-copy h2{font-size:23px}.pastor-feature-copy>p,.pastor-calling span{font-size:12px;line-height:1.5}

/* News gallery moved from About. */
.news-gallery-section{margin-top:8px}.news-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.news-gallery-grid .media-placeholder{height:190px;border-radius:10px}

/* Prevent fractional text rasterization in Opera GX. */
.hero-mini-event strong,.ministry-card p,.service-tile p,.news-card p,.project-card p,.value-card p,.timeline-row p,.schedule-line,.footer p,.footer a{font-size:12px}
.hero-mini-event span,.event-row p{font-size:10px}.news-tab,.filter-chip,.minister-filter{font-size:11px}.news-card-meta,.role-tag{font-size:10px}

@media(max-width:1080px){
  .nav{gap:11px}.nav a{font-size:10px}.brand{min-width:188px}.nav-cta{padding:8px 11px!important}
}

@media(max-width:860px){
  .brand{min-width:0}.nav a{font-size:13px}
  .about-top-grid{grid-template-columns:1fr}.news-gallery-grid{grid-template-columns:repeat(2,1fr)}
  .history-entry.has-history-photo{grid-template-columns:52px 1fr}.history-entry-photo{grid-column:2;width:100%;height:210px}
}

@media(max-width:620px){
  .home-hero .hero-visual{inset:0!important;background-image:linear-gradient(180deg,rgba(4,13,19,.10),rgba(4,13,19,.22) 42%,rgba(4,13,19,.86) 82%,#071118),url('../img/header-home-v3.png')!important;background-size:cover!important;background-position:68% center!important}
  .page-hero .hero-bg{inset:0!important;background-size:cover!important;background-position:68% center!important}
  .page-hero::before{background:linear-gradient(180deg,rgba(4,13,19,.16),rgba(4,13,19,.28) 45%,rgba(4,13,19,.88))}
  .ministers-hero{min-height:auto;padding-bottom:14px}
  .ministers-hero-art{background-position:70% center!important}
  .ministers-hero::after{background:linear-gradient(180deg,rgba(4,13,19,.10),rgba(4,13,19,.36) 38%,rgba(4,13,19,.94) 72%,#071118)}
  .ministers-hero-inner{min-height:0;padding:104px 0 0!important}
  .ministers-heading{max-width:290px;margin-bottom:185px}.ministers-heading h1{font-size:38px}.ministers-heading p{font-size:13px}
  .pastor-feature{position:relative;left:auto;bottom:auto;margin:0;width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important;grid-template-columns:105px minmax(0,1fr)}
  .pastor-portrait{height:180px}.pastor-feature-copy h2{font-size:19px}
  .pastor-feature-copy,.minister-card-content{min-width:0;max-width:100%;overflow:hidden}.pastor-feature-copy p,.minister-card-content p,.minister-card-content h3{max-width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
  .minister-filters{display:flex;flex-wrap:wrap;overflow:visible;gap:8px}
  .minister-team-section .container{width:calc(100% - 28px)!important;max-width:calc(100% - 28px)!important;overflow:hidden}
  .minister-reference-grid{display:grid!important;width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;overflow:visible!important;scroll-snap-type:none!important}
  .minister-reference-card{display:grid;grid-template-columns:120px minmax(0,1fr);min-width:0!important;width:100%!important;max-width:100%!important}
  .minister-card-portrait{height:100%;min-height:165px}.minister-card-content p{display:block;min-height:0}
  .about-top-grid{gap:12px}.quote-panel-v3,.quote-panel-v3 blockquote{min-height:175px}
  .history-heading{align-items:start}.history-heading h2{font-size:30px}
  .history-entry,.history-entry.has-history-photo{grid-template-columns:42px 1fr;gap:12px;padding:16px 14px 16px 8px}
  .history-timeline::before{left:20px}.history-marker{width:42px;height:42px;border-width:3px}
  .history-entry-photo{grid-column:2;height:170px}.history-entry-copy h3{font-size:17px}
  .news-gallery-grid{grid-template-columns:1fr}.news-gallery-grid .media-placeholder{height:210px}
}
/* Dynamic gallery from the admin API */
.news-gallery-grid button{border:0;cursor:pointer;color:#fff;text-align:left;padding:16px;display:flex;align-items:flex-end;font-weight:700}.public-gallery-dialog{width:min(1100px,calc(100% - 28px));max-height:90vh;border:0;border-radius:18px;padding:26px;background:#f8f6f1}.public-gallery-dialog::backdrop{background:#071116d9}.gallery-close{position:sticky;float:right;top:0;border:0;background:#0b171c;color:#fff;width:38px;height:38px;border-radius:50%;font-size:25px;cursor:pointer}.public-gallery-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;clear:both}.public-gallery-list figure{margin:0}.public-gallery-list img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.public-gallery-list figcaption{padding:6px;color:#4e575a}
