/*
Theme Name:  TheEndtime
Theme URI:   https://theendtime.com
Author:      TheEndtime.com
Description: Custom WordPress theme for TheEndtime.com — a biblical prophecy news and teaching site. Editorial news-magazine aesthetic in navy, gold, and cream.
Version:     1.0.0
License:     Private
Text Domain: theendtime
*/

/* ========================================================================
   CSS VARIABLES
   ======================================================================== */
:root {
  --navy:       #0d1b2a;
  --navy-mid:   #152338;
  --navy-light: #1e3352;
  --gold:       #c9993a;
  --gold-light: #e8b84b;
  --gold-pale:  #f5e6c8;
  --cream:      #faf7f2;
  --warm-white: #fff9f0;
  --text-dark:  #1a1a1a;
  --text-mid:   #4a4a4a;
  --text-light: #7a7a7a;
  --red-accent: #b33a2a;
  --border:     rgba(201,153,58,0.25);
}

/* ========================================================================
   RESET & BASE
   ======================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

/* ========================================================================
   TICKER
   ======================================================================== */
.ticker-wrap {
  background: var(--navy);
  color: var(--gold-light);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-block;
  animation: ticker 30s linear infinite;
}
.ticker-inner span { margin: 0 3rem; }
.ticker-inner span::before { content: "◆ "; color: var(--red-accent); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========================================================================
   NAVIGATION
   ======================================================================== */
nav {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: relative;
}
.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--navy);
  text-decoration: none;
  padding: 1rem 0;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--gold); }

/* WordPress generates a <ul> with class from wp_nav_menu() */
.nav-links,
.nav-links ul { list-style: none; }
.nav-links {
  display: flex;
  gap: 0;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  padding: 1.4rem 1.1rem;
  display: block;
  transition: color 0.2s;
  border-bottom: 3px solid transparent;
}
.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current-menu-ancestor > a {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
/* "Find Hope" CTA — site owner applies CSS class 'nav-cta' in WP Admin > Menus */
.nav-links .nav-cta > a {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 2px;
  border-bottom: none !important;
  margin-left: 1rem;
  transition: background 0.2s !important;
}
.nav-links .nav-cta > a:hover { background: var(--gold-light) !important; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s;
}

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,153,58,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 10% 80%, rgba(30,60,100,0.6) 0%, transparent 60%);
}
.hero-grid-line {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(201,153,58,0.12);
}
.hero-grid-line:nth-child(1) { left: 25%; }
.hero-grid-line:nth-child(2) { left: 50%; }
.hero-grid-line:nth-child(3) { left: 75%; }

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--warm-white);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,249,240,0.75);
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--warm-white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1px solid rgba(255,249,240,0.3);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-1px); }

/* Hero side panel */
.hero-panel {
  background: rgba(255,249,240,0.05);
  border: 1px solid rgba(201,153,58,0.2);
  padding: 2rem;
  backdrop-filter: blur(4px);
}
.hero-panel-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(201,153,58,0.2);
}
.verse-block {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,249,240,0.9);
  margin-bottom: 1rem;
}
.verse-ref {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.hero-divider {
  height: 1px;
  background: rgba(201,153,58,0.2);
  margin: 1.5rem 0;
}
.sign-list { list-style: none; }
.sign-list li {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,249,240,0.8);
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(201,153,58,0.1);
}
.sign-list li:last-child { border-bottom: none; }
.sign-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.sign-dot.red { background: var(--red-accent); }

/* ========================================================================
   SECTION LABEL (reused throughout)
   ======================================================================== */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ========================================================================
   TOPICS BAR
   ======================================================================== */
.topics-section {
  background: var(--navy-mid);
  padding: 3rem 2rem;
}
.topics-inner { max-width: 1200px; margin: 0 auto; }
.topics-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.topics-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201,153,58,0.2);
}
.topics-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.topic-pill {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,249,240,0.8);
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(201,153,58,0.25);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.topic-pill:hover,
.topic-pill.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ========================================================================
   MAIN CONTENT + SIDEBAR LAYOUT
   ======================================================================== */
.main-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
}

/* ── Featured Article ── */
.featured-article {
  border-bottom: 1px solid var(--border);
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.featured-img {
  background: var(--navy);
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #2a4060 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(201,153,58,0.15);
}

/* ── Article Taxonomy Label ── */
.article-category {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: 0.8rem;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
}
.article-category:hover { color: var(--gold); }

/* ── Article Title ── */
.article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 1rem;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.article-title:hover { color: var(--gold); }

/* ── Article Excerpt ── */
.article-excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
  font-weight: 300;
}

