/* ======================================================
   blog.css — Блог Контур Диадок
   Префикс: bl_
   ====================================================== */

/* === ПЕРЕМЕННЫЕ === */
.bl_hero, .bl_list, .bl_detail-hero, .bl_detail-content,
.bl_related, .bl_pagination {
    --accent:         #00bea2;
    --accent-hover:   #00a88e;
    --accent-light:   rgba(0, 190, 162, 0.1);
    --bg-dark:        #013f54;
    --bg-light:       #f8f9fa;
    --text-main:      #1a1a2e;
    --text-secondary: #64748b;
    --white:          #ffffff;
    --border:         #e8ecf0;
}

/* === КОНТЕЙНЕР === */
.bl_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ======================== */
/* === HERO СПИСКА ===      */
/* ======================== */
.bl_hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}

.bl_hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bl_hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #025270 50%, #013f54 100%);
}

.bl_hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.bl_hero-glow--1 {
    top: -20%;
    right: 5%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(0,190,162,0.16) 0%, transparent 70%);
}

.bl_hero-glow--2 {
    bottom: -30%;
    left: -5%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(0,80,120,0.22) 0%, transparent 70%);
}

.bl_hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.bl_hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0,190,162,0.15);
    border: 1px solid rgba(0,190,162,0.35);
    border-radius: 100px;
    color: #7eeee0;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.bl_hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: bl_pulse 2s ease-in-out infinite;
}

@keyframes bl_pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.bl_hero-title {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 18px;
}

.bl_hero-title-accent {
    color: var(--accent);
}

.bl_hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 500px;
}

/* ======================== */
/* === СПИСОК СТАТЕЙ ===    */
/* ======================== */
.bl_list {
    padding: 64px 0 80px;
    background: var(--bg-light);
}

.bl_empty {
    text-align: center;
    padding: 80px 0;
    color: var(--text-secondary);
}

.bl_empty svg {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    opacity: 0.4;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.bl_empty p {
    font-size: 16px;
}

/* === СЕТКА КАРТОЧЕК === */
.bl_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 52px;
}

.bl_grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ======================== */
/* === КАРТОЧКА СТАТЬИ === */
/* ======================== */
.bl_card {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.bl_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

/* Изображение */
.bl_card-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-light);
    flex-shrink: 0;
    text-decoration: none;
}

.bl_card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    display: block;
}

.bl_card:hover .bl_card-img {
    transform: scale(1.04);
}

.bl_card-img-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    /* дефолтный градиент */
    background: linear-gradient(135deg, #013f54 0%, #025270 100%);
}

/* Цветовые схемы по тегу */
.bl_card-img-placeholder--edo {
    background: linear-gradient(135deg, #013f54 0%, #014d66 50%, #025270 100%);
}
.bl_card-img-placeholder--marking {
    background: linear-gradient(135deg, #0d3b2e 0%, #0a5240 50%, #0d6b54 100%);
}
.bl_card-img-placeholder--mp {
    background: linear-gradient(135deg, #1a1060 0%, #2a1a8a 50%, #1e14a0 100%);
}
.bl_card-img-placeholder--sign {
    background: linear-gradient(135deg, #2d1b4e 0%, #3d2266 50%, #4a2878 100%);
}
.bl_card-img-placeholder--1c {
    background: linear-gradient(135deg, #3b1f00 0%, #5c3000 50%, #7a3f00 100%);
}
.bl_card-img-placeholder--default {
    background: linear-gradient(135deg, #013f54 0%, #025270 100%);
}

/* Декоративный glow */
.bl_card-img-placeholder-glow {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,190,162,0.25) 0%, transparent 70%);
    pointer-events: none;
}

.bl_card-img-placeholder--mp .bl_card-img-placeholder-glow {
    background: radial-gradient(circle, rgba(100,120,255,0.3) 0%, transparent 70%);
}
.bl_card-img-placeholder--sign .bl_card-img-placeholder-glow {
    background: radial-gradient(circle, rgba(180,100,255,0.3) 0%, transparent 70%);
}
.bl_card-img-placeholder--1c .bl_card-img-placeholder-glow {
    background: radial-gradient(circle, rgba(255,140,0,0.3) 0%, transparent 70%);
}
.bl_card-img-placeholder--marking .bl_card-img-placeholder-glow {
    background: radial-gradient(circle, rgba(0,200,120,0.3) 0%, transparent 70%);
}

/* Иконка */
.bl_card-img-placeholder-icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    transition: transform 0.3s ease;
}

.bl_card-img-placeholder-icon svg {
    width: 24px;
    height: 24px;
}

.bl_card:hover .bl_card-img-placeholder-icon {
    transform: scale(1.1);
}

/* Лейбл тега внутри заглушки */
.bl_card-img-placeholder-label {
    position: relative;
    z-index: 1;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.5);
}

/* Тег поверх картинки */
.bl_card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--bg-dark);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

/* Тело карточки */
.bl_card-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bl_card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.bl_card-date svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.bl_card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
    margin-bottom: 12px;
}

