/* ═══════════════════════════════════════════════════
   Digital Armor — Blog Styles
═══════════════════════════════════════════════════ */

.blog-page { padding-top: 68px; }

/* ── Blog Hero ───────────────────────────────────── */
.blog-hero {
  background: linear-gradient(160deg, var(--navy-deeper) 0%, var(--navy-dark) 100%);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2.5rem 3.5rem;
}
.blog-hero-inner { max-width: 760px; margin: 0 auto; }
.blog-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; line-height: 1.08;
  color: var(--white); margin: 0.5rem 0 1rem;
}
.blog-hero p {
  font-size: 1.05rem; color: var(--steel-light);
  line-height: 1.7; font-weight: 300;
}

/* ── Blog Grid ───────────────────────────────────── */
.blog-grid-wrap {
  max-width: 1100px; margin: 0 auto;
  padding: 3.5rem 2.5rem 5rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ── Blog Card ───────────────────────────────────── */
.blog-card {
  background: var(--navy-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: border-color 0.22s ease, transform 0.22s ease;
}
.blog-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.blog-card-featured {
  grid-column: span 2;
  background: linear-gradient(160deg, #0e2a48 0%, var(--navy-dark) 100%);
  border-color: var(--border-accent);
}
.blog-meta {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.blog-tag {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(46,125,209,0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  padding: 0.22rem 0.6rem; border-radius: 3px;
}
.blog-date {
  font-size: 0.78rem; color: var(--text-muted);
}
.blog-card h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem; font-weight: 700;
  line-height: 1.15; margin-bottom: 0.75rem;
}
.blog-card h2 a {
  color: var(--white); text-decoration: none;
  transition: color 0.2s;
}
.blog-card h2 a:hover { color: var(--accent-bright); }
.blog-card-featured h2 { font-size: 1.8rem; }
.blog-card p {
  font-size: 0.9rem; color: var(--steel-light);
  line-height: 1.7; flex: 1; margin-bottom: 1.25rem;
}
.blog-read-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 700;
  color: var(--accent-bright); text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.blog-read-more:hover { color: var(--white); gap: 0.7rem; }

/* ── Blog Post Page ──────────────────────────────── */
.blog-post-page { padding-top: 68px; }

.post-hero {
  background: linear-gradient(160deg, var(--navy-deeper) 0%, var(--navy-dark) 100%);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2.5rem 3rem;
}
.post-hero-inner { max-width: 760px; margin: 0 auto; }
.post-meta {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.post-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; line-height: 1.08;
  color: var(--white); margin-bottom: 1rem;
}
.post-hero .post-lead {
  font-size: 1.1rem; color: var(--steel-light);
  line-height: 1.75; font-weight: 300;
}

.post-body {
  max-width: 760px; margin: 0 auto;
  padding: 3rem 2.5rem 5rem;
}
.post-body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--white); margin: 2rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.post-body h2:first-child { border-top: none; margin-top: 0; }
.post-body p {
  font-size: 0.95rem; color: var(--steel-light);
  line-height: 1.8; margin-bottom: 1rem;
}
.post-body strong { color: var(--white); }
.post-body ul, .post-body ol {
  margin: 0.75rem 0 1rem 0; padding-left: 0;
  list-style: none;
}
.post-body ul li, .post-body ol li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--steel-light); line-height: 1.65;
}
.post-body ul li:last-child,
.post-body ol li:last-child { border-bottom: none; }
.post-body ul li::before {
  content: '';
  display: block; width: 6px; height: 6px;
  background: var(--accent-bright); border-radius: 50%;
  flex-shrink: 0; margin-top: 7px;
}
.post-body ol { counter-reset: post-counter; }
.post-body ol li::before {
  content: counter(post-counter);
  counter-increment: post-counter;
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-glow); border: 1px solid var(--border-accent);
  font-size: 0.75rem; font-weight: 700; color: var(--accent-bright);
  flex-shrink: 0; margin-top: 2px;
}
.post-body a { color: var(--accent-bright); }
.post-body a:hover { color: var(--white); }

.post-callout {
  background: var(--navy-dark);
  border: 1px solid var(--border-accent);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.post-callout p { margin: 0; color: var(--steel-light); }
.post-callout strong { color: var(--accent-bright); }

.post-warning {
  background: rgba(224,92,58,0.06);
  border: 1px solid rgba(224,92,58,0.25);
  border-left: 3px solid var(--danger);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.post-warning p { margin: 0; color: #f09070; }

.post-cta {
  background: var(--navy-deeper);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}
.post-cta h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.75rem;
}
.post-cta p {
  max-width: 500px; margin: 0 auto 1.5rem;
}

.post-nav {
  display: flex; justify-content: space-between;
  align-items: center; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.post-nav a {
  color: var(--accent-bright); text-decoration: none;
  font-size: 0.875rem; font-weight: 700;
  transition: color 0.2s;
}
.post-nav a:hover { color: var(--white); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-featured { grid-column: span 1; }
  .blog-grid-wrap { padding: 2rem 1.25rem 3rem; }
  .blog-hero { padding: 3rem 1.25rem 2.5rem; }
  .post-body { padding: 2rem 1.25rem 3rem; }
  .post-hero { padding: 3rem 1.25rem 2.5rem; }
}
