/* Блог и посадочные страницы — Бухгалтерия Просто, 10.2026. Собрано из макетов work/maketi */
/* ===== Посадочные страницы услуг (макеты 10.2026). Палитра сайта: акцент #ffa684, текст #1b1c2e, фон hero #ffede6 ===== */
.lp { --lp-accent: #ffa684; --lp-accent-dark: #ff8f66; --lp-text: #1b1c2e; --lp-muted: #6b6c78; --lp-soft: #ffede6; --lp-soft2: #fbf4f0; --lp-line: #ece6e3; color: var(--lp-text); }
.lp h1, .lp h2, .lp h3 { color: var(--lp-text); }
.lp-section { padding: 70px 0; }
.lp-section--soft { background: var(--lp-soft2); }
.lp-h2 { font-size: 34px; font-weight: 600; line-height: 1.2; margin: 0 0 14px; }
.lp-lead { font-size: 18px; color: var(--lp-muted); max-width: 760px; margin: 0 0 36px; line-height: 1.55; }

/* Плейсхолдеры: что уточнить у директора */
.ph { background: #fff3b0; border: 1px dashed #e0b400; border-radius: 4px; padding: 0 4px; font-size: .92em; color: #5a4600; white-space: normal; }

/* Хлебные крошки */
.lp-crumbs { font-size: 13px; color: var(--lp-muted); padding: 18px 0 0; }
.lp-crumbs a { color: var(--lp-muted); text-decoration: none; }
.lp-crumbs a:hover { color: var(--lp-accent-dark); }

/* Первый экран */
.lp-hero { background: var(--lp-soft); padding: 40px 0 60px; }
.lp-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.lp-hero h1 { font-size: 44px; line-height: 1.15; font-weight: 500; margin: 14px 0 18px; }
.lp-hero__sub { font-size: 19px; line-height: 1.5; margin: 0 0 28px; max-width: 640px; }
.lp-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 24px; }
.lp-btn-outline { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--lp-accent); color: var(--lp-text); border-radius: 57px; padding: 14px 28px; font-weight: 500; text-decoration: none; background: #fff; }
.lp-btn-outline:hover { background: var(--lp-accent); color: #fff; }
.lp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-tag { background: #fff; border-radius: 20px; padding: 6px 14px; font-size: 14px; }
.lp-hero__card { background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 10px 30px rgba(27, 28, 46, .06); }
.lp-hero__card b { display: block; font-size: 30px; font-weight: 600; color: var(--lp-accent-dark); line-height: 1.1; }
.lp-hero__card span { display: block; color: var(--lp-muted); margin: 4px 0 18px; }
.lp-hero__card span:last-child { margin-bottom: 0; }

/* Карточки */
.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-cards--2 { grid-template-columns: repeat(2, 1fr); }
.lp-cards--4 { grid-template-columns: repeat(4, 1fr); }
.lp-card { background: #fff; border: 1px solid var(--lp-line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.lp-section--soft .lp-card { border-color: transparent; }
.lp-card h3 { font-size: 20px; font-weight: 600; margin: 0 0 10px; line-height: 1.3; }
.lp-card p { color: var(--lp-muted); margin: 0 0 16px; line-height: 1.55; }
.lp-card ul { padding-left: 18px; margin: 0 0 16px; color: var(--lp-muted); line-height: 1.55; }
.lp-card__price { margin-top: auto; font-weight: 600; font-size: 17px; }
.lp-card__link { margin-top: 12px; color: var(--lp-accent-dark); font-weight: 500; text-decoration: none; }
.lp-card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--lp-soft); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.lp-card--accent { background: var(--lp-soft); border-color: transparent; }
a.lp-card { text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
a.lp-card:hover { box-shadow: 0 10px 30px rgba(27, 28, 46, .08); transform: translateY(-2px); }

/* Кейсы */
.lp-case__num { font-size: 32px; font-weight: 700; color: var(--lp-accent-dark); line-height: 1.1; margin-bottom: 8px; }
.lp-case__label { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--lp-muted); margin-bottom: 10px; }

/* Шаги */
.lp-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.lp-steps--6 { grid-template-columns: repeat(3, 1fr); }
.lp-step { position: relative; padding: 22px 20px 20px; background: #fff; border-radius: 16px; border: 1px solid var(--lp-line); }
.lp-step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lp-accent); color: #fff; font-weight: 600; margin-bottom: 14px; }
.lp-step b { display: block; margin-bottom: 6px; }
.lp-step span { color: var(--lp-muted); font-size: 15px; line-height: 1.5; }

/* Таблицы */
.lp-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--lp-line); background: #fff; }
.lp-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.lp-table th, .lp-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--lp-line); vertical-align: top; line-height: 1.5; }
.lp-table th { background: var(--lp-soft2); font-weight: 600; }
.lp-table tr:last-child td { border-bottom: 0; }
.lp-table td:last-child { white-space: nowrap; font-weight: 500; }
.lp-table--compare td:last-child, .lp-table--compare td { white-space: normal; font-weight: 400; }
.lp-note { font-size: 14px; color: var(--lp-muted); margin-top: 14px; }

