/* ============================================================
   MIRACLE ENCOUNTER OUTREACH MINISTRIES — GLOBAL STYLESHEET
   Palette: Dark Blue (shades) | Grey (shades) | White | Gold
   ============================================================ */

/* ---------- Local Fonts (hosted by you) ---------- */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay-Italic.ttf') format('truetype');
  font-weight: 400 700;
  font-style: italic;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* ---------- Design Tokens ---------- */
:root {
  --navy-900: #000b16;
  --navy-800: #012653;
  --navy-700: #0e4694;
  --navy-600: #033a86;
  --navy-500: #024fbb;
  --gold-600: #f7b716;
  --gold-500: #ca9c04;
  --gold-400: #fdcc38;
  --grey-900: #1d2126;
  --grey-700: #3c4249;
  --grey-500: #6b7280;
  --grey-300: #c7ccd1;
  --grey-100: #f3f4f6;
  --white:   #ffffff;
  --overlay: rgba(8, 21, 39, 0.78);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Poppins', Arial, sans-serif;

  --shadow: 0 10px 30px rgba(8, 21, 39, 0.12);
  --radius: 10px;
  --container: 1180px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--grey-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 0.92rem;          /* body text: 14.7px ≈ 11pt in Word */
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography Flow ---------- */
h1.hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
}
blockquote,
.quote-text {
  font-family: var(--font-display);
  font-style: italic;
}
.section-title,
.nav-brand,
.card-title,
h3.sub-title {
  font-family: var(--font-body);
  font-weight: 700;
}
.section-title { font-size: 2.1rem; color: var(--navy-800); margin-bottom: 6px; }
h3.sub-title   { font-size: 1.15rem; color: var(--navy-700); margin-bottom: 10px; }

.gold-rule {
  width: 70px; height: 4px; border: none;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  margin: 0 0 22px; border-radius: 4px;
}
.section-sub {
  color: var(--grey-500);
  font-size: 0.9rem;
  max-width: 760px;
  margin-bottom: 34px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.87rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);}
.btn-gold:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);}
.btn-outline-gold { border-color: var(--gold-500); color: var(--gold-500); background: transparent; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);}
.btn-outline-gold:hover { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);}
.btn-navy { background: var(--navy-800); color: var(--white); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);}
.btn-navy:hover { background: var(--navy-600); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);}
.btn-outline-white { border-color: var(--white); color: var(--white); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);}
.btn-outline-white:hover { background: var(--white); color: var(--navy-800); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--navy-900);
  color: var(--grey-300);
  font-size: 0.78rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-info span { margin-right: 22px; display: inline-flex; align-items: center; gap: 7px; }
.topbar-info .dot { color: var(--gold-500); }
.topbar-social { display: flex; gap: 14px; align-items: center; }

/* Black line-drawing SVGs turned white on the dark topbar */
.topbar-social img {
  width: 17px; height: 17px;
  opacity: 0.85;
  transition: 0.3s;
  filter: brightness(0) invert(1);
}
.topbar-social a:hover img { opacity: 1; transform: translateY(-2px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 14px rgba(8, 21, 39, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}

/* Brand: ministry logo image + "Miracle Encounter" + tagline
   — identical layout on desktop AND mobile */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-800);
  line-height: 1.25;
}
.nav-brand .brand-logo {
  width: 70px; height: 70px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-brand .brand-text { display: flex; flex-direction: column; }
.nav-brand .brand-name {
  display: block;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-800);
}
.nav-brand small {
  display: block;
  font-weight: 400;
  font-size: 0.66rem;
  color: var(--gold-600);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 0.87rem;
  color: var(--navy-800);
  border-radius: 6px;
  transition: 0.3s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold-600);
  background: var(--grey-100);
}
/* Dropdowns */
.has-dropdown > .nav-link::after {
  content: '';
  display: inline-block;
  margin-left: 7px;
  border: 5px solid transparent;
  border-top-color: currentColor;
  vertical-align: middle;
  transform: translateY(-2px);
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(8, 21, 39, 0.18);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 50;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 0.83rem;
  color: var(--grey-700);
  transition: 0.25s;
}
.dropdown a:hover { background: var(--grey-100); color: var(--navy-800); }
.dropdown .drop-head {
  padding: 8px 22px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--gold-600);
  text-transform: uppercase;
}
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--navy-800);
  border-radius: 3px;
  transition: 0.3s;
}

