

/* Start:/bitrix/templates/vtcenter2026/css/ritm-articles.css?179627670619806*/
/* Статьи-файлы (include/ritm_articles_lib.php). Один файл на все сайты группы: копии лежат
   в шаблонах vtcenter (Альтоника) и beward (beward.shop). 09.11.2026 — новая вёрстка:
   шапка с рубрикой и временем чтения, «Коротко», ключевые цифры, оглавление сбоку,
   выноски, шаги, карточки «Ещё по теме». Цвет акцента — переменная --rart-accent,
   её ставит движок у каждого сайта свою. Без градиентов и теней «как в приложении».
   Селекторы с body — чтобы перебить легаси-правила вида .ritm-main p { color: #333 !important }. */

body .rart, body .rart-list { --rart-ink: #111827; --rart-text: #1f2937; --rart-muted: #6b7280; --rart-line: #e5e7eb; --rart-soft: #f6f7f9; }
body .rart { --rart-accent: #1d2533; max-width: 1180px; margin: 0 0 56px; padding: 32px 40px 40px; background: #fff; border: 1px solid #eceef2; border-radius: 14px; box-sizing: border-box; color: var(--rart-text); font-size: 17px; line-height: 1.7; }
body .rart *, body .rart *::before, body .rart *::after { box-sizing: border-box; }

/* Шапка */
body .rart .rart__head { margin: 0 0 24px; padding: 0 0 20px; border-bottom: 1px solid var(--rart-line); }
body .rart .rart__kicker { display: inline-block; margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rart-accent); }
body .rart .rart__title { text-align: left; margin: 0 0 12px; font-size: 36px; line-height: 1.18; font-weight: 800; letter-spacing: -.01em; color: var(--rart-ink); max-width: 860px; }
body .rart .rart__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--rart-muted); }
body .rart .rart__meta span { position: relative; }
body .rart .rart__check { color: #166534; }
body .rart .rart__check::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; border-radius: 50%; background: #16a34a; }

/* Раскладка: текст + оглавление */
body .rart { container-type: inline-size; }
body .rart .rart__layout { display: block; }
body .rart .rart__aside { display: none; }
/* Оглавление сбоку — только когда сама статья широкая (у Альтоники колонка узкая) */
@container (min-width: 880px) {
    body .rart .rart__layout--toc { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 48px; align-items: start; }
    body .rart .rart__layout--toc .rart__aside { display: block; }
}
body .rart .rart__main { min-width: 0; max-width: 780px; }
body .rart .rart__aside { position: sticky; top: 96px; }
body .rart .rart__toc { padding: 4px 0 4px 18px; border-left: 2px solid var(--rart-line); }
body .rart .rart__toc-title { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rart-muted); }
body .rart .rart__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
body .rart .rart__toc li { margin: 0 0 9px; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; counter-increment: toc; }
body .rart .rart__toc li::before { content: counter(toc) "."; display: inline-block; min-width: 20px; color: var(--rart-muted); }
body .rart .rart__toc a { color: var(--rart-text) !important; text-decoration: none !important; border: 0 !important; box-shadow: none !important; background: none !important; }
body .rart .rart__toc a:hover { color: var(--rart-accent) !important; }

/* Коротко */
body .rart .rart__answer { margin: 0 0 28px; padding: 20px 24px; background: var(--rart-soft); border-left: 3px solid var(--rart-accent); border-radius: 0 10px 10px 0; }
body .rart .rart__answer-label { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rart-accent); }
body .rart .rart__answer p { margin: 0 0 10px !important; padding: 0; color: var(--rart-ink) !important; font-size: 17px; line-height: 1.65; }
body .rart .rart__answer p:last-child { margin-bottom: 0; }

/* Ключевые цифры */
body .rart .rart__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 0 0 32px; background: var(--rart-line); border: 1px solid var(--rart-line); border-radius: 10px; overflow: hidden; }
body .rart .rart__fact { padding: 16px 18px; background: #fff; }
body .rart .rart__fact b { display: block; font-size: 24px; line-height: 1.15; font-weight: 800; color: var(--rart-ink); }
body .rart .rart__fact span { display: block; margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--rart-muted); }

