/* ==========================================================================
   Missionary Apostolate for the Sick and Suffering — Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* Color tokens */
  --maroon-950:#330d16;
  --maroon-900:#4a1420;
  --maroon-800:#5e1a29;
  --maroon-700:#742233;
  --maroon-600:#8a2c3f;
  --gold-500:#c99a3a;
  --gold-400:#d9b969;
  --gold-100:#f4e6c4;
  --cream-100:#faf6ee;
  --cream-200:#f2ebdc;
  --cream-300:#e9dfcb;
  --ink-900:#2a1a14;
  --ink-700:#4a3a30;
  --ink-500:#7a6a5c;
  --ink-300:#b8ab9c;
  --white:#ffffff;

  /* Type */
  --font-display:'Playfair Display', 'Georgia', serif;
  --font-quote:'Cormorant Garamond', 'Georgia', serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container:1200px;
  --radius-sm:6px;
  --radius-md:12px;
  --radius-lg:20px;
  --shadow-sm:0 2px 8px rgba(42,26,20,0.06);
  --shadow-md:0 8px 30px rgba(42,26,20,0.10);
  --shadow-lg:0 20px 60px rgba(42,26,20,0.18);
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink-900);
  background:var(--cream-100);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,textarea{ font-family:inherit; }
h1,h2,h3,h4,p{ margin:0; }
:focus-visible{ outline:2px solid var(--gold-500); outline-offset:3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 32px;
}

/* ---------- Typography helpers ---------- */
.eyebrow{
  display:inline-block;
  font-family:var(--font-body);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gold-500);
  margin-bottom:14px;
}
.eyebrow.on-dark{ color:var(--gold-400); }

h1,h2,h3{ font-family:var(--font-display); font-weight:600; color:var(--maroon-900); }
.on-dark h1,.on-dark h2,.on-dark h3,.on-dark p{ color:var(--white); }

.section-title{ font-size:40px; line-height:1.15; margin-bottom:16px; }
.section-lede{ font-size:17px; color:var(--ink-500); max-width:640px; margin:0 auto; }
.section-header{ text-align:center; margin-bottom:52px; }
.section-header.align-left{ text-align:left; margin-bottom:40px; }

.section{ padding:88px 0; }
.section.tight{ padding:64px 0; }
.section--cream{ background:var(--cream-100); }
.section--alt{ background:var(--cream-200); }
.section--maroon{ background:var(--maroon-900); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 28px;
  font-size:13px;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  border-radius:999px;
  border:1.5px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-1px); }
.btn-sm{ padding:10px 18px; font-size:11.5px; }

.btn-maroon{ background:var(--maroon-800); color:var(--white); }
.btn-maroon:hover{ background:var(--maroon-700); box-shadow:var(--shadow-md); }

.btn-gold{ background:var(--gold-500); color:var(--maroon-950); }
.btn-gold:hover{ background:var(--gold-400); box-shadow:var(--shadow-md); }

.btn-outline-light{ background:transparent; color:var(--white); border-color:rgba(255,255,255,0.55); }
.btn-outline-light:hover{ background:rgba(255,255,255,0.12); border-color:var(--white); }

.btn-outline-maroon{ background:transparent; color:var(--maroon-800); border-color:var(--maroon-800); }
.btn-outline-maroon:hover{ background:var(--maroon-800); color:var(--white); }

.btn-block{ width:100%; }

/* ---------- Top announcement bar ---------- */
.topbar{
  background:var(--maroon-950);
  color:var(--gold-100);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:0.04em;
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:10px;
  padding-bottom:10px;
}
.topbar-msg{ display:flex; align-items:center; gap:8px; }
.topbar-msg svg{ flex:none; }
.topbar-cta{ display:flex; align-items:center; gap:10px; white-space:nowrap; }
.topbar-cta span{ opacity:.85; display:none; }
.topbar-link{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.25);
  color:var(--white);
  padding:7px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
}

