/* =============================================================
   news-page.css
   Page-specific styles for news.html
   Requires: style.css (global) loaded first
   ============================================================= */

/* ── PAGE BANNER (news-specific background image override) ── */
.page-banner {
  background: linear-gradient(
      135deg,
      rgba(7, 28, 50, 0.95) 0%,
      rgba(11, 42, 74, 0.85) 60%,
      rgba(18, 61, 106, 0.70) 100%
    ),
    url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=1600&q=80')
    center / cover no-repeat;
  min-height: 360px;
  padding-bottom: 60px;
}


/* ── FILTER BAR ──────────────────────────────────────────── */
.filter-bar {
  background: var(--offwhite);
  border-bottom: 1px solid rgba(11, 42, 74, 0.08);
  position: sticky;
  top: 80px;
  z-index: 50;
}

.filter-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.filter-tabs { display: flex; }

.ftab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 16px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9CA3AF;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  transition: all 0.2s;
}
.ftab:hover { color: var(--navy); }
.ftab.active { color: var(--navy); border-bottom-color: var(--gold); }

.filter-search-box { display: flex; padding: 8px 0; }
.filter-search-box input {
  padding: 9px 14px;
  border: 1px solid rgba(11, 42, 74, 0.15);
  border-right: none;
  border-radius: 3px 0 0 3px;
  font-size: 0.82rem;
  font-family: 'Jost', sans-serif;
  color: var(--navy);
  outline: none;
  width: 190px;
  background: var(--white);
}
.filter-search-box input:focus { border-color: var(--gold); }
.filter-search-box button {
  padding: 9px 14px;
  background: var(--navy);
  color: var(--gold);
  border: none;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: background 0.2s;
}
.filter-search-box button:hover { background: var(--gold); color: var(--navy-dark); }


/* ── CONTENT PANELS (tab switching) ─────────────────────── */
.content-panel { display: none; }
.content-panel.active {
  display: block;
  animation: fadeUp 0.3s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── NEWS BODY LAYOUT ────────────────────────────────────── */
.news-body { padding: 64px 0 100px; background: var(--white); }

.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}


/* ── FEATURED POST ───────────────────────────────────────── */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 8px 40px rgba(11, 42, 74, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}
.featured-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(11, 42, 74, 0.2);
}

.fp-img {
  min-height: 340px;
  background: linear-gradient(135deg, #0B2A4A 0%, #123D6A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.fp-img i { font-size: 5rem; color: rgba(200, 164, 77, 0.2); }

.fp-badge {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 4px;
  width: 54px; height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.fp-badge .fpd { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; line-height: 1; }
.fp-badge .fpm { font-size: 0.55rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.fp-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fp-cat {
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
  font-family: 'Jost', sans-serif;
}
.fp-body h2 { font-size: 1.45rem; color: var(--white); margin-bottom: 12px; line-height: 1.3; }
.fp-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.fp-meta span { font-size: 0.7rem; color: rgba(255,255,255,0.4); font-family: 'Jost', sans-serif; display: flex; align-items: center; gap: 5px; }
.fp-meta span i { color: var(--gold); font-size: 0.62rem; }
.fp-body p { font-size: 0.98rem; color: rgba(255,255,255,0.62); margin-bottom: 22px; line-height: 1.7; }
.fp-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); transition: gap 0.2s; }
.fp-link:hover { gap: 10px; }


/* ── NEWS CARDS GRID (2-col inside layout) ───────────────── */
.subsection-label { margin-bottom: 20px; }

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 40px;
}

.nc {
  background: var(--white);
  border: 1px solid rgba(11, 42, 74, 0.08);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(11, 42, 74, 0.05);
  transition: all 0.3s;
}
.nc:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(11, 42, 74, 0.12); }

.nc-img {
  height: 190px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.nc-img i { font-size: 2.8rem; color: rgba(200, 164, 77, 0.28); }

.nc-date-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--navy-dark);
  border-radius: 3px; width: 44px; height: 44px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.nc-date-badge .ncd { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; line-height: 1; }