/* ============================================================
   HERO (uniform structure, per-page image via inline style)
   ============================================================ */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-900); /* fallback while image loads */
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(8,21,39,0.88) 0%, rgba(11,31,58,0.72) 55%, rgba(27,58,102,0.55) 100%);
}
.hero .container { position: relative; z-index: 2; padding: 90px 24px; }
.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 16px;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  line-height: 1.15;
  max-width: 800px;
  margin-bottom: 18px;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
}
.hero-sub {
  font-size: 1rem;
  color: var(--grey-300);
  max-width: 640px;
  margin-bottom: 30px;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
}
.hero-crumb {
  font-size: 0.8rem;
  color: var(--grey-300);
  margin-top: 26px;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
}
.hero-crumb span { color: var(--gold-400);
text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
}

/* ============================================================
   SCRIPTURE PAGE-BREAK BANNERS (overlay + 3 text levels)
   ============================================================ */
.page-break {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 90px 0;
  text-align: center;
}
.page-break::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(8, 21, 39, 0.48);   /* semi-transparent overlay */
}
.page-break .container { position: relative; z-index: 2; max-width: 820px; }
.pb-l1 {                                /* Level 1: bold large */
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 14px;
}
.pb-l2 {                                /* Level 2: medium emphasis */
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 12px;
}
.pb-l3 {                                /* Level 3: small */
  font-size: 0.86rem;
  color: var(--grey-300);
}

/* ============================================================
   SECTIONS & LAYOUT RHYTHM
   ============================================================ */
.section { padding: 90px 0; }
.section-tight { padding: 64px 0; }
.bg-navy   { background: var(--navy-800); color: var(--grey-300); }
.bg-navy-deep { background: var(--navy-900); }
.bg-grey   { background: var(--grey-100); }
.bg-cream  { background: #faf8f3; }
.bg-navy .section-title,
.bg-navy-deep .section-title { color: var(--white); }
.bg-navy .section-sub,
.bg-navy-deep .section-sub { color: var(--grey-300); }
.bg-navy h3.sub-title { color: var(--gold-400); }
.section-head { text-align: center; margin-bottom: 26px; }
.section-head .gold-rule { margin-left: auto; margin-right: auto; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTON-ROW / SNIPPET LINK
   ============================================================ */
.link-more {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--gold-600);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}
.link-more:hover { color: var(--navy-800); gap: 12px; }
.link-more .chev {
  width: 8px; height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* ============================================================
   CARDS (corporate: white, hairline, gold hover lift)
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-500);
  box-shadow: 0 18px 44px rgba(8, 21, 39, 0.18);
}
.card-img { height: 210px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-img img { transform: scale(1.07); }
.card-body { padding: 24px; }
.card-title { font-size: 1.08rem; color: var(--navy-800); margin-bottom: 8px; }
.card-text { font-size: 0.85rem; color: var(--grey-500); margin-bottom: 16px; }
.card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-600);
  background: rgba(201, 162, 39, 0.12);
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 12px;
}

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* ============================================================
   WELCOME / PASTOR (split feature)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 520px; object-fit: cover; }
.split-media::before {
  content: '';
  position: absolute; inset: 0;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius);
  transform: translate(18px, 18px);
  pointer-events: none;
  z-index: 2;
}
.pastor-name { font-weight: 700; font-size: 1.15rem; color: var(--navy-800); margin-top: 18px; }
.pastor-role { color: var(--gold-600); font-size: 0.88rem; font-weight: 700; }
.pastor-qual { font-size: 0.8rem; color: var(--grey-500); }

