/* ========================================
   DBPA Auditor — Articles / Blog
   ======================================== */

/* ── Article Listing ────────────────────── */
.articles-hero {
  background: var(--dark); color: #fff; padding: 140px 24px 60px;
  text-align: center;
}
.articles-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -1.2px; margin-bottom: 12px; }
.articles-hero p { font-size: 17px; color: #94a3b8; max-width: 600px; margin: 0 auto; line-height: 1.7; }

.articles-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px;
  max-width: 1100px; margin: 0 auto; padding: 48px 24px 80px;
}

.article-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all 0.2s; text-decoration: none; color: inherit; display: block;
}
.article-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-2px); }
.article-card .card-tag {
  display: inline-block; padding: 3px 10px; background: var(--brand-light); color: var(--brand);
  font-size: 11px; font-weight: 600; border-radius: 4px; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 12px;
}
.article-card h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 8px; line-height: 1.35; }
.article-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.article-card .card-meta { font-size: 12px; color: var(--text-muted); }

/* ── Article Page ───────────────────────── */
.article-hero {
  background: var(--dark); color: #fff; padding: 140px 24px 60px; text-align: center;
}
.article-hero .breadcrumb {
  font-size: 13px; color: #94a3b8; margin-bottom: 16px;
}
.article-hero .breadcrumb a { color: var(--brand); text-decoration: none; }
.article-hero .breadcrumb a:hover { text-decoration: underline; }
.article-hero .article-tag {
  display: inline-block; padding: 4px 14px; background: rgba(59,130,246,0.12);
  color: var(--brand); font-size: 12px; font-weight: 600; border-radius: 20px; margin-bottom: 16px;
  border: 1px solid rgba(59,130,246,0.2);
}
.article-hero h1 { font-size: 36px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.2; max-width: 760px; margin: 0 auto 12px; }
.article-hero .article-meta { font-size: 14px; color: #94a3b8; }

.article-body {
  max-width: 720px; margin: 0 auto; padding: 48px 24px 80px;
}
.article-body h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.5px; margin: 40px 0 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.article-body h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.article-body h3 { font-size: 17px; font-weight: 700; margin: 28px 0 8px; }
.article-body p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.article-body ul, .article-body ol {
  font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin: 0 0 16px 20px;
}
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--text); }
.article-body blockquote {
  border-left: 3px solid var(--brand); margin: 24px 0; padding: 16px 20px;
  background: var(--brand-light); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px; color: var(--text); font-style: italic;
}

/* Callout box */
.callout {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin: 24px 0;
}
.callout.red { border-left: 4px solid var(--red); }
.callout.blue { border-left: 4px solid var(--brand); }
.callout.amber { border-left: 4px solid var(--amber); }
.callout h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.callout p { font-size: 14px; margin-bottom: 0; }

/* CTA banner inside article */
.article-cta {
  background: var(--dark); color: #fff; border-radius: var(--radius); padding: 32px;
  text-align: center; margin: 40px 0;
}
.article-cta h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.article-cta p { color: #94a3b8; font-size: 14px; margin-bottom: 16px; }

/* Related articles */
.related-articles { padding: 48px 24px 80px; background: var(--bg-alt); }
.related-articles h2 { text-align: center; font-size: 22px; font-weight: 700; margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }

@media (max-width: 768px) {
  .article-hero h1 { font-size: 26px; }
  .articles-hero h1 { font-size: 28px; }
  .articles-grid { grid-template-columns: 1fr; }
}
