  /* === ARTICLE LAYOUT === */
        .article-container { max-width: 820px; margin: 0 auto; padding: 3rem 2rem; }
        .article-body { font-size: 1.05rem; line-height: 1.75; color: var(--text-primary); }
        .article-body h2 {
            font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700;
            margin: 2.5rem 0 1rem; color: var(--text-primary); line-height: 1.25;
            padding-bottom: 0.5rem; border-bottom: 2px solid var(--border);
        }
        .article-body h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; margin: 2rem 0 0.75rem; color: var(--text-primary); }
        .article-body p { margin-bottom: 1.25rem; color: var(--text-primary); }
        .article-body strong { color: var(--text-primary); font-weight: 600; }
        .article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--text-primary); }
        .article-body li { margin-bottom: 0.5rem; }

        /* === ССЫЛКИ === */
        .article-body a {
            color: var(--accent); font-weight: 500;
            text-decoration: none; border-bottom: 1px dashed var(--accent);
            transition: var(--transition);
        }
        .article-body a:hover { border-bottom-style: solid; background: rgba(15, 118, 110, 0.06); }

        /* === CALLOUT === */
        .callout {
            display: flex; gap: 1rem; align-items: flex-start;
            padding: 1.25rem 1.5rem; margin: 1.75rem 0;
            border-radius: 12px; border-left: 4px solid var(--accent);
            background: var(--bg-section);
        }
        .callout__icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; color: var(--accent); }
       .callout__body { flex: 1; color: var(--text-primary); font-size: 0.98rem; line-height: 1.6; }
        .callout__title { display: block; font-weight: 700; color: var(--text-primary); margin-bottom: 0.35rem; }
        .callout--info { border-left-color: var(--accent); }
        .callout--warn { border-left-color: #ef4444; background: rgba(239, 68, 68, 0.05); }
        .callout--warn .callout__icon, .callout--warn .callout__title { color: #ef4444; }
        .callout--success { border-left-color: #10b981; background: rgba(16, 185, 129, 0.05); }
        .callout--success .callout__icon, .callout--success .callout__title { color: #10b981; }
        .callout--fact { border-left-color: var(--kpi); background: rgba(180, 83, 9, 0.05); }
        .callout--fact .callout__icon, .callout--fact .callout__title { color: var(--kpi); }

        /* === HIGHLIGHT === */
        .highlight {
            background: rgba(15, 118, 110, 0.12); color: var(--text-primary);
            padding: 0.1rem 0.4rem; border-radius: 4px; font-weight: 500;
        }
        .highlight--kpi { background: rgba(180, 83, 9, 0.15); }

        /* === STAT INLINE === */
        .stat-inline {
            display: inline-block; padding: 0.1rem 0.5rem;
            font-weight: 800; color: var(--kpi); font-size: 1.1em;
        }

        /* === QUOTE === */
        .article-body blockquote {
            margin: 2rem 0; padding: 1.25rem 1.75rem;
            background: var(--bg-section); border-left: 4px solid var(--accent);
            border-radius: 0 12px 12px 0; font-style: italic;
        }
        .article-body blockquote p { color: var(--text-primary); font-size: 1.05rem; margin-bottom: 0.5rem; }

        /* === FIGURE === */
        .article-figure { margin: 2rem 0; }
        .article-figure img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); display: block; }
        .article-figure figcaption {
            margin-top: 0.75rem; font-size: 0.85rem;
            color: var(--text-secondary); text-align: center; line-height: 1.5;
        }
        .article-figure--wide { margin-left: -1rem; margin-right: -1rem; }

        /* === TOC === */
        .article-toc {
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: 14px; padding: 1.5rem 1.75rem; margin: 2rem 0;
        }
        .article-toc__title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 0.85rem; }
        .article-toc ol { margin: 0; padding-left: 1.25rem; }
        .article-toc li { margin-bottom: 0.4rem; font-size: 0.95rem; }
        .article-toc a { color: var(--text-secondary); text-decoration: none; border-bottom: 1px dashed transparent; }
        .article-toc a:hover { color: var(--accent); border-bottom-color: var(--accent); }

        /* === CODE / PRE === */
        .article-body pre {
            background: var(--bg-section); padding: 1.25rem 1.5rem; border-radius: 10px;
            overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--border);
            font-family: 'Courier New', monospace; font-size: 0.95rem; line-height: 1.6;
            color: var(--text-primary);
        }
        .article-body code { background: var(--bg-section); padding: 0.15rem 0.4rem; border-radius: 4px; font-family: 'Courier New', monospace; font-size: 0.9em; color: var(--accent); }
        .article-body pre code { background: transparent; padding: 0; color: inherit; }

        /* === TABLE === */
        .article-table-wrapper { overflow-x: auto; margin: 2rem 0; border-radius: 12px; border: 1px solid var(--border); }
        .article-table { width: 100%; border-collapse: collapse; background: var(--bg-card); font-size: 0.95rem; }
        .article-table th { background: var(--bg-section); padding: 1rem 1.25rem; text-align: left; color: var(--accent); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--accent); }
        .article-table td { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--border); color: var(--text-secondary); vertical-align: top; }
        .article-table td:first-child { color: var(--text-primary); font-weight: 600; }
        .article-table tbody tr:last-child td { border-bottom: none; }
        .article-table .col-bad { color: #ef4444; }
        .article-table .col-good { color: var(--accent); font-weight: 600; }

        /* === FAQ === */
        .article-faq { margin: 3rem 0; }
        .article-faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
        .article-faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: var(--transition); }
        .article-faq-item:hover { border-color: var(--accent); }
        .article-faq-item[open] { border-color: var(--accent); box-shadow: 0 10px 25px var(--shadow-hover); }
        .article-faq-item summary { padding: 1.1rem 1.4rem; font-weight: 600; font-size: 1rem; color: var(--text-primary); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
        .article-faq-item summary::-webkit-details-marker { display: none; }
        .article-faq-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--accent); transition: transform 0.3s ease; flex-shrink: 0; line-height: 1; }
        .article-faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }
        .article-faq-answer { padding: 0 1.4rem 1.25rem; color: var(--text-primary); font-size: 0.95rem; line-height: 1.65; }

        /* === CTA === */
        .article-cta { margin: 3rem 0; padding: 2.5rem; background: linear-gradient(135deg, var(--bg-section), var(--bg-card)); border: 2px dashed var(--accent); border-radius: 20px; text-align: center; }
        .article-cta h3 { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
        .article-cta p { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
        .article-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

        /* === SUMMARY (Кратко) === */
        .article-summary { background: linear-gradient(135deg, var(--bg-card), var(--bg-section)); border: 2px solid var(--accent); border-radius: 16px; padding: 2rem; margin: 2.5rem 0; }
        .article-summary h3 { color: var(--accent); font-size: 1.2rem; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
        .article-summary ul { list-style: none; padding: 0; margin: 0; }
        .article-summary li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.6rem 0; color: var(--text-primary); font-size: 0.98rem; line-height: 1.5; border-bottom: 1px dashed var(--border); }
        .article-summary li:last-child { border-bottom: none; }
        .article-summary li i { color: var(--accent); font-size: 0.9rem; margin-top: 0.25rem; flex-shrink: 0; }

        /* === ARTICLE HERO === */
        .article-hero { padding: 8rem 2rem 3rem; background: var(--hero-gradient); position: relative; overflow: hidden; }
        .article-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 50% 50%, rgba(15, 118, 110, 0.08) 0%, transparent 50%); pointer-events: none; }
        .article-hero-container { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
        .article-breadcrumbs { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.5rem; flex-wrap: wrap; }
        .article-breadcrumbs a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; }
        .article-breadcrumbs a:hover { color: var(--accent); }
        .article-breadcrumbs .current { color: var(--text-primary); }
        .article-meta-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
        .article-category { display: inline-block; padding: 0.35rem 0.9rem; background: rgba(15, 118, 110, 0.1); color: var(--accent); border-radius: 20px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
        .article-date, .article-reading-time { font-size: 0.9rem; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 0.35rem; }
        .article-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--text-primary); line-height: 1.2; margin-bottom: 1.25rem; }
        .article-lead { font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--text-secondary); line-height: 1.65; margin-bottom: 2rem; max-width: 720px; }
        .article-cover { border-radius: 16px; overflow: hidden; background: var(--bg-section); margin-bottom: 2rem; border: 1px solid var(--border); }
        .article-cover img { width: 100%; height: auto; object-fit: cover; display: block; }

        /* === RELATED === */
        .article-related { margin: 3rem 0; padding-top: 2rem; border-top: 1px dashed var(--border); }
        .article-related h3 { font-size: 1.3rem; margin-bottom: 1.5rem !important; text-align: center; }
        .blog-grid-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
        /* === BACK === */
        .article-back { text-align: center; margin: 2rem 0 3rem; }

        /* === RESPONSIVE === */
        @media (max-width: 768px) {
            .article-hero { padding: 6rem 1.5rem 2rem; }
            .article-container { padding: 2rem 1.5rem; }
            .article-body { font-size: 1rem; }
            .article-summary { padding: 1.5rem; }
            .callout { padding: 1rem 1.15rem; font-size: 0.95rem; }
            .article-figure--wide { margin-left: 0; margin-right: 0; }
            .article-cta { padding: 2rem 1.5rem; }
            .article-cta-buttons { flex-direction: column; }
            .article-cta-buttons .cta-button { width: 100%; justify-content: center; }
            .article-table th, .article-table td { padding: 0.75rem 0.85rem; font-size: 0.85rem; }
            .article-toc { padding: 1.25rem 1.4rem; }
            .blog-grid-related { grid-template-columns: 1fr; }
        }

        @media (max-width: 480px) {
            .article-title { font-size: 1.5rem; }
            .article-meta-top { gap: 0.5rem; }
        }
