/* ── Blog Styles ── */
.blog-header {
  text-align: center;
  padding: 6rem 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}
.blog-header h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.15s;
}
.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.blog-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.blog-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.blog-card h2 a {
  color: var(--text);
  text-decoration: none;
}
.blog-card h2 a:hover {
  color: var(--accent);
}
.blog-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.blog-card .meta {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Article Page ── */
.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.article .back-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.article .back-link:hover { text-decoration: underline; }
.article h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.article .article-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}
.article h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}
.article p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d1d5db;
  margin-bottom: 1.25rem;
}
.article ul, .article ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.8;
}
.article li { margin-bottom: 0.5rem; }
.article strong { color: var(--text); }
.article .highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.article .highlight-box p { margin-bottom: 0; }

/* ── CTA in articles ── */
.article-cta {
  background: linear-gradient(135deg, var(--bg-card), #1a2744);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}
.article-cta h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.article-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
