/* SEO-статьи посадочных WordGPT v2: блоки, карточки, шаги, иллюстрации. Подключается из landings/*.tpl. */
.wg-art { --art-gap: 22px; }
.wg-art.wg-art-alt { background: var(--wg-mist); }
.wg-art .wg-art-body { max-width: 1040px; }
.wg-art .wg-art-body > p, .wg-art .wg-art-body > h3, .wg-art .wg-art-body > ul, .wg-art .wg-art-body > ol.wg-art-ol,
.wg-art .wg-art-cap, .wg-art .wga-note { max-width: 820px; }
.wg-art .wg-art-body p { margin-top: 16px; color: var(--wg-mute); line-height: 1.8; font-size: 16.5px; }
.wg-art .wg-art-body strong { color: var(--wg-ink); font-weight: 600; }
.wg-art .wg-art-body a { color: var(--wg-blue); text-decoration: underline; text-decoration-color: rgba(26, 86, 219, .35); text-underline-offset: 3px; }
.wg-art .wg-art-body a:hover { text-decoration-color: var(--wg-blue); }
.wg-art .wg-art-body h3 { margin-top: 40px; font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--wg-ink); }

/* Заголовок секции с иконкой */
.wg-art-head { display: flex; align-items: flex-start; gap: 18px; max-width: 980px; }
.wg-art-badge { flex: none; display: grid; place-items: center; width: 52px; height: 52px; margin-top: 6px; border-radius: 16px;
  background: var(--wg-wash); color: var(--wg-blue); box-shadow: inset 0 0 0 1px rgba(26, 86, 219, .12); }
.wg-art-alt .wg-art-badge { background: #fff; }
.wg-art-ico { width: 26px; height: 26px; }
.wg-art .wg-art-lead { margin-top: 22px !important; max-width: 820px; color: var(--wg-ink) !important; font-size: 18.5px !important; line-height: 1.7 !important; }

/* Шаги */
.wga-steps { list-style: none !important; padding: 0 !important; margin: 30px 0 6px !important; display: grid; gap: 14px;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr)); counter-reset: none; }
.wga-step { position: relative; margin: 0 !important; padding: 20px 18px 18px; border-radius: 18px; background: #fff;
  border: .8px solid var(--wg-rule); box-shadow: 0 10px 30px -22px rgba(23, 36, 58, .35); display: flex; flex-direction: column; gap: 12px; }
.wg-art-alt .wga-step { border-color: transparent; }
.wga-step-n { font-family: var(--wg-sans); position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--wg-wash); color: var(--wg-blue); font-size: 12.5px; font-weight: 700; }
.wga-step-ico { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--wg-blue); color: #fff; }
.wga-step-t { color: var(--wg-ink); font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.wga-step:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; width: 8px; height: 8px; z-index: 1;
  border-top: 2px solid var(--wg-blue); border-right: 2px solid var(--wg-blue); transform: translateY(-50%) rotate(45deg); opacity: .55; }
.wga-steps[style*="--n:4"] .wga-step:nth-child(4n)::after, .wga-steps[style*="--n:3"] .wga-step:nth-child(3n)::after { display: none; }