/* ---------- Header ---------- */
.site-header{
  background:var(--cream-100);
  border-bottom:1px solid var(--cream-300);
  position:sticky;
  top:0;
  z-index:100;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:16px;
  padding-bottom:16px;
  gap:24px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{
  width:46px; height:46px; border-radius:50%;
  border:1.5px solid var(--gold-500);
  display:flex; align-items:center; justify-content:center;
  color:var(--maroon-800); flex:none;
  overflow:hidden;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-name{ font-family:var(--font-display); font-weight:700; font-size:18px; color:var(--maroon-900); }
.brand-tag{ font-size:9.5px; font-weight:700; letter-spacing:0.1em; color:var(--gold-500); text-transform:uppercase; }

.main-nav ul{ display:flex; align-items:center; gap:34px; }
.main-nav a{
  font-size:14.5px; font-weight:600; color:var(--ink-700);
  transition:color .15s ease;
  position:relative;
}
.main-nav a:hover, .main-nav a.active{ color:var(--maroon-800); }
.main-nav a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--gold-500);
}

.header-actions{ display:flex; align-items:center; gap:16px; }
.nav-toggle{
  display:none;
  background:none; border:none; padding:6px;
  color:var(--maroon-900);
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  color:var(--white);
  text-align:center;
  padding:96px 0 84px;
  background-size:cover;
  background-position:center;
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(74,20,32,0.78), rgba(51,13,22,0.92));
}
.hero .container{ position:relative; z-index:1; max-width:820px; }
.hero-icon{
  width:64px; height:64px; margin:0 auto 22px;
  border:1.5px solid var(--gold-400);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--gold-400);
}
.hero h1{ font-size:52px; line-height:1.14; margin-bottom:20px; color:var(--white); }
.hero p{ font-size:17px; color:rgba(255,255,255,0.85); max-width:620px; margin:0 auto; }
.hero-chips{
  display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:30px;
}
.chip{
  display:flex; align-items:center; gap:8px;
  border:1px solid rgba(255,255,255,0.3);
  border-radius:999px;
  padding:9px 18px;
  font-size:12.5px; font-weight:600;
  color:var(--white);
}
.chip svg{ color:var(--gold-400); flex:none; }

.hero--sub{ padding:80px 0 68px; }
.hero--sub h1{ font-size:46px; }

/* ---------- Quote banner ---------- */
.quote-banner{
  background:var(--maroon-900);
  color:var(--white);
  text-align:center;
  padding:40px 0;
}
.quote-banner svg{ color:var(--gold-400); margin-bottom:14px; }
.quote-banner p{ font-family:var(--font-quote); font-style:italic; font-size:22px; max-width:720px; margin:0 auto 10px; }
.quote-banner cite{ font-style:normal; font-size:11.5px; font-weight:700; letter-spacing:0.12em; color:var(--gold-400); }

/* ---------- Mission section ---------- */
.mission-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.mission-photo{ position:relative; }
.mission-photo img{ border-radius:var(--radius-md); box-shadow:var(--shadow-md); }
.mission-caption{ font-size:12.5px; color:var(--ink-500); margin-top:12px; font-style:italic; }

.mission-list{ margin-top:28px; display:flex; flex-direction:column; gap:26px; }
.mission-item{ display:flex; gap:18px; }
.mission-icon{
  width:46px; height:46px; border-radius:50%;
  background:var(--maroon-900); color:var(--gold-400);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.mission-item h3{ font-size:18.5px; margin-bottom:6px; }
.mission-item p{ font-size:15px; color:var(--ink-500); }

/* ---------- Stained glass strip ---------- */
.glass-strip{ display:block; width:100%; height:220px; object-fit:cover; }

/* ---------- Prayer section ---------- */
.prayer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:32px;
  align-items:start;
}
.accordion-item{
  background:var(--white);
  border:1px solid var(--cream-300);
  border-radius:var(--radius-sm);
  margin-bottom:12px;
  overflow:hidden;
}
.accordion-item.is-open{ border-color:var(--gold-500); }
.accordion-trigger{
  width:100%;
  background:none; border:none;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:18px 20px;
  font-family:var(--font-display);
  font-size:16px; font-weight:600; color:var(--maroon-900);
  text-align:left;
}
.accordion-trigger .left{ display:flex; align-items:center; gap:12px; }
.accordion-trigger svg.heart{ color:var(--gold-500); flex:none; }
.accordion-trigger svg.chev{ transition:transform .2s ease; color:var(--ink-500); flex:none; }
.accordion-item.is-open .chev{ transform:rotate(180deg); }
.accordion-panel{
  max-height:0;
  overflow:hidden;
  transition:max-height .25s ease;
}
.accordion-item.is-open .accordion-panel{ max-height:220px; }
.accordion-panel-inner{ padding:0 20px 20px 52px; font-size:14.5px; color:var(--ink-500); }