/* Mission / Vision statement cards */
.mv-card {
  background: var(--white);
  border-top: 4px solid var(--gold-500);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.mv-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

/* Core beliefs & values — two-tone list */
.beliefs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.belief-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  background: var(--white);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 8px 8px 0;
  transition: 0.3s;
}
.belief-item:hover { background: var(--navy-800); color: var(--grey-300); }
.belief-item:hover h4 { color: var(--white); }
.belief-item h4 { font-weight: 700; color: var(--navy-800); font-size: 0.95rem; }
.belief-item p { font-size: 0.8rem; }
.belief-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold-500);
  line-height: 1;
}

/* ============================================================
   UPCOMING EVENT (dark feature band)
   ============================================================ */
.event-feature {
  display: grid;
  grid-template-columns: 300px 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.event-feature .ef-img { min-height: 260px; background-size: cover; background-position: center; }
.event-feature .ef-body {
  background: var(--navy-800);
  color: var(--grey-300);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.event-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 700;
  margin-bottom: 18px;
  width: max-content;
}
.event-date .d { font-size: 1.9rem; line-height: 1; font-weight: 700; }
.event-date .m { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; }
.ef-meta { display: flex; gap: 24px; margin-top: 14px; font-size: 0.82rem; color: var(--grey-300); }
.ef-meta span { display: inline-flex; gap: 8px; align-items: center; }

/* ============================================================
   FEATURED SERMON
   ============================================================ */
.sermon-feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 46px;
  align-items: center;
}
.sermon-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.sermon-media img { width: 100%; height: 400px; object-fit: cover; transition: transform 0.6s; }
.sermon-media:hover img { transform: scale(1.05); }
.sermon-media .play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.92);
  display: flex; align-items: center; justify-content: center;
  transition: 0.3s;
}
.sermon-media:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); background: var(--gold-400); }
.play-btn::after {
  content: '';
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--navy-900);
  margin-left: 5px;
}
.sermon-quote {
  border-left: 4px solid var(--gold-500);
  padding: 8px 0 8px 26px;
  margin: 22px 0;
}
.sermon-quote .quote-text {
  font-size: 1.2rem;
  color: var(--navy-800);
  line-height: 1.5;
}
.quote-cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-600);
}

/* ============================================================
   STATS / COUNTER BAND
   ============================================================ */
.stats-band { background: var(--navy-900); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--gold-400);
  font-weight: 700;
}
.stat-label { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--grey-300); margin-top: 6px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--gold-500);
  position: relative;
  transition: 0.35s;
}
.testimonial-card:hover { transform: translateY(-6px); }
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-style: italic;
  font-size: 5rem;
  color: rgba(201, 162, 39, 0.25);
  position: absolute;
  top: -6px; right: 20px;
  line-height: 1;
}
.testimonial-card .quote-text {
  font-size: 0.95rem;
  color: var(--navy-800);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-500);
}
.testimonial-author h4 { font-weight: 700; color: var(--navy-800); font-size: 0.92rem; }
.testimonial-author small { color: var(--grey-500); font-size: 0.78rem; }

/* ============================================================
   PARTNER WITH US / GIVING CTA
   ============================================================ */
.cta-band {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 96px 0;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,21,39,0.92), rgba(18,43,78,0.82));
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band .pb-l1 { color: var(--white); }
.cta-band .pb-l3 { color: var(--grey-300); margin-bottom: 28px; }

/* ============================================================
   GALLERY STRIP (5 columns, 1 row) + CTA
   ============================================================ */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}
.gallery-strip a {
  position: relative;
  display: block;
  height: 190px;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-strip img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s;
}
.gallery-strip a::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(8, 21, 39, 0);
  transition: 0.4s;
}
.gallery-strip a:hover img { transform: scale(1.1); }
.gallery-strip a:hover::after { background: rgba(8, 21, 39, 0.35); }
.gallery-strip a::before {
  content: '+';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  transition: transform 0.35s ease;
}
.gallery-strip a:hover::before { transform: translate(-50%, -50%) scale(1); }