/* Текст */
body .rart h2 { margin: 44px 0 14px; font-size: 25px; line-height: 1.28; font-weight: 800; color: var(--rart-ink); scroll-margin-top: 96px; }
body .rart h3 { margin: 28px 0 10px; font-size: 19px; line-height: 1.35; font-weight: 700; color: var(--rart-ink); }
body .rart p, body .rart li { color: var(--rart-text) !important; font-size: 17px; }
body .rart p { margin: 0 0 16px; }
body .rart .rart__body a, body .rart .rart__answer a, body .rart .rart__qa a { color: var(--rart-accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
body .rart ol, body .rart ul { margin: 0 0 18px; padding-left: 24px; }
body .rart li { margin: 0 0 8px; }
body .rart ul li { list-style: disc; }
body .rart ul li::marker { color: var(--rart-accent); }
body .rart ol li { list-style: decimal; }
body .rart code { padding: 1px 6px; border-radius: 4px; background: var(--rart-soft); font-size: 14px; }

/* Таблицы */
body .rart .rart__tw { margin: 0 0 12px; overflow-x: auto; border: 1px solid var(--rart-line); border-radius: 10px; }
body .rart .rart__table { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
body .rart .rart__table th, body .rart .rart__table td { padding: 11px 14px; border-bottom: 1px solid var(--rart-line); text-align: left; vertical-align: top; }
body .rart .rart__table tr:last-child td { border-bottom: 0; }
body .rart .rart__table th { background: var(--rart-soft); font-weight: 700; color: var(--rart-ink); white-space: nowrap; }
body .rart .rart__table td:first-child { font-weight: 600; color: var(--rart-ink); }
body .rart .rart__table tbody tr:hover td, body .rart .rart__table tr:hover td { background: #fbfbfc; }

/* Выноски: <div class="rart-note">…</div>, <div class="rart-note rart-note--warn">…</div> */
body .rart .rart-note { margin: 0 0 20px; padding: 14px 18px; border: 1px solid var(--rart-line); border-left: 3px solid var(--rart-accent); border-radius: 0 8px 8px 0; background: #fff; }
body .rart .rart-note--warn { border-left-color: #d97706; background: #fffbeb; }
body .rart .rart-note p { margin: 0 0 8px; font-size: 16px; }
body .rart .rart-note p:last-child { margin: 0; }
body .rart .rart-note b:first-child { color: var(--rart-ink); }

/* Шаги: <ol class="rart-steps"><li><b>Заголовок</b> текст</li></ol> */
body .rart ol.rart-steps { margin: 0 0 22px; padding: 0; counter-reset: st; }
body .rart ol.rart-steps > li { position: relative; margin: 0 0 14px; padding: 2px 0 0 46px; list-style: none; counter-increment: st; }
body .rart ol.rart-steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--rart-accent); color: #fff; font-size: 14px; font-weight: 700; line-height: 30px; text-align: center; }
body .rart ol.rart-steps > li > b:first-child { display: block; margin: 0 0 2px; color: var(--rart-ink); }

/* Карточки вариантов: <div class="rart-cards"><div class="rart-card"><h3>…</h3><p>…</p></div></div> */
body .rart .rart-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0 0 22px; }
body .rart .rart-card { padding: 16px 18px; border: 1px solid var(--rart-line); border-radius: 10px; background: #fff; }
body .rart .rart-card h3 { margin: 0 0 6px; font-size: 17px; }
body .rart .rart-card p, body .rart .rart-card li { font-size: 15px; }
body .rart .rart-card p:last-child, body .rart .rart-card ul:last-child { margin-bottom: 0; }

/* Товары */
body .rart .rart__goods { margin: 48px 0 0; }
body .rart .rart__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
body .rart a.rart__good { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--rart-line); border-radius: 10px; background: #fff; color: var(--rart-text); text-decoration: none; transition: border-color .15s; }
body .rart a.rart__good:hover { border-color: var(--rart-accent); }
body .rart .rart__good img { width: 100%; height: 120px; object-fit: contain; }
body .rart .rart__good-name { font-size: 14px; line-height: 1.4; }
body .rart .rart__good-price { margin-top: auto; font-weight: 800; font-size: 16px; color: var(--rart-ink); }

/* FAQ */
body .rart .rart__faq { margin: 48px 0 0; }
body .rart .rart__qa { border-bottom: 1px solid var(--rart-line); }
body .rart .rart__qa:first-of-type { border-top: 1px solid var(--rart-line); }
body .rart .rart__qa summary { position: relative; padding: 16px 36px 16px 0; cursor: pointer; font-weight: 700; font-size: 16px; color: var(--rart-ink); list-style: none; }
body .rart .rart__qa summary::-webkit-details-marker { display: none; }
body .rart .rart__qa summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; color: var(--rart-accent); }
body .rart .rart__qa[open] summary::after { content: "−"; }
body .rart .rart__qa > div { padding: 0 0 16px; color: var(--rart-text); font-size: 16px; }

/* Источники */
body .rart .rart__src { margin: 44px 0 0; padding: 20px 22px; border-radius: 10px; background: var(--rart-soft); }
body .rart .rart__src h2, body .rart .rart__more h2 { margin: 0 0 12px; font-size: 17px; }
body .rart .rart__src ol { margin: 0; padding-left: 20px; }
body .rart .rart__src li { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: #4b5563 !important; list-style: decimal; }
body .rart .rart__src a { color: #4b5563; }

/* Ещё по теме */
body .rart .rart__more { margin: 36px 0 0; }
body .rart .rart__more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body .rart a.rart__more-item { display: block; padding: 16px 18px; border: 1px solid var(--rart-line); border-radius: 10px; text-decoration: none; transition: border-color .15s; }
body .rart a.rart__more-item:hover { border-color: var(--rart-accent); }
body .rart .rart__more-kicker { display: block; margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rart-accent); }
body .rart .rart__more-title { display: block; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--rart-ink); }

/* Список статей */
body .rart-list { --rart-accent: #1d2533; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 36px; max-width: 1180px; }
body a.rart-list__item { display: flex; flex-direction: column; padding: 20px 22px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; text-decoration: none; transition: border-color .15s; }
body a.rart-list__item:hover { border-color: var(--rart-accent); }
body .rart-list__kicker { display: block; margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rart-accent); }
body .rart-list__title { display: block; font-size: 19px; font-weight: 800; color: #111827; line-height: 1.32; }
body .rart-list__desc { display: block; margin: 8px 0 0; font-size: 14px; color: #4b5563; line-height: 1.55; }
body .rart-list__date { display: block; margin: auto 0 0; padding: 12px 0 0; font-size: 12px; color: #6b7280; }

@media (max-width: 760px) {
    body .rart { padding: 20px 16px 28px; font-size: 16px; border-radius: 10px; }
    body .rart .rart__title { font-size: 26px; }
    body .rart h2 { font-size: 21px; margin-top: 36px; }
    body .rart p, body .rart li { font-size: 16px; }
    body .rart .rart__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body .rart .rart__more-grid, body .rart-list { grid-template-columns: 1fr; }
    body .rart .rart__table { font-size: 14px; }
    body .rart .rart__table th { white-space: normal; }
}

/* Калькулятор архива (статья RVi, 20.10.2026) */
body .rart .rart-calc { margin: 0 0 28px; padding: 20px 22px; border: 1px solid var(--rart-line); border-radius: 10px; background: #fafbfc; }
body .rart .rart-calc__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
body .rart .rart-calc__field { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; font-size: 13px; color: #4b5563; line-height: 1.3; }
body .rart .rart-calc__field input { width: 100%; padding: 9px 10px; border: 1px solid #cfd6e0; border-radius: 6px; background: #fff; font-size: 16px; color: #111827; }
body .rart .rart-calc__out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; }
body .rart .rart-calc__out > div { padding: 12px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--rart-line); }
body .rart .rart-calc__out span { display: block; font-size: 13px; color: #6b7280; }
body .rart .rart-calc__out b { display: block; margin-top: 4px; font-size: 22px; color: #111827; }
body .rart p.rart-calc__note { margin: 12px 0 0; font-size: 13px; color: #6b7280 !important; }
@media (max-width: 760px) {
    body .rart .rart-calc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body .rart .rart-calc__out { grid-template-columns: 1fr; }
}

/* beward.shop: заголовки разделов на /articles/ (статьи над правовыми документами) */
body .rart-list__head { margin: 28px 0 14px; font-size: 22px; line-height: 1.3; font-weight: 700; color: #111827; }

/* 15.11.2026 — элементы для подробных статей. Без градиентов и теней, цвет — только --rart-accent.
   Схема: <div class="rart-flow"><div class="rart-flow__node"><b>Камера</b><span>подпись</span></div>…</div>
   Сравнение: <div class="rart-vs"><div class="rart-vs__col"><h3>…</h3><ul>…</ul></div><div class="rart-vs__col">…</div></div>
   Чек-лист: <ul class="rart-check"><li>…</li></ul>
   Подбор: <div class="rart-pick"><div class="rart-pick__row"><span>задача</span><b>решение</b></div>…</div>
   Расчёт: <div class="rart-formula"><div class="rart-formula__eq">…</div><p>…</p></div> */
body .rart .rart-flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; margin: 0 0 24px; padding: 18px; border: 1px solid var(--rart-line); border-radius: 10px; background: var(--rart-soft); }
body .rart .rart-flow__node { position: relative; flex: 1 1 140px; min-width: 0; margin: 6px 28px 6px 0; padding: 12px 14px; border: 1px solid var(--rart-line); border-top: 3px solid var(--rart-accent); border-radius: 8px; background: #fff; }
body .rart .rart-flow__node:last-child { margin-right: 0; }
body .rart .rart-flow__node::after { content: "→"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 700; color: var(--rart-accent); }
body .rart .rart-flow__node:last-child::after { content: none; }
body .rart .rart-flow__node b { display: block; font-size: 15px; line-height: 1.3; color: var(--rart-ink); }
body .rart .rart-flow__node span { display: block; margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--rart-muted); }

body .rart .rart-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 24px; border: 1px solid var(--rart-line); border-radius: 10px; overflow: hidden; }
body .rart .rart-vs__col { padding: 18px 20px; background: #fff; }
body .rart .rart-vs__col + .rart-vs__col { border-left: 1px solid var(--rart-line); }
body .rart .rart-vs__col h3 { margin: 0 0 10px; padding: 0 0 10px; border-bottom: 2px solid var(--rart-accent); font-size: 17px; }
body .rart .rart-vs__col ul { margin: 0; padding-left: 18px; }
body .rart .rart-vs__col li, body .rart .rart-vs__col p { font-size: 15px; }
body .rart .rart-vs__col p:last-child { margin-bottom: 0; }

body .rart ul.rart-check { margin: 0 0 22px; padding: 0; }
body .rart ul.rart-check > li { position: relative; margin: 0 0 10px; padding: 0 0 0 32px; list-style: none; }
body .rart ul.rart-check > li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rart-accent); }
body .rart ul.rart-check > li::after { content: ""; position: absolute; left: 8px; top: 9px; width: 5px; height: 9px; border: solid var(--rart-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

body .rart .rart-pick { margin: 0 0 24px; border: 1px solid var(--rart-line); border-radius: 10px; overflow: hidden; }
body .rart .rart-pick__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--rart-line); background: #fff; align-items: baseline; }
body .rart .rart-pick__row:last-child { border-bottom: 0; }
body .rart .rart-pick__row:nth-child(odd) { background: #fbfbfc; }
body .rart .rart-pick__row span { font-size: 15px; line-height: 1.5; color: var(--rart-text); }
body .rart .rart-pick__row b { font-size: 15px; line-height: 1.5; color: var(--rart-ink); }
body .rart .rart-pick__row b::before { content: "→ "; color: var(--rart-accent); }

body .rart .rart-formula { margin: 0 0 24px; padding: 18px 20px; border: 1px dashed #cfd6e0; border-radius: 10px; background: #fff; }
body .rart .rart-formula__eq { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: var(--rart-ink); font-variant-numeric: tabular-nums; }
body .rart .rart-formula p { margin: 0 0 6px; font-size: 15px; }
body .rart .rart-formula p:last-child { margin: 0; }

/* Схема в столбик, когда сама статья узкая (колонка Альтоники ~650 px) — иначе 4-й блок переносится со «стрелкой в никуда» */
@container (max-width: 760px) {
    body .rart .rart-flow { flex-direction: column; padding: 12px; }
    body .rart .rart-flow__node { flex: 0 0 auto; margin: 0 0 26px; }
    body .rart .rart-flow__node:last-child { margin-bottom: 0; }
    body .rart .rart-flow__node::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -24px; transform: translateX(-50%); }
}
@media (max-width: 760px) {
    body .rart .rart-flow { flex-direction: column; padding: 12px; }
    body .rart .rart-flow__node { flex: 0 0 auto; margin: 0 0 26px; }
    body .rart .rart-flow__node:last-child { margin-bottom: 0; }
    body .rart .rart-flow__node::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -24px; transform: translateX(-50%); }
    body .rart .rart-vs { grid-template-columns: 1fr; }
    body .rart .rart-vs__col + .rart-vs__col { border-left: 0; border-top: 1px solid var(--rart-line); }
    body .rart .rart-pick__row { grid-template-columns: 1fr; gap: 2px; }
}

/* End */
/* /bitrix/templates/vtcenter2026/css/ritm-articles.css?179627670619806 */
