

/* Start:/bitrix/templates/vozvrashchenie/css/article-blog.css?17792617576921*/
/* =========================================================
   Article Blog — улучшения детальной страницы /stati/*
   Wave 22A — 2026-05-16
   ========================================================= */

/* ---- Прогресс-бар чтения ------------------------------- */
.article-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 1000;
    pointer-events: none;
}
.article-progress__fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #5380E8 0%, #2563D9 100%);
    transition: width 0.1s ease-out;
    box-shadow: 0 0 6px rgba(83, 128, 232, 0.4);
}

/* ---- Карточка-оглавление ------------------------------- */
.article-toc-card {
    background: linear-gradient(135deg, #F6F7F9 0%, #EEF2FB 100%);
    border-left: 4px solid #5380E8;
    border-radius: 8px;
    padding: 24px 28px;
    margin: 28px 0 36px;
    position: relative;
}
.article-toc-card::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 24px;
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235380E8' stroke-width='2'><line x1='8' y1='6' x2='21' y2='6'/><line x1='8' y1='12' x2='21' y2='12'/><line x1='8' y1='18' x2='21' y2='18'/><circle cx='4' cy='6' r='1.5' fill='%235380E8' stroke='none'/><circle cx='4' cy='12' r='1.5' fill='%235380E8' stroke='none'/><circle cx='4' cy='18' r='1.5' fill='%235380E8' stroke='none'/></svg>") no-repeat center / contain;
}
.article-toc-card__title {
    margin: 0 0 16px 36px;
    font-family: RubikMedium, system-ui, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #081B43;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.article-toc-card ol,
.article-toc-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc-counter;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 24px;
}
@media (max-width: 767px) {
    .article-toc-card ol,
    .article-toc-card ul {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
.article-toc-card ol li,
.article-toc-card ul li {
    counter-increment: toc-counter;
    padding: 4px 0;
    position: relative;
    padding-left: 32px;
}
.article-toc-card ol li::before,
.article-toc-card ul li::before {
    content: counter(toc-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 4px;
    font-family: RubikMedium, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #5380E8;
    background: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(8, 27, 67, 0.08);
}
.article-toc-card a {
    color: #081B43;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
.article-toc-card a:hover {
    color: #5380E8;
    border-bottom-color: #5380E8;
}

/* ---- Inline-CTA блок внутри статьи --------------------- */
.article-cta-inline {
    background: linear-gradient(135deg, #081B43 0%, #1B3068 100%);
    color: #fff;
    border-radius: 10px;
    padding: 28px 32px;
    margin: 36px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: hidden;
}
.article-cta-inline::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(83,128,232,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.article-cta-inline--alt {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
}
.article-cta-inline--alt::before {
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
}
.article-cta-inline__content {
    flex: 1;
    position: relative;
    z-index: 1;
}
.article-cta-inline__title {
    margin: 0 0 8px;
    font-family: RubikMedium, system-ui, sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
}
.article-cta-inline__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}
.article-cta-inline__action {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    text-align: right;
}
.article-cta-inline__phone {
    display: block;
    font-family: RubikMedium, system-ui, sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin-bottom: 6px;
    white-space: nowrap;
}
.article-cta-inline__phone:hover {
    color: #fff;
    text-decoration: underline;
}
.article-cta-inline__btn {
    display: inline-block;
    background: #fff;
    color: #081B43;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-family: RubikMedium, system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.article-cta-inline__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #081B43;
}
.article-cta-inline--alt .article-cta-inline__btn {
    color: #EA580C;
}
.article-cta-inline--alt .article-cta-inline__btn:hover {
    color: #C2410C;
}

/* Адаптив для CTA */
@media (max-width: 767px) {
    .article-cta-inline {
        flex-direction: column;
        align-items: stretch;
        padding: 22px 20px;
        margin: 28px 0;
    }
    .article-cta-inline__title {
        font-size: 19px;
    }
    .article-cta-inline__action {
        text-align: left;
    }
    .article-cta-inline__phone {
        font-size: 24px;
        text-align: center;
        margin-bottom: 10px;
    }
    .article-cta-inline__btn {
        display: block;
        text-align: center;
        padding: 12px 22px;
    }
}

/* ---- Улучшения TL;DR ----------------------------------- */
.article-tldr {
    background: #FFF8E7;
    border-left: 4px solid #F59E0B;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0 32px;
    position: relative;
}
.article-tldr__title {
    margin: 0 0 8px;
    font-family: RubikMedium, system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #92400E;
}
.article-tldr__text {
    font-size: 16px;
    line-height: 1.55;
    color: #1E1E1E;
    margin: 0;
}

/* VOZ_TOC_SCROLL_FIX — фикс прокрутки к якорю под fixed header */
html { scroll-behavior: smooth; }
[id^="toc-"] { scroll-margin-top: 100px; }
@media (max-width: 768px) {
    [id^="toc-"] { scroll-margin-top: 70px; }
}

/* End */
/* /bitrix/templates/vozvrashchenie/css/article-blog.css?17792617576921 */
