/* ========== BLOG INDEX ========== */

body { line-height: 1.6; }

/* ========== HERO ========== */
.blog-hero {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 5rem 2rem 3rem;
}
.blog-hero h1 {
  font-size: 2.5rem; font-weight: 800; margin-bottom: 0.75rem;
}
.blog-hero p {
  font-size: 1.125rem; color: var(--text-secondary); max-width: 540px;
}

/* ========== SECTIONS ========== */
.blog-main {
  max-width: 900px; width: 100%;
  margin: 0 auto; padding: 0 2rem 4rem;
  display: flex; flex-direction: column; gap: 3.5rem;
}
.blog-section-header {
  display: flex; align-items: center; gap: 0.625rem;
  margin-bottom: 1.5rem;
}
.blog-section-header svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.blog-section-title {
  font-size: 1.375rem; font-weight: 700;
}
.blog-section-empty {
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem 2rem; border: 1px dashed var(--border); border-radius: 16px;
  color: var(--text-secondary); font-size: 0.9375rem; text-align: center;
}

/* ========== CARDS ========== */
.blog-grid {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
}
.blog-card {
  flex: 1 1 360px; min-width: 0;
  display: flex; flex-direction: column;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem; text-decoration: none; color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.blog-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(255,107,53,0.1);
  transform: translateY(-3px);
}
.blog-card-tag {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--primary); margin-bottom: 1rem;
}
.blog-card-tag svg { width: 14px; height: 14px; }
.blog-card h3 {
  font-size: 1.25rem; font-weight: 700; line-height: 1.35;
  margin-bottom: 0.75rem;
}
.blog-card-excerpt {
  font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6;
  flex: 1; margin-bottom: 1.25rem;
}
.blog-card-meta {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; color: var(--text-secondary);
}
.blog-card-meta svg { width: 14px; height: 14px; opacity: 0.6; }
.blog-card-arrow {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.875rem; font-weight: 600; color: var(--primary);
  margin-top: auto; padding-top: 0.25rem;
}
.blog-card-arrow svg { width: 16px; height: 16px; transition: transform 0.2s; }
.blog-card:hover .blog-card-arrow svg { transform: translateX(4px); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .blog-hero { padding: 3rem 1.5rem 2rem; }
  .blog-hero h1 { font-size: 1.75rem; }
  .blog-main { padding: 0 1.5rem 3rem; }
  .blog-grid { flex-direction: column; }
  .blog-card { flex-basis: auto; }
}
