
:root{--navy:#14213D;--gold:#B88746;--cream:#F7F1E8;--ink:#10213f;--muted:#5d6675;--white:#fff;--dark:#101820;--radius:22px;--shadow:0 20px 50px rgba(20,33,61,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);line-height:1.65;background:#fff}
a{text-decoration:none;color:inherit}p{margin:0 0 18px;color:var(--muted)}h1,h2,h3{line-height:1.08;margin:0 0 18px}h1,h2{font-family:Georgia,"Times New Roman",serif}h1{font-size:clamp(3rem,7vw,6.6rem);color:#fff}h2{font-size:clamp(2rem,4vw,4rem)}h3{font-size:1.35rem}.container{width:min(1160px,92vw);margin-inline:auto}
.site-header{position:fixed;top:0;left:0;right:0;z-index:60;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(20,33,61,.08)}.nav{height: 110px;width:min(1240px,94vw);margin:auto;display:flex;align-items:center;justify-content:space-between}.logo img{height: 110px;width:auto;display:block}.nav-links{display:flex;align-items:center;gap:20px;font-size:1.02rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--navy)}.nav-links a:hover,.nav-links a.active{color:var(--gold)}.btn,.nav-cta{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:999px;background:var(--gold);color:#fff!important;font-weight:900;border:2px solid var(--gold);box-shadow:0 8px 22px rgba(184,135,70,.24)}.btn:hover,.nav-cta:hover{background:#835b2d;border-color:#835b2d}.btn.outline{background:rgba(255,255,255,.12);border-color:#fff}.nav-toggle{display:none;border:0;background:transparent;font-size:1.8rem;color:var(--navy)}
.hero,.page-hero{position:relative;display:flex;align-items:center;overflow:hidden}.hero{min-height:820px}.page-hero{min-height:680px;padding-top:84px}.hero-img,.slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center}.hero:after,.page-hero:after,.slider:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,24,32,.50),rgba(16,24,32,.50));z-index:1}.hero .container,.page-hero .container{position:relative;z-index:2}.hero .container{padding-top:84px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;color:var(--gold);font-size:.78rem;font-weight:900;margin-bottom:14px}.hero p,.page-hero p{color:rgba(255,255,255,.9);font-size:1.2rem;max-width:760px}.actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center}.slider{position:absolute;inset:0;z-index:0}.slide{opacity:0;transition:opacity 1.1s ease,transform 6s ease;transform:scale(1.03)}.slide.active{opacity:1;transform:scale(1)}
.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:-54px;position:relative;z-index:4}.quick a{background:#fff;border-radius:18px;padding:24px;box-shadow:var(--shadow);border:1px solid rgba(20,33,61,.07);font-weight:900}.quick span{display:block;color:var(--muted);font-weight:600;font-size:.92rem}.section{padding:92px 0}.muted{background:var(--cream)}.dark{background:var(--dark);color:#fff}.dark p{color:rgba(255,255,255,.75)}.two{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.card{background:#fff;border-radius:var(--radius);padding:34px;box-shadow:var(--shadow);border:1px solid rgba(20,33,61,.07)}.feature{background:var(--navy);color:#fff}.feature p,.feature li{color:rgba(255,255,255,.84)}.badge{display:inline-block;background:var(--gold);color:#fff;padding:6px 10px;border-radius:999px;font-size:.75rem;font-weight:900;margin-bottom:12px}.check{list-style:none;margin:0;padding:0}.check li{position:relative;margin:12px 0;padding-left:28px}.check li:before{content:"✓";position:absolute;left:0;color:var(--gold);font-weight:900}.section-title{max-width:780px;margin-bottom:36px}.image-card{padding:0;overflow:hidden}.image-card img,.media-img{width:100%;height:420px;object-fit:cover;display:block;border-radius:var(--radius)}.event{display:grid;grid-template-columns:110px 1fr;gap:22px;background:#fff;border-radius:20px;padding:22px;box-shadow:0 12px 32px rgba(20,33,61,.08);margin-bottom:18px}.event time{background:var(--cream);border-radius:16px;display:grid;place-items:center;text-align:center;font-weight:900}.form label{display:block;font-weight:900;margin-bottom:14px}.form input,.form textarea,.form select{width:100%;padding:14px;border-radius:14px;border:1px solid rgba(20,33,61,.18);font:inherit;margin-top:6px}.form textarea{min-height:130px}.map-layout{display:grid;grid-template-columns:260px 1fr;gap:42px;align-items:start}.sidebar{background:#fff;border-radius:18px;padding:24px;box-shadow:var(--shadow);position:sticky;top:110px}.sidebar a{display:block;padding:11px 0;border-bottom:1px solid rgba(20,33,61,.1);font-weight:800}.sidebar a.active{color:var(--gold)}.state-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:8px;margin:24px 0}.state{border:1px solid rgba(20,33,61,.16);background:#fff;border-radius:12px;min-height: 110px;padding:8px;cursor:pointer;transition:.18s}.state strong{display:block}.state span{display:block;font-size:.58rem;color:var(--muted);line-height:1.1}.state:hover,.state.active{background:var(--gold);transform:translateY(-2px);color:#fff}.state:hover span,.state.active span{color:#fff}.cta{display:flex;justify-content:space-between;align-items:center;gap:30px;background:#fff;border-radius:var(--radius);padding:44px;box-shadow:var(--shadow)}
.footer{background:#0b1118;color:#fff;padding:70px 0 28px}.footer p,.footer a{color:rgba(255,255,255,.72)}.footer a{display:block;margin:8px 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:34px}
@media(max-width:980px){.nav-toggle{display:block}.nav-links{display:none;position:absolute;top:84px;left:0;right:0;background:#fff;flex-direction:column;align-items:flex-start;padding:22px 5vw;border-bottom:1px solid rgba(20,33,61,.08);font-size:1.08rem}.nav-links.open{display:flex}.logo img{height: 110px}.hero{min-height:740px}.page-hero{min-height:560px}.quick,.two,.grid3,.grid2,.map-layout,.footer-grid{grid-template-columns:1fr}.quick{margin-top:18px}.section{padding:70px 0}.state-grid{grid-template-columns:repeat(5,1fr)}.event{grid-template-columns:1fr}.sidebar{position:static}.cta{display:block}}


/* Restored hero banner scheme/photos from uploaded reference */
.hero,
.page-hero,
.hero-banner {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero {
  min-height: 820px;
}
.page-hero,
.hero-banner {
  min-height: 680px;
  padding-top: 84px;
}
.hero-img,
.page-hero-img,
.hero > img,
.page-hero > img,
.hero-banner > img,
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero::after,
.page-hero::after,
.hero-banner::after,
.slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,24,32,.84), rgba(16,24,32,.34));
  z-index: 1;
}
.hero .container,
.page-hero .container,
.hero-banner .container {
  position: relative;
  z-index: 2;
}
.slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide {
  opacity: 0;
  transition: opacity 1.1s ease, transform 6s ease;
  transform: scale(1.03);
}
.slide.active {
  opacity: 1;
  transform: scale(1);
}
@media(max-width: 980px) {
  .hero { min-height: 740px; }
  .page-hero, .hero-banner { min-height: 560px; }
}


/* About page repair and dark card readability */
.dark .card { color: var(--ink); }
.dark .card p { color: var(--muted); }


/* Outreach Option A wide hero banner */
.page-hero.outreach-hero {
  min-height: 620px !important;
  height: 620px !important;
  padding-top: 84px !important;
}
.page-hero.outreach-hero img.hero-img,
.page-hero.outreach-hero img.page-hero-img,
.page-hero.outreach-hero > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
@media(max-width:980px){
  .page-hero.outreach-hero {
    min-height: 520px !important;
    height: 520px !important;
  }
}


/* Outreach lecture photo full-width hero */
.page-hero.outreach-hero {
  min-height: 620px !important;
  height: 620px !important;
  padding-top: 84px !important;
}
.page-hero.outreach-hero img.hero-img,
.page-hero.outreach-hero img.page-hero-img,
.page-hero.outreach-hero > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
@media(max-width:980px){
  .page-hero.outreach-hero {
    min-height: 520px !important;
    height: 520px !important;
  }
}


/* Outreach face-centered lecture hero */
.page-hero.outreach-hero {
  min-height: 620px !important;
  height: 620px !important;
  padding-top: 84px !important;
}
.page-hero.outreach-hero img.hero-img,
.page-hero.outreach-hero img.page-hero-img,
.page-hero.outreach-hero > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
@media(max-width:980px){
  .page-hero.outreach-hero {
    min-height: 520px !important;
    height: 520px !important;
  }
}


/* Summit-style recommendations pass */
.pathway-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.pathway-card{position:relative;min-height:230px;border-radius:24px;overflow:hidden;color:#fff;box-shadow:var(--shadow);display:flex;align-items:flex-end;padding:28px;background:var(--navy)}.pathway-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.pathway-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(16,24,32,.88),rgba(16,24,32,.16));z-index:1}.pathway-card div{position:relative;z-index:2}.pathway-card p{color:rgba(255,255,255,.82);margin:0}
.photo-strip{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:18px}.photo-tile{border-radius:24px;overflow:hidden;min-height:260px;position:relative;box-shadow:var(--shadow)}.photo-tile img{width:100%;height:100%;object-fit:cover;display:block}.photo-tile.large{grid-row:span 2;min-height:540px}.photo-caption{position:absolute;left:0;right:0;bottom:0;padding:22px;background:linear-gradient(0deg,rgba(16,24,32,.86),transparent);color:#fff;font-weight:900}
.story-slider{display:grid;grid-template-columns:1fr 1fr;gap:22px}.story{background:#fff;border-radius:24px;padding:34px;box-shadow:var(--shadow);border-left:6px solid var(--gold)}
.sermon-feature{display:grid;grid-template-columns:1.1fr .9fr;gap:34px;align-items:center;background:#fff;border-radius:28px;box-shadow:var(--shadow);overflow:hidden}.sermon-feature img{width:100%;height:420px;object-fit:cover}.sermon-feature .content{padding:40px}
.impact-row{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.impact-card{text-align:center;background:#fff;border-radius:20px;padding:28px;box-shadow:0 12px 30px rgba(20,33,61,.08)}.impact-card .icon{font-size:2rem;color:var(--gold)}
.footer h4{margin:0 0 12px}.footer-contact{margin:0;line-height:1.8}
@media(max-width:980px){.pathway-grid,.photo-strip,.story-slider,.sermon-feature,.impact-row{grid-template-columns:1fr}.photo-tile.large{min-height:320px}.sermon-feature img{height:300px}}


/* Giving and Prayer updated hero photos */
body .page-hero img[src*="giving-hero-bible-harvest"] {
  object-position: center 45% !important;
}


/* Final rebuilt Life at Immanuel gallery */
.life-at-immanuel-section .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.life-grid-rebuilt {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.life-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(20,33,61,.10);
  border: 1px solid rgba(20,33,61,.08);
}
.life-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
}
.life-card div {
  padding: 22px;
  text-align: center;
}
.life-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.life-card p {
  font-size: .94rem;
  margin-bottom: 12px;
}
.life-card a {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .82rem;
}
@media(max-width: 980px) {
  .life-grid-rebuilt {
    grid-template-columns: 1fr 1fr;
  }
}
@media(max-width: 640px) {
  .life-grid-rebuilt {
    grid-template-columns: 1fr;
  }
  .life-card img {
    height: 260px;
  }
}


/* Life at Immanuel five-card layout */
.life-grid-rebuilt {
  grid-template-columns: repeat(5, 1fr);
}
@media(max-width: 1180px) {
  .life-grid-rebuilt {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media(max-width: 760px) {
  .life-grid-rebuilt {
    grid-template-columns: 1fr;
  }
}


/* Final image fit fixes: remove side blank feel and fill hero/card frames */
.hero .slide[src$="home-4.jpg"] {
  object-fit: cover !important;
  object-position: center center !important;
}
.page-hero img[src$="prayer-hero.jpg"] {
  object-fit: cover !important;
  object-position: center center !important;
}
.pathway-card img[src$="outreach-card-people-conversation.jpg"] {
  object-position: center center !important;
}

/* Sermon archive expansion */
.sermon-intro .sermon-feature{grid-template-columns:1.1fr .9fr}.quote-panel{background:var(--navy);color:#fff;min-height:420px;display:flex;flex-direction:column;justify-content:center;padding:44px}.quote-panel p{font-family:Georgia,"Times New Roman",serif;font-size:1.55rem;line-height:1.35;color:#fff}.quote-panel span{color:var(--gold);font-weight:900;text-transform:uppercase;letter-spacing:.08em}.sermon-category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.sermon-category-card{background:#fff;border-radius:22px;padding:26px;box-shadow:var(--shadow);border:1px solid rgba(20,33,61,.07);transition:.18s}.sermon-category-card:hover{transform:translateY(-4px)}.sermon-category-card span{display:inline-block;color:var(--gold);font-weight:900;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}.sermon-category-card p{font-size:.95rem;margin-bottom:0}.sermon-group{padding:54px 0;border-bottom:1px solid rgba(20,33,61,.10)}.sermon-group:last-child{border-bottom:0}.sermon-list{display:grid;grid-template-columns:1fr;gap:20px}.sermon-card{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;background:#fff;border-radius:24px;padding:30px;box-shadow:0 14px 40px rgba(20,33,61,.09);border:1px solid rgba(20,33,61,.07)}.sermon-card blockquote{margin:18px 0;padding:18px 20px;border-left:5px solid var(--gold);background:var(--cream);border-radius:14px;color:var(--ink);font-family:Georgia,"Times New Roman",serif}.sermon-card details{margin-top:12px}.sermon-card summary{cursor:pointer;font-weight:900;color:var(--gold)}.sermon-card details p{margin-top:12px}.sermon-card .btn{white-space:nowrap}.sermon-archive .section-title{margin-bottom:24px}.sermon-archive h3{font-size:1.55rem}@media(max-width:1180px){.sermon-category-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:980px){.sermon-intro .sermon-feature,.sermon-card{grid-template-columns:1fr}.quote-panel{min-height:auto}.sermon-category-grid{grid-template-columns:1fr}.sermon-card .btn{justify-self:start}.quote-panel p{font-size:1.25rem}}


/* Sermon detail pages */
.sermon-detail-layout{display:grid;grid-template-columns:minmax(0,2fr) 360px;gap:36px;align-items:start}.sermon-manuscript{background:#fff;border-radius:22px;padding:34px;box-shadow:0 18px 45px rgba(11,31,58,.08);border:1px solid rgba(11,31,58,.08)}.sermon-manuscript .lead{font-size:1.08rem;color:#31445f}.sermon-manuscript h2{margin-top:1.8rem}.sermon-manuscript p{line-height:1.78}.sermon-manuscript blockquote{border-left:4px solid var(--gold);padding:18px 22px;background:rgba(191,141,48,.08);border-radius:12px;font-size:1.08rem}.sermon-sidebar{display:grid;gap:18px;position:sticky;top:110px}.sermon-sidebar .btn{width:100%;justify-content:center;margin-top:10px}.sermon-card .btn{white-space:nowrap}.sermon-detail-hero .container{max-width:900px}@media(max-width:900px){.sermon-detail-layout{grid-template-columns:1fr}.sermon-sidebar{position:static}.sermon-manuscript{padding:24px}}


/* Sermon archive visibility updates */
.public-excerpt{margin-top:1rem;padding:1rem;border-left:4px solid var(--gold,#c9a24a);background:rgba(201,162,74,.08);border-radius:12px;}
.public-excerpt strong{display:block;margin-bottom:.35rem;color:var(--navy,#17324d);letter-spacing:.02em;text-transform:uppercase;font-size:.78rem;}
.public-excerpt p{margin:0;}
.quote-grid,.faq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem;}
.quote-card,.faq-card{background:#fff;border-radius:18px;padding:1.5rem;box-shadow:0 12px 35px rgba(18,43,68,.08);border:1px solid rgba(18,43,68,.08);}
.quote-card blockquote{margin:0 0 1rem;font-size:1.05rem;line-height:1.65;color:var(--navy,#17324d);}
.quote-card span{font-weight:700;color:var(--gold,#b98b2e);}
.faq-card h3{margin-top:0;color:var(--navy,#17324d);}
.faq-card p{margin:.65rem 0;line-height:1.7;}
.sermon-highlight-box{margin:1.5rem 0;padding:1.25rem 1.5rem;border-left:4px solid var(--gold,#c9a24a);background:rgba(201,162,74,.08);border-radius:14px;}
.sermon-highlight-box h3{margin-top:0;color:var(--navy,#17324d);}

/* Final launch content additions */
.actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center}.form-note{font-size:.95rem;color:var(--muted);margin-top:14px}.visitor-faq .faq-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.upcoming-events-preview .card .eyebrow{color:var(--gold)}@media(max-width:700px){.actions{display:block}.actions .btn{margin:6px 0;width:100%;justify-content:center}}

.source-note{background:var(--cream);border-left:4px solid var(--gold);border-radius:14px;padding:16px 18px;margin:18px 0;color:var(--navy)}.small-note{font-size:.9rem;color:var(--muted);margin-top:18px}


/* Events photo gallery */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:28px}
.gallery-item{margin:0;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 12px 34px rgba(15,23,42,.10);border:1px solid rgba(15,23,42,.08)}
.gallery-item img{width:100%;height:230px;object-fit:cover;display:block;transition:transform .25s ease}
.gallery-item:hover img{transform:scale(1.035)}
.gallery-item figcaption{padding:16px 18px;display:flex;flex-direction:column;gap:6px}
.gallery-item figcaption strong{font-size:1.02rem;color:#14213d}
.gallery-item figcaption span{font-size:.94rem;line-height:1.45;color:#5f6b7a}
@media(max-width:700px){.gallery-item img{height:210px}.gallery-grid{grid-template-columns:1fr}}


/* Final stability fixes: compact desktop navigation and optimized gallery display */
@media (min-width: 981px){
  .nav{height:96px;width:min(1320px,96vw)}
  .logo img{height:92px}
  .nav-links{gap:16px;font-size:.95rem;letter-spacing:.025em;white-space:nowrap;color:var(--navy)}
  .nav-cta{padding:10px 17px}
  .page-hero{padding-top:96px}
  .hero .container{padding-top:96px}
}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin-top:28px}
.gallery-item{margin:0;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 14px 38px rgba(20,33,61,.10);border:1px solid rgba(20,33,61,.07)}
.gallery-item img{width:100%;height:260px;object-fit:cover;display:block;background:#f4efe7}
.gallery-item figcaption{display:block;padding:18px 20px 20px}
.gallery-item figcaption strong{display:block;color:var(--navy);margin-bottom:6px;font-size:1.03rem}
.gallery-item figcaption span{display:block;color:var(--muted);font-size:.94rem;line-height:1.5}
@media(max-width:700px){.gallery-item img{height:220px}.gallery-grid{grid-template-columns:1fr}}


/* Prayer and Get Involved page expansion */
.checkbox-row{display:flex !important;align-items:center;gap:10px;font-weight:800}.checkbox-row input{width:auto !important;margin:0 !important}.prayer-wall-card{border-left:5px solid var(--gold)}.prayer-wall-card p{font-family:Georgia,"Times New Roman",serif;font-size:1.08rem;color:var(--ink)}.text-link{display:inline-block;margin-top:12px;font-weight:900;color:var(--gold)}.involvement-path{grid-template-columns:repeat(5,1fr)}.involvement-path .card{box-shadow:0 14px 34px rgba(20,33,61,.08)}@media(max-width:1180px){.involvement-path{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.involvement-path{grid-template-columns:1fr}}

/* Click-to-enlarge event gallery */
.gallery-item img{cursor:zoom-in}.gallery-lightbox{position:fixed;inset:0;background:rgba(5,10,18,.92);z-index:9999;display:none;align-items:center;justify-content:center;padding:28px}.gallery-lightbox.open{display:flex}.gallery-lightbox img{max-width:min(1100px,94vw);max-height:86vh;object-fit:contain;border-radius:14px;box-shadow:0 24px 80px rgba(0,0,0,.45);background:#111}.gallery-lightbox button{position:fixed;top:18px;right:22px;background:#fff;color:#14213d;border:0;border-radius:999px;width:44px;height:44px;font-size:28px;line-height:1;cursor:pointer;font-weight:800}.gallery-lightbox p{position:fixed;left:24px;right:80px;bottom:18px;color:#fff;text-align:center;margin:0;font-weight:800}.gallery-lightbox .prev,.gallery-lightbox .next{position:fixed;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.92);width:48px;height:48px;border-radius:999px;font-size:34px}.gallery-lightbox .prev{left:22px}.gallery-lightbox .next{right:22px}@media(max-width:700px){.gallery-lightbox{padding:14px}.gallery-lightbox .prev,.gallery-lightbox .next{display:none}.gallery-lightbox p{text-align:left;right:24px;font-size:.9rem}}


/* Outreach and Ministries fuller content pass */
.hero-actions,.cta-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:22px}.btn.btn-light{background:#fff;color:var(--navy)}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.story-card{overflow:hidden;padding:0}.story-card img,.ministry-card img{width:100%;height:210px;object-fit:cover;display:block}.story-card div{padding:24px}.story-card a,.ministry-card a,.grid3 .card a{font-weight:900;color:var(--gold);text-transform:uppercase;font-size:.82rem;letter-spacing:.04em}.ministry-card{overflow:hidden}.ministry-card h3,.ministry-card p,.ministry-card ul,.ministry-card a{margin-left:24px;margin-right:24px}.ministry-card h3{margin-top:24px}.ministry-card ul{padding-left:20px;color:var(--muted);line-height:1.65}.ministry-card a{display:inline-block;margin-bottom:24px}.faq-list{max-width:900px;margin:0 auto}.faq-list details{background:#fff;border-radius:18px;margin-bottom:14px;padding:20px 24px;box-shadow:0 10px 28px rgba(20,33,61,.08);border:1px solid rgba(20,33,61,.08)}.faq-list summary{cursor:pointer;font-weight:900;color:var(--navy);font-size:1.05rem}.faq-list p{margin-bottom:0}.events-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.events-list article{background:#fff;border-radius:20px;padding:24px;box-shadow:var(--shadow);border-top:5px solid var(--gold)}.events-list span{font-weight:900;color:var(--gold);text-transform:uppercase;font-size:.82rem}.center{text-align:center;margin-top:26px}.photo-strip .photo-tile{background:#ddd}.page-hero.outreach-hero .hero-actions .btn-light{background:#fff;color:#14213d}@media(max-width:980px){.grid4,.events-list{grid-template-columns:1fr}.hero-actions,.cta-actions{flex-direction:column;align-items:flex-start}.ministry-card h3,.ministry-card p,.ministry-card ul,.ministry-card a{margin-left:20px;margin-right:20px}}


/* Button label/contrast fixes */
.btn, .nav-cta { text-decoration: none; }
.btn.btn-light { background:#fff !important; color: var(--navy) !important; border-color:#fff !important; }
.btn.btn-light:hover { background:#f5efe3 !important; color: var(--navy) !important; border-color:#f5efe3 !important; }
.btn.outline { background: transparent !important; color: var(--navy) !important; border-color: var(--navy) !important; box-shadow:none; }
.btn.outline:hover { background: var(--navy) !important; color:#fff !important; border-color: var(--navy) !important; }
.page-hero .btn.outline, .hero .btn.outline, .dark-section .btn.outline, .cta-band .btn.outline { background: rgba(255,255,255,.12) !important; color:#fff !important; border-color:#fff !important; }
.page-hero .btn.outline:hover, .hero .btn.outline:hover, .dark-section .btn.outline:hover, .cta-band .btn.outline:hover { background:#fff !important; color:var(--navy) !important; }
button.btn { cursor:pointer; }
button.btn:disabled { opacity:.7; cursor:not-allowed; }


/* Refinement: make homepage New Here card more visible */
.new-here-summary .cta{
  background:#FAF8F2 !important;
  border:1px solid rgba(184,135,70,.32) !important;
  border-radius:24px !important;
  padding:40px 44px !important;
  box-shadow:0 16px 38px rgba(20,33,61,.10) !important;
}
.new-here-summary .cta p{color:#43506a;}
.new-here-summary .cta h2{color:var(--navy);}
.new-here-summary .cta .btn.outline{
  background:#fff !important;
  color:var(--navy) !important;
  border-color:rgba(184,135,70,.45) !important;
}

/* Refinement: soften bold typography on sermon reading pages */
.sermon-manuscript{
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.04rem;
  line-height:1.86;
}
.sermon-manuscript p{line-height:1.86 !important;}
.sermon-manuscript strong,
.sermon-manuscript b{
  font-weight:600 !important;
  color:#243650;
}
.sermon-manuscript h2,
.sermon-manuscript h3{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:600 !important;
  letter-spacing:-.01em;
}
.sermon-manuscript .lead{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-weight:500;
  line-height:1.72;
}
.sermon-sidebar strong,
.sermon-sidebar b{
  font-weight:650 !important;
}

/* Final sermon page title sizing: keep titles about 2x body text for readability */
.sermon-detail-hero h1{
  font-size:clamp(2.25rem,4vw,2.75rem) !important;
  line-height:1.12 !important;
  font-weight:600 !important;
  max-width:900px;
}
.sermon-detail-hero p:not(.eyebrow){
  font-size:1.05rem !important;
}
.sermon-manuscript h2{
  font-size:2.08rem !important;
  line-height:1.18 !important;
  font-weight:600 !important;
  margin-top:2rem !important;
  margin-bottom:1.1rem !important;
}
.sermon-manuscript h3{
  font-size:1.45rem !important;
  line-height:1.25 !important;
  font-weight:600 !important;
}
.sermon-manuscript .eyebrow + h2{
  font-size:2.08rem !important;
}
@media(max-width:700px){
  .sermon-detail-hero h1{font-size:2rem !important;}
  .sermon-manuscript h2,
  .sermon-manuscript .eyebrow + h2{font-size:1.9rem !important;}
}

/* CTA cards placed on dark sections need their own readable text colors */
.dark .cta{color:var(--ink); padding:34px 44px; min-height:0;}
.dark .cta h2{color:var(--navy); margin-bottom:12px;}
.dark .cta p{color:var(--muted); max-width:760px;}
.dark .cta .eyebrow{color:var(--gold);}
.dark .cta:before{content:"";display:block;width:46px;height:3px;background:var(--gold);border-radius:999px;position:absolute;}
.dark .cta{position:relative;}
.dark .cta > div:first-child{padding-top:18px;}
@media(max-width:980px){.dark .cta{padding:30px 24px}.dark .cta > div:first-child{padding-top:14px}}


/* Stronger top navigation readability update */
.site-header .nav-links a:not(.nav-cta){font-size:.95rem !important;font-weight:800 !important;color:var(--navy) !important;}
.site-header .nav-links a:not(.nav-cta):hover,.site-header .nav-links a.active:not(.nav-cta){color:var(--gold) !important;}
@media(max-width:980px){.site-header .nav-links a:not(.nav-cta){font-size:1.12rem !important;}}

/* Homepage latest sermon feature refinement */
.home-latest-message .sermon-feature{padding:36px;gap:38px;align-items:stretch;}
.home-latest-message .sermon-feature img{height:100%;min-height:420px;border-radius:20px;object-fit:cover;object-position:center center;}
.home-latest-message .sermon-feature .content{padding:8px 10px;display:flex;flex-direction:column;justify-content:center;}
.home-latest-message .sermon-feature h2{margin-bottom:20px;}
@media(max-width:980px){.home-latest-message .sermon-feature{padding:24px}.home-latest-message .sermon-feature img{min-height:300px;height:300px}.home-latest-message .sermon-feature .content{padding:10px 0}}

/* Student Ministry themed page refinements */
.student-hero .container{max-width:920px;}
.student-hero h1{max-width:880px;}
.student-hero p{max-width:760px;}
.student-hero .hero-img{object-position:center 42%;}
.student-hero:after{background:linear-gradient(90deg,rgba(11,31,58,.82),rgba(11,31,58,.42),rgba(11,31,58,.18));}
.student-hero .hero-actions{margin-top:26px;}
.student-hero .btn.outline{background:rgba(255,255,255,.12);border-color:#fff;color:#fff;}
.student-hero .btn.outline:hover{background:#fff;color:var(--navy);}
.student-ministry-highlight{border-left:6px solid var(--gold);}
.impact-row .impact-card p{color:var(--muted);}
.dark .impact-row .impact-card h3{color:var(--navy);}
@media(max-width:980px){.student-hero:after{background:rgba(11,31,58,.68);}.student-hero h1{font-size:2.45rem;}.photo-strip{grid-template-columns:1fr;}.photo-tile.large{min-height:320px;}}

/* mobile-subpage-hero-final-fix-backup: HTML pages also include stronger inline override. */

/* HARD FIX: mobile subpage hero spacing
   This targets the real markup used by subpages:
   <section class="page-hero standard-subpage-hero">...
   It removes vertical centering on mobile and creates a safe top area below the fixed header. */
@media only screen and (max-width: 767px) {
  body:not(.home) .site-header {
    position: fixed !important;
    height: 112px !important;
    z-index: 99999 !important;
  }

  body:not(.home) .nav {
    height: 112px !important;
  }

  body:not(.home) .logo img {
    height: 104px !important;
  }

  body:not(.home) .standard-subpage-hero,
  body:not(.home) .page-hero.standard-subpage-hero,
  body:not(.home) .hero.page-hero.standard-subpage-hero,
  body:not(.home) .contact-hero.standard-subpage-hero,
  body:not(.home) .student-hero.standard-subpage-hero {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    min-height: 560px !important;
    height: auto !important;
    padding-top: 185px !important;
    padding-bottom: 58px !important;
    overflow: hidden !important;
  }

  body:not(.home) .standard-subpage-hero > .container,
  body:not(.home) .page-hero.standard-subpage-hero > .container,
  body:not(.home) .hero.page-hero.standard-subpage-hero > .container,
  body:not(.home) .contact-hero.standard-subpage-hero > .container,
  body:not(.home) .student-hero.standard-subpage-hero > .container {
    position: relative !important;
    z-index: 5 !important;
    width: calc(100% - 40px) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    top: auto !important;
    transform: none !important;
  }

  body:not(.home) .standard-subpage-hero h1,
  body:not(.home) .page-hero.standard-subpage-hero h1,
  body:not(.home) .hero.page-hero.standard-subpage-hero h1,
  body:not(.home) .contact-hero.standard-subpage-hero h1,
  body:not(.home) .student-hero.standard-subpage-hero h1 {
    font-size: 2.2rem !important;
    line-height: 1.16 !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  body:not(.home) .standard-subpage-hero p:not(.eyebrow),
  body:not(.home) .page-hero.standard-subpage-hero p:not(.eyebrow),
  body:not(.home) .hero.page-hero.standard-subpage-hero p:not(.eyebrow),
  body:not(.home) .contact-hero.standard-subpage-hero p:not(.eyebrow),
  body:not(.home) .student-hero.standard-subpage-hero p:not(.eyebrow) {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
    max-width: 100% !important;
  }

  body:not(.home) .standard-subpage-hero .eyebrow,
  body:not(.home) .page-hero.standard-subpage-hero .eyebrow,
  body:not(.home) .hero.page-hero.standard-subpage-hero .eyebrow,
  body:not(.home) .contact-hero.standard-subpage-hero .eyebrow,
  body:not(.home) .student-hero.standard-subpage-hero .eyebrow {
    font-size: .68rem !important;
    line-height: 1.35 !important;
    margin: 0 0 10px 0 !important;
  }

  body:not(.home) .standard-subpage-hero .hero-actions,
  body:not(.home) .standard-subpage-hero .actions,
  body:not(.home) .page-hero.standard-subpage-hero .hero-actions,
  body:not(.home) .page-hero.standard-subpage-hero .actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-top: 18px !important;
  }

  body:not(.home) .standard-subpage-hero .btn,
  body:not(.home) .page-hero.standard-subpage-hero .btn {
    font-size: .95rem !important;
    line-height: 1.25 !important;
    padding: 12px 20px !important;
    white-space: normal !important;
  }

  body:not(.home) .standard-subpage-hero::after,
  body:not(.home) .page-hero.standard-subpage-hero::after,
  body:not(.home) .hero.page-hero.standard-subpage-hero::after,
  body:not(.home) .contact-hero.standard-subpage-hero::after,
  body:not(.home) .student-hero.standard-subpage-hero::after {
    pointer-events: none !important;
  }
}

@media only screen and (max-width: 390px) {
  body:not(.home) .standard-subpage-hero,
  body:not(.home) .page-hero.standard-subpage-hero,
  body:not(.home) .hero.page-hero.standard-subpage-hero,
  body:not(.home) .contact-hero.standard-subpage-hero,
  body:not(.home) .student-hero.standard-subpage-hero {
    padding-top: 195px !important;
    min-height: 590px !important;
  }

  body:not(.home) .standard-subpage-hero h1,
  body:not(.home) .page-hero.standard-subpage-hero h1,
  body:not(.home) .hero.page-hero.standard-subpage-hero h1,
  body:not(.home) .contact-hero.standard-subpage-hero h1,
  body:not(.home) .student-hero.standard-subpage-hero h1 {
    font-size: 2.05rem !important;
  }
}


/* FORCE online outreach cards to use YouTube thumbnail covers */
.online-video-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #10213d !important;
}
.online-video-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  visibility: visible !important;
}
@media only screen and (max-width: 767px) {
  .online-outreach-grid {
    grid-template-columns: 1fr !important;
  }
  .online-video-thumb {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }
}


/* Footer contact consistency and cleanup */
.footer-contact-stack {
  display: grid;
  gap: 4px;
  align-items: start;
}
.footer-contact-stack a,
.footer-contact-stack span {
  display: block;
}
.footer-contact-stack::after {
  content: none !important;
}

/* News title size adjustment */
.news-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4rem);
}
.news-article h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

/* Donation gateway form button */
.donate-form{display:inline-flex;margin:0;}
.donate-form input.btn{font-family:inherit;font-size:inherit;cursor:pointer;}
@media(max-width:700px){.actions .donate-form{display:flex;width:100%;}.actions .donate-form input.btn{width:100%;}}
