/* Стили для страниц статей и разделов */
body.article-body { line-height: 1.8; }

.parents-hero,
.page-hero {
  padding: 100px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--brand-50) 0%, var(--bg) 100%);
}
.parents-hero h1,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--brand-900);
  margin-bottom: 16px;
  font-weight: 800;
}
.parents-hero p,
.page-hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.articles-section { padding: 60px 0; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-200);
}
.article-badge {
  display: inline-block;
  background: var(--brand-100);
  color: var(--brand-600);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  width: fit-content;
}
.article-card.ras .article-badge {
  background: #FFEDD5;
  color: var(--accent-600);
}
.article-card h3 {
  font-size: 1.4rem;
  color: var(--brand-900);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.article-card p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 20px;
  flex-grow: 1;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.read-more {
  color: var(--accent-500);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-box {
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 100%);
  color: var(--white);
  padding: 48px 32px;
  border-radius: 24px;
  text-align: center;
  margin: 48px 0;
}
.cta-box h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--white);
  font-weight: 800;
}
.cta-box p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-box .btn-primary {
  background: var(--white);
  color: var(--brand-900);
  padding: 16px 40px;
  font-size: 17px;
}

@media (max-width: 768px) {
  .parents-hero, .page-hero { padding: 80px 0 40px; }
  .articles-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 32px 20px; }
}
