/* Доп. стили для сгенерированных лендингов */

/* SEO-блок на главной — отступы между абзацами (перебивает p { margin: 0 } в styles.css) */
.section-seo-footer h2 {
  margin: 0 0 1.15rem;
}

.section-seo-footer .seo-footer-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.section-seo-footer .seo-footer-body p,
.section-seo-footer > p {
  margin: 0;
  color: #3a4670;
  font-size: 0.95rem;
  line-height: 1.6;
}

.article-catalog {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .article-catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .article-catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

.article-catalog-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid #dde5ff;
  background: linear-gradient(145deg, #f8faff 0%, #f0f4ff 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.article-catalog-card:hover {
  border-color: #a8bfff;
  box-shadow: 0 12px 28px rgba(47, 92, 255, 0.1);
  transform: translateY(-2px);
}

.article-catalog-card h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

.article-catalog-card h2 a {
  color: #15254a;
  text-decoration: none;
}

.article-catalog-card h2 a:hover {
  color: #2f54ff;
}

.article-catalog-excerpt {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4b5883;
}

.article-catalog-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2f54ff;
  text-decoration: none;
  align-self: flex-start;
}

.article-catalog-more:hover {
  text-decoration: underline;
}

.article-catalog-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e7eeff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.article-catalog-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.articles-page-lead {
  margin: 0 0 1.25rem;
  color: #4b5883;
  line-height: 1.55;
  max-width: 65ch;
}