.prayer-card{
  background:var(--maroon-900);
  color:var(--white);
  border-radius:var(--radius-md);
  padding:34px;
}
.prayer-card h3{ font-size:21px; margin-bottom:10px; color:var(--white); }
.prayer-card p{ font-size:14.5px; color:rgba(255,255,255,0.78); margin-bottom:22px; }
.field{
  width:100%;
  /* background:rgba(255,255,255,0.06); */
  background-color: var(--cream-200);
  border:1px solid black;
  border-radius:var(--radius-sm);
  padding:13px 16px;
  color:black;
  font-size:14px;
  margin-bottom:14px;
}
.field::placeholder{ color:rgba(255,255,255,0.55); }
textarea.field{ resize:vertical; min-height:90px; color: black }

/* ---------- Donation / CTA banner ---------- */
.donate-banner{
  position:relative;
  color:var(--white);
  text-align:center;
  padding:76px 0;
  background-size:cover; background-position:center;
}
.donate-banner::before{ content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(74,20,32,0.88), rgba(51,13,22,0.94)); }
.donate-banner .container{ position:relative; z-index:1; max-width:680px; }
.donate-banner h2{ color:var(--white); font-size:38px; margin-bottom:14px; }
.donate-banner p{ font-size:15.5px; color:rgba(255,255,255,0.82); margin-bottom:30px; }
.amount-row{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-bottom:26px; }
.amount-btn{
  padding:11px 22px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.35);
  background:rgba(255,255,255,0.05);
  color:var(--white);
  font-weight:700; font-size:14px;
}
.amount-btn.is-active{ background:var(--gold-500); border-color:var(--gold-500); color:var(--maroon-950); }
.donate-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- Blog cards / teaser ---------- */
.section-flex-header{
  display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:36px; gap:20px;
}
.see-all{ font-size:13.5px; font-weight:700; color:var(--maroon-800); display:flex; align-items:center; gap:6px; }

.blog-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.blog-grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }

.post-card{
  background:var(--white);
  border-radius:var(--radius-md);
  overflow:hidden;
  border:1px solid var(--cream-300);
  transition:transform .18s ease, box-shadow .18s ease;
}
.post-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.post-card img{ width:100%; height:190px; object-fit:cover; }
.post-body{ padding:22px 22px 24px; }
.post-meta{ display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.badge{
  display:inline-block;
  background:var(--maroon-900); color:var(--white);
  font-size:10.5px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  padding:5px 10px; border-radius:4px;
}
.badge.outline{ background:transparent; color:var(--maroon-800); border:1px solid var(--maroon-800); }
.post-date{ font-size:12.5px; color:var(--ink-500); }
.post-body h3{ font-size:19px; line-height:1.35; margin-bottom:10px; }
.post-body p{ font-size:14px; color:var(--ink-500); margin-bottom:16px; }
.post-link{ font-size:12.5px; font-weight:700; color:var(--maroon-800); display:inline-flex; align-items:center; gap:6px; }
.post-link svg{ transition:transform .15s ease; }
.post-card:hover .post-link svg{ transform:translateX(3px); }

.post-author{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:16px; border-top:1px solid var(--cream-300); }
.author-chip{ display:flex; align-items:center; gap:10px; font-size:13.5px; font-weight:700; color:var(--maroon-900); }
.author-avatar{ width:34px; height:34px; border-radius:50%; background:var(--maroon-800); flex:none; }

/* ---------- Blog page specific ---------- */
.filter-tabs{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.filter-tab{
  padding:10px 20px; border-radius:999px; border:1px solid var(--cream-300);
  background:var(--white); font-size:13.5px; font-weight:600; color:var(--ink-700);
}
.filter-tab.is-active{ background:var(--maroon-900); border-color:var(--maroon-900); color:var(--white); }

.featured-post{
  display:grid; grid-template-columns:1fr 1fr; gap:0;
  background:var(--white); border:1px solid var(--cream-300); border-radius:var(--radius-md);
  overflow:hidden; margin-bottom:48px;
}
.featured-post img{ width:100%; height:100%; object-fit:cover; min-height:280px; }
.featured-body{ padding:40px; display:flex; flex-direction:column; justify-content:center; }
.featured-body h3{ font-size:28px; margin:14px 0 14px; line-height:1.25; }
.featured-body p{ color:var(--ink-500); font-size:15px; margin-bottom:24px; }

.blog-layout{ display:grid; grid-template-columns:2.5fr 1fr; gap:40px; align-items:start; }
.category-list li{ display:flex; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--cream-300); font-size:14.5px; color:var(--ink-700); font-weight:600; }
.category-list li span.count{ color:var(--ink-500); font-weight:500; }
.sidebar-card{ background:var(--white); border:1px solid var(--cream-300); border-radius:var(--radius-md); padding:26px; margin-bottom:24px; }
.sidebar-card h4{ font-family:var(--font-display); font-size:18px; color:var(--maroon-900); margin-bottom:16px; }

.subscribe-card{ background:var(--maroon-900); color:var(--white); border-radius:var(--radius-md); padding:28px; }
.subscribe-card h4{ font-family:var(--font-display); font-size:19px; color:var(--white); margin-bottom:10px; }
.subscribe-card p{ font-size:13.5px; color:rgba(255,255,255,0.78); margin-bottom:18px; }

.pagination{ display:flex; justify-content:center; gap:8px; margin-top:44px; }
.page-btn{
  min-width:40px; height:40px; padding:0 14px;
  display:flex; align-items:center; justify-content:center;
  border-radius:var(--radius-sm); border:1px solid var(--cream-300);
  background:var(--white); font-size:13.5px; font-weight:700; color:var(--ink-700);
}
.page-btn.is-active{ background:var(--maroon-900); border-color:var(--maroon-900); color:var(--white); }

/* ---------- Sponsorship / pricing cards (Touch a Life) ---------- */
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.price-card{
  background:var(--white); border:1.5px solid var(--cream-300); border-radius:var(--radius-md);
  padding:36px 32px; text-align:left;
}
.price-card.is-featured{ border-color:var(--gold-500); box-shadow:var(--shadow-md); position:relative; }
.price-card-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:18px; }
.price-card h3{ font-size:20px; }
.price-tag{ font-family:var(--font-display); font-size:34px; color:var(--maroon-900); margin:6px 0 18px; }
.price-tag span{ font-family:var(--font-body); font-size:14px; color:var(--ink-500); font-weight:600; }
.price-card > p{ font-size:14px; color:var(--ink-500); margin-bottom:26px; min-height:66px; }
.pill-note{ background:var(--gold-500); color:var(--maroon-950); font-size:10.5px; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; padding:5px 11px; border-radius:999px; }

/* ---------- Volunteer cards ---------- */
.volunteer-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.volunteer-card{ background:var(--white); border:1px solid var(--cream-300); border-radius:var(--radius-md); padding:30px; }
.volunteer-icon{ width:52px; height:52px; border-radius:50%; background:var(--maroon-800); color:var(--white); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.volunteer-card h3{ font-size:18.5px; margin-bottom:10px; }
.volunteer-card p{ font-size:14px; color:var(--ink-500); margin-bottom:16px; }
.volunteer-card a{ font-size:12.5px; font-weight:700; color:var(--maroon-800); display:inline-flex; align-items:center; gap:6px; }

/* ---------- Stats ---------- */
.stats-row{ display:flex; align-items:center; justify-content:center; }
.stat{ flex:1; text-align:center; padding:0 24px; }
.stat-num{ font-family:var(--font-display); font-size:40px; color:var(--maroon-900); }
.stat-label{ font-size:12px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--ink-500); margin-top:8px; }
.stat-divider{ width:1px; height:56px; background:var(--cream-300); }

/* ---------- Testimonial ---------- */
.testimonial-box{
  max-width:760px; margin:0 auto;
  border:1.5px solid var(--gold-500); border-radius:var(--radius-lg);
  background:var(--white); padding:50px 56px; text-align:center;
}
.testimonial-box svg{ color:var(--gold-500); margin-bottom:18px; }
.testimonial-box p.quote{ font-family:var(--font-quote); font-style:italic; font-size:23px; line-height:1.5; color:var(--maroon-900); margin-bottom:22px; }
.testimonial-name{ font-weight:700; font-size:14.5px; color:var(--ink-900); }
.testimonial-role{ font-size:13px; color:var(--ink-500); margin-top:2px; }