/* ── Article Meta ── */
.article-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.article-meta .dot { color: var(--gold); }

/* ── Article Card Grid ── */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.article-card {
  border-top: 2px solid var(--border);
  padding-top: 1.2rem;
}
.article-card .article-title {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.article-card .article-excerpt {
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.load-more-wrap { text-align: center; margin-top: 1rem; }

/* ── No Posts Message ── */
.no-posts {
  padding: 3rem 0;
  text-align: center;
  color: var(--text-light);
  font-style: italic;
}

/* ========================================================================
   SIDEBAR
   ======================================================================== */
.sidebar-block { margin-bottom: 3rem; }
.sidebar-block .section-label { margin-bottom: 1.5rem; }

/* Bible Studies list */
.study-list { list-style: none; }
.study-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: start;
}
.study-item:last-child { border-bottom: none; }
.study-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-pale);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}
.study-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.3rem;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.study-title:hover { color: var(--gold); }
.study-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* Salvation box */
.salvation-box {
  background: var(--navy);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.salvation-box::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  border: 1px solid rgba(201,153,58,0.2);
  border-radius: 50%;
}
.salvation-box::after {
  content: '';
  position: absolute;
  top: -10px; right: -10px;
  width: 60px; height: 60px;
  border: 1px solid rgba(201,153,58,0.15);
  border-radius: 50%;
}
.salvation-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.salvation-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--warm-white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.salvation-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,249,240,0.75);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.salvation-verse {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold-light);
  line-height: 1.6;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  margin-bottom: 1.5rem;
}

/* ========================================================================
   PROPHECY TIMELINE
   ======================================================================== */
.timeline-section {
  background: var(--navy);
  padding: 4rem 2rem;
}
.timeline-inner { max-width: 1200px; margin: 0 auto; }
.timeline-header { margin-bottom: 3rem; }
.timeline-header .section-label { color: var(--gold); }
.timeline-header .section-label::after { background: rgba(201,153,58,0.2); }
.timeline-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--warm-white);
  margin-bottom: 0.5rem;
}
.timeline-subtitle {
  font-size: 0.95rem;
  color: rgba(255,249,240,0.6);
  font-weight: 300;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.4;
}
.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5rem;
}
.timeline-dot {
  width: 56px; height: 56px;
  background: var(--navy-light);
  border: 1px solid rgba(201,153,58,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}
.timeline-node:hover .timeline-dot {
  background: var(--gold);
  border-color: var(--gold);
}
.timeline-node-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}
.timeline-node-text {
  font-size: 0.78rem;
  color: rgba(255,249,240,0.55);
  line-height: 1.4;
  font-weight: 300;
}
.timeline-ref {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  opacity: 0.7;
  margin-top: 0.4rem;
}

/* ========================================================================
   NEWSLETTER
   ======================================================================== */
.newsletter-section {
  background: var(--gold);
  padding: 3.5rem 2rem;
}
.newsletter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  justify-content: space-between;
}
.newsletter-text h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.newsletter-text p {
  font-size: 0.9rem;
  color: rgba(13,27,42,0.7);
  font-weight: 300;
}
.newsletter-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}
.newsletter-form input {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.9rem;
  padding: 0.85rem 1.5rem;
  border: none;
  background: var(--navy);
  color: var(--warm-white);
  width: 280px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,249,240,0.4); }
.newsletter-form button {
  background: var(--navy);
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border: none;
  cursor: pointer;
  border-left: 1px solid rgba(201,153,58,0.3);
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--navy-light); }
.newsletter-success {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  display: none;
  margin-top: 0.5rem;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
footer {
  background: #080f18;
  padding: 4rem 2rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201,153,58,0.15);
}
.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--warm-white);
  padding: 0;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,249,240,0.45);
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,249,240,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255,249,240,0.25);
}
.footer-verse {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.8rem;
  color: rgba(201,153,58,0.5);
  text-align: right;
  max-width: 360px;
}

/* ========================================================================
   SINGLE POST
   ======================================================================== */
.single-header {
  background: var(--navy);
  padding: 4rem 2rem;
}
.single-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.single-header .article-category { margin-bottom: 1rem; }
.single-header .article-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--warm-white);
  margin-bottom: 1.2rem;
}
.single-header .article-meta {
  color: rgba(255,249,240,0.5);
}

.single-content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
}
.single-main {}