.bl_card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bl_card-title a:hover {
    color: var(--accent);
}

.bl_card-preview {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}

.bl_card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.2s ease;
    margin-top: auto;
}

.bl_card-link svg {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

.bl_card-link:hover svg {
    transform: translateX(4px);
}

/* ======================== */
/* === ПАГИНАЦИЯ ===        */
/* ======================== */
.bl_pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 0;
}

.bl_pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bl_pagination-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid var(--border);
    background: var(--white);
    transition: all 0.2s ease;
    cursor: pointer;
}

.bl_pagination-page:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.bl_pagination-page--active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    cursor: default;
    box-shadow: 0 4px 12px rgba(0,190,162,0.3);
}

.bl_pagination-ellipsis {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
    user-select: none;
}

.bl_pagination-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.bl_pagination-arrow svg {
    width: 18px;
    height: 18px;
}

.bl_pagination-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.bl_pagination-arrow--disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* ======================== */
/* === HERO ДЕТАЛЬНОЙ ===   */
/* ======================== */
.bl_detail-hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.bl_detail-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bl_detail-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #025270 50%, #013f54 100%);
    z-index: 0;
}

.bl_detail-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.bl_detail-hero-glow--1 {
    top: -20%;
    right: 5%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(0,190,162,0.16) 0%, transparent 70%);
}

.bl_detail-hero-glow--2 {
    bottom: -30%;
    left: -5%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(0,80,120,0.25) 0%, transparent 70%);
}

.bl_detail-hero .bl_container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Двухколоночный wrapper */
.bl_detail-hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

/* Левая колонка */
.bl_detail-hero-left {
    display: flex;
    flex-direction: column;
}

.bl_detail-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.bl_detail-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: rgba(0,190,162,0.15);
    border: 1px solid rgba(0,190,162,0.35);
    border-radius: 100px;
    color: #7eeee0;
    font-size: 12px;
    font-weight: 600;
}

.bl_detail-hero-tag-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: bl_pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.bl_detail-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 600;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

.bl_detail-hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 560px;
}

.bl_detail-hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bl_detail-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    background: var(--accent);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.bl_detail-hero-btn svg {
    width: 16px;
    height: 16px;
}

.bl_detail-hero-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,190,162,0.3);
}

.bl_detail-hero-share {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bl_detail-hero-share span {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}

.bl_detail-hero-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.2s ease;
}

.bl_detail-hero-share-btn svg {
    width: 16px;
    height: 16px;
}

.bl_detail-hero-share-btn:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

/* Правая колонка — картинка */
.bl_detail-hero-right {
    animation: bl_heroImgIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}

@keyframes bl_heroImgIn {
    from { opacity: 0; transform: translateX(30px) scale(0.97); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

.bl_detail-hero-img-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    aspect-ratio: 16 / 10;
    background: rgba(255,255,255,0.05);
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}

.bl_detail-hero-img-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bl_detail-hero-img-card--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.15);
}

.bl_detail-hero-img-card--placeholder svg {
    width: 64px;
    height: 64px;
}

/* date в hero */
.bl_detail-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

.bl_detail-date svg {
    width: 13px;
    height: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .bl_detail-hero-wrapper {
        grid-template-columns: 1fr;
    }

    .bl_detail-hero-right {
        display: none;
    }

    .bl_detail-hero {
        padding: 64px 0 72px;
        min-height: auto;
    }
}

/* back link */
.bl_back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.bl_back-link svg {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

.bl_back-link:hover { color: var(--accent); }
.bl_back-link:hover svg { transform: translateX(-3px); }

/* tag */
.bl_tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(0,190,162,0.15);
    border: 1px solid rgba(0,190,162,0.3);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
}

/* ======================== */
/* === КОНТЕНТ ДЕТАЛЬНОЙ == */
/* ======================== */
.bl_detail-content {
    padding: 60px 0 80px;
    background: var(--bg-light);
}

.bl_detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

/* === СТАТЬЯ === */
.bl_detail-article {
    min-width: 0;
}

.bl_detail-text {
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.8;
}