/* Делаем / не делаем */
.lp-yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lp-yesno .lp-card ul { list-style: none; padding: 0; }
.lp-yesno .lp-card li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--lp-text); }
.lp-yes li::before { content: "✓"; position: absolute; left: 0; color: #4caf50; font-weight: 700; }
.lp-no li::before { content: "✕"; position: absolute; left: 0; color: #d9534f; font-weight: 700; }

/* Команда */
.lp-person { display: flex; gap: 18px; align-items: flex-start; }
.lp-person__photo { flex-shrink: 0; width: 96px; height: 96px; border-radius: 50%; background: var(--lp-soft) center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--lp-muted); font-size: 12px; text-align: center; }
.lp-person b { display: block; font-size: 18px; }
.lp-person i { display: block; font-style: normal; color: var(--lp-accent-dark); margin: 2px 0 8px; }

/* FAQ */
.lp-faq { max-width: 900px; }
.lp-faq details { background: #fff; border: 1px solid var(--lp-line); border-radius: 14px; margin-bottom: 12px; }
.lp-faq summary { cursor: pointer; padding: 18px 50px 18px 22px; font-weight: 600; font-size: 17px; list-style: none; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 22px; top: 14px; font-size: 24px; color: var(--lp-accent-dark); }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq details > div { padding: 0 22px 18px; color: var(--lp-muted); line-height: 1.6; }

/* Форма */
.lp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--lp-soft); border-radius: 24px; padding: 44px; }
.lp-form__fields { display: grid; gap: 12px; }
.lp-form__fields input:not([type="checkbox"]), .lp-form__fields textarea { border: 1px solid #fff; border-radius: 30px; padding: 15px 22px; font: inherit; background: #fff; width: 100%; }
.lp-form__fields textarea { border-radius: 18px; min-height: 110px; resize: vertical; }
.lp-form__messengers { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* Метки */
.lp-badges { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.lp-badges div b { display: block; font-size: 26px; font-weight: 600; }
.lp-badges div span { color: var(--lp-muted); font-size: 14px; }

@media (max-width: 1199px) {
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .lp-hero__grid, .lp-form { grid-template-columns: 1fr; }
  .lp-cards { grid-template-columns: repeat(2, 1fr); }
  .lp-hero h1 { font-size: 34px; }
  .lp-h2 { font-size: 28px; }
}
@media (max-width: 767px) {
  .lp-section { padding: 48px 0; }
  .lp-cards, .lp-cards--2, .lp-cards--4, .lp-yesno, .lp-steps, .lp-steps--6 { grid-template-columns: 1fr; }
  .lp-hero h1 { font-size: 28px; }
  .lp-hero__sub { font-size: 17px; }
  .lp-form { padding: 26px 18px; }
}

/* сетка формы не должна распирать страницу на телефоне */
.lp-form > * { min-width: 0; }
.lp .consent span { flex: 1 1 auto; min-width: 0; }

/* ===================== UX/UI-правки 16.10.2026 ===================== */
/* Цвета текста с достаточным контрастом (WCAG AA): персиковый #ffa684 оставляем для фонов и кнопок,
   для текста на светлом фоне — более тёмные оттенки того же цвета */
.lp { --lp-accent-text: #b5461a; --lp-accent-big: #d9622f; }
.lp-card__link, .lp .consent a, .lp-crumbs a:hover { color: var(--lp-accent-text); }
.lp-case__num, .lp-hero__card b { color: var(--lp-accent-big); }
.lp-faq summary::after { color: var(--lp-accent-text); }
.lp .captcha-note, .lp .captcha-note a { color: #6b6c78; font-size: 12px; }

/* Главная кнопка: тёмный текст на персиковом (8,8:1 вместо 1,9:1) */
.lp .btn.btn-primary { color: var(--lp-text); font-weight: 600; }
.lp .btn.btn-primary:hover { background: var(--lp-accent-dark); color: var(--lp-text); }

/* Кнопки одной высоты */
.lp .btn.btn-primary, .lp-btn-outline { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; }
.lp-btn-outline { padding: 14px 30px; }

/* Видимый фокус для клавиатуры (в style.css сайта у кнопок outline: none) */
.lp a:focus-visible, .lp button:focus-visible, .lp input:focus-visible, .lp textarea:focus-visible, .lp summary:focus-visible,
.bp-footer a:focus-visible, .header a:focus-visible, .lp-sticky a:focus-visible {
  outline: 3px solid var(--lp-text); outline-offset: 3px; border-radius: 6px;
}

/* Якоря не прячутся под фиксированной шапкой */
.lp [id] { scroll-margin-top: 110px; }

/* Иконки — SVG в фирменном цвете вместо эмодзи */
.lp-card__icon svg { width: 24px; height: 24px; stroke: var(--lp-accent-text); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Скрытые подписи полей для экранных дикторов */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Промежуточный призыв к действию */
.lp-cta { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; background: var(--lp-text); color: #fff; border-radius: 20px; padding: 30px 36px; margin-top: 36px; }
.lp-cta b { display: block; font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.lp-cta span { color: #d4d4dc; }

/* Доверие рядом с формой */
.lp-trust { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: var(--lp-muted); font-size: 14px; }
.lp-trust a { color: var(--lp-accent-text); }

/* Нажимаемая площадь у галочки согласия */
.lp .consent { padding: 6px 0; }
.lp .consent input { width: 22px; height: 22px; }

/* Мобильная панель «Позвонить / Заявка / MAX» */
.lp-sticky { display: none; }
@media (max-width: 767px) {
  .lp-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 16px rgba(27, 28, 46, .12); }
  .lp-sticky a { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 30px; font-weight: 600; text-decoration: none; font-size: 15px; }
  .lp-sticky__call { border: 2px solid var(--lp-accent); color: var(--lp-text); }
  .lp-sticky__form { background: var(--lp-accent); color: var(--lp-text); }
  .lp-sticky__max { flex: 0 0 48px !important; background: url("https://buhprosto.online/assets/template/img/icon-max.svg") center / 30px no-repeat; border: 2px solid var(--lp-line); }
  body { padding-bottom: 72px; }
  .lp-cta { padding: 24px 20px; }

  /* Таблица «ИП или ООО» на телефоне — карточками, без горизонтальной прокрутки */
  .lp-table--compare { min-width: 0; }
  .lp-table--compare tr:first-child { display: none; }
  .lp-table--compare tr { display: block; border-bottom: 1px solid var(--lp-line); padding: 12px 0; }
  .lp-table--compare td { display: block; border: 0; padding: 4px 18px; }
  .lp-table--compare td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--lp-text); }
}
.lp-btn-outline { font-size: 16px; line-height: 1.25; padding-top: 0; padding-bottom: 0; height: 56px; min-height: 0; }
.lp .lp-hero .btn.btn-primary { height: 56px; padding-top: 0; padding-bottom: 0; }
.lp-sticky { --lp-accent: #ffa684; --lp-accent-dark: #ff8f66; --lp-text: #1b1c2e; --lp-line: #ece6e3; }
/* ===================== Блог и статья (макеты 16.10.2026). Подключается после maket.css ===================== */
.lp-blog-hero { background: var(--lp-soft); padding: 34px 0 40px; }
.lp-blog-hero h1 { font-size: 40px; font-weight: 500; margin: 14px 0 12px; line-height: 1.15; }
.lp-blog-hero p { font-size: 18px; max-width: 720px; margin: 0; line-height: 1.55; }

/* Рубрики-фильтры */
.lp-rubrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.lp-rubric { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 22px; background: #fff; border: 1px solid var(--lp-line); color: var(--lp-text); text-decoration: none; font-size: 15px; }
.lp-rubric small { color: var(--lp-muted); font-size: 13px; }
.lp-rubric[aria-current="page"] { background: var(--lp-text); border-color: var(--lp-text); color: #fff; }
.lp-rubric[aria-current="page"] small { color: #d4d4dc; }
.lp-rubric:hover { border-color: var(--lp-accent); }

/* Обложки без фото: цветная плашка с иконкой рубрики */
.lp-cover { border-radius: 14px; aspect-ratio: 16 / 9; display: flex; align-items: flex-end; padding: 16px; background: linear-gradient(135deg, #ffede6, #ffd3c2); position: relative; overflow: hidden; }
.lp-cover svg { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; stroke: var(--lp-accent-text); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.lp-cover--belarus { background: linear-gradient(135deg, #e9f2ff, #cfe2ff); }
.lp-cover--kejsy { background: linear-gradient(135deg, #1b1c2e, #3a3c58); }
.lp-cover--kejsy svg { stroke: #ffa684; }
.lp-cover--yurist { background: linear-gradient(135deg, #f1efe9, #e2ddd1); }
.lp-cover--ifns { background: linear-gradient(135deg, #fff1e0, #ffdcae); }
.lp-cover--market { background: linear-gradient(135deg, #f0e9ff, #ddd0ff); }
.lp-cover__tag { background: #fff; border-radius: 14px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: var(--lp-text); position: relative; }

/* Карточка статьи */
.lp-post { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.lp-post h3 { font-size: 19px; font-weight: 600; line-height: 1.35; margin: 4px 0 0; }
.lp-post p { color: var(--lp-muted); margin: 0; line-height: 1.55; }
.lp-post__meta { font-size: 13px; color: var(--lp-muted); }
.lp-post:hover h3 { color: var(--lp-accent-text); }
.lp-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }

/* Главная статья */
.lp-featured { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; text-decoration: none; color: inherit; margin-bottom: 50px; }
.lp-featured .lp-cover { aspect-ratio: 16 / 10; }
.lp-featured h2 { font-size: 30px; font-weight: 600; line-height: 1.25; margin: 10px 0 12px; }
.lp-featured p { color: var(--lp-muted); font-size: 17px; line-height: 1.6; }
.lp-featured:hover h2 { color: var(--lp-accent-text); }

/* Пагинация */
.lp-pager { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.lp-pager a, .lp-pager span { min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 22px; border: 1px solid var(--lp-line); text-decoration: none; color: var(--lp-text); padding: 0 14px; }
.lp-pager [aria-current="page"] { background: var(--lp-text); color: #fff; border-color: var(--lp-text); }

/* Подписка */
.lp-subscribe { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--lp-soft); border-radius: 20px; padding: 30px 36px; }
.lp-subscribe b { font-size: 22px; display: block; margin-bottom: 4px; }
.lp-subscribe span { color: var(--lp-muted); }
.lp-subscribe .lp-hero__btns { margin: 0; }

/* ---------- Статья ---------- */
.lp-article-head { padding: 28px 0 10px; }
.lp-article-head h1 { font-size: 40px; font-weight: 600; line-height: 1.2; margin: 14px 0 20px; max-width: 900px; }
.lp-author { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lp-author__photo { width: 52px; height: 52px; border-radius: 50%; background: var(--lp-soft); display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--lp-muted); flex-shrink: 0; }
.lp-author b { display: block; }
.lp-author span { color: var(--lp-muted); font-size: 14px; }
.lp-article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--lp-muted); font-size: 14px; margin-left: auto; }

.lp-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding: 30px 0 70px; }
.lp-article { font-size: 18px; line-height: 1.7; max-width: 760px; }
.lp-article h2 { font-size: 28px; font-weight: 600; line-height: 1.3; margin: 44px 0 14px; }
.lp-article h3 { font-size: 21px; font-weight: 600; margin: 28px 0 10px; }
.lp-article p { margin: 0 0 16px; }
.lp-article ul, .lp-article ol { padding-left: 24px; margin: 0 0 18px; }
.lp-article li { margin-bottom: 8px; }
.lp-article a { color: var(--lp-accent-text); }
.lp-article .lp-table-wrap { margin: 10px 0 24px; font-size: 16px; }
.lp-article .lp-table td:last-child { white-space: normal; font-weight: 400; }
.lp-lead-text { font-size: 21px; line-height: 1.6; color: var(--lp-text); margin-bottom: 26px !important; }
.lp-answer { background: var(--lp-soft2); border-left: 4px solid var(--lp-accent); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 0 0 26px; }
.lp-answer b { display: block; margin-bottom: 6px; }

/* Врезки */
.lp-callout { border-radius: 16px; padding: 22px 24px; margin: 26px 0; font-size: 17px; }
.lp-callout p:last-child { margin-bottom: 0; }
.lp-callout__title { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.lp-callout--case { background: #1b1c2e; color: #fff; }
.lp-callout--case .lp-callout__title { color: #ffa684; }
.lp-callout--tip { background: #eaf6ea; }
.lp-callout--tip .lp-callout__title { color: #2e6b30; }
.lp-callout--warn { background: #fff4e5; }
.lp-callout--warn .lp-callout__title { color: #8a4b00; }

/* Чек-лист */
.lp-check { list-style: none; padding: 0 !important; counter-reset: chk; }
.lp-check li { position: relative; padding: 14px 16px 14px 56px; background: #fff; border: 1px solid var(--lp-line); border-radius: 14px; margin-bottom: 10px !important; }
.lp-check li::before { counter-increment: chk; content: counter(chk); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; border-radius: 50%; background: var(--lp-accent); color: var(--lp-text); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }

/* Боковая колонка */
.lp-aside { position: sticky; top: 120px; display: grid; gap: 20px; }
.lp-toc { background: var(--lp-soft2); border-radius: 16px; padding: 20px 22px; }
.lp-toc b { display: block; margin-bottom: 10px; }
.lp-toc ol { margin: 0; padding-left: 20px; }
.lp-toc li { margin-bottom: 8px; line-height: 1.4; font-size: 15px; }
.lp-toc a { color: var(--lp-text); text-decoration: none; }
.lp-toc a:hover { color: var(--lp-accent-text); text-decoration: underline; }
.lp-aside-cta { background: #1b1c2e; color: #fff; border-radius: 16px; padding: 22px; }
.lp-aside-cta b { display: block; font-size: 18px; margin-bottom: 6px; }
.lp-aside-cta span { display: block; color: #d4d4dc; font-size: 15px; margin-bottom: 16px; line-height: 1.5; }
.lp-aside-cta .btn { width: 100%; padding-left: 16px; padding-right: 16px; }
.lp-toc-mobile { display: none; }

/* Автор в конце */
.lp-expert { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: var(--lp-soft); border-radius: 20px; padding: 28px; margin: 40px 0 10px; }
.lp-expert .lp-person__photo { width: 110px; height: 110px; }
.lp-expert b { font-size: 20px; display: block; }
.lp-expert i { font-style: normal; color: var(--lp-accent-text); display: block; margin: 2px 0 10px; }
.lp-expert p { font-size: 16px; margin: 0 0 16px; color: var(--lp-text); }
.lp-expert .lp-hero__btns { margin-bottom: 0; }

.lp-service { display: flex; gap: 18px; align-items: center; border: 2px solid var(--lp-accent); border-radius: 18px; padding: 22px; margin: 30px 0; text-decoration: none; color: inherit; }
.lp-service b { display: block; font-size: 19px; }
.lp-service span { color: var(--lp-muted); font-size: 15px; }
.lp-service .lp-card__icon { margin: 0; flex-shrink: 0; }
.lp-service:hover { background: var(--lp-soft2); }

@media (max-width: 1099px) {
  .lp-article-grid { grid-template-columns: 1fr; }
  .lp-aside { display: none; }
  .lp-toc-mobile { display: block; background: var(--lp-soft2); border-radius: 14px; margin: 0 0 26px; }
  .lp-toc-mobile summary { padding: 16px 20px; font-weight: 600; cursor: pointer; min-height: 44px; }
  .lp-toc-mobile ol { padding: 0 20px 16px 40px; margin: 0; font-size: 16px; }
  .lp-toc-mobile li { margin-bottom: 8px; }
  .lp-toc-mobile a { color: var(--lp-text); }
}
@media (max-width: 991px) {
  .lp-posts { grid-template-columns: repeat(2, 1fr); }
  .lp-featured { grid-template-columns: 1fr; }
  .lp-article-head h1, .lp-blog-hero h1 { font-size: 32px; }
}
@media (max-width: 767px) {
  .lp-posts { grid-template-columns: 1fr; }
  .lp-subscribe, .lp-expert { grid-template-columns: 1fr; }
  .lp-subscribe { padding: 24px 20px; }
  .lp-article-head h1, .lp-blog-hero h1 { font-size: 27px; }
  .lp-article { font-size: 17px; }
  .lp-lead-text { font-size: 19px; }
  .lp-article h2 { font-size: 24px; }
  .lp-article-meta { margin-left: 0; width: 100%; }
  .lp-rubrics { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .lp-rubric { flex-shrink: 0; }
}

/* ===================== Для сайта: рубрики по псевдонимам, пагинация, автор ===================== */
.lp-cover--belarus-ved { background: linear-gradient(135deg, #e9f2ff, #cfe2ff); }
.lp-cover--kejsy { background: linear-gradient(135deg, #1b1c2e, #3a3c58); }
.lp-cover--yurist, .lp-cover--start { background: linear-gradient(135deg, #f1efe9, #e2ddd1); }
.lp-cover--ifns { background: linear-gradient(135deg, #fff1e0, #ffdcae); }
.lp-cover--marketplejsy { background: linear-gradient(135deg, #f0e9ff, #ddd0ff); }
.lp-cover--kadry { background: linear-gradient(135deg, #eaf6ea, #cfe8cf); }
.lp-cover::after { content: ""; position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; opacity: .85;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5461a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v5h5M10 13h6M10 17h6'/%3E%3C/svg%3E") center / contain no-repeat; }
.lp-cover--belarus-ved::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5461a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5l8-2v18M12 21V9l8 2v10M3 21h18M7 8h2M7 12h2M7 16h2M15 14h2M15 17h2'/%3E%3C/svg%3E"); }
.lp-cover--kejsy::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffa684' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M3 20h18'/%3E%3C/svg%3E"); }
.lp-cover--ifns::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5461a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }

.lp-author__photo { background-size: cover; background-position: center; font-weight: 700; font-size: 16px; color: var(--lp-accent-text); }
.lp-expert .lp-person__photo { font-weight: 700; font-size: 28px; color: var(--lp-accent-text); }

/* Пагинация pdoPage (разметка Bootstrap) */
.lp .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; padding: 0; list-style: none; }
.lp .pagination .page-link { min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 22px !important; border: 1px solid var(--lp-line); color: var(--lp-text); padding: 0 14px; }
.lp .pagination .active .page-link { background: var(--lp-text); border-color: var(--lp-text); color: #fff; }
.lp .pagination .disabled .page-link { opacity: .4; }

/* Пустой блог */
.lp-posts:empty::before { content: "Скоро здесь появятся статьи."; color: var(--lp-muted); }

/* Ссылки внутри текста статьи */
.lp-article a:not(.btn):not(.lp-service):not(.lp-btn-outline) { color: var(--lp-accent-text); text-decoration: underline; }
.lp-article .lp-faq summary { font-size: 17px; }
.lp-article .lp-faq details > div, .lp-article .lp-faq details > p { font-size: 16px; }

/* ===== Обложка статьи (над «Кратко») и фото в карточках ===== */
.lp-article-cover { margin: 0 0 26px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--lp-soft2); }
.lp-article-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-article-cover.lp-cover { flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 14px; padding: 32px; }
.lp-article-cover.lp-cover::after { width: 72px; height: 72px; right: 32px; top: 32px; }
.lp-article-cover__title { font-size: 30px; font-weight: 600; line-height: 1.25; color: var(--lp-text); max-width: 80%; position: relative; }
.lp-cover--kejsy .lp-article-cover__title { color: #fff; }
.lp-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-cover:has(img)::after { display: none; }
@media (max-width: 767px) {
  .lp-article-cover { border-radius: 14px; margin-bottom: 20px; }
  .lp-article-cover.lp-cover { padding: 20px; }
  .lp-article-cover.lp-cover::after { width: 44px; height: 44px; right: 20px; top: 20px; }
  .lp-article-cover__title { font-size: 20px; max-width: 100%; }
}

/* ===================== Мобильная адаптация (исправления 23.10.2026) ===================== */
/* Колонка статьи не должна расширяться от широких таблиц: без min-width:0 grid растягивал страницу до 562 px */
.lp-article { min-width: 0; }
@media (max-width: 1099px) {
  .lp-article-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 767px) {
  /* Лента блога */
  .lp-blog-hero { padding: 18px 0 26px; }
  .lp-blog-hero h1 { margin: 10px 0 10px; }
  .lp-blog-hero p { font-size: 16px; line-height: 1.5; }
  .lp-rubrics { margin-top: 18px; }
  .lp-posts { gap: 28px; }
  .lp-post h3 { font-size: 18px; }

  /* Шапка статьи */
  .lp-article-head { padding: 16px 0 0; }
  .lp-article-head h1 { margin: 10px 0 14px; }
  .lp-author { gap: 8px 12px; }
  .lp-author__photo { width: 44px; height: 44px; font-size: 14px; }
  .lp-author span { font-size: 13px; }
  .lp-article-meta { font-size: 13px; gap: 2px 14px; }
  .lp-article-grid { padding: 18px 0 40px; }

  /* Блоки статьи */
  .lp-answer { padding: 14px 16px; font-size: 16px; }
  .lp-article h3 { font-size: 19px; }
  .lp-callout { padding: 16px 18px; font-size: 16px; }
  .lp-check li { padding: 12px 14px 12px 50px; }
  .lp-check li::before { left: 12px; top: 11px; width: 28px; height: 28px; font-size: 14px; }
  .lp-cta { flex-direction: column; align-items: stretch; gap: 16px; }
  .lp-cta b { font-size: 19px; }
  .lp .lp-cta .btn { width: 100%; padding-left: 16px; padding-right: 16px; }
  .lp-service { padding: 16px; gap: 12px; }
  .lp-service b { font-size: 17px; }
  .lp-expert { padding: 20px; gap: 14px; margin-top: 30px; }
  .lp-expert .lp-person__photo { width: 72px; height: 72px; font-size: 22px; }
  .lp-expert .lp-hero__btns { flex-direction: column; align-items: stretch; }
  .lp-expert .btn, .lp-expert .lp-btn-outline { width: 100%; }

  /* Таблицы в статье — карточками (подписи колонок ставит скрипт в шаблоне «Статья») */
  .lp-article .lp-table-wrap { border: 0; background: transparent; overflow: visible; border-radius: 0; }
  .lp-article .lp-table { min-width: 0; }
  .lp-article .lp-table tr:first-child { display: none; }
  .lp-article .lp-table tr { display: block; background: #fff; border: 1px solid var(--lp-line); border-radius: 14px; padding: 10px 14px; margin-bottom: 10px; }
  .lp-article .lp-table td { display: block; border: 0; padding: 3px 0; white-space: normal; font-weight: 400; }
  .lp-article .lp-table td:first-child { font-weight: 600; padding-bottom: 6px; }
  .lp-article .lp-table td[data-label]::before { content: attr(data-label) ": "; color: var(--lp-muted); }

  /* Плашка cookie не перекрывает нижнюю панель */
  body:has(.lp-sticky) .cookie-note { bottom: 84px; }
}

/* Нижняя панель: надписи всегда в одну строку (320 px и уже) */
@media (max-width: 767px) {
  .lp-sticky a { white-space: nowrap; padding: 0 10px; }
  .lp-sticky a.lp-sticky__call { flex: 1 1 0; }
  .lp-sticky a.lp-sticky__form { flex: 1.35 1 0; }
}
@media (max-width: 374px) {
  .lp-sticky { gap: 6px; padding-left: 10px; padding-right: 10px; }
  .lp-sticky a { font-size: 14px; padding: 0 8px; }
  .lp-sticky__max { flex: 0 0 44px !important; background-size: 26px; }
}