/* ============================================================
   SERVICES / SCHEDULE TABLE
   ============================================================ */
.schedule-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--grey-300);
}
.schedule-head {
  background: var(--navy-800);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.schedule-head .card-title { color: var(--white); margin: 0; }
.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--grey-100);
  font-size: 0.85rem;
  transition: 0.25s;
}
.schedule-row:last-child { border-bottom: none; }
.schedule-row:hover { background: var(--grey-100); }
.schedule-row .time { font-weight: 700; color: var(--gold-600); white-space: nowrap; margin-left: 16px; }
.schedule-row .name { color: var(--navy-800); font-weight: 400; }
.schedule-row strong { color: var(--navy-800); }

/* ============================================================
   MINISTRY / PROGRAM CARDS WITH OVERLAY (image-led)
   ============================================================ */
.ministry-tile {
  position: relative;
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ministry-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.ministry-tile:hover img { transform: scale(1.08); }
.ministry-tile .tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,21,39,0.94) 0%, rgba(8,21,39,0.45) 55%, rgba(8,21,39,0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
}
.ministry-tile h3 {
  font-weight: 700;
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.ministry-tile p {
  font-size: 0.82rem;
  color: var(--grey-300);
  margin-bottom: 14px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.45s ease;
}
.ministry-tile:hover p { max-height: 130px; opacity: 1; }

/* ============================================================
   EVENTS CALENDAR (simple month grid)
   ============================================================ */
.calendar {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy-800);
  color: var(--white);
  padding: 16px 22px;
  font-weight: 700;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal-grid .dow {
  background: var(--grey-100);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy-700);
  text-align: center;
  padding: 10px 4px;
  border-bottom: 1px solid var(--grey-300);
}
.cal-day {
  min-height: 84px;
  padding: 8px;
  border-bottom: 1px solid var(--grey-100);
  border-right: 1px solid var(--grey-100);
  font-size: 0.78rem;
  color: var(--grey-500);
  position: relative;
}
.cal-day.dim { color: var(--grey-300); background: #fbfbfc; }
.cal-day.today { background: rgba(201, 162, 39, 0.08); }
.cal-day .day-num { font-weight: 700; color: var(--navy-800); }
.cal-event {
  margin-top: 5px;
  font-size: 0.66rem;
  font-weight: 700;
  background: rgba(201, 162, 39, 0.16);
  color: var(--navy-700);
  border-left: 2px solid var(--gold-500);
  padding: 3px 6px;
  border-radius: 3px;
  line-height: 1.35;
}
.cal-event.navy { background: rgba(18, 43, 78, 0.1); border-left-color: var(--navy-600); }

/* ============================================================
   LIVESTREAM / MEDIA EMBEDS
   ============================================================ */
.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-900);
}
.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.live-badge .pulse {
  width: 8px; height: 8px;
  background: var(--navy-900);
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { transform: scale(1.6); opacity: 0.5; }
}
.stream-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.stream-socials a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  border: 1px solid var(--grey-300);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-800);
  transition: 0.3s;
}
.stream-socials a:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.stream-socials img { width: 17px; height: 17px; transition: 0.3s; }

/* Icons must invert when the pill goes navy on hover */
.stream-socials a:hover img { filter: brightness(0) invert(1); }

/* ============================================================
   AUDIO / VIDEO SERMON LIST
   ============================================================ */
.media-row {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 14px;
  transition: 0.3s;
  flex-wrap: wrap;
}
.media-row:hover { border-color: var(--gold-500); box-shadow: var(--shadow); }
.media-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.media-row .mr-info { flex: 1; min-width: 200px; }
.media-row h4 { font-weight: 700; color: var(--navy-800); font-size: 0.95rem; }
.media-row small { color: var(--grey-500); font-size: 0.78rem; }
audio { width: 260px; max-width: 100%; filter: grayscale(0.2); }

