/* =========================================================
   FREEDOM EVANGELICAL ASSOCIATION — Stylesheet
   Editorial / Ministry aesthetic
   Navy + antique gold + warm cream
   ========================================================= */

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

:root {
  --navy: #0f1b2d;
  --navy-deep: #070e1a;
  --navy-soft: #1a2842;
  --gold: #b8892b;
  --gold-light: #d9b35d;
  --gold-soft: #e4c88a;
  --cream: #f6f1e8;
  --cream-warm: #faf6ec;
  --ink: #1e2533;
  --ink-muted: #55606f;
  --line: #d8cbac;
  --line-soft: rgba(184, 137, 43, 0.2);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --display: 'Cinzel', 'Cormorant Garamond', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 2px 8px rgba(15, 27, 45, 0.08);
  --shadow: 0 12px 40px rgba(15, 27, 45, 0.12);
  --shadow-lg: 0 30px 80px rgba(15, 27, 45, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; }

.eyebrow {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

.display-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

/* ===== TOP BAR ===== */
.topbar {
  background: var(--navy-deep);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(184, 137, 43, 0.3);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.topbar a { color: var(--gold-soft); }
.topbar a:hover { color: #fff; }
.topbar-socials { display: flex; gap: 1rem; }

/* ===== HEADER / NAV ===== */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.brand-text h1 {
  font-family: var(--display);
  font-size: 0.95rem;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: 0.04em;
  font-weight: 600;
}
.brand-text p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 3px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  list-style: none;
  flex-wrap: nowrap;
}
.nav > li { position: relative; }
.nav > li > a {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.5rem 0;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}
.nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav > li > a:hover::after,
.nav > li.current > a::after { width: 26px; }
.nav > li.current > a { color: var(--gold); }

.nav .submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-top: 3px solid var(--gold);
  min-width: 220px;
  padding: 0.75rem 0;
  list-style: none;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.nav > li:hover .submenu { opacity: 1; visibility: visible; }
.submenu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--navy);
  white-space: nowrap;
}
.submenu a:hover { background: var(--cream); color: var(--gold); }

.cta-btn {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  border: 2px solid var(--navy);
  transition: all .25s ease;
  display: inline-block;
}
.cta-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-deep);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(15, 27, 45, 0.75) 0%,
    rgba(15, 27, 45, 0.55) 50%,
    rgba(15, 27, 45, 0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem 1.5rem;
}
.hero h1 {
  font-family: var(--serif);
  color: var(--cream);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}
.hero .hero-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--gold-soft);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--gold);
  padding: 0.95rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all .25s ease;
  display: inline-block;
}
.btn-ghost:hover { background: var(--gold); color: var(--navy); }
.btn-solid {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  padding: 0.95rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all .25s ease;
  display: inline-block;
}
.btn-solid:hover { background: var(--gold-light); border-color: var(--gold-light); }

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}
.hero-dot {
  width: 36px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background .25s ease;
}
.hero-dot.active { background: var(--gold); }

/* ===== PAGE HEADER ===== */
.page-head {
  background: var(--navy);
  background-image: linear-gradient(135deg, rgba(15, 27, 45, 0.92), rgba(15, 27, 45, 0.85)),
                    url('/uploads/2025/06/WhatsApp-Image-2025-06-16-at-22.07.02_9f4aa059.jpg');
  background-size: cover;
  background-position: center;
  color: var(--cream);
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
}
.page-head .eyebrow { color: var(--gold-soft); }
.page-head h1 { color: var(--cream); font-weight: 500; }
.page-head p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-soft);
  margin-top: 1rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.page-head::after {
  content: '';
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: var(--gold);
}

/* ===== THEME BANNER ===== */
.theme-banner {
  background: var(--cream-warm);
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.theme-banner::before,
.theme-banner::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: var(--gold);
}
.theme-banner::before { left: 10%; }
.theme-banner::after { right: 10%; }
.theme-banner h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  max-width: 900px;
  margin: 0 auto;
  color: var(--navy);
  line-height: 1.4;
}
.theme-banner .eyebrow { margin-bottom: 1.5rem; }

/* ===== SECTIONS ===== */
.section { padding: 6rem 0; }
.section-alt { background: var(--cream-warm); }
.section-dark { background: var(--navy); color: var(--cream); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--cream); }
.section-dark .eyebrow { color: var(--gold-light); }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section-head h2 { margin-bottom: 1rem; }
.section-head .divider {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}
.section-head p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-muted);
}