/* ---------- Media page ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.gallery-card{ background:var(--white); border:1px solid var(--cream-300); border-radius:var(--radius-md); overflow:hidden; }
.gallery-card img{ width:100%; height:230px; object-fit:cover; }
.gallery-body{ padding:20px 22px 24px; }
.gallery-body h3{ font-size:17.5px; margin-bottom:6px; }
.gallery-body p{ font-size:13.5px; color:var(--ink-500); }

/* ---------- Gallery slider (Media page) ---------- */
.gallery-slider{ position:relative; }
.gallery-viewport{
  overflow-x:auto; scroll-behavior:smooth;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.gallery-viewport::-webkit-scrollbar{ display:none; }
.gallery-track{ display:flex; gap:24px; }
.gallery-track .gallery-card{
  flex:0 0 calc((100% - 48px)/3);
  scroll-snap-align:start;
}
.slider-nav{ display:flex; justify-content:center; gap:14px; margin-top:26px; }
.slider-btn{
  padding:11px 22px; border-radius:999px; border:1.5px solid var(--maroon-800);
  background:var(--white); color:var(--maroon-800); font-size:13px; font-weight:700;
}
.slider-btn:hover{ background:var(--maroon-800); color:var(--white); }

.sermon-wrap{ max-width:900px; margin:0 auto; text-align:center; }
.sermon-wrap h2.watermark{ opacity:.35; }
.video-frame{
  position:relative; border-radius:var(--radius-md); overflow:hidden; margin-top:30px;
  aspect-ratio:16/8; background-size:cover; background-position:center;
}
.video-frame::before{ content:''; position:absolute; inset:0; background:rgba(20,6,10,0.4); }
.play-btn{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:76px; height:76px; border-radius:50%; background:var(--gold-500);
  display:flex; align-items:center; justify-content:center; color:var(--maroon-950);
  border:none; box-shadow:var(--shadow-lg);
}
.play-btn:hover{ background:var(--gold-400); }

.pdf-list{ max-width:700px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.pdf-item{
  display:flex; align-items:center; gap:16px;
  background:var(--white); border:1px solid var(--cream-300); border-radius:var(--radius-md);
  padding:18px 22px;
}
.pdf-icon{
  width:44px; height:44px; border-radius:var(--radius-sm); background:var(--maroon-900); color:var(--gold-400);
  display:flex; align-items:center; justify-content:center; font-size:10.5px; font-weight:800; flex:none;
}
.pdf-info{ flex:1; }
.pdf-info h4{ font-size:15px; color:var(--ink-900); font-weight:700; }
.pdf-info span{ font-size:12.5px; color:var(--ink-500); }
.pdf-download{ color:var(--maroon-800); flex:none; }
.pdf-download:hover{ color:var(--gold-500); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--maroon-950); color:rgba(255,255,255,0.75); }
.footer-top{ padding:64px 0 40px; display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; }
.footer-brand .brand-name, .footer-brand .brand-tag{ color:var(--white); }
.footer-brand .brand-tag{ color:var(--gold-400); }
.footer-brand p{ font-size:13.5px; color:rgba(255,255,255,0.6); margin-top:16px; max-width:280px; }
.footer-col h4{ font-family:var(--font-display); font-size:15.5px; color:var(--gold-400); margin-bottom:18px; font-weight:600; }
.footer-col li{ margin-bottom:11px; }
.footer-col a{ font-size:13.5px; color:rgba(255,255,255,0.72); }
.footer-col a:hover{ color:var(--gold-400); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.12);
  padding:22px 0;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-size:12.5px; color:rgba(255,255,255,0.55);
}
.social-row{ display:flex; gap:10px; }
.social-icon{
  width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center; color:var(--white);
}
.social-icon:hover{ background:var(--gold-500); color:var(--maroon-950); }