.article-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 2.5rem;
}
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}
.article-body p { margin-bottom: 1.5rem; }
.article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}
.article-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.8rem;
}
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-mid);
}
.article-body a { color: var(--gold); text-decoration: underline; }
.article-body a:hover { color: var(--navy); }

.external-source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none !important;
  border: 1px solid var(--gold);
  padding: 0.7rem 1.4rem;
  margin-top: 2rem;
  transition: all 0.2s;
}
.external-source-link:hover { background: var(--gold); color: var(--navy) !important; }

/* ========================================================================
   PAGE TEMPLATES (generic, About, What We Believe)
   ======================================================================== */
.page-header {
  background: var(--navy);
  padding: 4rem 2rem;
  text-align: center;
}
.page-header-inner { max-width: 800px; margin: 0 auto; }
.page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--warm-white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.page-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,249,240,0.7);
  line-height: 1.7;
}
.page-content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.page-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}
.page-content p { margin-bottom: 1.5rem; }
.page-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin: 3rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.page-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin: 2rem 0 0.8rem;
}
.page-content blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: var(--text-mid);
}
.page-content a { color: var(--gold); }
.page-content a:hover { color: var(--navy); }

/* ========================================================================
   PAGE HERO (Find Hope full-bleed hero — replaces plain .page-header)
   ======================================================================== */
.page-hero {
  background: var(--navy);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(201,153,58,0.07) 0%, transparent 70%);
}
.page-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--warm-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,249,240,0.75);
  max-width: 580px;
  margin: 0 auto;
}
/* Fade-up entrance */
@keyframes pageHeroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-hero-inner > * { animation: pageHeroFadeUp 0.6s ease both; }
.page-eyebrow  { animation-delay: 0.1s; }
.page-hero h1  { animation-delay: 0.25s; }
.page-hero-sub { animation-delay: 0.4s; }

/* ========================================================================
   FIND HOPE / SALVATION PAGE
   ======================================================================== */
.find-hope-section { padding: 4rem 2rem; }
.find-hope-inner { max-width: 800px; margin: 0 auto; }

/* Section divider label */
.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem; margin-top: 3.5rem;
}
.section-tag::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.section-tag:first-child { margin-top: 0; }

/* Scripture pull quote — dark block */
.scripture {
  background: var(--navy);
  padding: 2rem 2.5rem;
  margin: 2rem 0;
  position: relative;
}
.scripture::before {
  content: '\201C';
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem; line-height: 0.8;
  color: rgba(201,153,58,0.2);
  position: absolute; top: 1.2rem; left: 1.2rem;
}
.scripture-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem; line-height: 1.75;
  color: var(--warm-white);
  padding-left: 2rem;
  margin-bottom: 0.8rem;
}
.scripture-ref {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--gold);
  padding-left: 2rem;
}

/* Inline verse — gold left border */
.verse-inline {
  border-left: 3px solid var(--gold);
  padding: 0.6rem 0 0.6rem 1.4rem;
  margin: 1.5rem 0;
}
.verse-inline p {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1rem; line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 0.3rem;
}
.verse-inline .ref {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--gold);
}

/* Body prose */
.prose p {
  font-size: 1.05rem; line-height: 1.85; font-weight: 300;
  color: var(--text-mid);
  margin-bottom: 1.4rem;
}
.prose p strong { font-weight: 600; color: var(--text-dark); }

/* Story callout box */
.story-box {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 2rem 2.2rem;
  margin: 2.5rem 0;
}
.story-box-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
.story-box h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.8rem;
}
.story-box p {
  font-size: 0.95rem; line-height: 1.8; font-weight: 300;
  color: var(--text-mid);
}

/* GRACE acronym box */
.grace-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 2.5rem;
  margin: 2.5rem 0;
  text-align: center;
}
.grace-word {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem; font-weight: 900; letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.grace-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,249,240,0.6);
  margin-bottom: 1.5rem;
}
.grace-verse {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1rem; line-height: 1.75;
  color: rgba(255,249,240,0.85);
  max-width: 520px; margin: 0 auto 0.6rem;
}
.grace-ref {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--gold);
}

/* Forever / security of salvation list */
.forever-list { list-style: none; margin: 1.5rem 0; padding: 0; }
.forever-list li {
  display: flex; gap: 1rem; align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem; line-height: 1.7; font-weight: 300; color: var(--text-mid);
}
.forever-list li:last-child { border-bottom: none; }
.forever-list li strong { font-weight: 700; color: var(--navy); display: block; margin-bottom: 0.2rem; }
.forever-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy);
  background: var(--gold-pale);
  padding: 0.25rem 0.6rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Prayer box — dark, prominent */