/* Типографика контента */
.bl_detail-text h2 {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--text-main);
    margin: 40px 0 16px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.bl_detail-text h3 {
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 700;
    color: var(--text-main);
    margin: 32px 0 12px;
}

.bl_detail-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    margin: 24px 0 10px;
}

.bl_detail-text p {
    margin-bottom: 18px;
}

.bl_detail-text ul,
.bl_detail-text ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.bl_detail-text li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.bl_detail-text ul li::marker {
    color: var(--accent);
}

.bl_detail-text ol li::marker {
    color: var(--accent);
    font-weight: 700;
}

.bl_detail-text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bl_detail-text a:hover {
    color: var(--accent-hover);
}

.bl_detail-text blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    background: rgba(0,190,162,0.06);
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    font-size: 16px;
    color: var(--text-main);
    font-style: italic;
}

.bl_detail-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
    display: block;
}

.bl_detail-text code {
    background: #f0f4f8;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.bl_detail-text pre {
    background: #1e2a35;
    color: #e2e8f0;
    padding: 20px 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
}

.bl_detail-text pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.bl_detail-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.bl_detail-text th {
    background: var(--bg-dark);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.bl_detail-text td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
}

.bl_detail-text tr:nth-child(even) td {
    background: #f8f9fa;
}

/* ======================== */
/* === КАСТОМНЫЕ БЛОКИ === */
/* ======================== */

/* Лид-абзац */
.bl_detail-text .bl_lead {
    font-size: 18px;
    color: var(--text-main);
    line-height: 1.75;
    font-weight: 400;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin-bottom: 32px;
}

/* Блок закона / нормативки */
.bl_law-note {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: rgba(0,190,162,0.06);
    border: 1px solid rgba(0,190,162,0.25);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 28px 0;
}

.bl_law-note-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0,190,162,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.bl_law-note-icon svg {
    width: 22px;
    height: 22px;
}

.bl_law-note > div:last-child {
    flex: 1;
}

.bl_law-note strong {
    display: block;
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 6px;
}

.bl_law-note p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* Блок сравнения двух понятий */
.bl_compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}

.bl_compare-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
}

.bl_compare-item--accent {
    background: rgba(0,190,162,0.05);
    border-color: rgba(0,190,162,0.3);
}

.bl_compare-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    background: var(--bg-light);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.bl_compare-item--accent .bl_compare-label {
    background: rgba(0,190,162,0.12);
    color: var(--accent);
    border-color: rgba(0,190,162,0.25);
}

.bl_compare-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 !important;
}

/* Пример */
.bl_example {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 28px 0;
    border: 1px solid var(--border);
    position: relative;
}

.bl_example-label {
    display: inline-block;
    padding: 3px 12px;
    background: var(--bg-dark);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.bl_example p {
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.7;
    margin: 0 !important;
}

/* Итоговый блок */
.bl_summary {
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 28px 32px;
    margin-top: 36px;
    position: relative;
    overflow: hidden;
}

.bl_summary::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,190,162,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.bl_summary h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    margin: 0 0 16px !important;
}

.bl_summary ul {
    padding-left: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bl_summary ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px !important;
    color: rgba(255,255,255,0.75) !important;
    line-height: 1.55;
    margin: 0 !important;
}

.bl_summary ul li::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 6px;
}

.bl_summary ul li::marker {
    display: none;
}

/* Адаптив для сравнения */
@media (max-width: 640px) {
    .bl_compare {
        grid-template-columns: 1fr;
    }
}

/* Шаринг */
.bl_share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.bl_share-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
}

.bl_share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bl_share-btn svg {
    width: 18px;
    height: 18px;
}

.bl_share-btn--vk:hover  { background: #0077ff; color: #fff; border-color: #0077ff; }
.bl_share-btn--tg:hover  { background: #29a8e9; color: #fff; border-color: #29a8e9; }
.bl_share-btn--copy:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.bl_share-btn--copy.copied { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ======================== */
/* === SIDEBAR ===          */
/* ======================== */
.bl_detail-sidebar {
    position: sticky;
    top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bl_sidebar-widget {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
}

.bl_sidebar-widget--cta {
    background: var(--bg-dark);
    border-color: transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bl_sidebar-widget--cta::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,190,162,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.bl_sidebar-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0,190,162,0.15);
    border: 1px solid rgba(0,190,162,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent);
    position: relative;
    z-index: 1;
}

.bl_sidebar-cta-icon svg {
    width: 24px;
    height: 24px;
}

.bl_sidebar-widget--cta h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.bl_sidebar-widget--cta p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.bl_sidebar-cta-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: var(--accent);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.bl_sidebar-cta-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,190,162,0.3);
}

.bl_sidebar-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}