/* ---------- Mobile nav drawer ---------- */
.mobile-drawer{
  position:fixed; inset:0 0 0 auto; width:78%; max-width:320px;
  background:var(--cream-100); z-index:200;
  transform:translateX(100%); transition:transform .25s ease;
  padding:28px 26px; box-shadow:var(--shadow-lg);
  display:flex; flex-direction:column; gap:26px;
}
.mobile-drawer.is-open{ transform:translateX(0); }
.mobile-drawer nav ul{ display:flex; flex-direction:column; gap:20px; }
.mobile-drawer a{ font-size:16px; font-weight:600; color:var(--maroon-900); }
.drawer-close{ align-self:flex-end; background:none; border:none; color:var(--maroon-900); }
.drawer-backdrop{
  position:fixed; inset:0; background:rgba(20,6,10,0.5); z-index:190;
  opacity:0; pointer-events:none; transition:opacity .25s ease;
}
.drawer-backdrop.is-open{ opacity:1; pointer-events:auto; }

/* ---------- Contact page ---------- */
.contact-layout{ display:grid; grid-template-columns:1.6fr 1fr; gap:32px; align-items:start; }
.contact-form-card{
  background:var(--white); border:1px solid var(--cream-300); border-radius:var(--radius-md);
  padding:44px;
}
.contact-form-card h2{ font-size:26px; margin-bottom:8px; }
.contact-form-card > p{ font-size:14.5px; color:var(--ink-500); margin-bottom:30px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group{ margin-bottom:18px;}
.form-group label{ display:block; font-size:13.5px; font-weight:700; color:var(--ink-900); margin-bottom:8px;}
.form-group label > textarea{
  border: 2px solid red;
}

.office-card{
  background:var(--maroon-900); color:var(--white);
  border:1.5px solid var(--gold-500); border-radius:var(--radius-md);
  padding:32px; margin-bottom:24px;
}
.office-card h3{ font-size:21px; color:var(--white); margin-bottom:22px; }
.office-row{ display:flex; gap:14px; margin-bottom:20px; }
.office-row:last-child{ margin-bottom:0; }
.office-row svg{ color:var(--gold-400); flex:none; margin-top:2px; }
.office-row .label{ font-size:11.5px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--gold-400); margin-bottom:4px; display:block; }
.office-row p, .office-row a{ font-size:14px; color:rgba(255,255,255,0.85); }

.hours-card{
  background:var(--white); border:1px solid var(--cream-300); border-radius:var(--radius-md);
  padding:28px 32px; margin-bottom:24px;
}
.hours-card h3{ font-size:19px; margin-bottom:18px; }
.hours-row{ display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--cream-200); font-size:14px; }
.hours-row:last-child{ border-bottom:none; }
.hours-row .day{ font-weight:700; color:var(--ink-900); }
.hours-row .time{ color:var(--ink-500); }

.map-card{
  position:relative; border-radius:var(--radius-md); overflow:hidden;
  min-height:220px; background:#16233d; background-size:cover; background-position:center;
  display:flex; align-items:flex-start; justify-content:center; padding-top:24px;
}
.map-card::before{ content:''; position:absolute; inset:0; background:rgba(10,16,30,0.35); }
.map-card-label{ position:relative; z-index:1; text-align:center; color:var(--white); }
.map-card-label strong{ font-size:15px; letter-spacing:0.05em; }
.map-card-label span{ display:block; font-size:11px; color:rgba(255,255,255,0.7); margin-top:4px; }
.map-card-btn{
  position:absolute; z-index:1; bottom:24px; left:50%; transform:translateX(-50%);
  background:var(--white); color:var(--maroon-900); font-weight:700; font-size:13px;
  padding:11px 22px; border-radius:999px; white-space:nowrap;
}

/* ---------- About page ---------- */
.story-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.story-grid img{ border-radius:var(--radius-md); box-shadow:var(--shadow-md); }
.story-grid p{ color:var(--ink-500); font-size:15px; margin-bottom:16px; }

.values-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.value-card{ background:var(--cream-100); border:1px solid var(--cream-300); border-radius:var(--radius-md); padding:26px; }
.value-icon{ width:42px; height:42px; border-radius:8px; background:var(--maroon-900); color:var(--gold-400); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.value-card h3{ font-size:17px; margin-bottom:8px; }
.value-card p{ font-size:13.5px; color:var(--ink-500); }

.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.team-card{ background:var(--white); border:1px solid var(--cream-300); border-radius:var(--radius-md); overflow:hidden; }
.team-card img{ width:100%; height:230px; object-fit:cover; }
.team-card-body{ padding:20px; }
.team-card-body h3{ font-size:17px; margin-bottom:4px; }
.team-role{ font-size:11px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--gold-500); margin-bottom:10px; display:block; }
.team-card-body p{ font-size:13px; color:var(--ink-500); }