.nc-date-badge .ncm { font-size: 0.5rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.nc-cat-tag {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(7, 28, 50, 0.82);
  color: var(--gold);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 2px;
  font-family: 'Jost', sans-serif;
}

.nc-body { padding: 20px 20px 22px; }
.nc-body h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; line-height: 1.4; transition: color 0.2s; cursor: pointer; }
.nc:hover .nc-body h3 { color: var(--gold); }
.nc-body p { font-size: 0.92rem; margin-bottom: 14px; line-height: 1.62; }

.nc-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid rgba(11, 42, 74, 0.07); }
.nc-meta { display: flex; gap: 10px; }
.nc-meta span { font-size: 0.68rem; color: #9CA3AF; font-family: 'Jost', sans-serif; display: flex; align-items: center; gap: 4px; }
.nc-meta span i { color: var(--gold); font-size: 0.6rem; }
.nc-read { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); display: flex; align-items: center; gap: 5px; transition: all 0.2s; }
.nc-read:hover { color: var(--gold); gap: 8px; }


/* ── EVENTS LIST ─────────────────────────────────────────── */
.events-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }

.ev-item {
  display: flex;
  background: var(--white);
  border: 1px solid rgba(11, 42, 74, 0.08);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(11, 42, 74, 0.04);
  transition: all 0.3s;
}
.ev-item:hover { box-shadow: 0 6px 28px rgba(11, 42, 74, 0.12); transform: translateX(4px); }