[data-theme="light"] body {
    background-color: #F1F3F5;
}
/* ===== ARTICLE STATS ===== */
.article-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-section), var(--bg-card));
    border-radius: 14px;
    border: 1px solid var(--border);
}
.article-stat { text-align: center; }
.article-stat__value {
    display: block;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    font-weight: 800;
    color: var(--kpi);
    margin-bottom: 0.35rem;
    line-height: 1;
}
.article-stat__label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ===== ARTICLE STEP ===== */
.article-step {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: var(--bg-section);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}
.article-step__num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.article-step__body { flex: 1; }
.article-step__title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}
.article-step__body p { margin-bottom: 0; color: var(--text-primary); }

/* ===== ARTICLE ANCHOR ===== */
.article-anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
    height: 0;
}

/* ===== ARTICLE VIDEO ===== */
.article-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-section);
}
.article-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== ARTICLE SOURCE ===== */
.article-source {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 1rem 0;
}
.article-source i { color: var(--accent); margin-right: 0.35rem; }

/* ===== ARTICLE CTA INLINE ===== */
.article-cta-inline {
    margin: 2.5rem 0;
    padding: 1.75rem;
    background: var(--bg-section);
    border: 2px dashed var(--accent);
    border-radius: 14px;
    text-align: center;
}
.article-cta-inline h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}
.article-cta-inline p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.article-cta-inline .cta-button {
    width: auto;
    display: inline-flex;
}
/* === AUTHOR BLOCK (авторская вставка) === */
.article-author {
    background: rgba(180, 83, 9, 0.06);
    border-left: 4px solid #B45309;
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
    font-style: italic;
}
.article-author__title {
    display: block;
    font-style: normal;
    font-weight: 700;
    color: #B45309;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.article-author p {
    margin: 0 0 0.75rem;
    color: var(--text-primary, #1A2E2A);
    line-height: 1.7;
}
.article-author p:last-child {
    margin-bottom: 0;
}

/* === DIALOGUE BLOCK (диалог) === */
.article-dialogue {
    background: rgba(15, 118, 110, 0.05);
    border-left: 4px solid #0F766E;
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}
.article-dialogue__line {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #1A2E2A);
    line-height: 1.6;
}
.article-dialogue__line:last-child {
    margin-bottom: 0;
}
.article-dialogue__name {
    font-weight: 700;
    color: #0F766E;
    margin-right: 0.4rem;
}
/* === DARK THEME: AUTHOR & DIALOGUE === */
[data-theme="dark"] .article-author {
    background: rgba(251, 191, 36, 0.08);
    border-left-color: #FBBF24;
}
[data-theme="dark"] .article-author__title {
    color: #FBBF24;
}
[data-theme="dark"] .article-author p {
    color: var(--text-primary);
}
[data-theme="dark"] .article-dialogue {
    background: rgba(45, 212, 191, 0.07);
    border-left-color: #2DD4BF;
}
[data-theme="dark"] .article-dialogue__line {
    color: var(--text-primary);
}
[data-theme="dark"] .article-dialogue__name {
    color: #2DD4BF;
}