.blog-list { display: flex; flex-direction: column; gap: 12px; }
.blog-card {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; text-decoration: none; color: var(--ink); box-shadow: 0 4px 20px rgba(16,24,40,.05);
  border-top: 3px solid var(--card-accent, #9c7020); transition: box-shadow .15s, transform .15s;
}
.blog-card:hover { box-shadow: 0 10px 28px rgba(16,24,40,.1); transform: translateY(-2px); }
.blog-list .blog-card:nth-child(4n+1) { --card-accent: #9c7020; }
.blog-list .blog-card:nth-child(4n+2) { --card-accent: #2c4770; }
.blog-list .blog-card:nth-child(4n+3) { --card-accent: #4a8a6f; }
.blog-list .blog-card:nth-child(4n+4) { --card-accent: #b8683f; }
.blog-card h2 { margin: 0 0 6px; font-size: 18px; }
.blog-card p { margin: 0 0 8px; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.blog-card-date { font-size: 12px; color: var(--ink-faint); }

/* Hero illustration - a small hand-built inline SVG per post (not a stock
   photo or a real screenshot - genuine custom vector art in the same
   navy/gold visual language as the rest of the product), giving each
   article a distinct visual identity at the top instead of a wall of
   text. */
.blog-hero { max-width: 640px; margin: 0 0 24px; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(16,24,40,.12); }
.blog-hero svg { display: block; width: 100%; height: auto; }

.blog-detail .lede { color: var(--ink-faint); font-size: 13px; }
.blog-body { max-width: 720px; font-size: 15.5px; line-height: 1.7; color: var(--ink); margin-bottom: 36px; }
.blog-body h2 { font-size: 20px; margin: 28px 0 12px; }
.blog-body h3 { font-size: 17px; margin: 22px 0 10px; }
.blog-body p { margin: 0 0 16px; }
.blog-body ul, .blog-body ol { margin: 0 0 16px; padding-left: 22px; }
.blog-body li { margin-bottom: 6px; }
.blog-body a { color: var(--brand); }
.blog-body strong { color: var(--ink); }
.blog-body table {
  width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.blog-body th, .blog-body td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.blog-body th { background: var(--canvas); font-weight: 600; color: var(--ink-faint); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.blog-body tr:last-child td { border-bottom: none; }

/* "Screenshot" example blocks: a browser-chrome frame wrapping a real,
   scaled-down piece of the site's own UI (same CSS classes/components used
   elsewhere on Nivora) with realistic sample data, so articles show what a
   feature actually looks like instead of describing it in prose only. */
.blog-example { margin: 22px 0 26px; max-width: 640px; }
.blog-example-frame {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-md);
}
.blog-example-chrome {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px;
  background: var(--canvas); border-bottom: 1px solid var(--line);
}
.blog-example-dots { display: flex; gap: 5px; }
.blog-example-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: block; }
.blog-example-url {
  flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: 3px 10px; font-size: 11.5px; color: var(--ink-faint); font-family: monospace;
}
.blog-example-body { padding: 16px 18px; }
.blog-example-caption { font-size: 12.5px; color: var(--ink-faint); margin-top: 8px; text-align: center; }

.blog-example .stat-cards { gap: 10px; }
.blog-example .stat-card { padding: 12px 14px; min-width: 0; flex: 1; }
.blog-example .stat-num { font-size: 18px; }
.blog-example .deals-table, .blog-example .era-table { font-size: 12.5px; }
.blog-example .deals-table th, .blog-example .deals-table td { padding: 7px 10px; }
.blog-example .apkaime-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }

/* In-article conversion CTA - direct request: turn real Search Console
   impressions on informational posts (energy certificates etc.) into
   signups/reports, not just a buried text link mid-paragraph. */
.blog-cta {
  margin: 30px 0; padding: 22px 24px; border-radius: 14px; max-width: 720px;
  background: linear-gradient(135deg, #12293a, #1c3f57); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.blog-cta p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.92); max-width: 420px; }
.blog-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.blog-cta-actions a {
  padding: 10px 18px; border-radius: 9px; font-weight: 700; font-size: 13.5px;
  text-decoration: none; white-space: nowrap; display: inline-block;
}
.blog-cta-primary { background: linear-gradient(135deg, #e0ac4a, #9c7020); color: #1a1204; }
.blog-cta-primary:hover { filter: brightness(1.06); }
.blog-cta-secondary { border: 1px solid rgba(255,255,255,.32); color: #fff; }
.blog-cta-secondary:hover { background: rgba(255,255,255,.08); }
@media (max-width: 480px) {
  .blog-cta { flex-direction: column; align-items: flex-start; }
}