/* ===== 3-COLUMN FEATURE ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}
.feature-card {
  background: #fff;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 1.75rem;
}
.feature-card h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--navy);
}
.feature-card p { color: var(--ink-muted); font-size: 0.95rem; line-height: 1.65; }

/* ===== SERVICE TIMES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--navy-soft);
  padding: 2rem 1.75rem;
  border-left: 3px solid var(--gold);
  color: var(--cream);
  transition: background .3s ease, transform .3s ease;
}
.service-card:hover { background: var(--navy); transform: translateX(4px); }
.service-card .day {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.service-card h4 {
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.service-card .time {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 1rem;
}
.service-card .desc {
  color: rgba(246, 241, 232, 0.75);
  font-size: 0.88rem;
  margin-top: 0.6rem;
  line-height: 1.6;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}
.team-card { text-align: center; }
.team-card .avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--gold);
  padding: 6px;
  background: #fff;
}
.team-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}
.team-card .role {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ===== POSTS / NEWS ===== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow .35s ease;
}
.post-card:hover { box-shadow: var(--shadow); }
.post-card .post-image {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.post-card .post-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,27,45,0.3));
}
.post-card .post-body { padding: 2rem; }
.post-card .post-date {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.post-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.post-card .read-more {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* ===== EVENTS LIST ===== */
.event-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.event-row:last-child { border-bottom: none; }
.event-date {
  text-align: center;
  border-right: 1px solid var(--gold);
  padding-right: 2rem;
}
.event-date .day-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}
.event-date .month {
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.event-info h3 { margin-bottom: 0.25rem; }
.event-info .event-time {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-muted);
}
.event-cat {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gold);
}

/* ===== ARTICLE / SINGLE POST ===== */
.article {
  background: #fff;
  padding: 4rem 3rem;
  max-width: 820px;
  margin: -5rem auto 5rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}
