/* ============================================
   BLOG PAGES
   ============================================ */
.blog-post {
  max-width: 820px;
  margin: 40px auto;
  padding: 0 16px;
}
.blog-header {
  border-bottom: 2px solid var(--primary);
  padding-bottom: 20px;
  margin-bottom: 32px;
}
.blog-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
}
.blog-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}
.blog-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0f0f0;
}
.blog-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 20px 0 8px;
}
.blog-content p {
  font-size: 0.95rem;
  color: var(--foreground);
  line-height: 1.8;
  margin-bottom: 14px;
}
.blog-content ul,
.blog-content ol {
  padding-left: 24px;
  margin-bottom: 14px;
}
.blog-content ul li,
.blog-content ol li {
  font-size: 0.95rem;
  color: var(--foreground);
  line-height: 1.8;
  margin-bottom: 4px;
}
.blog-content a {
  color: var(--primary);
  text-decoration: underline;
}
.blog-content a:hover {
  opacity: 0.8;
}
.blog-content strong {
  font-weight: 600;
}
.blog-cta {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
  text-align: center;
}
.blog-cta p {
  margin-bottom: 12px;
  font-weight: 500;
}
.blog-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   BLOG INDEX PAGE
   ============================================ */
.blog-index {
  max-width: 820px;
  margin: 40px auto;
  padding: 0 16px;
}
.blog-index-header {
  margin-bottom: 32px;
}
.blog-index-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
}
.blog-index-intro {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 10px;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.blog-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.blog-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.blog-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.4;
  margin-bottom: 8px;
}
.blog-card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.blog-card-date {
  font-size: 0.8rem;
  color: var(--muted-light);
}
@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}