.ev-date-col {
  width: 76px; flex-shrink: 0;
  background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ev-date-col .evd { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; color: var(--gold); line-height: 1; }
.ev-date-col .evm { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.ev-date-col .evy { font-size: 0.58rem; color: rgba(255,255,255,0.25); font-family: 'Jost', sans-serif; }

.ev-body { flex: 1; padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; }
.ev-body .ev-cat { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; font-family: 'Jost', sans-serif; }
.ev-body h4 { font-size: 0.98rem; color: var(--navy); margin-bottom: 8px; transition: color 0.2s; }
.ev-item:hover .ev-body h4 { color: var(--gold); }
.ev-body-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.ev-body-meta span { font-size: 0.7rem; color: #9CA3AF; font-family: 'Jost', sans-serif; display: flex; align-items: center; gap: 4px; }
.ev-body-meta span i { color: var(--gold); font-size: 0.62rem; }

.ev-arrow { width: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ev-arrow i { color: rgba(11, 42, 74, 0.18); font-size: 0.85rem; transition: all 0.2s; }
.ev-item:hover .ev-arrow i { color: var(--gold); transform: translateX(3px); }


/* ── ANNOUNCEMENTS ───────────────────────────────────────── */
.ann-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }

.ann-item {
  display: flex; gap: 18px; padding: 20px;
  background: var(--offwhite);
  border-radius: 4px;
  border-left: 4px solid var(--gold);
  transition: all 0.25s;
}
.ann-item:hover { background: var(--gold-pale); transform: translateX(4px); }

.ann-icon { width: 46px; height: 46px; background: var(--navy); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ann-icon i { color: var(--gold); font-size: 1rem; }
.ann-body { flex: 1; }
.ann-cat { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; font-family: 'Jost', sans-serif; }
.ann-body h4 { font-size: 0.98rem; color: var(--navy); margin-bottom: 6px; }
.ann-body p { font-size: 0.92rem; margin: 0 0 10px; line-height: 1.6; }
.ann-link { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); display: inline-flex; align-items: center; gap: 5px; transition: all 0.2s; }
.ann-link:hover { color: var(--gold); gap: 8px; }
.ann-date { font-size: 0.68rem; color: #9CA3AF; font-family: 'Jost', sans-serif; margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.ann-date i { color: var(--gold); font-size: 0.6rem; }


/* ── MINISTRY UPDATES ────────────────────────────────────── */
.ministry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 40px; }

.min-card {
  background: var(--navy);
  border-radius: 6px;
  padding: 26px;
  position: relative; overflow: hidden;
  transition: transform 0.3s;
}
.min-card:hover { transform: translateY(-4px); }
.min-card::after { content: '✝'; position: absolute; right: -20px; bottom: -20px; font-size: 8rem; color: rgba(255,255,255,0.03); font-family: serif; pointer-events: none; }
.min-cat { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-family: 'Jost', sans-serif; }
.min-card h4 { font-size: 1rem; color: var(--white); margin-bottom: 10px; line-height: 1.35; }
.min-card p { font-size: 0.92rem; color: rgba(255,255,255,0.58); margin-bottom: 18px; line-height: 1.65; }
.min-footer { display: flex; justify-content: space-between; align-items: center; }
.min-date { font-size: 0.66rem; color: rgba(255,255,255,0.28); font-family: 'Jost', sans-serif; }
.min-read { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 5px; transition: gap 0.2s; }
.min-read:hover { gap: 8px; }


/* ── LOAD MORE ───────────────────────────────────────────── */
.load-more-wrap { text-align: center; margin-top: 8px; }


/* ── NEWS SIDEBAR WIDGETS ────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.sw { background: var(--white); border: 1px solid rgba(11, 42, 74, 0.08); border-radius: 6px; overflow: hidden; box-shadow: 0 2px 12px rgba(11, 42, 74, 0.05); }
.sw-head { background: var(--navy); padding: 14px 18px; }
.sw-title { font-family: 'Jost', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); }
.sw-body { padding: 18px; }

/* Category list */
.cat-list { display: flex; flex-direction: column; gap: 6px; }
.cat-item { display: flex; justify-content: space-between; align-items: center; padding: 9px 11px; border-radius: 3px; cursor: pointer; transition: all 0.2s; border: 1px solid transparent; }
.cat-item:hover, .cat-item.act { background: var(--gold-pale); border-color: rgba(200,164,77,0.3); }
.cat-left { display: flex; align-items: center; gap: 9px; }
.cat-left i { color: var(--gold); font-size: 0.78rem; width: 14px; }
.cat-left span { font-size: 0.83rem; font-weight: 500; color: var(--navy); font-family: 'Jost', sans-serif; }
.cat-num { font-size: 0.62rem; background: var(--navy); color: var(--white); padding: 2px 7px; border-radius: 10px; font-weight: 700; }
.cat-item.act .cat-num { background: var(--gold); color: var(--navy-dark); }

/* Recent posts */
.recent-list { display: flex; flex-direction: column; gap: 14px; }
.recent-item { display: flex; gap: 12px; align-items: flex-start; }
.recent-thumb { width: 54px; height: 46px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-radius: 3px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.recent-thumb i { color: rgba(200,164,77,0.45); font-size: 1rem; }
.recent-info h5 { font-family: 'Jost', sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 3px; transition: color 0.2s; cursor: pointer; }
.recent-info h5:hover { color: var(--gold); }
.recent-info span { font-size: 0.66rem; color: #9CA3AF; font-family: 'Jost', sans-serif; }

/* Upcoming events mini */
.ev-mini-list { display: flex; flex-direction: column; gap: 12px; }
.ev-mini { display: flex; gap: 11px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid rgba(11,42,74,0.06); }
.ev-mini:last-child { border-bottom: none; padding-bottom: 0; }
.ev-mini-date { background: var(--navy); color: var(--gold); width: 40px; height: 40px; border-radius: 3px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.ev-mini-date .emd { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; line-height: 1; }
.ev-mini-date .emm { font-size: 0.48rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ev-mini-info h5 { font-family: 'Jost', sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 3px; line-height: 1.35; transition: color 0.2s; cursor: pointer; }
.ev-mini-info h5:hover { color: var(--gold); }
.ev-mini-info span { font-size: 0.66rem; color: #9CA3AF; font-family: 'Jost', sans-serif; display: flex; align-items: center; gap: 3px; }
.ev-mini-info span i { color: var(--gold); font-size: 0.58rem; }

/* Social widget */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.soc-btn { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 3px; transition: opacity 0.2s, transform 0.2s; }
.soc-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.soc-btn.fb { background: #1877F2; }
.soc-btn.yt { background: #FF0000; }
.soc-btn.ig { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.soc-btn.wa { background: #25D366; }
.soc-btn i { color: var(--white); font-size: 0.95rem; }
.soc-btn span { font-size: 0.72rem; font-weight: 700; color: var(--white); font-family: 'Jost', sans-serif; }


/* ── NEWSLETTER BANNER (news page variant) ───────────────── */
.nl-section { padding: 72px 0; background: var(--gold-pale); }
.nl-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nl-text .section-tag::before { background: var(--gold); }
.nl-text p { margin-top: 6px; }
.nl-form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.nl-row-inp { flex: 1; min-width: 180px; padding: 12px 15px; border: 1px solid rgba(11,42,74,0.15); border-radius: 3px; font-size: 0.88rem; font-family: 'Jost', sans-serif; color: var(--navy); background: var(--white); outline: none; }
.nl-row-inp:focus { border-color: var(--gold); }
.nl-row-btn { padding: 12px 26px; background: var(--navy); color: var(--white); border: 2px solid var(--navy); border-radius: 3px; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; font-family: 'Jost', sans-serif; white-space: nowrap; }
.nl-row-btn:hover { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.nl-note { font-size: 0.72rem; color: #9CA3AF; margin-top: 8px; font-family: 'Jost', sans-serif; }

/* Newsletter sidebar widget */
.nl-widget { background: var(--navy); border-radius: 6px; padding: 24px; text-align: center; }
.nl-icon { font-size: 1.8rem; color: var(--gold); margin-bottom: 10px; }
.nl-widget h4 { font-size: 1rem; color: var(--white); margin-bottom: 7px; }
.nl-widget p { font-size: 0.88rem; color: rgba(255,255,255,0.5); margin-bottom: 16px; line-height: 1.6; }
.nl-inputs { display: flex; flex-direction: column; gap: 9px; }
.nl-inp { padding: 9px 13px; border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; background: rgba(255,255,255,0.07); color: var(--white); font-size: 0.83rem; font-family: 'Jost', sans-serif; outline: none; }
.nl-inp::placeholder { color: rgba(255,255,255,0.28); }
.nl-inp:focus { border-color: var(--gold); }
.nl-btn { background: var(--gold); color: var(--navy-dark); padding: 10px 14px; border: none; border-radius: 3px; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all 0.3s; font-family: 'Jost', sans-serif; }
.nl-btn:hover { background: var(--gold-light); }


/* ── CTA SECTION (navy — news page) ─────────────────────── */
.cta-sec {
  padding: 90px 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-sec::before { content: '✝'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 22rem; color: rgba(255,255,255,0.02); font-family: serif; pointer-events: none; }
.cta-inner { position: relative; max-width: 620px; margin: 0 auto; }
.cta-sec .section-tag { color: var(--gold-light); justify-content: center; }
.cta-sec .section-tag::before { display: none; }
.cta-sec .section-title { color: var(--white); }
.cta-sec p { color: rgba(255,255,255,0.62); max-width: 500px; margin: 0 auto 32px; font-size: 1.08rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .news-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .nl-banner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .featured-post { grid-template-columns: 1fr; }
  .fp-img { min-height: 200px; }
  .news-grid, .ministry-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .filter-bar-inner { flex-direction: column; align-items: flex-start; }
  .filter-search-box { width: 100%; padding: 8px 16px; }
  .filter-search-box input { flex: 1; width: auto; }
}

@media (max-width: 480px) {
  .filter-tabs { flex-wrap: wrap; }
  .ftab { padding: 12px 14px; font-size: 0.72rem; }
}