/* ============================================================
   BLOG / DEVOTIONAL CARDS
   ============================================================ */
.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.72rem;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.blog-meta span { display: inline-flex; gap: 6px; align-items: center; }

/* ============================================================
   COMMUNITY — SMALL GROUPS, FAQS, PRAYER
   ============================================================ */
.group-card {
  display: flex;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: 0.3s;
}
.group-card:hover { border-color: var(--gold-500); transform: translateY(-5px); }
.group-icon {
  width: 54px; height: 54px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.14);
  color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
}

/* FAQ accordion */
.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: 0.3s;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-800);
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grey-100);
  color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  transition: 0.3s;
}
.faq-item.open { border-color: var(--gold-500); }
.faq-item.open .faq-icon { background: var(--gold-500); color: var(--navy-900); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
}
.faq-a p { padding-bottom: 20px; font-size: 0.85rem; }

/* Plan Your Visit checklist */
.visit-steps { counter-reset: step; }
.visit-step {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--grey-300);
}
.visit-step:last-child { border-bottom: none; }
.visit-step .vs-num {
  counter-increment: step;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.visit-step h4 { font-weight: 700; color: var(--navy-800); margin-bottom: 4px; }
.visit-step p { font-size: 0.84rem; }

/* ============================================================
   FORMS (corporate, hairline, gold focus)
   ============================================================ */
.form-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--navy-800);
  margin-bottom: 7px;
  letter-spacing: 0.5px;
}
.form-group label .req { color: var(--gold-600); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--grey-700);
  padding: 13px 16px;
  border: 1px solid var(--grey-300);
  border-radius: 8px;
  background: var(--grey-100);
  outline: none;
  transition: 0.3s;
  width: 100%;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}
.form-note { font-size: 0.78rem; color: var(--grey-500); margin-top: 12px; }
.form-success {
  display: none;
  background: var(--navy-800);
  color: var(--white);
  border-left: 4px solid var(--gold-500);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.86rem;
  margin-top: 18px;
}
.form-success.show { display: block; animation: fadeUp 0.5s ease; }

/* ============================================================
   CONTACT PAGE — info tiles + map
   ============================================================ */
.contact-tile {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: 0.3s;
}
.contact-tile:hover { border-color: var(--gold-500); transform: translateY(-4px); }
.contact-tile .ct-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-tile h4 { font-weight: 700; color: var(--navy-800); margin-bottom: 4px; }
.contact-tile p, .contact-tile a { font-size: 0.84rem; color: var(--grey-500); }
.contact-tile a:hover { color: var(--gold-600); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--grey-300);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Newsletter band */
.newsletter-band {
  background: var(--navy-800);
  border-radius: var(--radius);
  padding: 44px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.newsletter-band h3 { color: var(--white); font-weight: 700; font-size: 1.4rem; }
.newsletter-band p { color: var(--grey-300); font-size: 0.86rem; }
.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 320px;
  max-width: 480px;
}
.newsletter-form input {
  flex: 1;
  padding: 13px 20px;
  border-radius: 50px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}
.newsletter-form input:focus { border-color: var(--gold-500); }

/* ============================================================
   GIVING PAGE — tiers / channels
   ============================================================ */
