/*
Theme Name: MGImpacts Blog Theme
Theme URI: https://mgimpacts.com
Author: Mega Impacts
Description: Custom WordPress theme matching MGImpacts.com design exactly — same fonts, colors, dark mode, and card styles.
Version: 2.0
Text Domain: mgimpacts
*/

/* ==========================================================================
   1. CSS Variables — exact match with main site
   ========================================================================== */
:root {
  --color-dark:         #0c1526;
  --color-primary:      #142039;
  --color-secondary:    #1e293b;
  --color-accent:       #ff7e00;
  --color-accent-hover: #ff6a00;
  --color-accent-rose:  #e11d48;
  --gradient-accent:    linear-gradient(90deg, #ff7e00, #e11d48);

  /* Flame */
  --flame:        #ea580c;
  --flame-light:  #f97316;
  --flame-dark:   #c2410c;
  --flame-bg:     #fff7ed;
  --flame-border: #fed7aa;
  --flame-text:   #9a3412;

  /* Ocean */
  --ocean:        #2563eb;
  --ocean-light:  #3b82f6;
  --ocean-dark:   #1d4ed8;
  --ocean-bg:     #eff6ff;
  --ocean-border: #bfdbfe;
  --ocean-text:   #1e40af;

  /* Iris */
  --iris:         #7c3aed;
  --iris-light:   #8b5cf6;
  --iris-dark:    #6d28d9;
  --iris-bg:      #f5f3ff;
  --iris-border:  #ddd6fe;
  --iris-text:    #5b21b6;

  /* Mint */
  --mint:         #059669;
  --mint-light:   #10b981;
  --mint-bg:      #ecfdf5;
  --mint-border:  #a7f3d0;
  --mint-text:    #065f46;

  /* Surface */
  --surface:         #ffffff;
  --surface-secondary: #f8fafc;
  --surface-muted:   #f1f5f9;
  --surface-border:  #e2e8f0;

  /* Text */
  --text-dark:   #0f172a;
  --text-muted:  #334155;
  --text-light:  #475569;
  --text-dimmed: #64748b;
  --text-faint:  #94a3b8;

  --transition-base: all 0.3s ease;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  color: #000000;
  background-color: #f1f5f9;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  padding-top: 100px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #000000;
  line-height: 1.25;
}

a {
  color: var(--flame);
  text-decoration: none;
  transition: var(--transition-base);
}
a:hover { color: var(--flame-dark); }

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

ul, ol { list-style: none; }

/* ==========================================================================
   3. Header — exact glass floating header from main site
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 8px 8px;
}
@media (min-width: 768px)  { .site-header { padding: 12px 16px; } }
@media (min-width: 1024px) { .site-header { padding: 12px 32px; } }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
@media (min-width: 768px) { .header-inner { border-radius: 20px; padding: 14px 32px; } }

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-logo img { height: 40px; width: auto; object-fit: contain; }
@media (min-width: 768px) { .site-logo img { height: 48px; } }

.site-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (min-width: 768px) { .site-logo-text { font-size: 1.5rem; } }

.logo-mega { color: #0c1526; }
.logo-impacts {
  background: linear-gradient(135deg, #ea580c, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Desktop nav */
.main-nav { display: none; align-items: center; gap: 32px; }
@media (min-width: 1024px) { .main-nav { display: flex; } }

.nav-link {
  color: #334155;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  position: relative;
  text-decoration: none;
  transition: color 0.3s;
}
.nav-link:hover { color: #ea580c; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: #ea580c;
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-link:hover::after,
.nav-link.nav-active::after { transform: scaleX(1); }
.nav-link.nav-active { color: #ea580c; }

/* Hamburger */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #334155;
  font-size: 1.2rem;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Mobile nav */
.mobile-nav { display: none; margin-top: 8px; }
.mobile-nav.open { display: block; }

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  gap: 4px;
}
.mobile-nav li { list-style: none; }
.mobile-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a.nav-active { color: #ea580c; background-color: #fff7ed; }

/* ==========================================================================
   4. Footer — exact match
   ========================================================================== */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 40px 24px;
  text-align: center;
  margin-top: 80px;
}

.footer-inner { max-width: 1440px; margin: 0 auto; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #475569;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #0c1526; }

.footer-policy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-policy a {
  color: #64748b;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-policy a:hover { color: #0c1526; }

.footer-social { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.footer-social a {
  color: #475569;
  font-size: 1.125rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-social a:hover { color: #0c1526; }

.footer-contact {
  color: #475569;
  font-size: 0.875rem;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}
.footer-contact a { color: #475569; text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: #0c1526; }

.footer-sep { margin: 0 8px; color: #cbd5e1; }

.footer-address {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
}
.footer-address a { color: #64748b; text-decoration: none; }
.footer-address a:hover { color: #0c1526; }

.footer-copy {
  color: rgba(100,116,139,0.6);
  font-size: 0.75rem;
  font-family: 'Poppins', sans-serif;
}

/* ==========================================================================
   5. Page layout
   ========================================================================== */
.site-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 24px;
}
@media (min-width: 768px)  { .site-main { padding: 60px 48px; } }
@media (min-width: 1280px) { .site-main { padding: 60px 80px; } }

/* ==========================================================================
   6. Page hero band
   ========================================================================== */
.page-hero {
  text-align: center;
  padding: 56px 24px 44px;
  max-width: 1440px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: 'Plus Jakarta Sans', 'Playfair Display', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000;
  margin-bottom: 12px;
}
.page-hero p {
  color: #475569;
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

/* Gradient accent bar (matches .sec-line from main site) */
.section-bar {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ==========================================================================
   7. Tag / category badge — matches .tag from main site
   ========================================================================== */
.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  padding: 5px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.2s;

  background: var(--flame-bg);
  color: var(--flame-text);
  border: 1px solid var(--flame-border);
}
.cat-badge:hover { background: #ffedd5; color: var(--flame-dark); }

.post-meta-date {
  color: var(--text-faint);
  font-size: 0.8rem;
  font-family: 'Poppins', sans-serif;
}

/* ==========================================================================
   8. Blog grid
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px)  { .blog-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: 1fr 1fr 1fr; gap: 20px; } }

/* Post card — exact .card from main site */
.post-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
}

.post-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.post-card-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #142039, #1e293b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.12);
  font-size: 2.5rem;
}

.post-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.post-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
  line-height: 1.4;
}
.post-card-title a { color: inherit; text-decoration: none; }
.post-card-title a:hover { color: var(--flame); }

.post-card-excerpt {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.post-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}
.avatar-placeholder {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--flame);
  font-weight: 600;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.read-more:hover { gap: 9px; color: var(--flame-dark); }

/* ==========================================================================
   9. Two-column layout (post + sidebar)
   ========================================================================== */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 72px;
  align-items: start;
}
@media (min-width: 768px)  { .content-sidebar { padding: 48px 48px 72px; } }
@media (min-width: 1280px) { .content-sidebar { padding: 52px 40px 72px; } }

/* ==========================================================================
   10. Single post
   ========================================================================== */
/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-family: 'Poppins', sans-serif;
  color: var(--text-faint);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-dimmed); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--flame); }
.breadcrumb .sep { color: #cbd5e1; font-size: 0.65rem; }

/* Post hero */
.post-hero { margin-bottom: 32px; }

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.post-hero-title {
  font-family: 'Plus Jakarta Sans', 'Playfair Display', sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000;
  line-height: 1.2;
  margin-bottom: 24px;
}

.post-hero-img {
  width: 100%;
  border-radius: 16px;
  max-height: 500px;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* Byline */
.post-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin: 24px 0;
  flex-wrap: wrap;
}
.byline-avatar-placeholder {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.byline-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #000;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
}
.byline-date {
  color: var(--text-dimmed);
  font-size: 0.82rem;
  font-family: 'Poppins', sans-serif;
  margin-top: 3px;
}

/* Post content box */
.post-content-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
@media (min-width: 768px) { .post-content-wrap { padding: 48px 44px; } }

/* Post content typography */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: #000;
  margin-top: 2em;
  margin-bottom: 0.6em;
}
.post-content h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.025em;
}
.post-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -.025em;
  padding-bottom: 8px;
  border-bottom: 2px solid;
  border-image: var(--gradient-accent) 1;
}
.post-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.post-content h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.015em;
}
.post-content h5,
.post-content h6 { font-size: 1rem; }

.post-content p {
  margin-bottom: 1.5em;
  color: #1e293b;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
}

.post-content a { color: var(--flame); text-decoration: underline; }
.post-content a:hover { color: var(--flame-dark); }

.post-content ul,
.post-content ol {
  list-style: revert;
  margin: 1em 0 1.5em 1.5em;
  color: #1e293b;
  font-weight: 400;
}
.post-content li { margin-bottom: 0.5em; line-height: 1.7; }

.post-content blockquote {
  border-left: 4px solid var(--flame);
  padding: 16px 24px;
  margin: 2em 0;
  background: var(--flame-bg);
  border-radius: 0 12px 12px 0;
  color: #475569;
  font-style: italic;
  font-size: 1.05rem;
}

.post-content pre {
  background: #0c1526;
  color: #e2e8f0;
  padding: 22px 24px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 0.875rem;
  margin: 1.5em 0;
  line-height: 1.6;
}
.post-content code {
  background: #f1f5f9;
  color: var(--flame);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}
.post-content pre code { background: none; color: inherit; padding: 0; }

.post-content img {
  border-radius: 12px;
  margin: 1.5em auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9rem;
  font-weight: 400;
}
.post-content th {
  background: #0c1526;
  color: #fff;
  padding: 10px 16px;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-content td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}
.post-content tr:hover td { background: #f8fafc; }

.post-content hr {
  border: none;
  border-top: 2px solid #e2e8f0;
  margin: 2em 0;
}

/* Post tags */
.post-tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.post-tag:hover { background: var(--flame-bg); color: var(--flame); border-color: var(--flame-border); }

/* Share */
.post-share { margin-top: 32px; padding-top: 24px; border-top: 1px solid #e2e8f0; }
.post-share-title { font-size: 0.85rem; font-weight: 600; color: #64748b; font-family: 'Poppins', sans-serif; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.share-links { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.82rem; font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
  border: none; cursor: pointer;
}
.share-btn-twitter  { background: #e7f3fe; color: #1d9bf0; }
.share-btn-linkedin { background: #e8f4fe; color: #0a66c2; }
.share-btn-copy     { background: #f1f5f9; color: #475569; }
.share-btn:hover    { filter: brightness(0.92); }

/* Prev/Next */
.post-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.post-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s;
  max-width: 220px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.post-nav a:hover { background: var(--flame-bg); border-color: var(--flame-border); color: var(--flame); }

/* ==========================================================================
   11. Sidebar
   ========================================================================== */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.sidebar-widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid;
  border-image: var(--gradient-accent) 1;
}

.sidebar-widget ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sidebar-widget li { border-bottom: 1px solid #f1f5f9; padding-bottom: 10px; list-style: none; }
.sidebar-widget li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-widget a { color: #334155; font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: color 0.2s; font-family: 'Poppins', sans-serif; }
.sidebar-widget a:hover { color: var(--flame); }

.recent-post-item { display: flex; gap: 12px; align-items: flex-start; }
.recent-post-thumb {
  width: 60px; height: 60px;
  border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.recent-post-thumb-placeholder {
  width: 60px; height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, #142039, #1e293b);
  flex-shrink: 0;
}
.recent-post-title { font-size: 0.85rem; font-weight: 600; color: #1e293b; line-height: 1.35; font-family: 'Poppins', sans-serif; }
.recent-post-title a { color: inherit; text-decoration: none; }
.recent-post-title a:hover { color: var(--flame); }
.recent-post-date { font-size: 0.75rem; color: var(--text-faint); margin-top: 4px; font-family: 'Poppins', sans-serif; }

.cat-item { display: flex; justify-content: space-between; align-items: center; }
.cat-count {
  background: var(--flame-bg);
  color: var(--flame);
  border-radius: 9999px;
  padding: 2px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.sidebar-cta {
  background: linear-gradient(135deg, #142039, #0c1526) !important;
  border-color: #1e293b !important;
}
.sidebar-cta p { color: #94a3b8; font-size: 0.85rem; font-family: 'Poppins', sans-serif; margin-bottom: 14px; font-weight: 400; }
.btn-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gradient-accent);
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: opacity 0.2s;
  box-shadow: 0 4px 14px rgba(255,126,0,0.35);
}
.btn-cta:hover { opacity: 0.87; }

/* Tags cloud */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

/* ==========================================================================
   12. Recent posts section (bottom of single post)
   ========================================================================== */
.recent-posts-section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 2px solid #e2e8f0;
}
.section-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: #000;
  margin-bottom: 4px;
}
.section-subheading {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 400;
  color: #64748b;
  margin-bottom: 28px;
}
.section-bar {
  width: 56px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin-bottom: 28px;
}
.recent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px)  { .recent-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 900px)  { .recent-grid { grid-template-columns: 1fr 1fr 1fr; gap: 18px; } }

.recent-card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  overflow: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.recent-card:hover {
  border-color: #d1d9e6;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,.09), 0 4px 12px rgba(0,0,0,.05);
}
.recent-card-cover {
  position: relative;
  width: calc(100% - 16px);
  margin: 8px 8px 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 10px;
}
.recent-cover-gradient { position: absolute; inset: 0; }
.rc-g1 { background: linear-gradient(135deg, #0c1526 0%, #142039 45%, #7c3aed 130%); }
.rc-g2 { background: linear-gradient(135deg, #0c1526 0%, #1e293b 45%, #2563eb 130%); }
.rc-g3 { background: linear-gradient(135deg, #142039 0%, #0c1526 35%, #e11d48 130%); }
.recent-cover-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(12,21,38,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  z-index: 2;
}
.recent-cover-title {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  z-index: 2;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recent-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.recent-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: #0c1526;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recent-card:hover .recent-card-title { color: var(--flame); }
.recent-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  font-family: 'Poppins', sans-serif;
  font-size: .75rem;
  color: #94a3b8;
}
.rc-read { font-weight: 600; color: var(--flame); }

/* ==========================================================================
   13. Search form
   ========================================================================== */
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  outline: none;
  background: #f8fafc;
  color: #1e293b;
  transition: border-color 0.2s, background 0.2s;
}
.search-form input[type="search"]:focus { border-color: var(--flame); background: #fff; }
.search-form button {
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.search-form button:hover { opacity: 0.87; }

/* ==========================================================================
   13. Pagination
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
  list-style: none;
}
.pagination li { list-style: none; }
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
}
.pagination a { background: #fff; border: 1px solid #e2e8f0; color: #475569; }
.pagination a:hover { background: var(--flame-bg); border-color: var(--flame-border); color: var(--flame); }
.pagination .current { background: var(--gradient-accent); color: #fff; border: none; box-shadow: 0 4px 14px rgba(255,126,0,0.35); }
.pagination .dots { color: var(--text-faint); background: none; border: none; }

/* ==========================================================================
   14. 404 / No-results
   ========================================================================== */
.no-results {
  text-align: center;
  padding: 100px 20px;
  max-width: 540px;
  margin: 0 auto;
}
.no-results .error-num {
  font-size: 6rem;
  font-weight: 800;
  color: #e2e8f0;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  margin-bottom: 0;
}
.no-results h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}
.no-results p { color: #64748b; font-weight: 400; margin-bottom: 24px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient-accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: opacity 0.2s;
  box-shadow: 0 4px 16px rgba(255,126,0,0.3);
}
.btn-primary:hover { opacity: 0.87; color: #fff; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1e293b;
  color: #fff;
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-secondary:hover { opacity: 0.85; color: #fff; }

/* ==========================================================================
   15. WP default class overrides
   ========================================================================== */
.wp-caption { max-width: 100%; text-align: center; }
.wp-caption-text { font-size: 0.82rem; color: #64748b; margin-top: 6px; font-weight: 400; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft  { float: left;  margin-right: 20px; margin-bottom: 8px; }
.alignright { float: right; margin-left:  20px; margin-bottom: 8px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}

/* ==========================================================================
   16. DARK MODE — matches main site's @media (prefers-color-scheme: dark)
   ========================================================================== */
@media (prefers-color-scheme: dark) {

  :root {
    --surface:          #0a0a0a;
    --surface-secondary: #111111;
    --surface-muted:    #000000;
    --surface-border:   #1a1a1a;
    --text-dark:        #f0f0f0;
    --text-muted:       #e0e0e0;
    --text-light:       #a0a0a0;
    --text-dimmed:      #888888;
    --text-faint:       #555555;
  }

  body {
    color: #f0f0f0;
    background-color: #000000;
  }

  h1, h2, h3, h4, h5, h6 { color: #f0f0f0; }

  /* Header dark */
  .header-inner {
    background: rgba(10,10,10,0.92);
    border-color: #1a1a1a;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  }
  .logo-mega { color: #f0f0f0; }
  .nav-link { color: #a0a0a0; }
  .nav-link:hover { color: #ea580c; }
  .mobile-nav ul { background: rgba(10,10,10,0.97); border-color: #1a1a1a; }
  .mobile-nav a { color: #a0a0a0; }
  .mobile-nav a:hover,
  .mobile-nav a.nav-active { color: #ea580c; background-color: rgba(234,88,12,0.08); }
  .menu-toggle { color: #a0a0a0; }

  /* Footer dark */
  .site-footer { background: #000000; border-top-color: #1a1a1a; }
  .footer-nav a  { color: #a0a0a0; }
  .footer-nav a:hover { color: #f0f0f0; }
  .footer-policy a  { color: #888888; }
  .footer-policy a:hover { color: #f0f0f0; }
  .footer-social a { color: #a0a0a0; }
  .footer-social a:hover { color: #f0f0f0; }
  .footer-contact { color: #a0a0a0; }
  .footer-contact a { color: #a0a0a0; }
  .footer-address { color: #888888; }
  .footer-copy { color: rgba(255,255,255,0.2); }
  .footer-sep { color: #333; }

  /* Page hero dark */
  .page-hero h1 { color: #f0f0f0; }
  .page-hero p  { color: #a0a0a0; }

  /* Post cards dark */
  .post-card {
    background: #111111;
    border-color: #1a1a1a;
  }
  .post-card:hover {
    border-color: #2a2a2a;
    box-shadow: 0 28px 56px rgba(0,0,0,0.5);
  }
  .post-card-title { color: #f0f0f0; }
  .post-card-title a:hover { color: var(--flame); }
  .post-card-excerpt { color: #888888; }
  .post-card-footer { border-top-color: #1a1a1a; }
  .post-card-author { color: #888888; }

  /* Post content dark */
  .post-content-wrap {
    background: #111111;
    border-color: #1a1a1a;
  }
  .post-content h1,
  .post-content h2,
  .post-content h3,
  .post-content h4,
  .post-content h5,
  .post-content h6 { color: #f0f0f0; }
  .post-content p  { color: #d0d0d0; }
  .post-content ul,
  .post-content ol { color: #d0d0d0; }
  .post-content blockquote { background: rgba(234,88,12,0.08); color: #a0a0a0; }
  .post-content td { color: #a0a0a0; border-bottom-color: #1a1a1a; }
  .post-content tr:hover td { background: #0a0a0a; }
  .post-content hr { border-top-color: #1a1a1a; }
  .post-content code { background: #1a1a1a; color: #f97316; }

  /* Post hero dark */
  .post-hero-title { color: #f0f0f0; }
  .post-byline { border-color: #1a1a1a; }
  .byline-name  { color: #f0f0f0; }
  .byline-date  { color: #888888; }
  .post-hero-meta .post-meta-date { color: #555555; }
  .breadcrumb a  { color: #888888; }
  .post-share { border-top-color: #1a1a1a; }
  .post-share-title { color: #888888; }
  .post-tags .post-tag { background: #1a1a1a; color: #a0a0a0; border-color: #222222; }
  .post-tags .post-tag:hover { background: rgba(234,88,12,0.1); color: var(--flame); border-color: rgba(234,88,12,0.3); }

  /* Sidebar dark */
  .sidebar-widget { background: #111111; border-color: #1a1a1a; }
  .sidebar-widget-title { color: #f0f0f0; }
  .sidebar-widget li { border-bottom-color: #1a1a1a; }
  .sidebar-widget a  { color: #a0a0a0; }
  .sidebar-widget a:hover { color: var(--flame); }
  .recent-post-title { color: #d0d0d0; }
  .recent-post-date  { color: #555555; }
  .sidebar-cta { background: linear-gradient(135deg, #0a0a0a, #111111) !important; border-color: #1a1a1a !important; }

  /* Recent posts section dark */
  .recent-posts-section { border-top-color: #1a1a1a; }
  .section-heading { color: #f0f0f0; }
  .section-subheading { color: #888888; }
  .recent-card { background: #111111; border-color: #1a1a1a; }
  .recent-card:hover { border-color: #2a2a2a; }
  .recent-card-title { color: #f0f0f0; }
  .recent-card-meta { border-top-color: #1a1a1a; color: #555555; }

  /* Search dark */
  .search-form input[type="search"] {
    background: #1a1a1a;
    border-color: #222222;
    color: #f0f0f0;
  }
  .search-form input[type="search"]:focus { border-color: var(--flame); background: #111111; }
  .search-form input[type="search"]::placeholder { color: #555555; }

  /* Pagination dark */
  .pagination a { background: #111111; border-color: #1a1a1a; color: #a0a0a0; }
  .pagination a:hover { background: rgba(234,88,12,0.08); border-color: rgba(234,88,12,0.3); color: var(--flame); }

  /* Post nav dark */
  .post-nav a { background: #111111; border-color: #1a1a1a; color: #a0a0a0; }
  .post-nav a:hover { background: rgba(234,88,12,0.08); border-color: rgba(234,88,12,0.3); color: var(--flame); }

  /* No results dark */
  .no-results .error-num { color: #1a1a1a; }
  .no-results p { color: #888888; }

  /* Cat badge dark */
  .cat-badge {
    background: rgba(234,88,12,0.1);
    color: #f97316;
    border-color: rgba(234,88,12,0.2);
  }
  .cat-badge:hover { background: rgba(234,88,12,0.15); }
  .cat-count { background: rgba(234,88,12,0.12); color: #f97316; }
}

/* ==========================================================================
   17. Scrolled header shadow
   ========================================================================== */
.site-header.scrolled .header-inner {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
@media (prefers-color-scheme: dark) {
  .site-header.scrolled .header-inner {
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  }
}

/* ==========================================================================
   18. Instantly-style blog listing (ig = "instantly grid")
   ========================================================================== */

/* Page wrapper */
.blog-hero-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 52px 24px 0;
}
@media (min-width: 768px)  { .blog-hero-wrap { padding: 60px 48px 0; } }
@media (min-width: 1280px) { .blog-hero-wrap { padding: 64px 80px 0; } }

.blog-hero-title {
  font-family: 'Plus Jakarta Sans', 'Playfair Display', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #000;
  margin-bottom: 28px;
}

/* ── Filter bar ───────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 9999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: var(--flame);
  color: var(--flame);
  background: var(--flame-bg);
}
.filter-pill.active {
  background: var(--flame);
  border-color: var(--flame);
  color: #ffffff;
}
.filter-pill.active:hover { background: var(--flame-dark); border-color: var(--flame-dark); }

/* Search in filter bar */
.filter-search { flex-shrink: 0; min-width: 220px; }
.filter-search .search-form input[type="search"] {
  border-radius: 9999px;
  padding-left: 18px;
}
.filter-search .search-form button {
  border-radius: 9999px;
  padding: 10px 14px;
}

/* ── Posts grid ───────────────────────────────────── */
.blog-page-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
@media (min-width: 768px)  { .blog-page-wrap { padding: 0 48px 80px; } }
@media (min-width: 1280px) { .blog-page-wrap { padding: 0 80px 80px; } }

.ig-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 600px)  { .ig-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1024px) { .ig-grid { grid-template-columns: 1fr 1fr 1fr; gap: 20px; } }

/* ── Card ─────────────────────────────────────────── */
.ig-card {
  background: #ffffff;
  border: 1px solid #e8ecf2;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}
.ig-card:hover {
  border-color: #d1d9e6;
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.10), 0 6px 16px rgba(0,0,0,0.06);
}

/* Cover area */
.ig-card-cover-link { display: block; text-decoration: none; }

.ig-card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  margin: 10px 10px 0;
  width: calc(100% - 20px);
}

.ig-cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ig-card:hover .ig-cover-img { transform: scale(1.04); }

/* Overlay so text stays readable on photo */
.ig-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,21,38,0.15) 0%, rgba(12,21,38,0.65) 100%);
}

/* Gradient cover when no image */
.ig-cover-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0c1526 0%, #142039 40%, #1e3a5f 70%, #ea580c 130%);
}

/* Category badge on image */
.ig-cover-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(12,21,38,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}

/* Title overlaid on cover */
.ig-cover-title {
  position: absolute;
  top: 50%; left: 16px; right: 16px;
  transform: translateY(-50%);
  text-align: center;
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  z-index: 2;
  /* subtle text shadow for legibility */
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card body */
.ig-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ig-card-title-link { text-decoration: none; }
.ig-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: #0c1526;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.ig-card-title-link:hover .ig-card-title { color: var(--flame); }

.ig-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
.ig-meta-author {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
}
.ig-meta-right {
  display: flex; align-items: center; gap: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: #94a3b8;
}
.ig-meta-sep { color: #cbd5e1; }
.ig-meta-read { font-weight: 600; color: var(--flame); }
.ig-meta-date { }

/* ── Pagination — "Page X of Y" ───────────────────── */
.ig-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 56px;
}

.ig-pag-btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}
.ig-pag-btn:hover { border-color: var(--flame); color: var(--flame); background: var(--flame-bg); }
.ig-pag-disabled {
  border-color: #f1f5f9;
  color: #cbd5e1;
  cursor: default;
  pointer-events: none;
}

.ig-pag-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

/* ── Reading progress bar (thin orange bar at top of page) ── */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-accent);
  z-index: 99999;
  transition: width 0.1s linear;
}

/* ── Back-to-top button ───────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(255,126,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(10px);
  z-index: 9998;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255,126,0,0.5); }

/* ── Dark mode for ig-grid ───────────────────────── */
@media (prefers-color-scheme: dark) {
  .blog-hero-title { color: #f0f0f0; }

  .filter-bar { border-bottom-color: #1a1a1a; }
  .filter-pill { background: #111111; border-color: #222222; color: #a0a0a0; }
  .filter-pill:hover { border-color: var(--flame); color: var(--flame); background: rgba(234,88,12,0.08); }
  .filter-pill.active { background: var(--flame); border-color: var(--flame); color: #fff; }

  .ig-card { background: #111111; border-color: #1a1a1a; }
  .ig-card:hover { border-color: #2a2a2a; box-shadow: 0 24px 48px rgba(0,0,0,0.5); }
  .ig-card-title { color: #f0f0f0; }
  .ig-card-meta { border-top-color: #1a1a1a; }
  .ig-meta-author { color: #888888; }
  .ig-meta-right  { color: #555555; }
  .ig-meta-sep    { color: #333333; }
  .ig-cover-gradient { background: linear-gradient(135deg, #050810 0%, #0c1526 40%, #142039 70%, #ea580c 130%); }

  .ig-pag-btn { background: #111111; border-color: #222222; color: #a0a0a0; }
  .ig-pag-btn:hover { border-color: var(--flame); color: var(--flame); background: rgba(234,88,12,0.08); }
  .ig-pag-label { color: #a0a0a0; }
  .ig-pag-disabled { border-color: #1a1a1a; color: #333333; }
}