.timeline{ position:relative; max-width:760px; margin:0 auto; padding-left:130px; }
.timeline::before{ content:''; position:absolute; left:100px; top:6px; bottom:6px; width:2px; background:var(--cream-300); }
.timeline-item{ position:relative; padding-bottom:44px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-year{ position:absolute; left:-130px; top:0; width:90px; text-align:right; font-family:var(--font-display); font-size:22px; color:var(--maroon-900); font-weight:600; }
.timeline-dot{ position:absolute; left:-34px; top:8px; width:12px; height:12px; border-radius:50%; background:var(--gold-500); border:3px solid var(--cream-100); box-shadow:0 0 0 1px var(--gold-500); }
.timeline-item h3{ font-size:18px; margin-bottom:6px; }
.timeline-item p{ font-size:14px; color:var(--ink-500); }

/* ---------- Django messages ---------- */
.django-messages{ max-width:var(--container); margin:18px auto 0; padding:0 32px; }
.django-message{
  padding:14px 20px; border-radius:var(--radius-sm); font-size:14px; font-weight:600; margin-bottom:10px;
}
.django-message.success{ background:#e6f4ea; color:#1e6b3a; border:1px solid #b7ddc3; }
.django-message.error{ background:#fbe8e8; color:#a3261f; border:1px solid #f0bcbc; }

/* ---------- Form errors ---------- */
.field-errors{ color:#c0392b; font-size:12.5px; margin:-10px 0 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px){
  .mission-grid, .prayer-grid, .blog-layout{ grid-template-columns:1fr; }
  .pricing-grid, .volunteer-grid, .blog-grid-3{ grid-template-columns:repeat(2,1fr); }
  .featured-post{ grid-template-columns:1fr; }
  .featured-post img{ min-height:220px; }
  .gallery-track .gallery-card{ flex-basis:calc((100% - 24px)/2); }
}

@media (max-width: 860px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .header-actions .btn{ display:none; }
  .topbar-msg span.long{ display:none; }
  .topbar .container{ justify-content:center; }
  .topbar-cta{ display:none; }
  .topbar.has-mobile-cta .container{ flex-direction:column; gap:8px; }
  .topbar.has-mobile-cta .topbar-cta{ display:flex; }
  .topbar-link{ width:100%; text-align:center; }

  .hero h1{ font-size:34px; }
  .hero p{ font-size:15px; }
  .hero{ padding:64px 0 56px; }
  .section{ padding:56px 0; }
  .section-title{ font-size:28px; }

  .blog-grid-2, .blog-grid-3, .pricing-grid, .volunteer-grid, .gallery-grid{ grid-template-columns:1fr; }
  .gallery-track .gallery-card{ flex-basis:88%; }
  .footer-top{ grid-template-columns:1fr; gap:32px; padding:48px 0 32px; }
  .footer-bottom{ flex-direction:column; gap:14px; text-align:center; }
  .stats-row{ flex-wrap:wrap; gap:24px; }
  .stat{ flex:1 1 40%; }
  .stat-divider{ display:none; }
  .testimonial-box{ padding:34px 24px; }
  .testimonial-box p.quote{ font-size:19px; }
  .container{ padding:0 20px; }
  .amount-row{ gap:10px; }

  .contact-layout{ grid-template-columns:1fr; }
  .contact-form-card{ padding:26px; }
  .form-row{ grid-template-columns:1fr; }
  .story-grid{ grid-template-columns:1fr; gap:28px; }
  .values-grid, .team-grid{ grid-template-columns:1fr 1fr; }
  .timeline{ padding-left:70px; }
  .timeline::before{ left:44px; }
  .timeline-year{ left:-70px; width:44px; font-size:16px; }
  .timeline-dot{ left:-30px; }
}

@media (max-width: 560px){
  .values-grid, .team-grid{ grid-template-columns:1fr; }
}