.article h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--navy);
}
.article .article-meta {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}
.article .article-meta strong { color: var(--navy); font-weight: 600; font-style: normal; }
.article p, .article li {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.article h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: 1.8rem;
}
.article h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}
.article ol, .article ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.article blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--cream-warm);
  font-family: var(--serif);
  font-style: italic;
  margin: 2rem 0;
  color: var(--navy);
  font-size: 1.2rem;
}
.article a { color: var(--gold); border-bottom: 1px solid var(--gold); }
.article a:hover { color: var(--navy); border-bottom-color: var(--navy); }
.article strong { font-weight: 600; color: var(--navy); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-item .label {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.contact-item .value {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.4;
}
.contact-item .value a { color: var(--navy); }
.contact-item .value a:hover { color: var(--gold); }

.contact-form {
  background: var(--cream-warm);
  padding: 3rem;
  border: 1px solid var(--line);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--serif);
  font-size: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color .2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ===== MISC ===== */
.quote-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 0;
}
.quote-block::before {
  content: '"';
  display: block;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold);
  line-height: 0.7;
  margin-bottom: 1rem;
}
.quote-block p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.quote-block cite {
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  font-style: normal;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.stat {
  text-align: center;
  padding: 2rem;
}
.stat .big-number {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat .label {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

/* ===== CREED LIST ===== */
.creed-list {
  list-style: none;
  padding: 0;
}
.creed-list li {
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px dashed var(--line);
  position: relative;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink);
}
.creed-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 1rem;
  color: var(--gold);
  font-size: 0.9rem;
}

.value-item {
  padding: 2rem;
  background: #fff;
  border-top: 3px solid var(--gold);
  margin-bottom: 1.5rem;
}
.value-item h3 {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.value-item p {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink);
}

/* ===== SOCIAL CTA ===== */
.social-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.social-tile {
  background: var(--navy);
  color: var(--cream);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  border: 1px solid transparent;
}
.social-tile:hover { background: var(--gold); color: var(--navy); border-color: var(--navy); }
.social-tile svg { width: 32px; height: 32px; }
.social-tile .label {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.social-tile .handle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer h4 {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-brand p {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(246, 241, 232, 0.7);
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul li a {
  color: rgba(246, 241, 232, 0.7);
  font-size: 0.92rem;
  transition: color .2s ease;
}
.footer ul li a:hover { color: var(--gold-light); }
.footer-contact p {
  color: rgba(246, 241, 232, 0.7);
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}
.footer-contact a { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(184, 137, 43, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(246, 241, 232, 0.5);
}
.footer-bottom a { color: rgba(246, 241, 232, 0.7); margin-left: 1.5rem; }

.social-icons { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-icons a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: all .25s ease;
}
.social-icons a:hover { background: var(--gold); color: var(--navy); }
.social-icons svg { width: 16px; height: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1150px) {
  .header-inner { grid-template-columns: auto auto; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 90vw);
    height: 100vh;
    flex-direction: column;
    background: var(--navy);
    padding: 5rem 2rem;
    gap: 0.5rem;
    transition: right .3s ease;
    z-index: 99;
    overflow-y: auto;
  }
  .nav.open { right: 0; }
  .nav > li > a { color: var(--cream); padding: 0.8rem 0; border-bottom: 1px solid rgba(184,137,43,0.2); width: 100%; font-size: 0.82rem; }
  .nav .submenu { position: static; opacity: 1; visibility: visible; background: transparent; border: none; box-shadow: none; padding: 0 0 0 1rem; }
  .nav .submenu a { color: var(--gold-soft); }
  .cta-btn { display: none; }

  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split img { height: 350px; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .event-row { grid-template-columns: 90px 1fr; }
  .event-cat { grid-column: 1 / -1; justify-self: start; }
  .article { padding: 2.5rem 1.5rem; margin-top: -3rem; }
  .section { padding: 4rem 0; }
  .page-head { padding: 4rem 0 3.5rem; }
  .theme-banner::before, .theme-banner::after { display: none; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 75vh; }
  .feature-card img { height: 180px; }
  .topbar { font-size: 0.72rem; }
  .topbar .container { justify-content: center; }
  .brand-text p { display: none; }
  .brand-text h1 { font-size: 0.9rem; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } }

/* Shared nav-aware styles already handled */
hr.ornament {
  border: none;
  height: 1px;
  background: var(--gold);
  width: 80px;
  margin: 2rem auto;
  position: relative;
}
hr.ornament::before {
  content: '✦';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cream);
  color: var(--gold);
  padding: 0 6px;
  font-size: 0.85rem;
}
.section-dark hr.ornament::before { background: var(--navy); }
.section-alt hr.ornament::before { background: var(--cream-warm); }

/* ========================================================
   ADDITIONS: Give CTA, Gallery, Testimonials, YouTube, etc.
   ======================================================== */

/* Prominent Give button in header */
.cta-give {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.cta-give:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}

/* ========== YOUTUBE LIVE EMBED ========== */
.video-section {
  background: var(--navy-deep);
  padding: 5rem 0;
  color: var(--cream);
}
.video-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 2px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-section .section-head h2 { color: var(--cream); }
.video-section .eyebrow { color: var(--gold-light); }

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 6rem 0;
  background:
    linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: #fff;
  padding: 2.5rem 2rem 2rem;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 1.5rem;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  background: #fff;
  padding: 0 0.5rem;
}
.testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-meta .name {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}
.testimonial-meta .course {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

/* ========== GALLERY ========== */
.gallery-grid {
  columns: 3;
  column-gap: 1rem;
  padding: 0;
}
@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 560px) { .gallery-grid { columns: 1; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .45s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,27,45,0.6));
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 14, 26, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: 2px solid var(--gold);
  color: var(--cream);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  font-family: var(--sans);
}
.lightbox-close:hover { background: var(--gold); color: var(--navy); }

/* ========== GIVE PAGE ========== */
.give-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.give-tile {
  background: #fff;
  border-top: 4px solid var(--gold);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.give-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.give-tile .give-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--navy);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.give-tile .give-icon svg { width: 30px; height: 30px; }
.give-tile h3 {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.give-tile .details {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.75;
  font-size: 1rem;
}
.give-tile .details strong {
  color: var(--navy);
  display: block;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.75rem;
}
.give-tile .details code {
  font-family: 'SF Mono', Menlo, monospace;
  background: var(--cream-warm);
  padding: 0.25rem 0.5rem;
  color: var(--navy);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}

/* ========== BIBLE INSTITUTE PROGRAMS ========== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.program-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease;
}
.program-card:hover { box-shadow: var(--shadow); }
.program-card .level {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.program-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-bottom: 1rem;
  color: var(--navy);
}
.program-card p {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-muted);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* ========== PRAYER REQUEST FORM ========== */
.prayer-form-wrap {
  max-width: 740px;
  margin: 0 auto;
  background: #fff;
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.prayer-form-wrap h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}
.prayer-form-wrap .intro {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

@media (max-width: 980px) {
  .gallery-grid { columns: 2; }
  .prayer-form-wrap { padding: 2.5rem 1.5rem; }
}