.bl_sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bl_sidebar-tags .bl_tag {
    background: var(--accent-light);
    border-color: rgba(0,190,162,0.2);
}

/* ======================== */
/* === ПОХОЖИЕ СТАТЬИ ===   */
/* ======================== */
.bl_related {
    padding: 60px 0 80px;
}

.bl_related-title {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 36px;
}


/* Анимационный блок в карточке */
.bl_card-animation {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #013f54;
}

/* Анимационный блок в hero детальной */
.bl_detail-hero-img-card--animation {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}
/* ======================== */
/* === RESPONSIVE ===       */
/* ======================== */
@media (max-width: 1024px) {
    .bl_detail-layout {
        grid-template-columns: 1fr;
    }

    .bl_detail-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .bl_grid,
    .bl_grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bl_grid,
    .bl_grid--3 {
        grid-template-columns: 1fr;
    }

    .bl_detail-sidebar {
        grid-template-columns: 1fr;
    }

    .bl_pagination-pages {
        gap: 4px;
    }

    .bl_pagination-page,
    .bl_pagination-arrow {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .bl_detail-hero {
        padding: 56px 0 60px;
    }
}

/* ======================================================
   Добавить в конец blog_detail_art.css
   Новые блоки: результаты кейса + цитата
   ====================================================== */

/* === Сетка результатов === */
.art_features-grid--results {
    grid-template-columns: repeat(2, 1fr);
}

/* === Карточка результата До/После === */
.art_feature-card--result {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 28px;
    background: var(--white, #fff);
    border: 1px solid var(--border, #e8ecf0);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.art_feature-card--result::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00bea2, #00a88e);
}

.art_feature-card--result:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,190,162,0.1);
    border-color: #00bea2;
}

.art_result-before {
    font-size: 28px;
    font-weight: 800;
    color: #94a3b8;
    line-height: 1;
    text-decoration: line-through;
    text-decoration-color: #ef4444;
}

.art_result-arrow {
    color: #00bea2;
    flex-shrink: 0;
}

.art_result-arrow svg {
    width: 20px;
    height: 20px;
}

.art_result-after {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.art_result-label {
    width: 100%;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-top: 4px;
}

.art_result-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 3px 10px;
    background: rgba(0,190,162,0.1);
    border: 1px solid rgba(0,190,162,0.25);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: #00bea2;
}

/* === Цитата === */
.art_quote {
    margin-top: 32px;
    padding: 28px 32px;
    background: var(--bg-dark, #013f54);
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.art_quote::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,190,162,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.art_quote-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0,190,162,0.15);
    border: 1px solid rgba(0,190,162,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00bea2;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.art_quote-icon svg {
    width: 20px;
    height: 20px;
}

.art_quote-text {
    font-size: 17px;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    line-height: 1.65;
    margin: 0 0 10px;
    position: relative;
    z-index: 1;
}

.art_quote-author {
    font-size: 13px;
    font-weight: 600;
    color: #00bea2;
    position: relative;
    z-index: 1;
}

/* Адаптив */
@media (max-width: 768px) {
    .art_features-grid--results {
        grid-template-columns: 1fr;
    }

    .art_quote {
        flex-direction: column;
        padding: 24px;
    }
}

.art_steps-visual {
    padding: 72px 0;
    background: var(--bg-light);
}
 
.art_steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
 
.art_step-block {
    position: relative;
    padding: 0 0 40px 72px;
}
 
.art_step-block:last-child {
    padding-bottom: 0;
}
 
/* Вертикальная линия между шагами */
.art_step-block:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(0,190,162,0.15) 100%);
}
 
.art_step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
}
 
.art_step-num {
    position: absolute;
    left: -72px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,190,162,0.35);
    z-index: 1;
}
 
.art_step-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
}
 
.art_step-content {
    /* Контент шага */
}
 
.art_step-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 20px;
}
 
.art_step-block:not(.art_step-block--with-img) .art_step-desc {
    margin-bottom: 0;
}
 
/* Подсказка внутри шага */
.art_step-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0,190,162,0.07);
    border: 1px solid rgba(0,190,162,0.2);
    border-left: 3px solid var(--accent, #00bea2);
    border-radius: 10px;
    margin-top: 14px;
}
 
.art_step-tip svg {
    width: 16px;
    height: 16px;
    color: var(--accent, #00bea2);
    flex-shrink: 0;
    margin-top: 2px;
}
 
.art_step-tip span {
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    line-height: 1.6;
}
 
/* Скриншот */
.art_step-screenshot {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 8px;
}
 
.art_step-screenshot:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
 
.art_step-screenshot img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    object-position: top;
}
 