/* Карточки с иконками */
.wga-icards { margin-top: 26px; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wga-icards[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
.wga-icard { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: #fff;
  border: .8px solid var(--wg-rule); }
.wg-art-alt .wga-icard { border-color: transparent; box-shadow: 0 10px 30px -24px rgba(23, 36, 58, .35); }
.wga-icard-ico { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: var(--wg-wash); color: var(--wg-blue); }
.wga-icard h4 { margin: 2px 0 0; font-size: 16px; line-height: 1.35; font-weight: 700; color: var(--wg-ink); }
.wg-art .wga-icard p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; }

/* Подразделы-карточки */
.wga-subcards { margin-top: 34px; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wga-subcard { padding: 24px; border-radius: 20px; background: #fff; border: .8px solid var(--wg-rule); }
.wg-art-alt .wga-subcard { border-color: transparent; box-shadow: 0 12px 34px -26px rgba(23, 36, 58, .4); }
.wga-subcard-ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--wg-wash); color: var(--wg-blue); }
.wg-art .wga-subcard h3 { margin-top: 14px !important; font-size: 19px !important; }
.wg-art .wga-subcard p { font-size: 15.5px; }

/* Таблицы */
.wg-art .wg-art-cap { margin-top: 30px !important; color: var(--wg-ink) !important; font-weight: 700; font-size: 16px !important; }
.wg-art-table { margin-top: 14px; overflow-x: auto; border: .8px solid var(--wg-rule); border-radius: 18px; background: #fff; }
.wg-art-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.wg-art-table th { text-align: left; font-weight: 600; color: var(--wg-ink); background: var(--wg-mist); padding: 14px 18px; border-bottom: .8px solid var(--wg-rule); }
.wg-art-alt .wg-art-table th { background: #f7f9fd; }
.wg-art-table td { padding: 14px 18px; color: var(--wg-mute); vertical-align: top; border-bottom: .8px solid var(--wg-rule); }
.wg-art-table tr:last-child td { border-bottom: 0; }
.wg-art-table td:first-child { color: var(--wg-ink); font-weight: 600; }
.wga-compare th.wga-hl { background: var(--wg-blue); color: #fff; }
.wga-compare td.wga-hl { background: rgba(26, 86, 219, .05); color: var(--wg-ink); }

/* Чек-лист */
.wga-checks { list-style: none !important; padding: 0 !important; margin-top: 24px !important; display: grid; gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
.wga-checks li { margin: 0 !important; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px;
  background: #fff; border: .8px solid var(--wg-rule); color: var(--wg-ink); line-height: 1.55; font-size: 15.5px; }
.wg-art-alt .wga-checks li { border-color: transparent; }
.wga-checks-ico { flex: none; width: 22px; height: 22px; color: var(--wg-blue); margin-top: 1px; }

/* План-документ */
.wga-docplan { margin-top: 0; max-width: none; border-radius: 18px; background: #fff; border: .8px solid var(--wg-rule);
  box-shadow: 0 18px 40px -30px rgba(23, 36, 58, .45); overflow: hidden; }
.wga-docplan-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--wg-mist); border-bottom: .8px solid var(--wg-rule);
  font-weight: 600; font-size: 14px; color: var(--wg-ink); }
.wga-docplan-ico { width: 20px; height: 20px; color: var(--wg-blue); }
.wga-docplan ol { list-style: none !important; margin: 0 !important; padding: 14px 22px 18px !important; font-family: "Times New Roman", Georgia, serif; }
.wga-docplan li { margin: 0 !important; padding: 7px 0; border-bottom: 1px dashed var(--wg-rule); color: var(--wg-ink); font-size: 16.5px; }
.wga-docplan li:last-child { border-bottom: 0; }
.wga-docplan li.wga-doc-sub { padding-left: 26px; color: var(--wg-mute); font-size: 15.5px; }

/* Списки, заметки */
.wg-art .wg-art-ul { padding-left: 22px; list-style: disc; margin-top: 16px; color: var(--wg-mute); }
.wg-art .wg-art-ul li + li, .wg-art .wg-art-ol li + li { margin-top: 8px; }
.wg-art .wg-art-ol { list-style: decimal !important; padding-left: 22px; margin-top: 16px; color: var(--wg-mute); }
.wg-art .wg-art-ol li::marker { color: var(--wg-blue); font-weight: 700; }
.wg-art .wga-note { display: flex; gap: 12px; margin-top: 22px !important; padding: 16px 18px; border-radius: 16px; background: var(--wg-wash); color: var(--wg-ink) !important; }
.wga-note-ico { flex: none; width: 22px; height: 22px; color: var(--wg-blue); margin-top: 3px; }

/* Иллюстрации */
.wga-fig { margin: 30px 0 4px; max-width: 980px; }
.wga-fig img { display: block; width: 100%; height: auto; border-radius: 20px; border: .8px solid var(--wg-rule);
  box-shadow: 0 30px 60px -40px rgba(23, 36, 58, .5); background: #fff; }
.wga-fig figcaption { margin-top: 10px; font-size: 13.5px; color: var(--wg-mute); }

/* CTA-плашка между секциями */
.wg-art-cta { margin: 64px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 32px;
  border-radius: 22px; background: radial-gradient(520px 220px at 0 0, #dce7ff 0%, rgba(220, 231, 255, 0) 80%), var(--wg-wash);
  box-shadow: inset 0 0 0 1px rgba(26, 86, 219, .1); }
.wg-art-cta-t { margin: 0; font-family: var(--wg-serif); font-size: 28px; line-height: 1.2; color: var(--wg-ink); }
.wg-art-cta-s { margin: 8px 0 0; color: var(--wg-mute); font-size: 15.5px; max-width: 560px; }
.wg-art-cta-pills { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.wg-art-cta-pills span { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--wg-ink); }
.wga-cta-ico { width: 17px; height: 17px; color: var(--wg-blue); }
.wg-art-cta .wg-btn { flex: none; }

@media (max-width: 1024px) {
  .wga-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wga-step::after { display: none !important; }
  .wga-icards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wg-art-head { gap: 12px; }
  .wg-art-badge { width: 42px; height: 42px; border-radius: 13px; margin-top: 2px; }
  .wg-art-ico { width: 22px; height: 22px; }
  .wg-art .wg-art-lead { font-size: 17px !important; }
  .wg-art .wg-art-body p { font-size: 16px; }
  .wg-art .wg-art-body h3 { font-size: 19px; }
  .wga-steps, .wga-icards, .wga-icards[data-cols="2"], .wga-subcards, .wga-checks { grid-template-columns: 1fr; }
  .wga-step { flex-direction: row; align-items: center; padding: 14px 44px 14px 14px; }
  .wga-step-ico { width: 36px; height: 36px; padding: 7px; }
  .wga-subcard { padding: 20px; }
  .wg-art-table { border: 0; background: none; border-radius: 0; overflow: visible; }
  .wg-art-table table, .wg-art-table tbody, .wg-art-table tr, .wg-art-table td { display: block; width: 100%; }
  .wg-art-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wg-art-table tr { border: .8px solid var(--wg-rule); border-radius: 16px; background: #fff; padding: 6px 14px; }
  .wg-art-table tr + tr { margin-top: 10px; }
  .wg-art-table td { border: 0; padding: 8px 0; font-size: 14.5px; }
  .wg-art-table td + td { border-top: .8px solid var(--wg-rule); }
  .wg-art-table td:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--wg-blue); }
  .wga-compare td.wga-hl { background: none; }
  .wg-art-cta { flex-direction: column; align-items: flex-start; padding: 22px; margin: 36px 0 0; }
  .wg-art-cta-t { font-size: 23px; }
  .wga-fig img { border-radius: 14px; }
}

/* центрированная колонка статьи */
.wg-art > .wg-wrap, .wg-art + .wg-wrap { max-width: 1120px; }

/* ряд подраздела: заголовок слева, текст справа */
.wga-row { margin-top: 44px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start;
  padding-top: 32px; border-top: .8px solid var(--wg-rule); }
.wga-row-h { position: sticky; top: 110px; }
.wga-row-ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--wg-wash); color: var(--wg-blue); }
.wg-art-alt .wga-row-ico { background: #fff; }
.wg-art .wga-row-h h3 { margin-top: 14px !important; font-size: 21px; }
.wg-art .wga-row-b > p:first-child { margin-top: 0; }
.wg-art .wga-row-b p { max-width: none; }
@media (max-width: 900px) {
  .wga-row { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; padding-top: 24px; }
  .wga-row-h { position: static; display: flex; align-items: center; gap: 12px; }
  .wg-art .wga-row-h h3 { margin-top: 0 !important; }
  .wga-row-ico { flex: none; width: 36px; height: 36px; padding: 8px; }
}

/* нумерованная инструкция */
.wga-num { list-style: none !important; padding: 0 !important; margin-top: 22px !important; display: grid; gap: 10px; max-width: 860px; }
.wga-num li { margin: 0 !important; display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-radius: 16px;
  background: #fff; border: .8px solid var(--wg-rule); color: var(--wg-ink); line-height: 1.6; font-size: 15.5px; }
.wg-art-alt .wga-num li { border-color: transparent; }
.wga-num-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--wg-blue); color: #fff;
  font-family: var(--wg-sans); font-size: 13px; font-weight: 700; margin-top: 1px; }

/* план-документ + подсказка справа */
.wga-docwrap { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.wga-docaside { padding: 24px; border-radius: 18px; background: var(--wg-wash); box-shadow: inset 0 0 0 1px rgba(26, 86, 219, .1); }
.wg-art-alt .wga-docaside { background: #fff; box-shadow: none; }
.wg-art .wga-docaside-t { margin: 0 !important; font-weight: 700; font-size: 17px !important; color: var(--wg-ink) !important; }
.wg-art .wga-docaside-s { margin-top: 6px !important; font-size: 14.5px !important; line-height: 1.6 !important; }
.wga-docaside ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.wga-docaside li { display: flex; gap: 12px; align-items: flex-start; }
.wga-docaside-ico { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: #fff; color: var(--wg-blue); }
.wg-art-alt .wga-docaside-ico { background: var(--wg-wash); }
.wga-docaside b { display: block; font-size: 15px; color: var(--wg-ink); }
.wga-docaside li span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.55; color: var(--wg-mute); }
@media (max-width: 860px) { .wga-docwrap { grid-template-columns: 1fr; } }

/* всё содержимое статьи на 100% ширины колонки, без пустот справа */
.wg-art > .wg-wrap, .wg-art + .wg-wrap { max-width: 1000px; }
.wg-art .wg-art-body, .wg-art-head,
.wg-art .wg-art-body > p, .wg-art .wg-art-body > h3, .wg-art .wg-art-body > ul, .wg-art .wg-art-body > ol.wg-art-ol,
.wg-art .wg-art-cap, .wg-art .wga-note, .wg-art .wg-art-lead,
.wga-icards, .wga-icards[data-cols="2"], .wga-checks, .wga-num, .wga-fig, .wga-docwrap { max-width: none; }
.wga-fig img { width: 100%; }

/* 2026-10-17 owner: одинаковый отступ блока .wg-art-cta на всех посадочных.
   Сверху и снизу ~78px (ПК) / ~56px (до 760px): от края серой полосы .wg-art-alt — полный отступ,
   рядом с прозрачной секцией её собственный padding дополняется до той же величины. */
.wg-wrap > .wg-art-cta { --wg-art-cta-gap: 78px; margin: 30px 0 0; }
.wg-art-alt + .wg-wrap > .wg-art-cta { margin-top: var(--wg-art-cta-gap); }
.wg-wrap:has(+ .wg-art-alt) > .wg-art-cta { margin-bottom: var(--wg-art-cta-gap); }
@media (max-width: 760px) { .wg-wrap > .wg-art-cta { --wg-art-cta-gap: 56px; } }