.give-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-top: 4px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: 0.35s;
}
.give-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(8,21,39,0.16); }
.give-card .give-icon {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.give-card h3 { font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.give-card p { font-size: 0.84rem; margin-bottom: 18px; }
.account-box {
  background: var(--navy-900);
  color: var(--grey-300);
  border-radius: var(--radius);
  padding: 26px 30px;
  font-size: 0.88rem;
}
.account-box strong { color: var(--gold-400); }
.account-box .acc-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(199, 204, 209, 0.25);
  flex-wrap: wrap;
}
.account-box .acc-line:last-child { border-bottom: none; }

/* ============================================================
   GALLERY PAGE — masonry-style grid + lightbox
   ============================================================ */
.gallery-full {
  columns: 3;
  column-gap: 16px;
}
.gallery-full a {
  display: block;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  break-inside: avoid;
  position: relative;
}
.gallery-full img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-full a:hover img { transform: scale(1.06); }
.gallery-full a::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(8,21,39,0);
  transition: 0.4s;
}
.gallery-full a:hover::after { background: rgba(8, 21, 39, 0.3); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 21, 39, 0.94);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 88vw;
  max-height: 84vh;
  border-radius: var(--radius);
  border: 3px solid var(--gold-500);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 26px; right: 34px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
  transition: 0.3s;
}
.lightbox-close:hover { color: var(--gold-500); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(231, 186, 38, 0.9);
  border: none;
  color: var(--navy-900);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}
.lightbox-nav:hover { background: var(--gold-400); }
.lightbox-prev { left: 26px; }
.lightbox-next { right: 26px; }

/* ============================================================
   FOOTER (uniform across all pages)
   ============================================================ */
.footer {
  background: var(--navy-900);
  color: var(--grey-300);
  padding: 80px 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400), var(--gold-500));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 54px;
}
.footer h4 {
  font-weight: 700;
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 38px; height: 3px;
  background: var(--gold-500);
  border-radius: 2px;
}

/* Footer brand: ministry logo + name + tagline (same as navbar) */
.footer .nav-brand { color: var(--white); }
.footer .nav-brand .brand-name { color: var(--white); }
.footer .footer-about > .nav-brand { margin-bottom: 6px; }
.footer .footer-brand-note {
  font-size: 0.84rem;
  color: var(--grey-300);
  margin: 18px 0;
}
.footer-about p { font-size: 0.84rem; margin: 18px 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  font-size: 0.84rem;
  color: var(--grey-300);
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.footer-links a::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  opacity: 0.6;
  transition: 0.3s;
}
.footer-links a:hover { color: var(--gold-400); padding-left: 5px; }
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.84rem;
  align-items: flex-start;
}
.footer-contact .fc-icon { color: var(--gold-500); flex-shrink: 0; }
.footer-contact a { color: var(--grey-300); transition: 0.3s; }
.footer-contact a:hover { color: var(--gold-400); }

/* Footer social icons: black line SVGs turned white on navy */
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(199, 204, 209, 0.25);
  display: flex; align-items: center; justify-content: center;
  transition: 0.3s;
}
.footer-social a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  transform: translateY(-4px);
}
.footer-social img {
  width: 18px; height: 18px;
  filter: brightness(0) invert(1);
  transition: 0.3s;
}
.footer-social a:hover img { filter: brightness(0); } /* navy icons on gold circle */

.footer-scripture {
  border-top: 1px solid rgba(199, 204, 209, 0.14);
  padding: 26px 0;
  text-align: center;
}
.footer-scripture .quote-text { color: var(--gold-400); font-size: 1.05rem; }
.footer-scripture small {
  display: block;
  margin-top: 6px;
  font-size: 0.74rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-500);
}
.footer-bottom {
  border-top: 1px solid rgba(199, 204, 209, 0.14);
  padding: 20px 0;
  font-size: 0.78rem;
  color: var(--grey-500);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--grey-300); transition: 0.3s; }
.footer-bottom a:hover { color: var(--gold-400); }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: 0.35s;
  z-index: 900;
  box-shadow: var(--shadow);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--gold-400); transform: translateY(-3px); }

/* ============================================================
   ANIMATIONS (scroll reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE — TABLET (max-width: 992px)
   ============================================================ */
