/* ══════════════════════════════════════════════
   Legacy 728 Ministries — Global Stylesheet v2
   Bolder, warmer, more authority
   ══════════════════════════════════════════════ */

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

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

:root {
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-voice: 'Playfair Display', Georgia, serif;
  --color-text:          #111;
  --color-text-sec:      #444;
  --color-text-muted:    #888;
  --color-accent:        #1d4ed8;
  --color-border:        #e0e0e0;
  --color-border-strong: #bbb;
  --color-surface:       #fff;
  --color-surface-1:     #f7f6f3;
  --color-surface-2:     #f0ede8;
  --radius: 8px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-surface-1);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 120px;
  border-bottom: 2px solid var(--color-border);
  background: var(--color-surface);
  position: sticky; top: 0; z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.nav-logo-img { flex-shrink: 0; }
.nav-logo-img img { height: 110px; width: auto; display: block; }
.nav-logo-text { font-size: 26px; font-weight: 700; color: var(--color-text); letter-spacing: -0.01em; font-family: var(--font-voice); }
.nav-logo-text span { color: var(--color-text-muted); font-weight: 400; font-size: 16px; margin-left: 6px; font-family: var(--font-sans); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links > li > a { font-size: 15px; font-weight: 600; color: var(--color-text-sec); text-decoration: none; }
.nav-links > li > a:hover { color: var(--color-text); }
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; color: var(--color-text); text-decoration: none; cursor: pointer; }
.nav-item-dropdown::after { content: ''; position: absolute; top: 100%; left: -20px; right: -20px; height: 16px; }
.dropdown { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; padding: 6px; min-width: 200px; opacity: 0; pointer-events: none; transition: opacity 0.15s ease; box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.nav-item-dropdown:hover .dropdown { opacity: 1; pointer-events: all; }
.dropdown a { display: block; padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--color-text-sec); text-decoration: none; border-radius: 6px; }
.dropdown a:hover { background: var(--color-surface-1); color: var(--color-text); }
.nav-give { font-size: 14px; font-weight: 700; padding: 10px 24px; border: 2px solid var(--color-text); border-radius: var(--radius); color: var(--color-text); cursor: pointer; background: transparent; text-decoration: none; display: inline-block; letter-spacing: 0.01em; }
.nav-give:hover { background: var(--color-text); color: #fff; }

/* ── BUTTONS ── */
.btn-dark { font-size: 14px; font-weight: 600; padding: 12px 28px; background: var(--color-text); color: #fff; border: none; border-radius: var(--radius); cursor: pointer; display: inline-block; text-decoration: none; letter-spacing: 0.01em; }
.btn-dark:hover { opacity: 0.85; }
.btn-outline { font-size: 14px; font-weight: 500; padding: 12px 28px; background: transparent; color: var(--color-text); border: 1.5px solid var(--color-border-strong); border-radius: var(--radius); cursor: pointer; display: inline-block; text-decoration: none; }
.btn-outline:hover { background: var(--color-surface-1); }
.btn-white { font-size: 14px; font-weight: 600; padding: 12px 28px; background: #fff; color: var(--color-text); border: none; border-radius: var(--radius); cursor: pointer; display: inline-block; text-decoration: none; }
.btn-white:hover { opacity: 0.9; }
.btn-white-outline { font-size: 14px; font-weight: 500; padding: 12px 28px; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); border-radius: var(--radius); cursor: pointer; display: inline-block; text-decoration: none; }
.btn-white-outline:hover { background: rgba(255,255,255,0.1); }

/* ── PAGE HEADER ── */
.page-header { padding: 4rem 2.5rem 3rem; border-bottom: 1px solid var(--color-border); background: var(--color-surface); }
.page-header.centered { text-align: center; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 0.6rem; }
.page-header h1 { font-size: 38px; font-weight: 700; font-family: var(--font-voice); line-height: 1.15; color: var(--color-text); }
.page-header p.sub { font-size: 15px; color: var(--color-text-sec); margin-top: 0.75rem; line-height: 1.7; max-width: 540px; }
.page-header.centered p.sub { margin: 0.75rem auto 0; }

/* ── HERO BANNER ── */
.ministry-hero { height: 340px; position: relative; overflow: hidden; display: flex; align-items: flex-end; border-bottom: 1px solid var(--color-border); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg { position: absolute; inset: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 60%, transparent 100%); }
.hero-text { position: relative; z-index: 2; padding: 2.5rem; }
.hero-text h1 { font-size: 36px; font-weight: 700; color: #fff; font-family: var(--font-voice); line-height: 1.15; }
.hero-text .hero-sub { font-size: 15px; color: rgba(255,255,255,0.8); margin-top: 0.4rem; }

/* ── LAYOUT ── */
.content-wrap { max-width: 820px; margin: 0 auto; padding: 3.5rem 2.5rem; }
.section-block { margin-bottom: 3rem; }
.section-block h2 { font-size: 26px; font-weight: 700; font-family: var(--font-voice); margin-bottom: 1rem; line-height: 1.2; }
.section-block p { font-size: 15px; color: var(--color-text-sec); line-height: 1.85; margin-bottom: 0.85rem; }
.lead { font-size: 18px; color: var(--color-text); line-height: 1.85; margin-bottom: 3rem; font-family: var(--font-voice); padding-bottom: 3rem; border-bottom: 1px solid var(--color-border); font-weight: 500; }
.divider { border: none; border-top: 1px solid var(--color-border); margin: 3rem 0; }
.section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 1rem; }

/* ── INFO PILLS ── */
.info-strip { display: flex; gap: 12px; margin-bottom: 3rem; flex-wrap: wrap; }
.info-pill { display: flex; align-items: center; gap: 8px; background: var(--color-surface-1); border: 1px solid var(--color-border); border-radius: 100px; padding: 9px 18px; font-size: 14px; font-weight: 500; color: var(--color-text-sec); }

/* ── CARDS ── */
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.card { border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface); overflow: hidden; }
.card:hover { border-color: var(--color-border-strong); }
.card-body { padding: 1.25rem; }
.card-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.3rem; }
.card-body h3 { font-size: 16px; font-weight: 600; }
.card-body p { font-size: 13px; color: var(--color-text-sec); margin-top: 0.3rem; line-height: 1.6; }

