/* Статьи — дополнительные стили */

.page-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--paper) 100%);
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ink);
  margin-bottom: 16px;
}

.page-hero .lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto 32px;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.filter-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.articles-section {
  padding: 60px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.article-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(16, 36, 51, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(16, 36, 51, 0.12);
  border-color: var(--brand);
}

.article-card.hidden {
  display: none;
}

.article-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.article-badge.certification {
  background: #e6f5eb;
  color: var(--brand-deep);
}

.article-badge.declaration {
  background: #e6f0f5;
  color: var(--accent);
}

.article-badge.regulations {
  background: #f0e6f5;
  color: #6b2f8a;
}

.article-badge.standards {
  background: #f5f0e6;
  color: #8a6d1d;
}

.article-badge.practice {
  background: #f5e6e6;
  color: #8a2f2f;
}

.article-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 12px;
  line-height: 1.4;
}

.article-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.article-card h3 a:hover {
  color: var(--brand);
}

.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-card > p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.read-more:hover {
  gap: 6px;
}

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 32px;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--brand);
  border: none;
}

.cta-section .btn-primary:hover {
  background: var(--paper);
}

@media (max-width: 768px) {
  .page-hero {
    padding: 60px 0 40px;
  }
  
  .category-filter {
    gap: 8px;
  }
  
  .filter-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
