:root {
    --vz-red: #dd2a1b;
    --vz-green: #8fcd09;
    --vz-dark: #2f2d38;
    --vz-white: #ffffff;
    --vz-text: #333333;
    --vz-muted: #6f6f78;
    --vz-border: #e8e8ec;
    --vz-bg: #f7f8fa;
    --vz-shadow: 0 18px 44px rgba(47, 45, 56, 0.08);
}

/* ================= FIX BITRIX ================= */

.vz-longread,
.vz-longread__body,
.vz-content {
    overflow: visible !important;
}

/* ================= PROGRESS ================= */

.vz-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--vz-red), var(--vz-green));
}

/* ================= HERO ================= */

.vz-hero {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #fff, var(--vz-bg));
    border-bottom: 1px solid var(--vz-border);
}

.vz-hero__inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
}

.vz-hero__title {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
    color: var(--vz-dark);
    margin-bottom: 16px;
}

.vz-hero__lead {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.vz-hero__sublead {
    color: var(--vz-muted);
}

/* ================= GRID ================= */

.vz-longread__body {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 42px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    align-items: start;
}

/* ================= TOC (STICKY) ================= */

.vz-toc {
    position: sticky !important;
    top: 24px;
    align-self: start;
    height: fit-content;

    padding: 20px;
    border: 1px solid var(--vz-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--vz-shadow);
}

.vz-toc__title {
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--vz-dark);
}

.vz-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vz-toc__item + .vz-toc__item {
    margin-top: 10px;
}

.vz-toc__link {
    display: block;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    padding-left: 14px;
    position: relative;
    transition: 0.2s;
}

.vz-toc__link::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 7px;
}

.vz-toc__link:hover {
    transform: translateX(2px);
}

.vz-toc__link.is-active {
    color: var(--vz-dark);
    font-weight: 700;
}

.vz-toc__link.is-active::before {
    background: var(--vz-red);
}

/* ================= CONTENT ================= */

.vz-content {
    max-width: 820px;
}

/* ================= TEXT ================= */

.vz-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* ================= TITLES ================= */

.vz-title-2 {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--vz-dark);
}

.vz-title-3 {
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 700;
}

.vz-title-4 {
    margin-top: 24px;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
}

/* ================= IMAGES ================= */

.vz-figure {
    margin: 30px 0;
}

.vz-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--vz-shadow);
    transition: 0.3s;
}

.vz-image:hover {
    transform: scale(1.01);
}

.vz-caption {
    text-align: center;
    font-size: 14px;
    color: var(--vz-muted);
    margin-top: 10px;
}

/* ================= BOX ================= */

.vz-box {
    margin: 24px 0;
    padding: 20px;
    border-radius: 16px;
    background: #fafafa;
    border-left: 4px solid var(--vz-red);
}

.vz-box--expert {
    border-left-color: var(--vz-green);
}

.vz-box__label {
    font-weight: 800;
    margin-bottom: 8px;
}

.vz-box__text {
    line-height: 1.7;
}

/* ================= LIST ================= */

.vz-list {
    list-style: none;
    padding: 0;
}

.vz-list-item {
    padding-left: 22px;
    position: relative;
    margin-bottom: 10px;
}

.vz-list-item::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--vz-green);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 9px;
}

/* ================= TABLE ================= */

.vz-table-wrap {
    margin-top: 30px;
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid var(--vz-border);
}

.vz-table {
    width: 100%;
    border-collapse: collapse;
}

.vz-table-th,
.vz-table-td {
    padding: 16px;
    border-bottom: 1px solid var(--vz-border);
}

.vz-table-th {
    background: #f5f5f5;
    font-weight: 700;
}

.vz-table-row:hover {
    background: #fff6f5;
}

/* ================= QUOTE ================= */

.vz-quote {
    margin: 30px 0;
    padding: 24px;
    background: var(--vz-dark);
    color: #fff;
    border-radius: 20px;
}

/* ================= CTA ================= */

.vz-cta {
    margin-top: 40px;
    background: var(--vz-dark);
    color: #fff;
    padding: 30px;
    border-radius: 20px;
}

.vz-cta__button {
    display: inline-block;
    margin-top: 15px;
    background: var(--vz-red);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
}

/* ================= DIVIDER ================= */

.vz-divider {
    margin: 40px 0;
    height: 1px;
    background: #eee;
}

/* ================= MOBILE ================= */

@media (max-width: 1100px) {
    .vz-longread__body {
        grid-template-columns: 1fr;
    }

    .vz-toc {
        position: relative !important;
        top: 0;
    }
}