/* ===== Blog - Liste & Article ===== */

.blog-header .nav-link-active { font-weight: 700; color: var(--primary); }

.blog-page { padding: 32px 0 64px; min-height: 60vh; }
.blog-hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 24px 0;
}
.blog-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.blog-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.blog-filter-btn {
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.blog-filter-btn:hover {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
}
.blog-filter-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.blog-card-inner { padding: 24px; display: flex; flex-direction: column; height: 100%; }
.blog-card-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 12px;
}
.blog-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card-title a { color: var(--text); text-decoration: none; }
.blog-card-title a:hover { color: var(--primary); text-decoration: underline; }
.blog-card-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}
.blog-card-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-card-time::before { content: "• "; }
.blog-card-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.blog-card-link:hover { text-decoration: underline; }
.blog-count {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Article single */
.blog-article-page { padding: 24px 0 64px; }
.container-narrow { max-width: 720px; }
.blog-article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.blog-article-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 12px;
}
.blog-article-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 14px;
}
.blog-article-meta {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
}
.blog-article-body {
  font-size: 1.05rem;
  line-height: 1.75;
  padding: 0;
  border: none;
}
.blog-article-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin: 28px 0 14px;
  padding-bottom: 6px;
}
.blog-article-body h2:first-child { margin-top: 0; }
.blog-article-body p { margin-bottom: 16px; }
.blog-article-body ul {
  margin: 16px 0;
  padding-left: 24px;
}
.blog-article-body li { margin-bottom: 8px; }
.blog-article-body a { color: var(--primary); font-weight: 500; }
.blog-article-body a:hover { text-decoration: underline; }

.blog-article-cta {
  margin-top: 40px;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8f0f8 100%);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border);
}
.blog-article-cta p {
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--text);
}
.blog-article-cta .btn { text-decoration: none; }

.blog-related {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.blog-related-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text);
}
.blog-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-related-list li { margin-bottom: 10px; }
.blog-related-list a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.blog-related-list a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-filters { justify-content: flex-start; }
}
