/* МурМяу 09.11.2026: текст страницы под карточками каталога (section.seo-text) — content.tpl и plugins/fieldBoundBoxes/listings_by_field.tpl.
   Раньше блок наследовал сброс стилей шаблона: нулевые отступы, line-height normal, списки без маркеров, серые ссылки (#777), заголовок
   того же веса, что и текст. Теперь — плитка в одном стиле с остальными блоками (docs/design-system.md §2: радиус 18, тень navy) и обычная
   типографика статьи. Цвета — переменные темы (светлая и тёмная); акцент — sky #00B4F5, как у иконок и маркеров сайта. Разметка текста
   (h2, p, ul/ol, a, strong) не меняется — это lang-ключ pages+content+<ключ>, тексты правятся штатно в админке. */

.seo-text {
  margin: 32px 0 0;
  padding: 28px 36px 24px;
  background: var(--content-background-color, #f5f5f5);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(26, 63, 122, 0.10);
  color: var(--body-font-color, #111);
  font-size: 1rem;
  line-height: 1.65; }

.seo-text > :first-child {
  margin-top: 0; }

.seo-text > :last-child {
  margin-bottom: 0; }

.seo-text h2 {
  margin: 1.9em 0 0.55em;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3; }

.seo-text h3 {
  margin: 1.5em 0 0.5em;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35; }

.seo-text p {
  margin: 0 0 0.9em; }

.seo-text ul,
.seo-text ol {
  margin: 0 0 1em;
  padding-left: 1.4em; }

.seo-text ul {
  list-style: disc; }

.seo-text ol {
  list-style: decimal; }

.seo-text li {
  margin: 0 0 0.4em;
  padding-left: 0.2em; }

.seo-text li:last-child {
  margin-bottom: 0; }

.seo-text li::marker {
  color: #00B4F5; }

.seo-text strong {
  font-weight: 600; }

/* ссылка читается как ссылка: цвет текста + голубое подчёркивание (серый #777 на светлом фоне был слабым по контрасту) */
.seo-text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #00B4F5;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px; }

.seo-text a:hover,
.seo-text a:focus-visible {
  color: #0095d6;
  text-decoration-color: currentColor; }

@media (max-width: 767.98px) {
  .seo-text {
    padding: 24px 24px 20px; } }

@media (max-width: 575.98px) {
  .seo-text {
    margin-top: 24px;
    padding: 20px 18px 16px;
    border-radius: 14px; }
  .seo-text h2 {
    font-size: 1.15rem; } }