/* Иконка зума */
.art_step-screenshot-zoom {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(1,63,84,0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
 
.art_step-screenshot-zoom svg {
    width: 16px;
    height: 16px;
}
 
.art_step-screenshot:hover .art_step-screenshot-zoom {
    opacity: 1;
}
 
/* Два скриншота в ряд */
.art_step-screenshots-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
 
/* ======================== */
/* === СЕТКА ПРЕИМУЩЕСТВ === */
/* ======================== */
.art_features {
    padding: 72px 0;
    background: var(--white);
}
 
.art_features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
 
.art_feature-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
 
.art_feature-card:hover {
    border-color: var(--accent);
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,190,162,0.1);
}
 
.art_feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--accent);
    transition: background 0.3s ease;
}
 
.art_feature-card:hover .art_feature-icon {
    background: rgba(0,190,162,0.18);
}
 
.art_feature-icon svg {
    width: 20px;
    height: 20px;
}
 
.art_feature-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.3;
}
 
.art_feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}
 
/* ======================== */
/* === ЛАЙТБОКС === */
/* ======================== */
.art_lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
 
.art_lightbox.active {
    opacity: 1;
    pointer-events: all;
}
 
.art_lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 20, 30, 0.92);
    backdrop-filter: blur(6px);
}
 
.art_lightbox-content {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 1100px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
 
.art_lightbox.active .art_lightbox-content {
    transform: scale(1);
}
 
.art_lightbox-img {
    max-width: 100%;
    max-height: calc(90vh - 80px);
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    display: block;
    object-fit: contain;
}
 
.art_lightbox-caption {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-align: center;
    max-width: 600px;
    line-height: 1.5;
}
 
.art_lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}
 
.art_lightbox-close svg {
    width: 18px;
    height: 18px;
}
 
.art_lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}
 
/* ======================== */
/* === АДАПТИВ === */
/* ======================== */
@media (max-width: 768px) {
    .art_features-grid {
        grid-template-columns: 1fr 1fr;
    }
 
    .art_step-screenshots-row {
        grid-template-columns: 1fr;
    }
 
    .art_step-block {
        padding-left: 56px;
    }
 
    .art_step-num {
        left: -56px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
 
    .art_step-block:not(:last-child)::before {
        left: 19px;
    }
}
 
@media (max-width: 480px) {
    .art_features-grid {
        grid-template-columns: 1fr;
    }
 
    .art_lightbox-close {
        top: -48px;
        right: 0;
    }
}
 
/* ======================== */
/* === ТАБЛИЦА РЕГЛАМЕНТА == */
/* ======================== */
.art_reg-table {
    padding: 72px 0;
    background: var(--white, #fff);
}
 
.art_reg-table-header {
    margin-bottom: 32px;
}
 
.art_reg-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border, #e8ecf0);
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
 
.art_reg-table-inner {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
 
/* Шапка */
.art_reg-table-inner thead tr {
    background: var(--bg-dark, #013f54);
}
 
.art_reg-table-inner th {
    padding: 14px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}
 
.art_reg-table-inner th:first-child { border-radius: 16px 0 0 0; }
.art_reg-table-inner th:last-child  { border-radius: 0 16px 0 0; }
 
/* Строки */
.art_reg-table-inner td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border, #e8ecf0);
    color: var(--text-main, #1a1a2e);
    vertical-align: top;
    line-height: 1.55;
}
 
.art_reg-table-inner tr:last-child td {
    border-bottom: none;
}
 
/* Чётные строки */
.art_reg-table-inner tbody tr:nth-child(even) td {
    background: var(--bg-light, #f8f9fa);
}
 
/* Hover */
.art_reg-table-inner tbody tr:hover td {
    background: rgba(0,190,162,0.05);
}
 
/* Первая колонка — жирная */
.art_reg-table-inner td:first-child {
    font-weight: 600;
    color: var(--text-main, #1a1a2e);
}
 
/* Последняя колонка — приглушённая */
.art_reg-table-inner td:last-child {
    color: var(--text-secondary, #64748b);
    font-size: 13px;
}
 
@media (max-width: 768px) {
    .art_reg-table-inner th,
    .art_reg-table-inner td {
        padding: 12px 14px;
        font-size: 13px;
    }
 
    /* На мобильных скрываем колонку «Комментарий» */
    .art_reg-table-inner th:last-child,
    .art_reg-table-inner td:last-child {
        display: none;
    }
}