.prayer-box {
  background: var(--navy);
  padding: 3rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.prayer-box::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px;
  border: 1px solid rgba(201,153,58,0.15);
  border-radius: 50%;
}
.prayer-box::after {
  content: '';
  position: absolute; top: -15px; right: -15px;
  width: 80px; height: 80px;
  border: 1px solid rgba(201,153,58,0.1);
  border-radius: 50%;
}
.prayer-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.prayer-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--warm-white); margin-bottom: 1.5rem; line-height: 1.2;
}
.prayer-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem; line-height: 1.85;
  color: rgba(255,249,240,0.88);
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative; z-index: 2;
}
.prayer-note {
  font-size: 0.85rem; line-height: 1.7; font-weight: 300;
  color: rgba(255,249,240,0.55);
  font-style: italic;
}

/* What's Next grid */
.next-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
  margin: 1.5rem 0;
}
.next-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  padding: 1.4rem;
  text-decoration: none;
  transition: transform 0.2s;
  display: block;
}
.next-card:hover { transform: translateY(-2px); }
.next-card-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.next-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem; font-weight: 700; color: var(--navy);
  margin-bottom: 0.4rem;
}
.next-card p { font-size: 0.82rem; line-height: 1.6; color: var(--text-light); font-weight: 300; }

@media (max-width: 640px) {
  .next-grid { grid-template-columns: 1fr; }
  .prayer-box { padding: 2rem; }
  .grace-word { font-size: 2rem; }
}

/* ========================================================================
   BIBLE STUDIES INDEX
   ======================================================================== */
.studies-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.study-card {
  border: 1px solid var(--border);
  padding: 2rem;
  background: var(--warm-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.study-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,153,58,0.1);
}
.study-card-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: 1rem;
}
.study-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.8rem;
}
.study-card:hover .study-card-title { color: var(--gold); }
.study-card-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-weight: 300;
}
.study-card-ref {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-top: 1rem;
}

/* ========================================================================
   ARCHIVE / TOPIC PAGE
   ======================================================================== */
.archive-header {
  background: var(--navy-mid);
  padding: 3.5rem 2rem;
  border-bottom: 1px solid rgba(201,153,58,0.15);
}
.archive-header-inner { max-width: 1200px; margin: 0 auto; }
.archive-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.archive-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--warm-white);
  letter-spacing: -0.02em;
}
.archive-desc {
  font-size: 0.95rem;
  color: rgba(255,249,240,0.6);
  font-weight: 300;
  margin-top: 0.5rem;
}
.archive-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
}
.archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* ========================================================================
   WORDPRESS CORE CLASSES
   ======================================================================== */
.alignleft  { float: left;  margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem;  margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.4rem;
}

/* ========================================================================
   ANIMATIONS
   ======================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.6s ease 0.1s  both; }
.hero h1      { animation: fadeUp 0.6s ease 0.25s both; }
.hero-sub     { animation: fadeUp 0.6s ease 0.4s  both; }
.hero-actions { animation: fadeUp 0.6s ease 0.5s  both; }
.hero-panel   { animation: fadeUp 0.6s ease 0.55s both; }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 900px) {
  .hero-inner             { grid-template-columns: 1fr; }
  .hero-panel             { display: none; }
  .main-section           { grid-template-columns: 1fr; }
  .featured-article       { grid-template-columns: 1fr; }
  .articles-grid          { grid-template-columns: 1fr; }
  .timeline-track         { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .timeline-track::before { display: none; }
  .newsletter-inner       { flex-direction: column; gap: 2rem; }
  .newsletter-form        { flex-direction: column; }
  .newsletter-form input  { width: 100%; }
  .footer-grid            { grid-template-columns: 1fr 1fr; }
  .single-content-wrap    { grid-template-columns: 1fr; }
  .archive-content        { grid-template-columns: 1fr; }
  .archive-grid           { grid-template-columns: 1fr; }
  .studies-grid           { grid-template-columns: 1fr; }

  /* Mobile nav */
  .nav-links    { display: none; }
  .nav-toggle   { display: flex; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 99;
  }
  .nav-links.is-open li a        { padding: 0.9rem 2rem; border-bottom: 1px solid var(--border); }
  .nav-links.is-open .nav-cta    { padding: 0.5rem 2rem; }
  .nav-links.is-open .nav-cta a  { margin: 0; display: block; text-align: center; }
}

@media (max-width: 600px) {
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-verse   { text-align: center; }
  .timeline-track { grid-template-columns: 1fr; }
}
