html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Высота вашего фиксированного хедера */
}
.section-blog h2 {
    font-weight: 600;
    font-size: 22px;
    line-height: 41px;
    text-transform: uppercase;
    color: #37474F;
    font-family: 'Montserrat', Arial, sans-serif;
    font-style: normal;
}
/* Хлебные крошки */
.blog-breadcrumbs {
    font-size: 14px  !important;
    color: #6b7a8a  !important;
    margin-bottom: 25px;
    padding: 10px 0;
    border-bottom: 1px solid #eaeef3;
}

.blog-breadcrumbs a {
    color: #0b0d0e !important;
    text-decoration: none
}

.blog-breadcrumbs a:hover {
    text-decoration: underline;
}

.blog-breadcrumbs .sep {
    margin: 0 8px;
    color: #b0bcc8;
}
.section-blog nav {
        margin-bottom: 60px;
margin-top: 60px;
}
/* ============================================
   Оглавление (Table of Contents)
   ============================================ */

/* Базовые стили */
.toc {
    background: #f8f9fc;
    border-radius: 16px;
    padding: 28px 32px;
    margin: 0 0 40px 0;
    border: 1px solid #e9edf4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

/* Заголовок оглавления */
.toc-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-title::before {
    content: "📑";
    font-size: 22px;
}

/* Список оглавления - УБИРАЕМ CSS-счетчик */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* Убираем counter-reset */
}

/* Пункт оглавления */
.toc-item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.toc-item:last-child {
    border-bottom: none;
}

/* Ссылка в оглавлении - УБИРАЕМ counter */
.toc-link {
    display: block;
    padding: 8px 12px 8px 0;
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 6px;
    transition: all 0.25s ease;
    position: relative;
}

/* Убираем ::before, который добавлял цифры */
/* .toc-link::before - УДАЛЯЕМ ЭТОТ БЛОК */

/* Hover-эффект */
.toc-link:hover {
    color: #0066cc;
    padding-left: 12px;
    background: rgba(0, 102, 204, 0.05);
}

/* Активная ссылка (при скролле) */
.toc-link.active {
    color: #0066cc;
    font-weight: 600;
    background: rgba(0, 102, 204, 0.08);
}

/* ============================================
   Адаптивные стили
   ============================================ */

/* Планшеты (768px и выше) */
@media (min-width: 768px) {
    .toc {
        padding: 32px 40px;
        border-radius: 18px;
    }

    .toc-title {
        font-size: 22px;
    }

    .toc-link {
        font-size: 17px;
        padding: 10px 16px 10px 0;
    }
}

/* Десктопы (1024px и выше) */
@media (min-width: 1024px) {
    .toc {
        padding: 36px 48px;
    }

    .toc-title {
        font-size: 24px;
    }

    .toc-link {
        font-size: 18px;
        padding: 12px 20px 12px 0;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 767px) {
    .toc {
        padding: 18px 16px;
        margin: 0 0 24px 0;
        border-radius: 12px;
    }

    .toc-title {
        font-size: 17px;
        margin: 0 0 12px 0;
    }

    .toc-title::before {
        font-size: 18px;
    }

    .toc-link {
        font-size: 14px;
        padding: 6px 8px 6px 0;
        line-height: 1.4;
    }

    .toc-link:hover {
        padding-left: 6px;
    }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
    .toc {
        padding: 14px 12px;
        border-radius: 10px;
    }

    .toc-title {
        font-size: 15px;
    }

    .toc-link {
        font-size: 13px;
        padding: 5px 6px 5px 0;
    }
}


/* Сброс и базовые стили */
.post-content {
    margin: 0 auto;
    padding: 20px 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: #1a1a1a;
}
.post-content h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 41px;
    margin: 0;
    color: #37474F;
}
/* ============================================
   Адаптивные списки в блоге
   ============================================ */

/* Базовые стили для всех списков */
.post-content ul,
.post-content ol {
    margin: 20px 0 24px 0;
    padding: 0;
    list-style: none;
}

/* ============================================
   Маркированные списки (ul)
   ============================================ */

.post-content ul li {
    position: relative;
    padding: 8px 0 8px 32px;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a2e;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.post-content ul li:last-child {
    border-bottom: none;
}

/* Кастомный маркер (круг) */
.post-content ul li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 16px;
    width: 10px;
    height: 10px;
    background: #37a03c;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Маркер при наведении */
.post-content ul li:hover::before {
    background: #1f5822;
    transform: scale(1.2);
}

/* Альтернативный маркер (галочка) */
.post-content ul.checklist li::before {
    content: "✓";
    left: 0;
    top: 8px;
    width: auto;
    height: auto;
    background: none;
    color: #0066cc;
    font-size: 18px;
    font-weight: 700;
    border-radius: 0;
}

/* Альтернативный маркер (стрелка) */
.post-content ul.arrow-list li::before {
    content: "→";
    left: 0;
    top: 8px;
    width: auto;
    height: auto;
    background: none;
    color: #0066cc;
    font-size: 18px;
    font-weight: 700;
    border-radius: 0;
}

/* ============================================
   Нумерованные списки (ol)
   ============================================ */

.post-content ol {
    counter-reset: list-counter;
}

.post-content ol li {
    position: relative;
    padding: 8px 0 8px 40px;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a2e;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    counter-increment: list-counter;
    transition: all 0.2s ease;
}

.post-content ol li:last-child {
    border-bottom: none;
}

/* Номер для ol */
.post-content ol li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0;
    top: 8px;
    font-weight: 700;
    color: #0066cc;
    font-size: 16px;
    min-width: 28px;
    text-align: right;
}

