:root{
  /* TREIC theme */
  --maroon:#6d1f1f;
  --maroon-2:#561818;
  --gold:#d6b25e;
  --gold-2:#caa24d;

  --bg:#ffffff;
  --soft:#f7f7f7;
  --text:#141414;
  --muted:#666;

  --border:rgba(0,0,0,.08);
  --shadow:0 10px 30px rgba(0,0,0,.08);

  --container:1180px;
  --radius:14px;

  /* aliases (your CSS referenced these but they were not defined) */
  --header:#fff;
  --footer:var(--maroon-2);
  --accent:var(--maroon);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

.container{width:min(var(--container),calc(100% - 64px));margin:0 auto}
@media (max-width:980px){ .container{width:min(var(--container),calc(100% - 36px))} }

/* =========================
   Utilities
========================= */
.center{text-align:center}
.mt-24{margin-top:24px}
.muted{color:var(--muted);line-height:1.8}
.link{color:var(--maroon);font-weight:800}
.link:hover{text-decoration:underline}

/* =========================
   Header (white)
========================= */
.site-header{
  position:sticky;top:0;z-index:50;
  background:var(--header);
  border-bottom:1px solid var(--border);
}
.header-bar{
  height:74px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 20px;
}
.brand-logo{font-weight:900;letter-spacing:.08em;color:var(--maroon)}

.nav{display:flex;gap:22px;align-items:center}
.nav a{color:#222;font-weight:600;font-size:14px}
.nav a:hover{color:var(--maroon)}

.icon-btn{border:0;background:transparent;cursor:pointer;padding:0}

/* Nav actions + pill buttons */
.nav-actions{display:inline-flex;gap:10px;align-items:center;margin-left:6px}
.nav-btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:38px;padding:0 14px;border-radius:14px;
  font-weight:900;font-size:13px;letter-spacing:.02em;
  border:1px solid rgba(0,0,0,.08);
  line-height:1;white-space:nowrap;
  box-shadow:0 10px 20px rgba(0,0,0,.08);
  text-decoration:none !important;
}
.nav a.nav-btn:hover{ text-decoration:none !important; transform:translateY(-1px); }
.nav-btn--gold{background:var(--gold);color:#1b1b1b;border-color:rgba(0,0,0,.06)}
.nav-btn--maroon{background:var(--maroon);color:#fff;border-color:rgba(0,0,0,.08)}
/* enforce pill text colors */
.nav a.nav-btn--maroon{color:#fff !important}
.nav a.nav-btn--gold{color:#2a1a0a !important}

/* Burger */
.burger{
  width:33px;height:33px;border-radius:10px;
  border:1px solid var(--border);
  background:#fff;
  display:none;
  align-items:center;justify-content:center;
  position:relative;
}
.burger span{
  display:block;width:18px;height:2px;background:var(--maroon);
  margin:2px auto;border-radius:2px;
  transition:transform .22s ease, opacity .18s ease;
}
.burger.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.burger.is-open span:nth-child(2){opacity:0}
.burger.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* Mobile nav */
.mobile-nav{
  display:none;
  background:var(--maroon-2);
  padding:14px 34px 22px;
  flex-direction:column;gap:12px;
  color:#fff;
}
.mobile-nav[hidden]{display:none !important}
.mobile-nav.is-open{display:flex}
.mobile-nav .nav-btn{
  width:100%;
  justify-content:center;
  margin-top:10px;
  height:42px;
  border-radius:14px;
}

@media (max-width:980px){
  .nav{display:none}
  .burger{display:grid;place-items:center}
}
@media (min-width:981px){
  .burger{display:none}
  .nav{display:flex}
  .mobile-nav{display:none !important}
}

/* =========================
   Buttons
========================= */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 18px;border-radius:999px;font-weight:800;
  border:1px solid transparent;
}
.btn--gold{background:var(--gold);color:#1b1b1b;border-color:var(--gold-2)}
.btn--gold:hover{filter:brightness(.98)}
.btn--ghost{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.28)}
.btn--ghost:hover{background:rgba(255,255,255,.18)}
.btn--small{
  padding:9px 14px;border-radius:10px;background:#fff;
  border:1px solid var(--border);color:#222
}
.btn--small:hover{border-color:rgba(0,0,0,.18)}
.btn-outline{
  border:1px solid rgba(122,13,13,.35);
  background:#fff;border-radius:12px;
  padding:10px 16px;font-weight:900;color:#7a0d0d;
}
.btn-primary{
  background:#7a0d0d;color:#fff;border:0;
  border-radius:12px;padding:12px 14px;font-weight:900;
}
.btn-primary:hover{filter:brightness(1.05)}

/* =========================
   Hero (Homepage alt)
========================= */
.hero2{position:relative;height:520px;overflow:hidden}
.hero2__bg{position:absolute;inset:0;background:center/cover no-repeat;filter:saturate(.95)}
.hero2__overlay{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.35),rgba(0,0,0,.55))}
.hero2__content{position:relative;height:100%;display:flex;align-items:center;justify-content:center}
.hero2__inner{color:#fff;text-align:center;max-width:860px}
.hero2__kicker{color:var(--gold);font-weight:900;letter-spacing:.14em;font-size:12px}
.hero2__title{margin:14px 0 10px;font-size:54px;line-height:1.1;font-weight:900}
.hero2__sub{margin:0;color:rgba(255,255,255,.85)}
.hero2__cta{margin-top:22px;display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
@media (max-width:980px){ .hero2__title{font-size:38px} }

/* =========================
   About page blocks
========================= */
.page-hero{padding:18px 0 10px;background:#fff}
.page-hero__box{
  position:relative;min-height:420px;border-radius:18px;overflow:hidden;
  background:center/cover no-repeat;box-shadow:var(--shadow);
}
.page-hero__overlay{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.25),rgba(0,0,0,.55))}
.page-hero__content{
  position:relative;z-index:2;color:#fff;text-align:center;
  max-width:820px;margin:0 auto;padding:96px 16px 70px;
}
.page-hero__kicker{color:var(--gold);font-weight:900;letter-spacing:.14em;font-size:12px}
.page-hero__title{margin:12px 0 10px;font-size:52px;line-height:1.1;font-weight:900}
.page-hero__sub{margin:0 auto;max-width:680px;color:rgba(255,255,255,.88)}

.about-section{padding:56px 0;background:#fff}
.about-section--alt{background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.about-head{max-width:900px;margin-bottom:22px}
.about-head.center{text-align:center;margin-left:auto;margin-right:auto}
.eyebrow{color:var(--maroon);font-weight:900;letter-spacing:.14em;font-size:12px;text-transform:uppercase}
.h2{margin:10px 0 10px;font-size:36px;font-weight:900;color:#111}
.lead{color:var(--muted);line-height:1.85;font-size:16px;max-width:820px}

.purpose-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.info-card{
  background:#fff;border:1px solid var(--border);border-radius:16px;padding:22px;
  box-shadow:var(--shadow);
}
.icon-dot{
  width:46px;height:46px;border-radius:999px;
  background:rgba(109,31,31,.08);display:grid;place-items:center;
  color:var(--maroon);font-weight:900;margin-bottom:10px;
}
.info-card h3{margin:6px 0 6px;color:var(--maroon)}
.info-card p{margin:0;color:var(--muted);line-height:1.7}

.two-col{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start}
.photo-card{height:300px;border-radius:16px;background:center/cover no-repeat;box-shadow:var(--shadow);margin-top:16px}

.timeline{position:relative}
.timeline-line{
  position:absolute;left:28px;top:20px;bottom:75px;width:2px;
  background:rgba(0,0,0,.10);
}
.timeline-item{position:relative;display:flex;gap:18px;padding:14px 0}
.dot{
  position:absolute;left:8px;top:12px;width:44px;height:44px;border-radius:999px;
  display:grid;place-items:center;font-weight:900;color:#fff;background:var(--maroon);
  border:4px solid #fff;box-shadow:0 8px 22px rgba(0,0,0,.14);z-index:2;
}
.dot--gold{background:var(--gold);color:#1b1b1b}
.timeline-body{padding-left:78px}
.timeline-year{font-weight:900;color:var(--gold);font-size:13px;letter-spacing:.06em}
.timeline-year.maroon{color:var(--maroon)}
.timeline-body h3{margin:4px 0 6px}
.timeline-body p{margin:0;color:var(--muted);line-height:1.7}

.beliefs{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:16px}
.belief{
  border-radius:14px;border:1px solid var(--border);background:#fff;
  padding:18px;box-shadow:var(--shadow);
}
.belief h3{margin:0 0 8px;font-size:16px}
.belief p{margin:0;color:var(--muted);line-height:1.7;font-size:14px}
.belief--dark{background:#1f1b0f;color:#fff;border-color:rgba(255,255,255,.08)}
.belief--dark p{color:rgba(255,255,255,.75)}
.belief--maroon{background:var(--maroon);color:#fff;border-color:rgba(255,255,255,.12)}
.belief--maroon p{color:rgba(255,255,255,.82)}

.pastor{display:grid;grid-template-columns:380px 1fr;gap:26px;align-items:center}
.pastor-photo{height:360px;border-radius:16px;background:center/cover no-repeat;box-shadow:var(--shadow)}
.pastor-name{font-weight:900;margin-top:8px}
.pastor-role{
  color:var(--maroon);font-weight:800;font-size:12px;
  letter-spacing:.12em;margin-top:4px;text-transform:uppercase;
}

.cta-strip{padding:22px 0 56px;background:#fff}
.cta-strip__box{
  border-radius:18px;background:var(--maroon);color:#fff;
  padding:22px;display:flex;align-items:center;justify-content:space-between;
  gap:18px;box-shadow:var(--shadow);
}
.cta-strip__box h2{margin:0;font-weight:900}
.cta-strip__box p{margin:4px 0 0;color:rgba(255,255,255,.78)}
.cta-strip__actions{display:flex;gap:12px;flex-wrap:wrap}

@media (max-width:980px){
  .page-hero__title{font-size:38px}
  .purpose-grid,.beliefs{grid-template-columns:1fr}
  .two-col,.pastor{grid-template-columns:1fr}
  .pastor-photo{height:280px}
  .cta-strip__box{flex-direction:column;text-align:center}
}

/* =========================
   Footer (new footer2)
========================= */
.footer2{
  background:var(--maroon);color:#fff;padding:44px 0 18px;
  border-top:4px solid var(--gold);
}
.footer2__grid{
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr 1fr;
  gap:26px;align-items:start;
  padding-bottom:24px;
}
.footer2__brand{display:flex;gap:10px;align-items:center;font-weight:900}
.footer2__brandmark{color:var(--gold);font-size:22px}
.footer2__brandname{font-size:18px}
.footer2__muted{color:rgba(255,255,255,.62);line-height:1.7;font-size:13px;margin-top:10px}

.footer2__social{display:flex;gap:10px;margin-top:12px}
.footer2__social a{
  width:38px;height:38px;border-radius:999px;display:grid;place-items:center;
  background:rgba(255,255,255,.10);color:#fff;font-weight:900;
}
.footer2__social a:hover{background:var(--gold);color:#1b1b1b}

.footer2 h4{margin:0;color:var(--gold);font-weight:900}
.footer2__rows{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.footer2__rows .row{
  display:flex;justify-content:space-between;gap:10px;
  padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.75);font-size:13px;
}
.footer2__rows .row:last-child{border-bottom:0;padding-bottom:0}
.footer2__rows b{color:#fff;font-weight:800}

.footer2__links{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.footer2__links a{color:rgba(255,255,255,.75);font-size:13px}
.footer2__links a:hover{color:var(--gold)}

.footer2__map{
  margin-top:10px;height:128px;border-radius:12px;overflow:hidden;
  background:#2f2a17;position:relative;
}
.footer2__map .pin{position:absolute;inset:0;display:grid;place-items:center;font-size:28px;color:var(--maroon)}

.footer2__bottom{
  border-top:1px solid rgba(255,255,255,.10);
  padding-top:14px;
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  color:rgba(255,255,255,.45);font-size:12px;
}
.footer2__legal{display:flex;gap:16px}
.footer2__legal a{color:rgba(255,255,255,.45)}
.footer2__legal a:hover{color:#fff}

@media (max-width:980px){
  .footer2__grid{grid-template-columns:1fr}
}

/* =========================
   Contact page (page-hero reused)
========================= */
.page-hero--maroon{
  background:linear-gradient(180deg, rgba(86,0,0,.92), rgba(86,0,0,.88));
  color:#fff;
}
.alert{margin:18px auto 0;max-width:760px;padding:12px 14px;border-radius:12px;font-weight:700}
.alert--success,.alert--error{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24)}

.contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:22px;align-items:start}
.card{
  background:#fff;border-radius:16px;padding:18px;border:1px solid rgba(0,0,0,.06);
}
.card--soft{background:#fbfaf7;margin-bottom:20px}
.card--raised{box-shadow:0 10px 28px rgba(0,0,0,.08);margin-top:20px}
.card__head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.card__head h3{margin:0}

.pill-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:999px;font-size:16px}
.pill-icon--gold{background:rgba(199,160,27,.18);color:#7a5a00}
.pill-icon--maroon{background:rgba(86,0,0,.12);color:#560000}

.kv{display:grid;gap:12px}
.kv__label{font-weight:900}
.kv__value{opacity:.75}

.contact-details{display:grid;gap:14px}
.detail{display:grid;grid-template-columns:34px 1fr;gap:10px}
.detail__icon{
  width:34px;height:34px;border-radius:10px;display:grid;place-items:center;
  background:rgba(0,0,0,.04);
}
.detail__label{font-weight:900;margin-bottom:2px}
.detail__value{opacity:.8}
.detail__value a:hover{text-decoration:underline}

.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.field label{display:block;font-weight:800;margin-bottom:6px}
.field input,.field select,.field textarea{
  width:100%;padding:12px;border-radius:12px;border:1px solid rgba(0,0,0,.10);
  outline:none;background:#fff;
}
.field textarea{resize:vertical}
.field--full{grid-column:1 / -1}

.map-embed{position:relative;border-radius:16px;overflow:hidden;border:1px solid rgba(0,0,0,.06)}
.map-embed iframe{width:100%;height:260px;border:0;display:block}

@media (max-width:980px){
  .contact-grid{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .map-embed iframe{height:320px}
}

/* =========================
   Modal
========================= */
.modal{position:fixed;inset:0;display:none;z-index:9999}
.modal.is-open{display:block}
.modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(2px)}
.modal__panel{
  position:relative;width:min(860px, calc(100% - 28px));
  margin:60px auto;background:#fff;border-radius:18px;overflow:hidden;
  box-shadow:0 22px 60px rgba(0,0,0,.35);
  animation:modalPop .16s ease-out;
}
@keyframes modalPop{from{transform:translateY(12px) scale(.985);opacity:.7}to{transform:translateY(0) scale(1);opacity:1}}
.modal__close{
  position:absolute;right:12px;top:10px;width:34px;height:34px;border-radius:999px;
  border:1px solid rgba(255,255,255,.30);background:rgba(255,255,255,.15);
  color:#fff;font-size:22px;cursor:pointer;z-index:3;
}
.modal__hero{position:relative;height:220px;background:center/cover no-repeat}
.modal__heroOverlay{position:absolute;inset:0;background:linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.15))}
.modal__heroContent{position:absolute;left:16px;bottom:14px;z-index:2;color:#fff}
.modal__tag{
  display:inline-block;background:rgba(212,175,55,.92);color:#1b1b1b;
  font-weight:900;font-size:11px;letter-spacing:.10em;padding:6px 8px;border-radius:999px;
}
.modal__heroContent h3{margin:10px 0 0;font-size:26px;font-weight:900}
.modal__body{padding:16px}
.modal__cols{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.modal__box{border:1px solid var(--border);border-radius:14px;padding:12px;background:#fff}
@media (max-width:980px){
  .modal__panel{margin:18px auto}
  .modal__cols{grid-template-columns:1fr}
}

/* =========================
   EVENTS (Archive) - matches your events.php markup
========================= */
.events-hero{position:relative;padding:72px 0 24px;background:#f7f4ef;overflow:hidden}
.events-hero__bg{
  position:absolute;inset:0;
  background:
    linear-gradient(rgba(96,0,0,.55), rgba(96,0,0,.55)),
    url('/assets/img/hero-events.jpg') center/cover no-repeat;
  filter:saturate(1.05);
}
.events-hero__inner{position:relative;color:#fff}
.events-hero h1{margin:0 0 8px;font-size:44px;letter-spacing:-.02em}
.events-hero p{margin:0 0 18px;max-width:720px;opacity:.95}

.events-toolbar{
  display:flex;gap:14px;align-items:center;justify-content:space-between;
  flex-wrap:wrap;margin-top:18px;
}
.events-search{
  display:flex;align-items:center;gap:10px;
  background:#fff;border:1px solid rgba(0,0,0,.08);
  border-radius:14px;padding:10px 14px;min-width:260px;flex:1;
}
.events-search input{border:0;outline:0;width:100%;font-size:14px;background:transparent}

.events-view{display:flex;gap:10px}
.btn-pill{
  border:1px solid rgba(255,255,255,.45);
  background:rgba(255,255,255,.12);
  color:#fff;border-radius:12px;padding:10px 14px;font-weight:700;
}
.btn-pill.is-active{background:rgba(255,255,255,.22)}

.events-chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.chip{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.35);
  color:#fff;font-weight:700;font-size:13px;
}
.chip.is-active{background:#d8b04c;border-color:#d8b04c;color:#2a1a0a}

.events-list{padding:26px 0 58px;background:#fbfaf8}
.events-month{margin:22px 0 14px;color:#5a0b0b;font-size:22px}
.events-cards{display:grid;gap:14px;width:100%}

.event-card{
  display:grid;
  grid-template-columns:84px 160px 1fr 44px;
  background:#fff;border:1px solid rgba(0,0,0,.06);
  border-radius:16px;overflow:hidden;align-items:center;
  box-shadow:0 6px 20px rgba(0,0,0,.04);
  width:100%;
}
.event-card:hover{transform:translateY(-1px);transition:transform .18s ease}
.event-card__date{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  background:#7a0d0d;color:#fff;gap:2px;min-height:96px;
}
.event-card__date .m{font-size:12px;opacity:.9}
.event-card__date .d{font-size:26px;font-weight:900;line-height:1}
.event-card__date .w{font-size:12px;opacity:.9}

.event-card__media{background:#eee}
.event-card__media img{width:100%;height:96px;object-fit:cover;display:block}

.event-card__body{padding:14px}
.event-card__title{font-weight:900;margin:6px 0 8px;color:#1d1a16}
.event-card__meta{display:flex;gap:14px;flex-wrap:wrap;color:rgba(0,0,0,.62);font-size:13px}

.event-card__arrow{
  display:flex;align-items:center;justify-content:center;
  font-size:20px;color:rgba(0,0,0,.55);
}

.badge{
  display:inline-flex;align-items:center;
  padding:6px 10px;border-radius:999px;
  font-weight:900;font-size:11px;
  background:#f3efe7;color:#4b2b09;
  border:1px solid rgba(0,0,0,.06);
}
.badge.worship{background:#f5efe2;color:#5a3c00}
.badge.youth{background:#f1edf7;color:#3b2a66}
.badge.outreach{background:#f5ecec;color:#6b1a1a}
.badge.bibleStudy{background:#ecf5f2;color:#0f4f3b}

.events-load{text-align:center;margin-top:22px}

@media (max-width:860px){
  .events-hero h1{font-size:34px}
  .event-card{grid-template-columns:84px 120px 1fr 36px}
  .event-card__media img{height:90px}
}
@media (max-width:620px){
  .event-card{grid-template-columns:84px 1fr 32px}
  .event-card__media{display:none}
}

/* =========================
   EVENT (Single)
========================= */
.event-hero{position:relative;padding:70px 0 34px;background:#f7f4ef;overflow:hidden}
.event-hero__bg{
  position:absolute;inset:0;background:center/cover no-repeat;
  filter:saturate(1.05);
}
.event-hero__bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(rgba(96,0,0,.55), rgba(96,0,0,.55));
}
.event-hero__inner{position:relative;color:#fff}
.pill{
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 12px;border-radius:999px;font-weight:900;font-size:12px;
  background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);
}
.pill.upcoming{background:rgba(216,176,76,.22);border-color:rgba(216,176,76,.55)}
.pill.past{background:rgba(255,255,255,.14)}

.event-hero h1{margin:10px 0 8px;font-size:40px;letter-spacing:-.02em}
.event-hero__meta{display:flex;gap:10px;flex-wrap:wrap;opacity:.95}

.event-body{background:#fbfaf8;padding:22px 0 64px}
.crumbs{color:rgba(0,0,0,.6);font-size:13px;margin-bottom:14px}
.crumbs a{color:#7a0d0d;font-weight:800}

.event-grid{display:grid;grid-template-columns:1.6fr .9fr;gap:18px;align-items:start}
.event-main{
  background:#fff;border:1px solid rgba(0,0,0,.06);
  border-radius:16px;padding:18px;
}
.event-quote{
  margin:18px 0;padding:14px 16px;border-left:4px solid #d8b04c;
  background:#fbf7ef;border-radius:12px;color:rgba(0,0,0,.72);
}
.event-quote span{display:block;margin-top:8px;font-weight:900;color:#7a0d0d}

.event-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}
.stat-card{
  background:#fbfaf8;border:1px solid rgba(0,0,0,.06);
  border-radius:14px;padding:14px;text-align:center;
}
.stat-num{font-size:22px;font-weight:900;color:#7a0d0d}
.stat-label{font-size:12px;font-weight:900;color:rgba(0,0,0,.6);letter-spacing:.06em}

.event-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:12px}
.event-gallery__item{border-radius:14px;overflow:hidden;border:1px solid rgba(0,0,0,.06);background:#eee}
.event-gallery__item img{width:100%;height:220px;object-fit:cover;display:block}

.opps-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:12px}
.opp-card{background:#fbfaf8;border:1px solid rgba(0,0,0,.06);border-radius:14px;padding:14px}
.opp-badge{font-weight:900;font-size:11px;color:#5a0b0b;opacity:.85}
.opp-title{font-weight:900;margin:6px 0}
.opp-meta{color:rgba(0,0,0,.62);font-size:13px}

.event-side .side-card{
  position:sticky;top:92px;background:#fff;border:1px solid rgba(0,0,0,.06);
  border-radius:16px;padding:16px;
}
.divider{height:1px;background:rgba(0,0,0,.08);margin:14px 0}

.reg-head{background:#7a0d0d;color:#fff;border-radius:14px;padding:12px}
.reg-title{font-weight:900}
.reg-sub{opacity:.9;font-size:12px;margin-top:4px}

.reg-form{margin-top:12px;display:grid;gap:10px}
.reg-form label{font-size:12px;font-weight:900;color:rgba(0,0,0,.65)}
.reg-form input,.reg-form select,.reg-form textarea{
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;padding:10px 12px;outline:0;font-size:14px;background:#fff;
}

/* =========================
   EVENT PAGE: Share Recap fix
   (append at END of style.css)
========================= */

.event-side .share-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;            /* allow wrap on small widths */
  margin: 6px 0 12px;        /* creates space before the big button */
}

.event-side .share-title{
  font-weight:900;
  color: rgba(0,0,0,.72);
  line-height:1.2;
}

.event-side .share-btns{
  display:flex;
  gap:10px;
  margin-left:auto;          /* pushes icons to the right */
}

.event-side .share-btn{
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.12);
  background:#fbfaf8;
  font-weight:900;
  font-size:14px;
  line-height:1;             /* prevents weird vertical misalignment */
  color:#7a0d0d;
  text-decoration:none;
}

/* ensure the big button sits clearly below */
.event-side a.full{
  display:block;
  margin-top: 14px;
}


@media (max-width:980px){
  .event-grid{grid-template-columns:1fr}
  .event-side .side-card{position:static}
}
@media (max-width:640px){
  .event-stats,.event-gallery,.opps-grid{grid-template-columns:1fr}
  .event-gallery__item img{height:200px}
  .event-hero h1{font-size:32px}
}

/* =========================
   GIVING PAGE
========================= */

.give-hero{
  position:relative;
  overflow:hidden;
  padding: 88px 0 54px;
  background:#120707;
}
.give-hero__bg{
  position:absolute; inset:0;
  background:center/cover no-repeat;
  filter:saturate(1.05);
  transform: scale(1.02);
}
.give-hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.32));
}
.give-hero__inner{ position:relative; z-index:2; color:#fff; }

.give-hero__grid{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 22px;
  align-items:center;
}
.give-hero__title{
  margin:0 0 10px;
  font-size: clamp(38px, 4.3vw, 64px);
  line-height:1.02;
  font-weight: 900;
  letter-spacing:-.02em;
}
.give-hero__title span{ color: var(--gold); }
.give-hero__sub{
  margin:0;
  max-width: 620px;
  color: rgba(255,255,255,.88);
  line-height:1.75;
}
.give-hero__trust{
  margin-top: 14px;
  color: rgba(214,178,94,.95);
  font-weight: 900;
  font-size: 12px;
  letter-spacing:.04em;
}

/* Donation card */
.donate-card{
  background:#fff;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.donate-card__head{
  background: linear-gradient(180deg, rgba(109,31,31,.98), rgba(86,24,24,.98));
  padding: 14px 16px;
  color:#fff;
}
.donate-card__title{ font-weight: 900; }

.donate-card__body{ padding: 14px 16px 16px; }

.donate-tabs{
  display:flex;
  gap:10px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(0,0,0,.04);
}
.donate-tab{
  flex:1;
  border: 1px solid rgba(0,0,0,.08);
  background:#fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  cursor:pointer;
}
.donate-tab.is-active{
  background: rgba(214,178,94,.26);
  border-color: rgba(214,178,94,.55);
}

.donate-amounts{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.amt{
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  border-radius: 12px;
  padding: 10px 10px;
  font-weight: 900;
  cursor:pointer;
}
.amt.is-active{
  background: rgba(214,178,94,.30);
  border-color: rgba(214,178,94,.65);
}

.donate-other{
  margin-top: 10px;
  border:1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  padding: 10px 12px;
  background:#fff;
}
.donate-other__row{ display:flex; justify-content:space-between; }

.donate-label{
  display:block;
  margin-top: 12px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(0,0,0,.65);
}
.donate-select{
  width:100%;
  margin-top: 8px;
  border:1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 10px 12px;
  outline:none;
  background:#fff;
  font-weight: 800;
}

.donate-btn{
  width:100%;
  margin-top: 12px;
  border:0;
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--gold);
  color: #1b1b1b;
  font-weight: 900;
  cursor:pointer;
}
.donate-btn:hover{ filter: brightness(.98); }

.donate-note{
  margin-top: 10px;
  text-align:center;
  color: rgba(0,0,0,.55);
  font-size: 12px;
  font-weight: 800;
}

/* Impact section */
.give-impact{ background:#fff; padding: 52px 0; }
.give-head{ max-width: 820px; margin: 0 auto 18px; }
.give-head h2{ margin:0; font-size: 28px; font-weight: 900; color: var(--maroon); }
.give-cards{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.give-card{
  background:#fbfaf7;
  border:1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.give-card__icon{
  width: 44px; height: 44px;
  border-radius: 999px;
  display:grid; place-items:center;
  background: rgba(214,178,94,.22);
  color: #6d1f1f;
  font-weight: 900;
  margin-bottom: 10px;
}
.give-card__title{ font-weight: 900; color:#111; }
.give-card__text{ margin-top: 8px; color: var(--muted); line-height:1.7; font-size: 13px; }

/* Quote band */
.give-quote{
  background: linear-gradient(180deg, rgba(86,24,24,.98), rgba(86,24,24,.92));
  color:#fff;
  padding: 40px 0;
  text-align:center;
}
.give-quote__mark{
  font-size: 44px;
  color: rgba(214,178,94,.95);
  font-weight: 900;
  line-height:1;
}
.give-quote__text{
  max-width: 920px;
  margin: 8px auto 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,.90);
}
.give-quote__ref{
  margin-top: 10px;
  color: rgba(214,178,94,.95);
  font-weight: 900;
}

/* Other ways */
.give-other{ background:#fff; padding: 52px 0; }
.give-other__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items:start;
}
.give-accordion{ margin-top: 14px; display:flex; flex-direction:column; gap: 12px; }

.acc{
  border:1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadow);
}
.acc__sum{
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  padding: 14px 14px;
  cursor:pointer;
  font-weight: 900;
}
.acc__sum::-webkit-details-marker{ display:none; }
.acc__title{ color:#111; }
.acc__chev{ opacity:.6; }

.acc__body{ padding: 0 14px 14px; }
.acc__table{
  margin-top: 8px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.acc__row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding-bottom: 10px;
}
.acc__row:last-child{ border-bottom:0; padding-bottom:0; }
.acc__k{ color: rgba(0,0,0,.55); font-weight: 900; font-size: 12px; letter-spacing:.02em; }
.acc__v{ font-weight: 900; color:#111; text-align:right; }

.acc__copy{
  margin-top: 12px;
  border:1px solid rgba(109,31,31,.35);
  background:#fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  color: var(--maroon);
  cursor:pointer;
}

.give-side{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  min-height: 320px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
}
.give-side__img{ position:absolute; inset:0; background:center/cover no-repeat; }
.give-side__overlay{ position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.55)); }
.give-side__text{
  position:absolute;
  left: 14px; right: 14px; bottom: 14px;
  color:#fff;
}
.give-side__quote{ font-weight: 900; line-height: 1.5; }
.give-side__ref{ margin-top: 6px; color: rgba(214,178,94,.95); font-weight: 900; }

/* Responsive */
@media (max-width: 980px){
  .give-hero__grid{ grid-template-columns: 1fr; }
  .give-cards{ grid-template-columns: 1fr; }
  .give-other__grid{ grid-template-columns: 1fr; }
  .donate-amounts{ grid-template-columns: repeat(2, 1fr); }
}

/* =========================
   LIVE TV + RADIO PAGES
========================= */
.live-page{ background:#fbfaf8; }

.live-wrap{ padding: 22px 0 54px; }
.live-grid{ display:grid; grid-template-columns: 1.6fr .95fr; gap:18px; align-items:start; }

.live-playerCard{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  overflow:hidden;
  box-shadow: var(--shadow);
}

.live-playerTop{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 14px;
  background: rgba(0,0,0,.02);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.live-pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 6px 10px; border-radius: 999px;
  font-weight: 900; font-size: 11px; letter-spacing:.08em;
}
.live-pill--live{ background: rgba(122,13,13,.12); color:#7a0d0d; border:1px solid rgba(122,13,13,.22); }

.live-watching{ font-weight: 800; color: rgba(0,0,0,.55); font-size: 13px; }

.live-player{
  position:relative;
  background:#111;
  aspect-ratio: 16 / 9;
}
.live-player video{
  width:100%;
  height:100%;
  display:block;
  background:#111;
}

.live-playOverlay{
  position:absolute; left:50%; top:50%;
  transform: translate(-50%,-50%);
  width: 78px; height:78px;
  border-radius: 999px;
  border: 0;
  background: rgba(214,178,94,.95);
  color:#1b1b1b;
  font-weight: 900;
  font-size: 26px;
  cursor:pointer;
  box-shadow: 0 20px 40px rgba(0,0,0,.28);
}
.live-playOverlay.is-hidden{ display:none; }

.live-titleRow{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap: 14px; flex-wrap:wrap;
  margin-top: 14px;
}
.live-title{
  margin:0;
  font-size: 34px;
  font-weight: 900;
  color: #5a0b0b;
  letter-spacing: -.02em;
}
.live-actions{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }

.btn-live{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background:#fff;
  font-weight: 900;
  cursor:pointer;
  text-decoration:none;
}
.btn-live--maroon{ background:#7a0d0d; color:#fff; border-color: rgba(0,0,0,.08); }
.btn-live--icon{ width:42px; padding:0; border-radius: 999px; background:#fff; }
.btn-live--light{ background:#fff; color:#111; }

.live-meta{
  display:flex; gap:10px; flex-wrap:wrap;
  color: rgba(0,0,0,.55);
  font-weight: 800;
  margin-top: 6px;
}
.live-meta .dot{ opacity:.45; }

.live-about{
  margin-top: 14px;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.live-about__kicker{
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .14em;
  color: rgba(0,0,0,.55);
}
.live-about p{ margin: 10px 0 0; color: rgba(0,0,0,.72); line-height: 1.8; }

/* Right panel */
.live-side{ display:flex; flex-direction:column; gap:14px; }
.live-sideHead{
  display:flex; align-items:center; justify-content:space-between;
  gap: 12px; padding: 6px 2px;
}
.live-sideTitle{ font-weight: 900; color:#111; }
.live-sideLink{ color: var(--gold); font-weight: 900; text-decoration:none; }
.live-sideLink:hover{ text-decoration:underline; }

.live-nextList{ display:flex; flex-direction:column; gap:12px; }
.live-nextCard{
  display:grid; grid-template-columns: 74px 1fr 34px;
  gap: 12px;
  align-items:center;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding: 10px;
  box-shadow: var(--shadow);
  text-decoration:none;
  color: inherit;
}
.live-nextThumb{ width:74px; height:54px; border-radius:12px; overflow:hidden; background:#eee; }
.live-nextThumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.live-nextTime{ font-weight: 900; font-size: 12px; color: var(--gold); }
.live-nextTitle{ font-weight: 900; margin-top: 2px; }
.live-nextBy{ color: rgba(0,0,0,.55); font-size: 13px; margin-top: 2px; }
.live-nextBell{ opacity:.55; text-align:center; }

.live-prayerCard{
  background: linear-gradient(135deg, rgba(122,13,13,.96), rgba(122,13,13,.78));
  color:#fff;
  border-radius:18px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.live-prayerTitle{ font-weight: 900; font-size: 18px; }
.live-prayerText{ margin-top: 6px; color: rgba(255,255,255,.85); line-height:1.6; }
.live-prayerCard .btn-live{ margin-top: 12px; }

/* RADIO */
.radio-wrap{ padding: 26px 0 54px; background:#fbfaf8; }
.radio-grid{ display:grid; grid-template-columns: 1.6fr .95fr; gap:18px; align-items:start; }

.radio-kicker{
  display:flex; align-items:center; gap:10px;
  font-weight: 900;
  letter-spacing: .14em;
  font-size: 11px;
  color: rgba(0,0,0,.55);
}
.radio-dot{ width:10px; height:10px; border-radius:999px; background: var(--gold); }

.radio-title{ margin: 10px 0 6px; font-size: 48px; font-weight: 900; color:#111; }
.radio-sub{ margin: 0 0 16px; color: rgba(0,0,0,.55); }

.radio-playerCard{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  box-shadow: var(--shadow);
  display:grid;
  grid-template-columns: 280px 1fr;
  overflow:hidden;
}
.radio-art{ padding: 16px; }
.radio-art__img{
  width:100%;
  height: 220px;
  border-radius: 16px;
  background:center/cover no-repeat;
  background-color:#111;
}

.radio-info{ padding: 18px 18px 16px; }
.radio-nowTitle{ font-size: 28px; font-weight: 900; }
.radio-nowBy{ margin-top: 4px; color: rgba(0,0,0,.55); font-weight: 800; }
.radio-nowTime{ margin-top: 2px; color: rgba(0,0,0,.55); font-weight: 800; }

.radio-audio{ width:100%; margin-top: 14px; }

.radio-quick{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.radio-quickBtn{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
  background: #fbfaf8;
  text-decoration:none;
  color: inherit;
  font-weight: 900;
}
.radio-quickBtn span{ font-size: 12px; color: rgba(0,0,0,.55); font-weight: 900; }

.radio-sideHead{
  display:flex; align-items:center; justify-content:space-between;
  gap: 12px; padding: 6px 2px;
}
.radio-sideTitle{ font-weight: 900; color:#111; }
.radio-sideLink{ color: var(--gold); font-weight: 900; text-decoration:none; }
.radio-sideLink:hover{ text-decoration:underline; }

.radio-nextList{ display:flex; flex-direction:column; gap:12px; }
.radio-nextCard{
  display:grid;
  grid-template-columns: 74px 1fr 34px;
  gap: 12px;
  align-items:center;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.radio-nextThumb{ width:74px; height:54px; border-radius:12px; overflow:hidden; background:#eee; }
.radio-nextThumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.radio-nextTime{ font-weight: 900; font-size: 12px; color: var(--gold); }
.radio-nextTitle{ font-weight: 900; margin-top: 2px; }
.radio-nextDesc{ color: rgba(0,0,0,.55); font-size: 13px; margin-top: 2px; }
.radio-nextPlay{ opacity:.55; text-align:center; }

/* Responsive */
@media (max-width: 980px){
  .live-grid, .radio-grid{ grid-template-columns: 1fr; }
  .radio-playerCard{ grid-template-columns: 1fr; }
  .radio-quick{ grid-template-columns: repeat(2, 1fr); }
  .live-title{ font-size: 28px; }
  .radio-title{ font-size: 38px; }
}

/* Live links styled like text (for "View Full Schedule") */
.btn-link{
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--gold);
  font-weight: 900;
}
.btn-link:hover{ text-decoration: underline; }

/* Schedule rows in modal */
.schedule-list{ display:flex; flex-direction:column; gap:10px; margin-top:10px; }
.schedule-row{
  display:grid;
  grid-template-columns: 160px 1fr 220px;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}
.schedule-when{ font-weight: 900; color: rgba(0,0,0,.55); }
.schedule-title{ font-weight: 900; }
.schedule-by{ color: rgba(0,0,0,.55); font-weight: 800; }

@media (max-width: 820px){
  .schedule-row{ grid-template-columns: 1fr; }
}

/* Prayer form layout inside modal */
.prayer-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.prayer-grid .field--full{ grid-column: 1 / -1; }
.prayer-actions{ display:flex; gap:10px; justify-content:flex-end; margin-top: 12px; flex-wrap:wrap; }
.prayer-status{ margin-top: 10px; color: rgba(0,0,0,.65); font-weight: 800; }

/* Share feedback (copied) */
.js-share.is-copied{ outline: 2px solid rgba(214,178,94,.6); }

/* =================
   SERMONS ARCHIVE 
====================*/

/* HERO */
.sermons-hero{ padding: 18px 0 18px; background:#fff; }
.sermons-hero__card{
  position:relative;
  min-height: 420px;
  border-radius: 18px;
  overflow:hidden;
  background:center/cover no-repeat;
  box-shadow: var(--shadow);
}
.sermons-hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.20), rgba(0,0,0,.58));
}
.sermons-hero__content{
  position:relative;
  z-index:2;
  color:#fff;
  padding: 82px 18px 64px;
  max-width: 820px;
}
.sermons-hero__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 11px;
  letter-spacing:.12em;
  background: rgba(214,178,94,.92);
  color:#1b1b1b;
}
.sermons-hero__content h1{
  margin: 14px 0 10px;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.02em;
}
.sermons-hero__content p{
  margin: 0;
  max-width: 720px;
  color: rgba(255,255,255,.88);
  line-height: 1.75;
}
.sermons-hero__actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  align-items:center;
}

/* FILTERS */
.sermons-filters{
  background:#fbfaf8;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 14px 0;
}
.sermons-filters .filters-row{
  display:flex;
  gap: 14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.sermons-filters .filters-search{
  display:flex;
  align-items:center;
  gap: 10px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 280px;
  flex: 1 1 320px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
}
.sermons-filters .filters-search .icon{ opacity:.7; }
.sermons-filters .filters-search input{
  border:0;
  outline:0;
  width:100%;
  font-size: 14px;
  background:transparent;
}
.sermons-filters .filters-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

/* IMPORTANT:
   Don't globally style .filter-btn because other pages may use it.
   Scope it to sermons sections only. */
.sermons-filters .filter-btn,
.sermons-list .filter-btn{
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  cursor:pointer;
  color:#1b1b1b;
}
.sermons-filters .filter-btn:hover,
.sermons-list .filter-btn:hover{
  border-color: rgba(0,0,0,.18);
  transform: translateY(-1px);
  transition: transform .18s ease, border-color .18s ease;
}

/* LIST */
.sermons-list{ padding: 22px 0 52px; background:#fbfaf8; }
.sermons-list .sermons-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.sermons-list .sermons-head h2{
  margin:0;
  font-size: 22px;
  font-weight: 900;
  color:#111;
}
.sermons-list .sermons-meta{
  color: rgba(0,0,0,.55);
  font-weight: 800;
  font-size: 13px;
}

/* GRID */
.sermons-list .sermon-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* CARD */
.sermons-list .sermon-card{
  display:block;
  border:1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  overflow:hidden;
  background:#fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  text-decoration:none;
  color:inherit;
}
.sermons-list .sermon-card:hover{
  transform: translateY(-2px);
  transition: transform .18s ease;
}

.sermons-list .sermon-thumb{
  position:relative;
  height: 170px;
  background:center/cover no-repeat;
  background-color:#eee;
}
.sermons-list .sermon-thumb::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,.05));
}
.sermons-list .sermon-tag{
  position:absolute;
  left: 12px; top: 12px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing:.08em;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  color:#fff;
  backdrop-filter: blur(2px);
}
.sermons-list .sermon-duration{
  position:absolute;
  right: 12px; bottom: 12px;
  z-index:2;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  background: rgba(214,178,94,.92);
  color:#1b1b1b;
}

.sermons-list .sermon-body{ padding: 14px; }
.sermons-list .sermon-date{
  color: rgba(0,0,0,.55);
  font-weight: 900;
  font-size: 12px;
  letter-spacing:.02em;
}
.sermons-list .sermon-title{
  margin-top: 8px;
  font-size: 18px;
  font-weight: 900;
  color:#111;
  line-height: 1.25;
}
.sermons-list .sermon-summary{
  margin-top: 8px;
  color: rgba(0,0,0,.64);
  line-height: 1.7;
  font-size: 13px;
}

/* FOOT */
.sermons-list .sermon-foot{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.06);
  display:flex;
  justify-content:space-between;
  gap: 12px;
  align-items:center;
}
.sermons-list .sermon-speaker{
  display:flex;
  gap: 8px;
  align-items:center;
  color: rgba(0,0,0,.72);
  font-weight: 900;
  font-size: 13px;
}
.sermons-list .sermon-speaker .avatar{
  width: 28px; height: 28px;
  border-radius: 10px;
  background: rgba(0,0,0,.04);
  display:grid;
  place-items:center;
}
.sermons-list .sermon-actions{
  display:flex;
  gap: 8px;
  align-items:center;
}
.sermons-list .mini-btn{
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.06);
  font-weight: 900;
  opacity:.9;
}
.sermons-list .mini-btn:hover{
  background: rgba(0,0,0,.06);
}

/* LOAD MORE */
.sermons-list .load-more{
  text-align:center;
  margin-top: 18px;
}

/* =================
   SUBSCRIBE BAND 
====================*/
.sermons-list + .subscribe-band,
.subscribe-band{
  background: #f7f2e6;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 46px 0;
}
.subscribe-band__inner{ text-align:center; max-width: 760px; margin:0 auto; }
.subscribe-band__icon{
  width: 46px; height:46px; border-radius: 999px;
  background: rgba(109,31,31,.10);
  color: var(--maroon);
  display:grid; place-items:center; margin: 0 auto 10px;
}
.subscribe-band h3{ margin: 0; font-size: 22px; font-weight: 900; }
.subscribe-band p{ margin: 8px 0 16px; color: var(--muted); line-height:1.7; }
.subscribe-form{
  display:flex; gap: 10px; justify-content:center; flex-wrap:wrap;
}
.subscribe-form input{
  flex: 1 1 320px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  outline:none;
}
.subscribe-note{ margin-top: 10px; color: rgba(0,0,0,.45); font-size: 12px; }

/* RESPONSIVE */
@media (max-width: 980px){
  .sermons-hero__content h1{ font-size: 38px; }
  .sermons-list .sermon-grid{ grid-template-columns: 1fr; }
}



/* =========================
   SINGLE SERMON PAGE 
============================= */

.single-sermon{ padding: 0 0 60px; background:#fff; }

.single-sermon .back-link{
  display:inline-block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}
.single-sermon .back-link:hover{ text-decoration: underline; }

/* HERO */
.single-sermon .single-hero{
  position:relative;
  height: 360px;
  border-radius: 18px;
  overflow:hidden;
  background:center/cover no-repeat;
  box-shadow: var(--shadow);
}
.single-sermon .single-hero__overlay{
  position:absolute; inset:0;
  background: rgba(0,0,0,.25);
}
.single-sermon .single-play{
  position:absolute; left:50%; top:50%;
  transform: translate(-50%,-50%);
  width: 62px; height: 62px;
  border-radius: 999px;
  border: 0;
  background: var(--gold);
  color:#1b1b1b;
  font-weight: 900;
  cursor:pointer;
  box-shadow: 0 16px 30px rgba(0,0,0,.25);
}

/* HEADER */
.single-sermon .single-head{
  margin-top: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.single-sermon .single-meta{
  color: rgba(0,0,0,.55);
  font-weight: 800;
  font-size: 12px;
  display:flex;
  gap:8px;
  align-items:center;
}
.single-sermon .single-meta .pill{
  font-weight: 900;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size: 11px;
}
.single-sermon .dotsep{ opacity:.45; }

.single-sermon .single-title-row{
  display:flex;
  gap: 14px;
  justify-content:space-between;
  align-items:flex-start;
  flex-wrap:wrap;
  margin-top: 10px;
}
.single-sermon .single-title-row h1{
  margin:0;
  font-size: 34px;
  font-weight: 900;
}

.single-sermon .single-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.single-sermon .single-actions .chip{
  background: rgba(109,31,31,.06);
  border: 1px solid rgba(109,31,31,.18);
  color: var(--maroon);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.single-sermon .single-actions .chip:hover{
  background: rgba(109,31,31,.10);
  border-color: rgba(109,31,31,.28);
}


.single-sermon .single-desc{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.85;
  max-width: 920px;
}

/* GRID */
.single-sermon .single-grid{
  display:grid;
  grid-template-columns: 1.5fr .75fr;
  gap: 18px;
  margin-top: 18px;
}

/* CONTENT BLOCKS */
.single-sermon .block{
  border:1px solid var(--border);
  border-radius: 16px;
  background:#fff;
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 14px;
}
.single-sermon .block h2{
  margin:0 0 10px;
  font-size: 15px;
  font-weight: 900;
  color: var(--maroon);
  display:flex;
  gap:8px;
  align-items:center;
}
.single-sermon .block p{
  margin: 0;
  color: rgba(0,0,0,.72);
  line-height: 1.85;
}
.single-sermon .bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

/* QUOTE */
.single-sermon .quote-box{
  border:1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 14px;
}
.single-sermon .quote-title{ font-weight: 900; color: var(--maroon); }
.single-sermon .quote-text{ margin-top: 8px; color: var(--muted); line-height: 1.85; }
.single-sermon .quote-link{
  display:inline-block;
  margin-top: 10px;
  font-weight: 900;
  color: var(--gold);
}
.single-sermon .quote-link:hover{ text-decoration: underline; }

/* QUESTIONS */
.single-sermon .questions{ display:flex; flex-direction:column; gap: 10px; }
.single-sermon .q{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.03);
  color: rgba(0,0,0,.72);
  line-height: 1.6;
}
.single-sermon .q span{
  width: 22px; height: 22px;
  border-radius: 999px;
  display:grid; place-items:center;
  background: rgba(109,31,31,.10);
  color: var(--maroon);
  font-weight: 900;
  flex: 0 0 auto;
}

/* SIDEBAR CARDS */
.single-sermon aside .side-card{
  border:1px solid var(--border);
  border-radius: 16px;
  background:#fff;
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 14px;
}
.single-sermon aside .side-card--maroon{
  background: linear-gradient(135deg, rgba(109,31,31,.95), rgba(109,31,31,.70));
  color:#fff;
  border-color: rgba(255,255,255,.10);
}
.single-sermon aside .side-label{
  font-size: 11px;
  letter-spacing:.14em;
  font-weight: 900;
  color: rgba(0,0,0,.45);
}
.single-sermon aside .side-card--maroon .side-label{ color: rgba(255,255,255,.80); }

.single-sermon .speaker-box{ display:flex; gap: 10px; align-items:center; margin-top: 10px; }
.single-sermon .speaker-avatar{
  width: 46px; height:46px;
  border-radius: 12px;
  background: rgba(0,0,0,.06);
  display:grid; place-items:center;
}
.single-sermon .speaker-name{ font-weight: 900; }
.single-sermon .speaker-role{ color: rgba(0,0,0,.55); font-size: 12px; }
.single-sermon .side-card--maroon .speaker-role{ color: rgba(255,255,255,.80); }

.single-sermon .side-link{
  display:inline-block;
  margin-top: 12px;
  font-weight: 900;
  color: var(--maroon);
}
.single-sermon .side-link:hover{ text-decoration: underline; }

/* series */
.single-sermon .series-name{ margin-top: 8px; font-weight: 900; font-size: 16px; }
.single-sermon .series-sub{ margin-top: 4px; font-size: 13px; color: rgba(0,0,0,.65); }
.single-sermon .side-card--maroon .series-sub{ color: rgba(255,255,255,.80); }

/* downloads */
.single-sermon .dl-list{ display:flex; flex-direction:column; gap: 10px; margin-top: 10px; }
.single-sermon .dl-item{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.03);
  color: inherit;
  text-decoration:none;
}
.single-sermon .dl-item:hover{ background: rgba(0,0,0,.05); }
.single-sermon .dl-item span{ color: rgba(0,0,0,.45); font-weight: 800; }

/* tags */
.single-sermon .tags{ display:flex; gap: 8px; flex-wrap:wrap; margin-top: 10px; }
.single-sermon .tag{
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(109,31,31,.08);
  color: var(--maroon);
  font-weight: 900;
  font-size: 12px;
}

/* related */
.single-sermon .related{ margin-top: 22px; }
.single-sermon .related-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.single-sermon .related-head h2{ margin:0; font-size: 18px; font-weight: 900; }
.single-sermon .related-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.single-sermon .rel-card{
  border:1px solid var(--border);
  border-radius: 16px;
  background:#fff;
  box-shadow: var(--shadow);
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  display:block;
}
.single-sermon .rel-card:hover{
  transform: translateY(-1px);
  transition: transform .18s ease;
}
.single-sermon .rel-thumb{ height: 140px; background:center/cover no-repeat; }
.single-sermon .rel-body{ padding: 12px; }
.single-sermon .rel-date{ color: var(--muted); font-size: 12px; }
.single-sermon .rel-title{ margin-top: 6px; font-weight: 900; }
.single-sermon .rel-speaker{ margin-top: 6px; color: var(--muted); font-size: 13px; }

/* responsive */
@media (max-width: 980px){
  .single-sermon .single-grid{ grid-template-columns: 1fr; }
  .single-sermon .related-grid{ grid-template-columns: 1fr; }
  .single-sermon .single-title-row h1{ font-size: 28px; }
  .single-sermon .single-hero{ height: 300px; }
}


/* FULL-WIDTH HERO (ARCHIVE) */
.sermons-hero{ padding: 0; background:#fff; }
.sermons-hero__card{
  border-radius: 0;
  width: 100%;
  min-height: 460px;
}

/* FULL-WIDTH HERO (SINGLE) */
.single-hero-full{
  width: 100%;
  margin: 0 0 14px;
}
.single-sermon .single-hero--full{
  border-radius: 0;
  height: 440px;
  width: 100%;
}

/* Responsive YouTube wrapper */
.single-yt{
  width: 100%;
  background: #000;
  aspect-ratio: 16 / 9;
  max-height: 620px;
}
.single-yt iframe{
  width: 100%;
  height: 100%;
  display: block;
}

/* Mobile tweak */
@media (max-width: 980px){
  .sermons-hero__card{ min-height: 420px; }
  .single-sermon .single-hero--full{ height: 300px; }
}




/* ==================
   MINISTRIES 
===================== */

/* HERO */
.min-hero{ padding: 20px 0 18px; background:#fff; }
.min-hero__card{
  position:relative;
  min-height: 360px;
  border-radius: 18px;
  overflow:hidden;
  background:center/cover no-repeat;
  box-shadow: var(--shadow);
}
.min-hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(86,24,24,.65), rgba(86,24,24,.82));
}
.min-hero__content{
  position:relative;
  z-index:2;
  padding: 76px 22px 56px;
  max-width: 820px;
  color:#fff;
  text-align:center;
  margin: 0 auto;
}
.min-hero__eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  letter-spacing:.18em;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.85);
}
.min-hero__content h1{
  margin: 10px 0 10px;
  font-size: 46px;
  line-height:1.05;
  font-weight: 900;
  letter-spacing: -.02em;
}
.min-hero__content p{
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  line-height:1.8;
}

/* BROWSE */
.min-browse{ padding: 22px 0 44px; background: #fbfaf8; }
.min-browse__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.min-browse__head h2{
  margin:0;
  font-size: 18px;
  font-weight: 900;
  color:#111;
}
.min-calendar{
  color: var(--maroon);
  font-weight: 900;
  text-decoration:none;
}
.min-calendar:hover{ text-decoration:underline; }

/* Pills */
.min-pills{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 14px;
}
.min-pill{
  border:1px solid var(--border);
  background:#fff;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 900;
  cursor:pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}
.min-pill:hover{
  border-color: rgba(0,0,0,.16);
  transform: translateY(-1px);
  transition: transform .18s ease, border-color .18s ease;
}
.min-pill.is-active{
  background: rgba(109,31,31,.10);
  border-color: rgba(109,31,31,.25);
  color: var(--maroon);
}

/* Grid */
.min-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

/* Cards */
.min-card{
  border:1px solid var(--border);
  background:#fff;
  border-radius: 16px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.min-thumb{
  position:relative;
  height: 160px;
  background:center/cover no-repeat;
  background-color:#eee;
}
.min-thumb::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.40), rgba(0,0,0,.04));
}
.min-tag{
  position:absolute;
  left: 12px; top: 12px;
  z-index:2;
  background: rgba(255,255,255,.92);
  color: var(--maroon);
  font-weight: 900;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing:.05em;
}
.min-body{ padding: 14px; }
.min-body h3{
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color:#111;
}
.min-body p{
  margin: 8px 0 10px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
}
.min-link{
  border:0;
  background:transparent;
  color: var(--maroon);
  font-weight: 900;
  cursor:pointer;
  padding:0;
}
.min-link:hover{ text-decoration:underline; }

/* SERVE BAND */
.serve-band{
  background: linear-gradient(135deg, rgba(109,31,31,.96), rgba(109,31,31,.72));
  padding: 58px 0;
  color:#fff;
}
.serve-band__inner{ text-align:center; max-width: 760px; margin: 0 auto; }
.serve-icon{
  width: 46px; height:46px;
  border-radius: 999px;
  background: rgba(214,178,94,.22);
  display:grid;
  place-items:center;
  margin: 0 auto 10px;
}
.serve-band h2{ margin: 0; font-size: 26px; font-weight: 900; }
.serve-band p{ margin: 10px 0 18px; color: rgba(255,255,255,.85); line-height: 1.8; }

/* ====================
   MINISTRIES MODAL 
======================= */

/* Make sure close button stays readable on maroon images */
#minModal .modal__close{
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(0,0,0,.20);
}

/* Ensure the footer buttons look right inside this modal
   without changing event modal buttons */
#minModal .modal__footer{
  gap: 10px;
  flex-wrap:wrap;
}
#minModal .btn.btn--ghost{
  background: rgba(0,0,0,.04);
  color:#111;
  border: 1px solid rgba(0,0,0,.08);
}
#minModal .btn.btn--ghost:hover{ background: rgba(0,0,0,.06); }

/* Fix: your global .btn--ghost is white-on-dark, which is great for hero
   but inside a white modal it can look invisible. This override is scoped. */

/* Scoped maroon button (so we don't clash with any other pages) */
#minModal .btn.btn--maroon{
  background: var(--maroon);
  color:#fff;
  border: 1px solid rgba(0,0,0,.08);
}
#minModal .btn.btn--maroon:hover{ filter: brightness(.98); }

/* Responsive */
@media (max-width: 980px){
  .min-hero__content h1{ font-size: 34px; }
  .min-grid{ grid-template-columns: 1fr; }
  /* Global modal already changes panel margin + cols, but safe to reinforce */
  #minModal .modal__panel{ margin: 18px auto; }
  #minModal .modal__cols{ grid-template-columns: 1fr; }
}
/* =========================
   MINISTRIES MODAL 
========================= */
#minModal.modal{ z-index: 99999; } /* ensure it's above header */

#minModal .modal__panel{
  width: min(920px, calc(100% - 28px));
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

#minModal .modal__hero{
  height: 210px;
  background: center/cover no-repeat;
  position: relative;
}

/* nicer overlay like your screenshot (not grey/flat) */
#minModal .modal__heroOverlay{
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.60), rgba(0,0,0,.15));
}

/* title block in hero */
#minModal .modal__heroContent{
  position:absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  color:#fff;
}

#minModal .modal__tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(214,178,94,.95);
  color:#1b1b1b;
  font-weight: 900;
  font-size: 11px;
  letter-spacing:.12em;
  text-transform: uppercase;
}

#minModal .modal__heroContent h3{
  margin: 10px 0 0;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-shadow: 0 10px 22px rgba(0,0,0,.25);
}

/* close button looks like screenshot */
#minModal .modal__close{
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
}
#minModal .modal__close:hover{ background: rgba(0,0,0,.55); }

/* body spacing */
#minModal .modal__body{
  padding: 18px 18px 16px;
}

/* section title */
#minModal .modal__sectionTitle{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  color: #111;
  margin-bottom: 8px;
}
#minModal .modal__sectionTitle::before{
  content:"i";
  width: 22px; height: 22px;
  border-radius: 999px;
  display:grid; place-items:center;
  background: rgba(109,31,31,.10);
  color: var(--maroon);
  font-weight: 900;
  font-size: 12px;
}

#minModal .modal__section p{
  margin: 0;
  color: rgba(0,0,0,.70);
  line-height: 1.85;
}

/* columns (Schedule / Get involved) look like cards */
#minModal .modal__cols{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#minModal .modal__box{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #fbfaf8;
  padding: 14px;
}

#minModal .modal__boxTitle{
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .14em;
  color: rgba(0,0,0,.55);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* schedule rows: aligned like screenshot */
#minModal .modal__list{
  display:flex;
  flex-direction:column;
  gap: 8px;
}
#minModal .modal__row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  font-weight: 800;
  font-size: 13px;
  color:#222;
}
#minModal .modal__row span{
  color: rgba(0,0,0,.55);
  font-weight: 900;
}

/* bullets: clean */
#minModal .modal__bullets{
  margin: 0;
  padding-left: 18px;
  color: rgba(0,0,0,.70);
  line-height: 1.85;
}
#minModal .modal__bullets li{ margin: 6px 0; }

/* footer like screenshot: buttons right */
#minModal .modal__footer{
  padding: 14px 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap: 12px;
  background: #fff;
}

/* make Close look like text */
#minModal .modal__footer .btn.btn--ghost{
  background: transparent;
  border: 0;
  padding: 10px 12px;
  color: rgba(0,0,0,.55);
  font-weight: 900;
}
#minModal .modal__footer .btn.btn--ghost:hover{
  text-decoration: underline;
  background: transparent;
}

/* maroon CTA pill */
#minModal .btn--maroon{
  background: var(--maroon);
  color:#fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0,0,0,.16);
}
#minModal .btn--maroon:hover{ filter: brightness(1.03); }

@media (max-width: 980px){
  #minModal .modal__panel{ margin: 18px auto; }
  #minModal .modal__cols{ grid-template-columns: 1fr; }
  #minModal .modal__heroContent h3{ font-size: 28px; }
}

/* FULL-WIDTH HERO */
.min-hero{ padding: 0 0 18px; background:#fff; }
.min-hero__card--full{
  border-radius: 0;
  width: 100%;
  min-height: 420px;
  box-shadow: none; /* optional: cleaner full-width hero */
}

/* Scrollable gallery (ministry modal) */
.min-gallery{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}
.min-gallery__item{
  flex: 0 0 auto;
  width: 180px;
  height: 110px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.08);
  background:#f2f2f2;
  scroll-snap-align: start;
}
.min-gallery__item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.min-gallery::-webkit-scrollbar{ height: 8px; }
.min-gallery::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.18);
  border-radius: 999px;
}


/* =========================
   HOME PAGE (scoped)
   (append at END of style.css)
========================= */

.home .section-title{
  margin:0;
  font-size: 28px;
  font-weight: 900;
  color:#111;
}
.home .section-title.center{ text-align:center; }

.home .section-head2{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  margin-bottom: 14px;
}

/* ===== Our Mission block ===== */
.home .mission2{
  padding: 56px 0;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.home .section-center{
  max-width: 860px;
  margin: 0 auto;
  text-align:center;
}
.home .section-accent{
  width: 52px;
  height: 6px;
  border-radius: 999px;
  background: rgba(214,178,94,.95);
  margin: 0 auto 14px;
}
.home .section-title.maroon{ color: var(--maroon); }

.home .section-text{
  margin: 10px auto 14px;
  max-width: 760px;
  color: rgba(0,0,0,.70);
  line-height: 1.9;
  font-size: 15px;
}

/* ===== Connect & Grow cards ===== */
.home .ministries2{
  padding: 46px 0 56px;
  background:#fbfaf8;
  border-top:1px solid rgba(0,0,0,.06);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.home .cards3{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* IMPORTANT: homepage min-card is different from ministries page min-card.
   So we scope it here only. */
.home a.min-card{
  display:block;
  border:1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  overflow:hidden;
  background:#fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  text-decoration:none;
  color:inherit;
}
.home a.min-card:hover{
  transform: translateY(-2px);
  transition: transform .18s ease;
}

.home .min-card__img{
  height: 160px;
  background:center/cover no-repeat;
  background-color:#eee;
  position:relative;
}
.home .min-card__img::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.40), rgba(0,0,0,.06));
}

.home .min-card__body{ padding: 14px; }
.home .min-card__title{
  font-weight: 900;
  font-size: 16px;
  color:#111;
}
.home .min-card__text{
  margin-top: 8px;
  color: rgba(0,0,0,.65);
  line-height: 1.7;
  font-size: 13px;
}

/* ===== Upcoming Events list ===== */
.home .events2{
  padding: 52px 0 64px;
  background:#fff;
}
.home .event-list{
  margin-top: 14px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.home .event-row{
  display:grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items:center;
  background:#fbfaf8;
  border:1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 12px;
}
.home .event-date{
  border-radius: 14px;
  background: var(--maroon);
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height: 78px;
}
.home .event-month{ font-weight: 900; font-size: 12px; letter-spacing:.12em; opacity:.9; }
.home .event-day{ font-weight: 900; font-size: 26px; line-height:1; }

.home .event-name{ font-weight: 900; font-size: 16px; }
.home .event-meta{
  margin-top: 6px;
  color: rgba(0,0,0,.60);
  font-weight: 800;
  font-size: 13px;
  line-height:1.5;
}

/* Responsive */
@media (max-width: 980px){
  .home .cards3{ grid-template-columns: 1fr; }
  .home .event-row{ grid-template-columns: 84px 1fr; }
  .home .event-row .btn{ grid-column: 1 / -1; justify-self: flex-start; }
}

/* =========================
   HOME: HERO CAROUSEL
========================= */
.hero-carousel{
  position:relative;
}
.hero-carousel__track{
  height:520px;
  display:flex;
  width:100%;
  transition: transform .32s ease;
}
.hero-carousel__slide{
  position:relative;
  min-width:100%;
  height:520px;
  overflow:hidden;
}
.hero-carousel__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.95);
}
.hero-carousel .hero2__bg{ position:absolute; inset:0; }

.hero-carousel__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(0,0,0,.25);
  color:#fff;
  font-size:28px;
  display:grid;place-items:center;
  cursor:pointer;
  z-index:5;
  backdrop-filter: blur(2px);
}
.hero-carousel__nav:hover{ background:rgba(0,0,0,.35); }
.hero-carousel__nav--left{ left:14px; }
.hero-carousel__nav--right{ right:14px; }

.hero-carousel__dots{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:14px;
  display:flex;
  gap:8px;
  z-index:6;
}
.hero-carousel__dot{
  width:10px;height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.45);
  background:rgba(255,255,255,.22);
  cursor:pointer;
}
.hero-carousel__dot.is-active{
  background: rgba(214,178,94,.95);
  border-color: rgba(214,178,94,.95);
}

/* =========================
   HOME: SCROLLABLE GALLERY
========================= */
.home-gallery{
  padding: 10px 0 62px;
  background:#fbfaf8;
  border-top:1px solid rgba(0,0,0,.06);
}
.home-gallery__row{
  margin-top: 12px;
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.home-gallery__thumb{
  flex: 0 0 auto;
  width: 220px;
  height: 140px;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  background:#f2f2f2;
  cursor:pointer;
  scroll-snap-align: start;
  padding:0;
}
.home-gallery__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.home-gallery__row::-webkit-scrollbar{ height: 8px; }
.home-gallery__row::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.18);
  border-radius: 999px;
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  display:none;
  z-index:999999;
}
.lightbox.is-open{ display:block; }
.lightbox__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.70);
  backdrop-filter: blur(2px);
}
.lightbox__panel{
  position:relative;
  width:min(980px, calc(100% - 28px));
  margin: 40px auto;
  border-radius: 18px;
  overflow:hidden;
  background:#111;
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
}
.lightbox__close{
  position:absolute;
  top:10px; right:10px;
  width:38px; height:38px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.35);
  color:#fff;
  font-size:24px;
  cursor:pointer;
  z-index:3;
}
.lightbox__img{
  width:100%;
  max-height: 78vh;
  object-fit:contain;
  display:block;
  background:#000;
}
.lightbox__cap{
  padding: 12px 14px;
  background:#111;
  color: rgba(255,255,255,.85);
  font-weight: 800;
  font-size: 13px;
  border-top:1px solid rgba(255,255,255,.08);
}