@media (max-width: 992px) {
  .section { padding: 70px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .gallery-strip a { height: 160px; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-media img { height: 420px; }
  .split-media::before { transform: translate(12px, 12px); }

  .sermon-feature { grid-template-columns: 1fr; }
  .event-feature { grid-template-columns: 1fr; }
  .event-feature .ef-img { min-height: 220px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }

  /* Mobile navbar */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 22px;
    box-shadow: 0 20px 40px rgba(8, 21, 39, 0.16);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
  }
  .nav-menu.open { max-height: 640px; }
  .nav-menu > li { width: 100%; border-bottom: 1px solid var(--grey-100); }
  .nav-menu > li:last-child { border-bottom: none; }
  .nav-link { padding: 14px 6px; }
  .nav-link.active { background: none; }

  /* Dropdowns become accordions on mobile */
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    min-width: 0;
    transition: max-height 0.4s ease;
    background: var(--grey-100);
    border-radius: 8px;
    margin: 0 0 8px 0;
  }
  .has-dropdown.open .dropdown { max-height: 560px; }
  .has-dropdown > .nav-link::after {
    position: absolute;
    right: 18px;
    top: 50%;
    margin: 0;
    transform: translateY(-6px) rotate(0);
  }
  .has-dropdown.open > .nav-link::after { transform: translateY(-2px) rotate(180deg); }
  .nav-cta { margin: 14px 0 4px; }

  .pb-l1 { font-size: 1.6rem; }
  .page-break { padding: 70px 0; background-attachment: scroll; }
  .cta-band { background-attachment: scroll; }

  .form-card { padding: 30px 24px; }
  .newsletter-band { padding: 34px 28px; }
}

/* ============================================================
   RESPONSIVE — LARGE PHONES (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 1.7rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .beliefs-grid { grid-template-columns: 1fr; }

  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-full { columns: 2; }

  .hero { min-height: 56vh; }
  .hero .container { padding: 70px 24px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 2rem; }

  .event-feature .ef-body { padding: 28px; }
  .sermon-media img { height: 300px; }

  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer { padding: 60px 0 0; }

  .form-grid { grid-template-columns: 1fr; }
  .newsletter-band { flex-direction: column; align-items: flex-start; }
  .newsletter-form { min-width: 100%; }

  .topbar .container { justify-content: center; }
  .topbar-info span { margin-right: 14px; }

  .hero-title { font-size: clamp(1.9rem, 7vw, 2.4rem); }
  .pb-l2 { letter-spacing: 1.5px; }

  .footer-bottom .container { justify-content: center; text-align: center; }
}

/* ============================================================
   RESPONSIVE — SMALL PHONES (max-width: 520px)
   ============================================================ */
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .section { padding: 52px 0; }

  .topbar { font-size: 0.72rem; }
  .topbar-info span.hi-phone { display: none; }

  /* Brand stays: logo + "Miracle Encounter" + tagline — same as desktop,
     only scaled down */
  .nav-brand .brand-logo { width: 44px; height: 44px; }
  .nav-brand .brand-name { font-size: 0.92rem; }
  .nav-brand small { font-size: 0.6rem; letter-spacing: 1.2px; }

  .hero-title { font-size: 1.8rem; }
  .hero-sub { font-size: 0.92rem; }

  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip a { height: 130px; }
  .gallery-full { columns: 1; }

  .event-feature .ef-body { padding: 26px 22px; }
  .ef-meta { flex-direction: column; gap: 8px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .stat-num { font-size: 2rem; }

  .split-media img { height: 320px; }
  .split-media::before { transform: translate(8px, 8px); }

  .cta-band { padding: 70px 0; }
  .pb-l1 { font-size: 1.45rem; }

  .form-card { padding: 26px 20px; }
  .newsletter-band { padding: 30px 22px; }
  .newsletter-form { flex-direction: column; }

  .footer-social a { width: 36px; height: 36px; }
  .back-top { width: 42px; height: 42px; bottom: 20px; right: 20px; }

  .cal-day { min-height: 64px; padding: 5px; font-size: 0.72rem; }
  .cal-event { font-size: 0.58rem; }

  .media-row audio { width: 100%; }
}

/* ---------- Print-friendly nicety ---------- */
@media print {
  .topbar, .navbar, .back-top, .cta-band, .page-break { display: none; }
}

/* ============================ END OF STYLESHEET ============================ */