/* ============================================
   Вложенные списки
   ============================================ */

.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul {
    margin: 6px 0 6px 20px;
}

.post-content ul ul li::before {
    width: 8px;
    height: 8px;
    top: 17px;
    background: #6c7a8a;
}

.post-content ul ul ul li::before {
    width: 6px;
    height: 6px;
    top: 18px;
    background: #b0bcc8;
}

/* ============================================
   Адаптивность
   ============================================ */

/* Планшеты (768px и выше) */
@media (min-width: 768px) {
    .post-content ul li,
    .post-content ol li {
        font-size: 17px;
        padding: 10px 0 10px 36px;
    }

    .post-content ul li::before {
        width: 12px;
        height: 12px;
        top: 18px;
        left: 6px;
    }

    .post-content ol li {
        padding-left: 48px;
    }

    .post-content ol li::before {
        font-size: 17px;
        min-width: 32px;
    }
}

/* Десктопы (1024px и выше) */
@media (min-width: 1024px) {
    .post-content ul li,
    .post-content ol li {
        font-size: 18px;
        padding: 12px 0 12px 40px;
    }

    .post-content ul li::before {
        width: 14px;
        height: 14px;
        top: 20px;
        left: 8px;
    }

    .post-content ol li {
        padding-left: 52px;
    }

    .post-content ol li::before {
        font-size: 18px;
        min-width: 36px;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 767px) {
    .post-content ul li,
    .post-content ol li {
        font-size: 15px;
        padding: 6px 0 6px 28px;
        line-height: 1.6;
    }

    .post-content ul li::before {
        width: 8px;
        height: 8px;
        top: 14px;
        left: 4px;
    }

    .post-content ol li {
        padding-left: 32px;
    }

    .post-content ol li::before {
        font-size: 14px;
        min-width: 22px;
    }

    .post-content ul ul,
    .post-content ol ol,
    .post-content ul ol,
    .post-content ol ul {
        margin-left: 12px;
    }

    .post-content ul ul li::before {
        width: 6px;
        height: 6px;
        top: 15px;
    }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
    .post-content ul li,
    .post-content ol li {
        font-size: 14px;
        padding: 5px 0 5px 24px;
    }

    .post-content ul li::before {
        width: 6px;
        height: 6px;
        top: 13px;
        left: 3px;
    }

    .post-content ol li {
        padding-left: 28px;
    }

    .post-content ol li::before {
        font-size: 13px;
        min-width: 18px;
    }
}
/* ============================================
   Блог - адаптивная сетка карточек
   ============================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

/* ============================================
   Карточка блога
   ============================================ */

.blog-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eaeef3;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Изображение */
.blog-image {
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    position: relative;
    overflow: hidden;
    background: #f5f7fa;
    flex-shrink: 0;
}

.blog-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-item:hover .blog-image img {
    transform: scale(1.05);
}

/* Контент карточки */
.blog-item-content {
    padding: 20px 22px 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Заголовок */
.blog-item h2 {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 10px 0;
    font-weight: 600;
    margin-left: 7px;
}

.blog-item h2 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-item h2 a:hover {
    color: #0066cc;
}

/* Мета-информация */
.blog-meta {
    font-size: 13px;
    color: #6b7a8a;
    margin-bottom: 12px;
}
.blog-meta a {
    color: #fff;
}
/* Интро-текст */
.blog-intro {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5a6a;
    margin-bottom: 15px;
    flex: 1;
}

/* Кнопка "Читать далее" */
.blog-readmore {
    display: inline-block;
    padding: 8px 20px;
   background: #37a03c;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.blog-readmore:hover {
    background: #256828;
}
.blog-meta a {
 color: #fff;   

}
/* ============================================
   Адаптивность сетки
   ============================================ */

/* Планшеты (768-1024px) - 2 колонки */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Мобильные (до 768px) - 1 колонка */
@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
    }
    
    .blog-item h2 {
        font-size: 17px;
    }
    
    .blog-item-content {
        padding: 16px 18px 20px;
    }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
    .blog-grid {
        gap: 16px;
        margin: 15px 0;
    }
    
    .blog-item h2 {
        font-size: 16px;
    }
    
    .blog-item-content {
        padding: 14px 15px 18px;
    }
    
    .blog-intro {
        font-size: 13px;
    }
}


.breadcrumbs.bread-inner {
    margin: 0px 0 14px 0 !important;
}
.page {
    margin: 0 0 55px 0 !important;
}
.blog-item h2 a:hover {
    color: #000;
}
.post-featured-image img {
  width: 100%;
    height: auto;
    display: block;
    object-fit: cover;   
}