/* ── SCRIPTURE ── */
.scripture-card { background: var(--color-surface-1); border: 1px solid var(--color-border); border-left: 3px solid var(--color-text); border-radius: 12px; padding: 1.75rem; margin-bottom: 3rem; }
.scripture-card blockquote { font-family: var(--font-voice); font-size: 17px; font-weight: 500; color: var(--color-text); line-height: 1.75; }
.scripture-card cite { display: block; font-size: 13px; color: var(--color-text-muted); margin-top: 0.75rem; font-style: normal; letter-spacing: 0.05em; font-weight: 500; }

/* ── FOOTER ── */
footer { padding: 2.5rem; text-align: center; font-size: 13px; color: var(--color-text-muted); background: var(--color-surface); border-top: 1px solid var(--color-border); }
footer a { color: var(--color-accent); text-decoration: none; font-weight: 500; }
.footer-links { display: flex; justify-content: center; gap: 1.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.footer-links a { font-size: 13px; font-weight: 600; color: var(--color-text-sec); text-decoration: none; }
.footer-links a:hover { color: var(--color-text); }

/* ── TEAM STRIP ── */
.team-strip { background: var(--color-surface-1); border-top: 1px solid var(--color-border); padding: 2.5rem; }
.team-strip h3 { font-size: 20px; font-weight: 700; font-family: var(--font-voice); margin-bottom: 1.5rem; }
.team-row { display: flex; gap: 12px; flex-wrap: wrap; }
.team-member { display: flex; align-items: center; gap: 12px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; padding: 12px 16px; }
.team-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--color-surface-2); border: 1px solid var(--color-border); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--color-text-sec); flex-shrink: 0; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-name { font-size: 14px; font-weight: 600; }
.team-title { font-size: 12px; color: var(--color-text-muted); font-weight: 500; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .content-wrap { padding: 2.5rem 1.25rem; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .ministry-hero { height: 260px; }
  .hero-text h1 { font-size: 28px; }
  .page-header { padding: 2.5rem 1.25rem 2rem; }
  .page-header h1 { font-size: 30px; }
  .lead { font-size: 16px; }
}
