/*
Theme Name: Astra Child
Description: Дочерняя тема для лендинга Юрия Дурова
Author: Custom
Template: astra
Version: 1.0.0
*/

/* ============================================
   ЦВЕТОВАЯ ПАЛИТРА
   ============================================ */
:root {
    --color-primary: #1a2b4d;      /* Темно-синий */
    --color-accent: #f4a261;       /* Золотой/оранжевый */
    --color-white: #ffffff;
    --color-text: #1a2b4d;
    --color-text-light: #6b7280;
    --color-bg-light: #f9fafb;
    --color-border: #e5e7eb;
    --color-success: #10b981;
    --color-error: #ef4444;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   СКРЫТЬ ЗАГОЛОВОК "ГЛАВНАЯ" НА ГЛАВНОЙ СТРАНИЦЕ
   ============================================ */
/* Скрываем заголовок h1 "Главная" на главной странице */
.home .entry-title,
.home h1.entry-title,
.page-id-42 .entry-title,
.page-id-42 h1.entry-title,
body.home .entry-header,
body.page-id-42 .entry-header {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   СКРЫТЬ ПУНКТ "ГЛАВНАЯ" ИЗ МЕНЮ НАВИГАЦИИ
   ============================================ */
/* Универсальные селекторы для скрытия пункта "Главная" */
nav a[href="https://dharma-marketolog.ru/"],
nav a[href="/"]:not([href*="blog"]),
nav a.menu-link[href="https://dharma-marketolog.ru/"],
nav a.menu-link[href="/"]:not([href*="blog"]),
.main-header-menu a[href="https://dharma-marketolog.ru/"],
.main-header-menu a[href="/"]:not([href*="blog"]),
.main-header-menu a.menu-link[href="https://dharma-marketolog.ru/"],
.main-header-menu a.menu-link[href="/"]:not([href*="blog"]),
.site-navigation a[href="https://dharma-marketolog.ru/"],
.site-navigation a[href="/"]:not([href*="blog"]),
li.page-item-42,
li.page-item-42 a,
li.current-menu-item:has(a[href="https://dharma-marketolog.ru/"]),
li.current-menu-item:has(a[href="/"]:not([href*="blog"])) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Скрываем родительский li элемент */
li.page-item-42,
li.page-item-42 *,
nav li:has(a[href="https://dharma-marketolog.ru/"]:not([href*="blog"])),
.main-header-menu li:has(a[href="https://dharma-marketolog.ru/"]:not([href*="blog"])) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Для мобильного меню */
#ast-mobile-site-navigation a[href="https://dharma-marketolog.ru/"],
#ast-mobile-site-navigation a[href="/"]:not([href*="blog"]),
#ast-mobile-site-navigation li.page-item-42,
#ast-mobile-site-navigation li.page-item-42 a {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   ОБЩИЕ СТИЛИ
   ============================================ */
html,
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background: linear-gradient(135deg, #ecf2f4 0%, #dde8eb 100%) !important;
    min-height: 100vh;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   ШАПКА САЙТА (HEADER)
   ============================================ */
.custom-header {
    background: #1a2b4d !important;
    padding: 16px 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
    display: block !important;
}

.header-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 32px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.header-left {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.header-left a {
    text-decoration: none !important;
}

.header-site-title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
    transition: opacity 0.3s ease !important;
}

.header-site-title:hover {
    opacity: 0.9 !important;
}

.header-menu {
    display: flex !important;
    align-items: center !important;
    gap: 32px !important;
    flex-grow: 1 !important;
    justify-content: center !important;
}

.header-menu-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    white-space: nowrap !important;
    position: relative !important;
}

.header-menu-link:hover {
    color: #ffd700 !important;
}

.header-menu-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: #ffd700 !important;
    transition: width 0.3s ease !important;
}

.header-menu-link:hover::after {
    width: 100% !important;
}

.header-right {
    flex-shrink: 0 !important;
}

.header-telegram-btn {
    display: inline-block !important;
    padding: 12px 24px !important;
    border: 2px solid #ffd700 !important;
    background: linear-gradient(135deg, #ffd700 0%, #ffd700c2 50%, #e6c200 100%) !important;
    color: #1a2b4d !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.header-telegram-btn:hover {
    background: linear-gradient(135deg, #e6c200 0%, #ffd700c2 50%, #ffd700 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
    border-color: #ffd700 !important;
    color: #1a2b4d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.header-telegram-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 1px 4px rgba(255, 215, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Адаптивность для шапки */
@media (max-width: 767px) {
    .custom-header,
    .elementor .custom-header,
    body .custom-header {
        padding: 12px 0 !important;
    }
    
    .header-container,
    .elementor .header-container,
    body .header-container {
        flex-direction: column !important;
        gap: 16px !important;
        padding: 0 20px !important;
    }
    
    .header-left,
    .elementor .header-left,
    body .header-left {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .header-text,
    .elementor .header-text,
    body .header-text {
        justify-content: center !important;
    }
    
    .header-tagline,
    .elementor .header-tagline,
    body .header-tagline {
        font-size: 14px !important;
    }
    
    .header-telegram-btn,
    .elementor .header-telegram-btn,
    body .header-telegram-btn {
        width: 100% !important;
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    .logo-image,
    .elementor .logo-image,
    body .logo-image {
        height: 40px !important;
    }
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.landing-h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.landing-h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.landing-h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.landing-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 16px;
}

.landing-text-white {
    color: var(--color-white);
    font-size: 18px;
    line-height: 1.7;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   HERO СЕКЦИЯ
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a3f5f 100%);
    padding: 40px 0;
    min-height: auto;
    display: flex;
    align-items: center;
    /* Переопределяем CSS переменные темы для hero-секции */
    --ast-global-color-2: #ffffff !important;
    --ast-global-color-3: #ffffff !important;
}

/* Переопределение стилей темы для hero-секции */
.hero-section h1,
.hero-section .hero-title,
.hero-section h2,
.hero-section h3,
.hero-section p,
.hero-section span,
.hero-section div,
.hero-section li,
.hero-section a {
    color: #ffffff !important;
}

/* Более специфичные селекторы для переопределения стилей темы Astra */
.hero-section .entry-content h1,
.hero-section .entry-content :where(h1),
.hero-section .hero-content h1,
.hero-section .hero-content .hero-title,
body .hero-section h1,
body .hero-section .hero-title,
.elementor .hero-section h1,
.elementor .hero-section .hero-title {
    color: #ffffff !important;
}

.hero-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box !important;
}

/* Адаптивность hero-container на мобильных */
@media (max-width: 767px) {
    .hero-section {
        padding: 32px 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        padding: 0 16px !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-section h1,
    .hero-section .hero-title,
    body .hero-section h1,
    body .hero-section .hero-title {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        font-size: 28px !important;
        line-height: 1.3 !important;
        letter-spacing: -0.5px !important;
        hyphens: none !important;
        /* Улучшенный перенос - только между словами */
        word-break: normal !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }
}

.hero-content {
    color: var(--color-white) !important;
    padding-left: 0 !important;
}

.hero-content * {
    color: inherit !important;
}

.hero-content p,
.hero-content span,
.hero-content div,
.hero-content li {
    color: var(--color-white) !important;
}

.hero-title,
.hero-section .hero-title,
.hero-section h1,
.hero-content .hero-title,
.hero-content h1,
.entry-content .hero-section h1,
.entry-content .hero-section .hero-title,
body .hero-section h1,
body .hero-section .hero-title,
.elementor .hero-section h1,
.elementor .hero-section .hero-title {
    font-size: 56px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    padding-top: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: -1px !important;
    color: #ffffff !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    /* Улучшенный перенос слов - перенос только между словами, не внутри */
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    hyphens: none !important;
    white-space: normal !important;
}

.hero-subtitle {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 32px !important;
    margin-top: 0 !important;
    opacity: 1 !important;
    color: var(--color-white) !important;
    line-height: 1.5 !important;
    letter-spacing: 0.3px !important;
}

/* Скрываем дублирующийся текст "Юрий Дуров Интернет-маркетолог" в hero секции */
.hero-section .hero-content > *:first-child,
.hero-section .hero-content > h1:first-child,
.hero-section .hero-content > h2:first-child,
.hero-section .hero-content > div:first-child,
.hero-section .hero-content > p:first-child,
.hero-section .hero-content > span:first-child,
.hero-content > *:first-child:not(.hero-title):not(.hero-subtitle),
.hero-section .elementor-widget-text-editor:first-child,
.hero-section .elementor-widget-heading:first-child:not(:has(.hero-title)),
.hero-section *:contains("Интернет-маркетолог"),
.hero-section *:contains("интернет-маркетолог") {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Убираем отступы сверху у заголовка */
.hero-section .hero-title,
.hero-section h1.hero-title,
.hero-content .hero-title,
.hero-content h1,
.hero-section .elementor-heading-title.hero-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 32px !important;
}

/* Увеличиваем размер текста в hero секции (подзаголовок) */
.hero-content p,
.hero-section p:not(.hero-subtitle),
.hero-content .elementor-text-editor p,
.hero-section .elementor-text-editor p {
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    color: #ffffff !important;
    margin-bottom: 32px !important;
    letter-spacing: 0.2px !important;
}

/* Увеличиваем размер иконок и делаем их ярче */
.hero-benefits li i {
    color: #ffd700 !important;
    margin-right: 16px !important;
    font-size: 24px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: 3px solid #ffd700 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5) !important;
}

.hero-benefits li i.fa-check-circle::before {
    content: '\f058' !important;
    font-family: 'FontAwesome' !important;
    font-weight: normal !important;
    font-size: 18px !important;
    color: #ffd700 !important;
    line-height: 1 !important;
}

/* Увеличиваем размер текста в списке преимуществ */
.hero-benefits li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    position: relative;
    line-height: 1.6 !important;
}

.hero-benefits li span {
    color: #ffffff !important;
    flex: 1;
    font-size: 20px !important;
    font-weight: 500 !important;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 32px 0 40px 0;
}

.hero-benefits li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--color-white) !important;
    position: relative;
}

.hero-benefits li i {
    color: #ffd700 !important;
    margin-right: 12px;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
    background: transparent;
    border: 2px solid #ffd700;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-block;
    text-align: center;
    line-height: 20px;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    font-family: 'FontAwesome' !important;
    font-weight: normal !important;
    font-style: normal !important;
}

.hero-benefits li i.fa-check-circle::before {
    content: '\f058' !important;
    font-family: 'FontAwesome' !important;
    font-weight: normal !important;
    font-size: 14px !important;
    color: #ffd700 !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.hero-benefits li span {
    color: var(--color-white) !important;
    flex: 1;
}

.hero-benefits li i {
    color: var(--color-accent);
    margin-right: 12px;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.hero-image {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    /* Оптимизация загрузки */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    content-visibility: auto;
    will-change: transform;
}

/* Плейсхолдер для изображений во время загрузки */
.hero-image {
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Убираем скрытие изображений - они должны показываться сразу */
.hero-image img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.hero-image img[loading],
.hero-image img[loading="eager"],
.hero-image img:not([loading]),
.hero-image img.loaded {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Убираем content-visibility, который может скрывать изображения */
.hero-image img,
.hero-image,
.elementor-widget-image img,
.elementor-image img,
img {
    content-visibility: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ===== МОДАЛЬНОЕ ОКНО КОНСУЛЬТАЦИИ ===== */

.hero-image-consult-trigger {
    cursor: pointer;
}

.consult-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.consult-modal.is-open {
    display: flex;
}

.consult-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.consult-modal__dialog {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.consult-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #9aa4bd;
}

.consult-modal__title,
.consult-modal__dialog .consult-modal__title,
.consult-modal__dialog h2.consult-modal__title,
#consult-modal-title,
.consult-modal h2,
.consult-modal__dialog h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 20px !important;
    color: #000000 !important;
    line-height: 1.25 !important;
    text-align: center;
}

.consult-modal__subtitle {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #4f5b7a;
}

/* Модалка: CF7 форма — структура <p><label>Текст<br/><span><input/></span></label></p> */
#consult-modal .wpcf7-form p {
    margin: 0 0 18px 0 !important;
    line-height: 1.5 !important;
}

#consult-modal .wpcf7-form p:last-of-type {
    margin-bottom: 0 !important;
}

#consult-modal .wpcf7-form label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 14px !important;
    color: #4f5b7a !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
}

/* Отступ между текстом метки и полем ввода (CF7 вставляет <br> внутри label) */
#consult-modal .wpcf7-form-control-wrap {
    display: block;
    margin-top: 6px;
}

/* Поля формы — равномерные отступы (резерв) */
.consult-modal__field,
.consult-modal .wpcf7-form-control-wrap {
    margin-bottom: 18px;
}

.consult-modal__field:last-child,
.consult-modal .wpcf7-form-control-wrap:last-of-type {
    margin-bottom: 0;
}

.consult-modal__field label,
.consult-modal .wpcf7-form-control-wrap label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #4f5b7a;
    line-height: 1.5 !important;
    font-weight: 500;
}

/* Метки полей CF7 — нормальный межстрочный интервал при переносе текста */
.wpcf7-form label,
.wpcf7-form-control-wrap label,
.consult-modal label,
.consult-modal .wpcf7-form-control-wrap label,
.elementor-widget-wpcf7-form label,
.elementor-element .wpcf7-form label {
    line-height: 1.5 !important;
}

/* Подсказка, что поле сайта в модалке обязательно */
.consult-modal__field label[for="consult-website"]::after,
.consult-modal .wpcf7-form-control-wrap label[for*="website"]::after,
.consult-modal .wpcf7-form-control-wrap label[for*="url"]::after {
    content: none;
}

.consult-modal__field input,
.consult-modal__field textarea,
.consult-modal input[type="text"],
.consult-modal input[type="tel"],
.consult-modal input[type="url"],
.consult-modal .wpcf7-form-control-wrap input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #c6cfdd;
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.5;
    font-family: inherit;
    box-sizing: border-box;
}

.consult-modal__field input:focus,
.consult-modal__field textarea:focus {
    outline: none;
    border-color: #1a2b4d;
    box-shadow: 0 0 0 1px rgba(26, 43, 77, 0.12);
}

.consult-modal__field input.error,
.consult-modal__field textarea.error {
    border-color: #d32f2f !important;
}

.consult-modal__error {
    display: block;
    color: #d32f2f;
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.4;
}

/* Сообщение «Укажите ваш сайт» при пустом поле */
.website-required-error {
    display: block !important;
    color: #c00 !important;
    font-size: 14px !important;
    margin-top: 6px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

/* Сообщение об успехе под формой в модалке CF7 */
.consult-modal .wpcf7-response-output.consult-modal-success-message {
    margin-top: 16px;
    padding: 0;
    border: none !important;
    background: transparent !important;
    color: #111111 !important;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
}

.consult-modal__submit,
.consult-modal input[type="submit"],
.consult-modal .wpcf7-form input[type="submit"] {
    width: 100%;
    margin: 0 !important;
    text-align: center;
}

.consult-modal__policy {
    margin: 12px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: #7b859d;
}

/* Контейнер формы модалки — без лишних отступов */
#consult-modal .consult-modal__form {
    margin: 0 !important;
    padding: 0 !important;
}

/* Общий контейнер формы — ровная вертикальная сетка */
#consult-modal .wpcf7-form,
#consult-modal form {
    line-height: 1.5 !important;
    margin: 0 !important;
}

body.consult-modal-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .consult-modal__dialog {
        padding: 24px 18px 22px;
    }

    .consult-modal__title {
        font-size: 28px;
    }
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   КНОПКИ
   ============================================ */
/* Общее правило для всех кнопок - убираем подчеркивание */
a[class*="btn"],
button[class*="btn"],
.btn-primary,
.btn-consultation,
.btn-diagnostic,
.btn-growth-points {
    text-decoration: none !important;
}

a[class*="btn"]:hover,
a[class*="btn"]:focus,
a[class*="btn"]:active,
button[class*="btn"]:hover,
button[class*="btn"]:focus,
button[class*="btn"]:active {
    text-decoration: none !important;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffd700c2 50%, #e6c200 100%);
    color: #1a2b4d;
    padding: 20px 48px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    margin-top: 32px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    text-decoration: none !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 50%, #ffd700c2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   КАРТОЧКИ
   ============================================ */
.card {
    background: var(--color-white) !important;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 28px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    margin-left: auto;
    margin-right: auto;
}

.card-icon i {
    display: inline-block !important;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome' !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    line-height: 1 !important;
    font-size: 64px !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Скрываем текст для скринридеров */
.card-icon .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border-width: 0 !important;
}

/* Убеждаемся, что все иконки карточек отображаются */
.section-problems .card-icon i {
    opacity: 1 !important;
    visibility: visible !important;
}

/* SVG резерв для второй карточки */
.card-icon .chart-icon-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px !important;
    height: 64px !important;
    display: none !important;
}

/* Если Font Awesome не загрузился, показываем SVG */
.card-icon:has(#chart-icon-fa[style*="display: none"]) .chart-icon-svg,
.card-icon #chart-icon-fa:not([class*="fa-"]) ~ .chart-icon-svg {
    display: block !important;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* Заголовки плашек «Почему 60%...» — выделение акцентной полосой и линией */
.section-problems .card-title,
.section-problems .elementor-heading-title,
.section-problems .card .elementor-heading-title {
    position: relative;
    padding-left: 16px !important;
    border-left: 4px solid var(--color-accent) !important;
    margin-left: 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid rgba(244, 162, 97, 0.35) !important;
    margin-bottom: 14px !important;
}

.card-text {
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* Карточки с серым фоном */
.card-gray {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
}

/* Золотые карточки метрик */
.card-gold {
    background: linear-gradient(135deg, #f4a261 0%, #e8914d 100%);
    color: var(--color-white);
    text-align: center;
    padding: 24px;
}

.card-gold .card-icon {
    color: var(--color-white);
    margin-bottom: 12px;
}

.card-gold .card-title {
    color: var(--color-white);
    font-size: 24px;
    margin-bottom: 8px;
}

.card-gold .card-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Плашки «Почему 60%...» — на мобильных крупнее и заметнее текст */
@media (max-width: 767px) {
    .section-problems .card-title,
    .section-problems .elementor-heading-title,
    .card .card-title {
        font-size: 22px !important;
        font-weight: 700 !important;
        color: var(--color-primary) !important;
        line-height: 1.3 !important;
        margin-bottom: 14px !important;
    }
    
    .section-problems .card-text,
    .section-problems .elementor-widget-container p,
    .card .card-text {
        font-size: 17px !important;
        line-height: 1.55 !important;
        color: #2d3748 !important;
        font-weight: 500 !important;
    }
    
    .section-problems .card {
        padding: 28px 20px !important;
    }
}

@media (max-width: 480px) {
    .section-problems .card-title,
    .section-problems .elementor-heading-title,
    .card .card-title {
        font-size: 20px !important;
    }
    
    .section-problems .card-text,
    .section-problems .elementor-widget-container p,
    .card .card-text {
        font-size: 16px !important;
    }
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   СЕКЦИИ
   ============================================ */
.section {
    padding: 60px 0;
}

.section-white {
    background: transparent !important; /* Прозрачный фон, чтобы был виден градиент body */
}

/* Секция проблем: градиентный фон (как у всего сайта), карточки белые */
.section-problems {
    background: transparent !important; /* Прозрачный, чтобы был виден градиент body */
}

.section-problems .card,
.section-problems .card-gray {
    background: var(--color-white) !important;
    border: 1px solid var(--color-border);
}

.section-gray {
    background: var(--color-bg-light);
}

.section-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 18px;
    margin-top: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   СЕТКА КАРТОЧЕК
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   БАННЕР СЕКЦИЯ
   ============================================ */
.banner-section {
    background: var(--color-primary);
    border: 2px solid var(--color-accent);
    padding: 48px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* Планшеты — крупный шрифт и та же стилистика, что на мобильных */
@media (min-width: 768px) and (max-width: 1024px) {
    .banner-section {
        position: relative !important;
        padding: 56px 32px !important;
        overflow: hidden !important;
        background: linear-gradient(165deg, #1a2b4d 0%, #243a5c 35%, #1e3252 100%) !important;
        box-shadow: 0 12px 40px rgba(26, 43, 77, 0.4), 0 6px 20px rgba(0, 0, 0, 0.1) !important;
        border: none !important;
    }
    
    /* Жёлтая полоса сверху — привлекает внимание, как на мобильных */
    .banner-section::before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 6px !important;
        background: linear-gradient(90deg, #f4a261 0%, #f7b87a 50%, #ffd700 100%) !important;
        box-shadow: 0 2px 12px rgba(244, 162, 97, 0.6) !important;
    }
    
    /* Лёгкое обрамление по контуру */
    .banner-section::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        border: 3px solid rgba(244, 162, 97, 0.35) !important;
        border-top: none !important;
        pointer-events: none !important;
    }
    
    .banner-section .banner-text,
    .banner-section .elementor-heading-title,
    .banner-section .elementor-widget-container > *,
    .banner-text {
        font-size: 30px !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        letter-spacing: 0.02em !important;
        color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    }
}

/* На мобильных — максимально заметный, «цепляющий» блок */
@media (max-width: 767px) {
    .banner-section {
        position: relative !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        padding: 52px 24px 48px !important;
        background: linear-gradient(165deg, #1a2b4d 0%, #243a5c 35%, #1e3252 100%) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: 0 16px 48px rgba(26, 43, 77, 0.5), 0 8px 24px rgba(0, 0, 0, 0.15) !important;
        overflow: hidden !important;
    }
    
    /* Яркая полоса сверху — сразу привлекает внимание */
    .banner-section::before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 6px !important;
        background: linear-gradient(90deg, #f4a261 0%, #f7b87a 50%, #ffd700 100%) !important;
        box-shadow: 0 2px 12px rgba(244, 162, 97, 0.6) !important;
    }
    
    /* Лёгкое свечение по контуру для «карточки» */
    .banner-section::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        border: 3px solid rgba(244, 162, 97, 0.4) !important;
        border-top: none !important;
        pointer-events: none !important;
    }
    
    .banner-section .banner-text,
    .banner-section .elementor-heading-title,
    .banner-section .elementor-widget-container > *,
    .banner-text {
        font-size: 26px !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        letter-spacing: 0.02em !important;
        color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 255, 255, 0.06) !important;
        max-width: 100% !important;
    }
    
    .banner-section .elementor-heading-title {
        margin-bottom: 0.4em !important;
    }
}

@media (max-width: 480px) {
    .banner-section {
        padding: 44px 20px 40px !important;
    }
    
    .banner-section .banner-text,
    .banner-section .elementor-heading-title,
    .banner-text {
        font-size: 24px !important;
        padding: 0 4px !important;
    }
}

.banner-text {
    color: var(--color-white);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Кнопка записи на консультацию */
.banner-cta {
    position: relative;
    display: inline-block;
    margin-top: 20px;
}

.banner-cta-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    z-index: 10;
    transform: rotate(5deg);
}

.btn-consultation {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffd700c2 50%, #e6c200 100%);
    color: #1a2b4d;
    padding: 24px 64px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    min-width: 400px;
    position: relative;
}

.btn-consultation:hover,
.btn-consultation:focus,
.btn-consultation:active {
    text-decoration: none !important;
}

.btn-consultation:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 50%, #ffd700c2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-consultation:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Блок только с кнопками CTA (без текста) */
.banner-section.banner-cta-only {
    padding: 40px 20px;
    width: 100% !important;
    border: none !important;
}

.banner-cta-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.banner-cta-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.banner-cta-main {
    position: relative;
    display: inline-block;
    flex: 1 1 auto;
    max-width: 700px;
    text-align: center;
}

/* Описательный текст в блоке диагностики — по левому краю */
.banner-cta-main p,
.banner-cta-main .elementor-text-editor,
.banner-cta-main .elementor-widget-container > p {
    text-align: left !important;
}

/* Вступительный абзац «За 30 минут…» — заметный, легкочитаемый блок (все p в карточке, кроме списка) */
.diagnostic-session-card p,
.banner-cta-main p {
    max-width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 24px !important;
    padding: 26px 30px !important;
    background: #f6f8fb !important;
    border-left: 5px solid var(--color-accent) !important;
    border-radius: 0 14px 14px 0 !important;
    box-shadow: 0 4px 16px rgba(26, 43, 77, 0.08) !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
    color: #1a2b4d !important;
    font-weight: 500 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* Список «Что вы получите» — убираем выделение с абзацев внутри пунктов */
.diagnostic-benefits li p,
.diagnostic-benefits p,
.diagnostic-benefits .elementor-text-editor p {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: var(--color-text-light) !important;
    font-weight: 400 !important;
}

@media (max-width: 767px) {
    .diagnostic-session-card p,
    .banner-cta-main p {
        max-width: 100%;
        padding: 22px 20px !important;
        font-size: 16px !important;
    }
}

.banner-cta-messengers {
    flex: 0 0 auto;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   БЛОК ДИАГНОСТИЧЕСКОЙ СЕССИИ
   ============================================ */
.diagnostic-session-card {
    background: var(--color-white) !important;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.diagnostic-session-card .elementor-widget-container,
.diagnostic-session-card .elementor-text-editor,
.diagnostic-session-card p {
    text-align: left !important;
}

.diagnostic-benefits-wrapper {
    margin-top: 40px;
}

.diagnostic-benefits-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.diagnostic-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.diagnostic-benefits li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    font-size: 16px;
    color: var(--color-text);
    position: relative;
    gap: 14px;
}

.diagnostic-benefits li:last-child {
    margin-bottom: 0;
}

.diagnostic-benefits li i {
    color: #ffd700 !important;
    margin-right: 0;
    margin-top: 3px;
    flex-shrink: 0;
    background: transparent;
    border: 2px solid #ffd700;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    font-family: 'FontAwesome' !important;
    font-weight: normal !important;
    font-style: normal !important;
}

.diagnostic-benefits li i::before {
    content: "\f058" !important;
    font-family: 'FontAwesome' !important;
    font-weight: normal !important;
    font-size: 14px;
    line-height: 1;
}

.diagnostic-benefit-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    text-align: left;
}

.diagnostic-benefit-content strong {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 18px;
}

.diagnostic-benefit-content span,
.diagnostic-benefit-content p {
    color: var(--color-text-light);
    line-height: 1.6;
    text-align: left !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Убираем лишний отступ у описания под пунктами — выравнивание по левому краю */
.diagnostic-benefits li p,
.diagnostic-benefits li .elementor-text-editor,
.diagnostic-session-card .elementor-widget-container p,
.diagnostic-session-card .elementor-text-editor p {
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
}

.diagnostic-benefits .elementor-widget-container {
    text-align: left !important;
}

.diagnostic-disclaimer {
    margin-top: 32px;
    text-align: center;
    font-style: italic;
    color: var(--color-text-light);
    font-size: 16px;
}

.diagnostic-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn-diagnostic {
    display: inline-block;
    min-width: 300px;
    text-decoration: none !important;
}

.btn-diagnostic:hover,
.btn-diagnostic:focus,
.btn-diagnostic:active {
    text-decoration: none !important;
}

/* Адаптивность для блока диагностической сессии */
@media (max-width: 768px) {
    .diagnostic-session-card {
        padding: 32px 24px;
    }
    
    .diagnostic-benefits li {
        align-items: flex-start;
        gap: 14px;
    }
    
    .diagnostic-benefits li i {
        margin-top: 4px;
    }
    
    .btn-diagnostic {
        min-width: 100%;
        width: 100%;
    }
}

.banner-cta-main {
    position: relative;
    display: inline-block;
}

.banner-cta-badge-free {
    position: absolute;
    top: -18px;
    right: -15px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    z-index: 10;
    transform: rotate(3deg);
}

.btn-growth-points {
    display: block;
    background: linear-gradient(135deg, #ffd700 0%, #ffd700c2 50%, #e6c200 100%);
    color: #1a2b4d;
    padding: 24px 64px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    width: 100%;
    position: relative;
    text-align: center;
    box-sizing: border-box;
}

.btn-growth-points:hover,
.btn-growth-points:focus,
.btn-growth-points:active {
    text-decoration: none !important;
}

.btn-growth-points:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 50%, #ffd700c2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-growth-points:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Иконки мессенджеров */
.banner-cta-messengers {
    display: flex;
    gap: 24px;
    align-items: center;
}

.messenger-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.messenger-icon i {
    font-size: 36px;
    color: #ffffff;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome' !important;
    font-weight: 900 !important;
}

.messenger-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 50%, #128c7e 100%);
}

.messenger-whatsapp:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.messenger-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 50%, #006699 100%);
}

.messenger-telegram:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.5);
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   МЕТОД СЕКЦИЯ (4 ШАГА)
   ============================================ */
.method-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.method-step {
    position: relative;
}

.method-step::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: var(--color-primary);
    font-weight: 700;
}

.method-step:last-child::after {
    display: none;
}

/* Заголовки шагов метода (ГЛУБОКИЙ АУДИТ и др.) — в отдельных плашках */
.method-step .elementor-heading-title,
.method-step h2,
.method-step h3,
.method-step h4,
[class*="method"] .elementor-widget-heading .elementor-heading-title,
[class*="method"] .elementor-widget-heading h2,
[class*="method"] .elementor-widget-heading h3,
[class*="method"] .elementor-widget-heading h4 {
    display: block !important;
    margin: 0 0 16px 0 !important;
    padding: 14px 18px !important;
    background: #f6f8fb !important;
    border-left: 5px solid var(--color-accent) !important;
    border-radius: 0 10px 10px 0 !important;
    color: var(--color-primary) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    line-height: 1.3 !important;
    box-shadow: 0 2px 10px rgba(26, 43, 77, 0.06) !important;
    box-sizing: border-box !important;
}

/* Если заголовок внутри карточки/виджета — плашка не дублирует отступы карточки */
.method-step .elementor-widget-heading .elementor-widget-container {
    margin-bottom: 0 !important;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   О СЕБЕ СЕКЦИЯ
   ============================================ */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   КЕЙСЫ СЕКЦИЯ
   ============================================ */
.case-card {
    background: var(--color-white) !important;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    height: 100%;
}

.case-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.case-achievement {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 16px 0;
    text-transform: uppercase;
}

.case-results {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.case-results li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--color-text-light);
}

.case-results li i {
    color: var(--color-success);
    margin-right: 10px;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   НОВЫЙ ДИЗАЙН КЕЙСОВ (слева контент, справа изображение)
   ============================================ */
.cases-carousel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.cases-swiper {
    padding: 20px 0 60px 0;
    overflow: visible;
}

.cases-swiper .swiper-slide {
    height: auto;
}

.cases-swiper .swiper-slide > div {
    height: 100%;
}

/* Карточка кейса - основной контейнер */
.case-card-new {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: row;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(200, 200, 200, 0.3);
    background: #ffffff;
}

/* Левая часть - контент с полупрозрачным фоном */
.case-card-content-wrapper {
    position: relative;
    width: 65%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    z-index: 3;
}

/* Полупрозрачный темный фон для контента */
.case-card-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 58, 79, 0.85);
    border-radius: 16px 0 0 16px;
    z-index: 1;
}

/* Контент карточки */
.case-card-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Заголовок кейса */
.case-card-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Подзаголовок (контекст) */
.case-card-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px 0;
    padding: 0;
    line-height: 1.5;
}

/* Разделительная линия */
.case-card-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 24px 0;
    flex-shrink: 0;
}

/* Результаты кейса */
.case-results-new {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.case-results-new li {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 14px;
}

/* Элементы списка с метриками (label и value) - вертикальная компоновка */
.case-results-new li .case-metric-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    flex: 1;
}

/* Разделительная линия внутри списка результатов */
.case-results-new li .case-card-divider {
    margin: 24px 0;
    width: 100%;
    flex-basis: 100%;
}

.case-results-new li:last-child {
    margin-bottom: 0;
}

/* Иконки в списке результатов - в одну строку с текстом */
.case-results-new li i {
    color: #ffffff !important;
    margin-right: 12px;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    width: auto;
    height: auto;
    border: none;
    background: none;
    border-radius: 0;
    display: inline-block;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.5;
    align-self: flex-start;
}

.case-results-new li i::before {
    content: "\f058" !important;
    font-family: 'FontAwesome' !important;
    font-weight: normal !important;
    font-size: 16px;
    line-height: 1;
}

/* Текст в элементах списка с иконками */
.case-results-new li span:not(.case-metric-label):not(.case-metric-value) {
    flex: 1;
    line-height: 1.5;
}

/* Метрика - значение */
.case-metric-value {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-top: 4px;
}

.case-metric-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin-bottom: 0;
}

/* Правая часть - размытое изображение */
.case-card-image-wrapper {
    position: relative;
    width: 35%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: stretch;
}

.case-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: 1;
}

.case-card-bg img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(1px);
    transform: scale(1.02);
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* Логотип в правом верхнем углу изображения */
.case-card-logo {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 5;
}

/* Скрытие элемента "ЕЩЁ ПРИМЕРЫ РЕЗУЛЬТАТОВ, КОТОРЫЕ ПОЛУЧАЮТ НАШИ КЛИЕНТЫ" */
.cases-section-hidden-title,
.cases-section-hidden-title *,
[class*="case"] h2:contains("ЕЩЁ ПРИМЕРЫ"),
[class*="case"] h3:contains("ЕЩЁ ПРИМЕРЫ"),
[class*="case"] .elementor-heading-title:contains("ЕЩЁ ПРИМЕРЫ"),
.elementor-widget-heading:has-text("ЕЩЁ ПРИМЕРЫ"),
.elementor-widget-heading:has-text("Еще примеры") {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    line-height: 0 !important;
    font-size: 0 !important;
    max-height: 0 !important;
    min-height: 0 !important;
}

.case-logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(26, 43, 77, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a2b4d;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Навигация карусели */
.cases-nav-next,
.cases-nav-prev {
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--color-primary);
    transition: all 0.3s ease;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
}

.cases-nav-next::after,
.cases-nav-prev::after {
    font-size: 20px;
    font-weight: 700;
}

.cases-nav-next:hover,
.cases-nav-prev:hover {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(26, 43, 77, 0.3);
}

.cases-nav-next {
    right: -25px;
}

.cases-nav-prev {
    left: -25px;
}

/* Пагинация */
.cases-swiper .swiper-pagination {
    bottom: 10px;
}

.cases-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(26, 43, 77, 0.3);
    opacity: 1;
}

.cases-swiper .swiper-pagination-bullet-active {
    background: var(--color-primary);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .cases-carousel-wrapper {
        padding: 0 60px;
    }
    
    .cases-nav-next {
        right: 10px;
    }
    
    .cases-nav-prev {
        left: 10px;
    }
    
    .case-card-new {
        height: 480px;
    }
    
    .case-card-content-wrapper {
        padding: 30px;
    }
    
    .case-card-title {
        font-size: 24px;
    }
    
    .case-metric-value {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .cases-carousel-wrapper {
        padding: 0 50px;
    }
    
    .cases-nav-next,
    .cases-nav-prev {
        width: 40px;
        height: 40px;
    }
    
    .cases-nav-next::after,
    .cases-nav-prev::after {
        font-size: 16px;
    }
    
    .cases-nav-next {
        right: 5px;
    }
    
    .cases-nav-prev {
        left: 5px;
    }
    
    .case-card-new {
        flex-direction: column;
        height: auto;
        min-height: 500px;
    }
    
    .case-card-content-wrapper {
        width: 100%;
        padding: 30px 24px;
        min-height: 300px;
    }
    
    .case-card-content-overlay {
        border-radius: 16px 16px 0 0;
    }
    
    .case-card-image-wrapper {
        width: 100%;
        height: 300px;
        min-height: 300px;
    }
    
    .case-card-bg {
        height: 100%;
        min-height: 100%;
    }
    
    .case-card-bg img {
        height: 100%;
        min-height: 100%;
        filter: blur(0.5px);
    }
    
    .case-card-title {
        font-size: 22px;
    }
    
    .case-card-subtitle {
        font-size: 13px;
    }
    
    .case-metric-value {
        font-size: 24px;
    }
    
    .case-results-new {
        gap: 0;
    }
    
    .case-results-new li {
        font-size: 13px;
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .case-results-new li i {
        font-size: 14px;
        margin-right: 10px;
        margin-top: 2px;
        flex-shrink: 0;
    }
    
    .case-results-new li .case-metric-item {
        flex-direction: column;
        gap: 6px;
    }
    
    .case-logo-circle {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   СПИСКИ (ПОДХОДИТ/НЕ ПОДХОДИТ)
   ============================================ */
.suitable-list,
.not-suitable-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.suitable-list ul,
.not-suitable-list ul {
    list-style: none;
    padding: 0;
}

.suitable-list li,
.not-suitable-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 18px;
    padding: 16px;
    background: var(--color-white) !important;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.suitable-list li i {
    color: var(--color-success);
    margin-right: 16px;
    font-size: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}

.not-suitable-list li i {
    color: var(--color-error);
    margin-right: 16px;
    font-size: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   СЕКЦИЯ "КОМПЛЕКСНЫЕ РЕКЛАМНЫЕ СТРАТЕГИИ" - Сервисы
   ============================================ */
.section-services {
    padding: 60px 0;
}

@media (max-width: 767px) {
    .section-services .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.services-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.services-content .section-title {
    margin-bottom: 48px;
}

/* Строка с логотипами рекламных систем */
.services-platforms {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.services-platforms-row {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.services-platforms-row:last-child {
    margin-bottom: 0;
}

.service-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    filter: grayscale(20%);
    opacity: 0.9;
    width: 100%;
    min-height: 100px;
    padding: 16px;
    box-sizing: border-box;
}

.service-logo:hover {
    transform: translateY(-4px);
    filter: grayscale(0%);
    opacity: 1;
}

.service-logo-img {
    max-width: 240px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Отдельная строка для системы аналитики */
.services-analytics {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-analytics-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-analytics-item:hover {
    transform: translateY(-4px);
}

.service-analytics-img {
    width: 100%;
    max-width: 900px;
    max-height: 150px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Одна общая сетка 2 колонки: все плашки одного размера, как в первом ряду */
@media (max-width: 1024px) {
    .section-services .services-content,
    .section-white .services-content,
    .elementor-widget-html .services-content {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: minmax(180px, auto) !important;
        gap: 20px !important;
        align-items: stretch !important;
    }
    
    .section-services .services-content > .section-title,
    .section-white .services-content > .section-title,
    .elementor-widget-html .services-content > .section-title {
        grid-column: 1 / -1 !important;
    }
    
    .section-services .services-platforms-row,
    .section-services .services-platforms.services-platforms-row,
    .section-white .services-platforms-row,
    .section-white .services-platforms.services-platforms-row,
    .elementor-widget-html .services-platforms-row,
    .elementor-widget-html .services-platforms.services-platforms-row {
        display: contents !important;
    }
    
    .section-services .service-logo,
    .section-white .service-logo,
    .elementor-widget-html .service-logo {
        min-height: 180px !important;
        padding: 24px 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .section-services .service-logo-img,
    .section-white .service-logo-img,
    .elementor-widget-html .service-logo-img {
        max-width: 200px !important;
        max-height: 130px !important;
    }
}

@media (max-width: 767px) {
    .section-services .services-content,
    .section-white .services-content,
    .elementor-widget-html .services-content {
        padding: 0 16px;
        grid-auto-rows: minmax(160px, auto) !important;
        gap: 16px !important;
    }
    
    .section-services .services-content > .section-title,
    .section-white .services-content > .section-title,
    .elementor-widget-html .services-content > .section-title {
        margin-bottom: 24px;
    }
    
    .section-services .service-logo,
    .section-white .service-logo,
    .elementor-widget-html .service-logo {
        min-height: 160px !important;
        padding: 20px 16px !important;
        box-sizing: border-box !important;
    }
    
    .section-services .service-logo-img,
    .section-white .service-logo-img,
    .elementor-widget-html .service-logo-img {
        max-width: 100% !important;
        max-height: 100px !important;
        object-fit: contain !important;
    }
    
    .section-services .services-analytics,
    .section-white .services-analytics,
    .elementor-widget-html .services-analytics {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-top: 20px !important;
    }
    
    .section-services .service-analytics-img,
    .section-white .service-analytics-img {
        max-width: 100% !important;
        max-height: 100px !important;
    }
}

.section-services .services-platforms-row > .service-logo,
.section-services .services-platforms.services-platforms-row > .service-logo,
.section-white .services-platforms-row > .service-logo {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}


/* Дополнительные правила для очень маленьких экранов */
@media (max-width: 480px) {
    .section-services .services-content,
    .section-white .services-content,
    .elementor-widget-html .services-content {
        padding: 0 12px !important;
        grid-auto-rows: minmax(140px, auto) !important;
        gap: 14px !important;
    }
    
    .section-services .service-logo,
    .section-white .service-logo,
    .elementor-widget-html .service-logo {
        min-height: 140px !important;
        padding: 16px 12px !important;
    }
    
    .section-services .service-logo-img,
    .section-white .service-logo-img,
    .elementor-widget-html .service-logo-img {
        max-height: 88px !important;
    }
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   ОБЪЕДИНЕННАЯ СЕКЦИЯ "КОМУ ПОДОЙДУ / НЕ ПОДОЙДУ"
   ============================================ */
.section-suitable-combined {
    padding: 80px 0;
}

.section-suitable-combined .container {
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.suitable-combined-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.suitable-combined-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--color-white) !important;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    align-items: start;
}

.suitable-column {
    background: var(--color-white) !important;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr;
    align-items: start;
    min-height: 100%;
}

.suitable-column-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 320px;
    margin-bottom: 0;
}

.suitable-column:first-child {
    padding-left: 40px;
    padding-right: 40px;
}

.suitable-column:last-child {
    padding-left: 40px;
    padding-right: 40px;
}

.suitable-column-not {
    background: #1a2b4d !important;
}

.suitable-column-not .suitable-column-title {
    color: #ffffff !important;
}

.suitable-column-not .suitable-column-list li {
    background: rgba(255, 255, 255, 0.1) !important;
}

.suitable-column-not .suitable-column-list li:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.suitable-column-not .suitable-column-list li span {
    color: #ffffff !important;
}

.suitable-column-not .suitable-column-icon {
    background: rgba(255, 255, 255, 0.1) !important;
}

.suitable-column:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.suitable-column:not(:first-child) {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.suitable-column-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f7f9;
    flex-shrink: 0;
}

.suitable-column-icon i {
    font-size: 80px !important;
    line-height: 1 !important;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome' !important;
    font-weight: 900 !important;
    display: block !important;
}

.suitable-column-not .suitable-column-icon i {
    color: #dc3545 !important;
}

.suitable-column-yes .suitable-column-icon i {
    color: #28a745 !important;
}

.suitable-column-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 0;
    margin-top: 40px;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    text-align: center;
}

.suitable-column-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.suitable-column-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 500;
    padding: 20px;
    background: #f5f7f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.suitable-column-list li:hover {
    background: #e8ecef;
    transform: translateX(4px);
}

.suitable-column-list li i {
    margin-right: 20px;
    font-size: 28px;
    margin-top: 2px;
    flex-shrink: 0;
    line-height: 1 !important;
}

.suitable-column-not .suitable-column-list li i {
    color: #dc3545 !important;
}

.suitable-column-yes .suitable-column-list li i {
    color: #28a745 !important;
}

.suitable-column-list li span {
    flex: 1;
    color: #1a2b4d;
    line-height: 1.6;
    font-weight: 500;
}

/* Адаптивность для объединенной секции */
@media (max-width: 1024px) {
    .suitable-combined-grid {
        gap: 40px;
        padding: 0 30px;
    }
    
    .suitable-combined-single {
        gap: 0;
        padding-left: 30px;
        padding-right: 30px;
        grid-template-columns: 1fr 1fr;
    }
    
    .suitable-column {
        padding: 40px 30px;
    }
    
    .suitable-column:first-child {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .suitable-column-icon {
        width: 100px;
        height: 100px;
    }
    
    .suitable-column-icon i {
        font-size: 56px !important;
    }
}

@media (max-width: 767px) {
    .suitable-combined-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 20px;
    }
    
    .suitable-combined-single {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .suitable-column {
        padding: 32px 24px;
    }
    
    .suitable-column:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .suitable-column:not(:first-child) {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .suitable-column-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 24px;
    }
    
    .suitable-column-icon i {
        font-size: 48px !important;
    }
    
    .suitable-column-title {
        font-size: 24px;
        margin-bottom: 32px;
    }
    
    .suitable-column-list li {
        font-size: 18px;
        padding: 18px;
    }
    
    .suitable-column-list li i {
        font-size: 24px;
        margin-right: 16px;
    }
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   CTA СЕКЦИЯ (ФОРМА)
   ============================================ */
.cta-section {
    background: var(--color-primary);
    padding: 80px 0;
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: center;
}

.cta-content {
    color: var(--color-white);
}

.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.cta-benefits li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 16px;
}

.cta-benefits li i {
    color: var(--color-accent);
    margin-right: 12px;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.cta-form-wrapper {
    background: var(--color-white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.cta-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.cta-form-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
}

.cta-form-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-accent);
}

.cta-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.cta-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
    display: block;
}

.cta-form-disclaimer {
    font-size: 12px;
    color: var(--color-text-light);
    margin-top: 8px;
    text-align: center;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   АДАПТИВНОСТЬ - ПЛАНШЕТЫ (768px - 1199px)
   ============================================ */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 48px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .method-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .method-step::after {
        display: none;
    }
    
    .about-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   АДАПТИВНОСТЬ - МОБИЛЬНЫЕ (до 767px)
   ============================================ */
@media (max-width: 767px) {
    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 32px;
    }
    
    .landing-h2 {
        font-size: 28px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cards-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .method-steps {
        grid-template-columns: 1fr;
    }
    
    .method-step::after {
        display: none;
    }
    
    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-metrics {
        grid-template-columns: 1fr;
    }
    
    .banner-text {
        font-size: 26px !important;
        padding: 0 16px !important;
        margin-bottom: 32px !important;
        line-height: 1.35 !important;
        letter-spacing: 0.02em !important;
    }
    
    .banner-cta {
        margin-top: 16px;
    }
    
    .banner-cta-badge {
        top: -15px;
        right: -10px;
        padding: 6px 16px;
        font-size: 14px;
        transform: rotate(3deg);
    }
    
    .btn-consultation {
        padding: 20px 40px;
        font-size: 18px;
        min-width: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .banner-cta-only {
        padding: 32px 20px;
        max-width: 100%;
    }
    
    .banner-cta-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .banner-cta-main {
        grid-column: 1;
        justify-self: center;
    }
    
    .banner-cta-messengers {
        grid-column: 1;
        justify-self: center;
    }
    
    .banner-cta-badge-free {
        top: -15px;
        right: -10px;
        padding: 6px 16px;
        font-size: 14px;
    }
    
    .btn-growth-points {
        padding: 20px 48px;
        font-size: 18px;
        min-width: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .banner-cta-messengers {
        justify-content: center;
        gap: 20px;
    }
    
    .messenger-icon {
        width: 64px;
        height: 64px;
    }
    
    .messenger-icon i {
        font-size: 32px;
    }
    
    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .btn-primary {
        width: 100%;
        text-align: center;
    }
    
    /* Убираем order: -1 для hero-image, чтобы заголовок был первым */
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .about-image {
        order: -1;
    }
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   АНИМАЦИИ
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Плавное появление при скролле - ОТКЛЮЧЕНО, контент показывается сразу */
.scroll-reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important;
}

.scroll-reveal.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   УТИЛИТЫ
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.text-center {
    text-align: center;
}

.mt-32 {
    margin-top: 32px;
}

.mb-32 {
    margin-bottom: 32px;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   БЛОГ - КАРТОЧКИ ПОСТОВ
   ============================================ */
.blog-posts-wrapper,
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 48px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100% !important;
    box-sizing: border-box;
}

/* Убеждаемся, что родительский контейнер не ограничивает ширину */
.elementor-widget .blog-posts-wrapper,
.elementor-widget .blog-posts-grid,
.elementor-element .blog-posts-wrapper,
.elementor-element .blog-posts-grid {
    max-width: 100% !important;
    width: 100% !important;
}

/* Убеждаемся, что карточки занимают всю ширину ячейки */
.blog-posts-wrapper > .blog-card,
.blog-posts-grid > .blog-card,
.blog-posts-wrapper > article,
.blog-posts-grid > article,
.blog-posts-wrapper .blog-card,
.blog-posts-grid .blog-card,
.blog-posts-wrapper article,
.blog-posts-grid article {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-basis: 100% !important;
    box-sizing: border-box !important;
}

/* Убеждаемся, что ссылки-обертки тоже занимают всю ширину */
.blog-card-link,
.blog-posts-wrapper a,
.blog-posts-grid a {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

@media (min-width: 1600px) {
    .blog-posts-wrapper,
    .blog-posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }
}

.blog-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    min-width: 0;
    max-width: 100% !important;
    box-sizing: border-box;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.blog-card-link {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-link * {
    text-decoration: none !important;
}

.blog-card-image {
    position: relative;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
    background: var(--color-primary);
    flex-shrink: 0;
}

.blog-card-image img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
    display: block !important;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

/* Обложки постов блога — показывать целиком, без обрезки */
.blog-archive-page .blog-post-item-image img,
.blog-archive-page .blog-card-image img,
.archive .blog-post-item-image img,
.archive .blog-card-image img,
.elementor-posts-container .elementor-post__thumbnail img,
.elementor-widget-posts .elementor-post__thumbnail img {
    object-fit: contain !important;
}

.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 56px;
    text-decoration: none !important;
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none !important;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-light);
}

.blog-card-date i {
    color: var(--color-accent);
    font-size: 14px;
}

.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
}

/* Адаптивность для блога */
@media (max-width: 1199px) {
    .blog-posts-wrapper,
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px;
    }
}

/* На планшетах и мобильных — по одной карточке в ряд */
@media (max-width: 991px) {
    .blog-posts-wrapper,
    .blog-posts-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .blog-posts-wrapper,
    .blog-posts-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-card-title {
        font-size: 18px;
        min-height: auto;
    }
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   СТРАНИЦА АРХИВА БЛОГА (archive.php)
   ============================================ */
.blog-archive-page {
    padding: 80px 0;
    background: linear-gradient(135deg, #ecf2f4 0%, #dde8eb 100%);
    min-height: 100vh;
}

.blog-archive-page .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.blog-archive-layout {
    display: grid !important;
    grid-template-columns: 1fr 300px !important;
    gap: 48px;
    max-width: 100% !important;
    margin: 0 auto !important;
    width: 100% !important;
    align-items: start !important;
}

/* Альтернативный вариант через flexbox (если grid не поддерживается) */
@supports not (display: grid) {
    .blog-archive-layout {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 48px;
    }
    
    .blog-archive-main {
        flex: 1;
        min-width: 0;
    }
    
    .blog-sidebar {
        flex: 0 0 300px;
        max-width: 300px;
    }
}

/* Основной контент (левая колонка) */
.blog-archive-main {
    min-width: 0; /* Для правильной работы grid */
    width: 100%;
}

/* Список постов (горизонтальные карточки) */
.blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-post-item {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 0;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 0 !important;
    box-sizing: border-box;
}

.blog-post-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Изображение поста (слева) — обложка целиком, фон как у карточки */
.blog-post-item-image {
    flex-shrink: 0 !important;
    width: 300px !important;
    min-height: 100%;
    overflow: hidden;
    background: #ffffff;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.blog-post-item-image a {
    display: flex;
    width: 100%;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.blog-post-item-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 100%;
    min-height: auto !important;
    object-fit: contain !important;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.blog-post-item:hover .blog-post-item-image img {
    transform: scale(1.05);
}

/* Контент поста (справа) */
.blog-post-item-content {
    flex: 1 !important;
    padding: 24px 32px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

/* Тег категории */
.blog-post-item-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
    align-self: flex-start;
    box-shadow: 0 2px 6px rgba(244, 162, 97, 0.3);
}

/* Заголовок поста */
.blog-post-item-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 16px 0;
    line-height: 1.4;
    display: block;
    overflow: visible;
    word-wrap: break-word;
    width: 100%;
}

.blog-post-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-item-title a:hover {
    color: var(--color-accent);
}

/* Описание поста */
.blog-post-item-excerpt {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Дата публикации */
.blog-post-item-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0 0 12px 0;
}

.blog-post-item-date i {
    color: var(--color-accent);
    font-size: 14px;
}

/* Мета-информация (кнопка и комментарии) */
.blog-post-item-meta {
    margin-top: auto;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    width: 100%;
}

.blog-post-item-comments {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-item-comments:hover {
    color: var(--color-accent);
}

.blog-post-item-comments i {
    color: var(--color-accent);
    font-size: 16px;
}

/* Скрываем счётчик комментариев в карточке поста на мобильных и планшетах (чтобы не вылезал за край) */
@media (max-width: 1024px) {
    .blog-post-item-comments {
        display: none !important;
    }
}

/* Кнопка "Читать далее" */
.blog-post-item-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(244, 162, 97, 0.3);
    white-space: nowrap;
}

.blog-post-item-read-more:hover {
    background: linear-gradient(135deg, #e76f51 0%, #f4a261 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 162, 97, 0.4);
    color: var(--color-white);
}

.blog-post-item-read-more i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.blog-post-item-read-more:hover i {
    transform: translateX(4px);
}

/* Сайдбар (правая колонка) */
.blog-sidebar {
    min-width: 0;
    width: 100%;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.blog-sidebar-widget {
    background: var(--color-white) !important;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 200px; /* На десктопе — для видимости блока */
}

.blog-sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
}

/* Список категорий в сайдбаре */
.blog-sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar-categories li {
    margin-bottom: 12px;
}

.blog-sidebar-categories li:last-child {
    margin-bottom: 0;
}

.blog-sidebar-category-link {
    display: block;
    padding: 10px 16px;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
    line-height: 1.5;
}

.blog-sidebar-category-link:hover {
    background: var(--color-bg-light);
    color: var(--color-accent);
    padding-left: 20px;
}

.blog-sidebar-empty {
    color: var(--color-text-light);
    font-style: italic;
    padding: 10px 16px;
}

/* Сворачиваемый блок «Категории» на мобильных */
.blog-sidebar-categories-details {
    display: block;
}

.blog-sidebar-categories-details summary.blog-sidebar-title {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.blog-sidebar-categories-details summary.blog-sidebar-title::-webkit-details-marker,
.blog-sidebar-categories-details summary.blog-sidebar-title::marker {
    display: none;
}

/* На десктопе (ширина > 1024px) — всегда развёрнуто, заголовок как обычный */
@media (min-width: 1025px) {
    .blog-sidebar-categories-details .blog-sidebar-categories {
        display: block !important;
    }
    
    .blog-sidebar-categories-details summary.blog-sidebar-title::after {
        display: none;
    }
}

/* На мобильных и планшетах (включая iPad) — свёрнуто по умолчанию, по тапу раскрывается */
@media (max-width: 1024px) {
    .blog-sidebar-widget {
        min-height: 0 !important;
        padding: 12px 16px !important;
        margin-bottom: 16px !important;
    }
    
    .blog-sidebar-categories-details summary.blog-sidebar-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        margin-bottom: 0;
        border-bottom: none;
        background: var(--color-bg-light);
        border-radius: 8px;
        transition: background 0.2s ease;
    }
    
    .blog-sidebar-categories-details summary.blog-sidebar-title:hover {
        background: var(--color-border);
    }
    
    .blog-sidebar-categories-details summary.blog-sidebar-title::after {
        content: '';
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        margin-left: 12px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a2b4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
        background-size: contain;
        transition: transform 0.25s ease;
    }
    
    .blog-sidebar-categories-details[open] summary.blog-sidebar-title::after {
        transform: rotate(180deg);
    }
    
    .blog-sidebar-categories-details:not([open]) .blog-sidebar-categories {
        display: none;
    }
    
    .blog-sidebar-categories-details[open] .blog-sidebar-categories {
        display: block;
        padding-top: 16px;
    }
}

/* Пагинация */
.blog-pagination {
    margin-top: 60px;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-numbers li {
    display: inline-block;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: inline-block;
    padding: 12px 20px;
    background: var(--color-white);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-pagination .page-numbers a:hover,
.blog-pagination .page-numbers .current {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 162, 97, 0.3);
}

.blog-pagination .page-numbers .prev,
.blog-pagination .page-numbers .next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   ОТДЕЛЬНАЯ СТРАНИЦА ПОСТА (single.php)
   ============================================ */
.blog-single-page {
    padding: 40px 0 80px;
    background: linear-gradient(135deg, #ecf2f4 0%, #dde8eb 100%);
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
}

.blog-single-post-wrapper {
    max-width: 1125px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

.blog-single-post {
    background: var(--color-white);
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

/* Хлебные крошки */
.blog-breadcrumbs {
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--color-text-light);
}

.blog-breadcrumbs a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumb-separator {
    margin: 0 12px;
    color: var(--color-text-light);
}

.breadcrumb-current {
    color: var(--color-text);
    font-weight: 600;
}

/* Заголовок поста */
.blog-single-header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--color-border);
}

.blog-single-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.blog-single-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 24px;
}

.blog-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 14px;
    color: var(--color-text-light);
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta-item i {
    color: var(--color-accent);
    font-size: 16px;
}

/* Изображение поста */
.blog-single-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Содержимое поста */
.blog-single-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 40px;
}

.blog-single-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 48px;
    margin-bottom: 24px;
}

.blog-single-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-single-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 32px;
    margin-bottom: 16px;
}

.blog-single-content p {
    margin-bottom: 24px;
}

.blog-single-content ul,
.blog-single-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.blog-single-content li {
    margin-bottom: 12px;
}

.blog-single-content a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-single-content a:hover {
    color: var(--color-primary);
}

.blog-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-single-content blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--color-text-light);
    font-size: 20px;
}

/* Теги */
.blog-single-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.blog-tags-label {
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-tags-label i {
    color: var(--color-accent);
}

.blog-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-bg-light);
    color: var(--color-text);
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Навигация между постами */
.blog-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--color-border);
}

.blog-nav-previous,
.blog-nav-next {
    display: flex;
}

.blog-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg-light);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
}

.blog-nav-link:hover {
    background: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(244, 162, 97, 0.3);
}

.blog-nav-link:hover .blog-nav-label,
.blog-nav-link:hover .blog-nav-title,
.blog-nav-link:hover i {
    color: var(--color-white);
}

.blog-nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.blog-nav-label {
    font-size: 12px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-nav-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}

.blog-nav-link i {
    font-size: 20px;
    color: var(--color-accent);
    transition: color 0.3s ease;
}

.blog-nav-next .blog-nav-link {
    text-align: right;
    flex-direction: row-reverse;
}

/* Похожие посты */
.blog-related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--color-border);
}

.blog-related-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 32px;
    text-align: center;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-light);
}

.blog-card-author i {
    color: var(--color-accent);
    font-size: 14px;
}

/* Адаптивность для страниц блога */
@media (max-width: 1199px) {
    .blog-archive-layout {
        grid-template-columns: 1fr 280px;
        gap: 32px;
    }
    
    .blog-post-item-image {
        width: 250px !important;
    }
    
    .blog-post-item-image img {
        object-fit: contain !important;
    }
    
    .blog-related-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .blog-single-post {
        padding: 40px;
    }
}

/* iPad и планшеты: одна колонка, компактные «Категории» сверху (без двух колонок) */
@media (max-width: 1024px) {
    .blog-archive-layout {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    
    .blog-sidebar {
        order: -1;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .blog-sidebar-widget {
        margin-bottom: 0;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .blog-archive-main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    .blog-post-item-image {
        width: 300px !important;
    }
}

@media (max-width: 991px) {
    .blog-archive-layout {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    
    .blog-sidebar {
        order: -1; /* Сайдбар сверху на мобильных */
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .blog-sidebar-widget {
        margin-bottom: 0;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .blog-archive-main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

@media (max-width: 767px) {
    .blog-archive-page,
    .blog-single-page {
        padding: 40px 0;
    }
    
    .blog-archive-layout {
        grid-template-columns: 1fr !important;
        gap: 32px;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .blog-sidebar,
    .blog-sidebar-widget {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    
    .blog-sidebar-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .blog-posts-list {
        gap: 24px;
        width: 100% !important;
        min-width: 0 !important;
    }
    
    .blog-post-item {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .blog-post-item-image {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }
    
    .blog-post-item-image img {
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        object-fit: contain !important;
    }
    
    .blog-post-item-content {
        padding: 20px !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    
    .blog-post-item-title,
    .blog-post-item-excerpt {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .blog-post-item-link {
        flex-direction: column;
        gap: 0;
    }
    
    .blog-sidebar-widget {
        padding: 20px;
    }
    
    .blog-single-post {
        padding: 24px;
        border-radius: 12px;
    }
    
    .blog-single-title {
        font-size: 28px;
    }
    
    .blog-single-content {
        font-size: 16px;
    }
    
    .blog-single-content h2 {
        font-size: 24px;
    }
    
    .blog-single-content h3 {
        font-size: 20px;
    }
    
    .blog-post-navigation {
        grid-template-columns: 1fr;
    }
    
    .blog-nav-next .blog-nav-link {
        flex-direction: row;
        text-align: left;
    }
    
    .blog-related-grid {
        grid-template-columns: 1fr;
    }
}

/* Блог: равные отступы на очень узких экранах, без лишних полей */
@media (max-width: 480px) {
    .blog-archive-page .container,
    .blog-archive-page > .container,
    .archive .blog-archive-page .container,
    .blog .blog-archive-page .container,
    .home .blog-archive-page .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Отдельные посты: убираем боковые поля на мобильных, контент на всю ширину */
@media (max-width: 767px) {
    body.single .blog-single-page .container,
    body.single .blog-single-page > .container,
    body.single-post .blog-single-page .container,
    body.single-post .blog-single-page > .container,
    body.single .blog-single-page .blog-single-post-wrapper,
    body.single-post .blog-single-page .blog-single-post-wrapper,
    body.single .site-content .ast-container,
    body.single-post .site-content .ast-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    body.single .blog-single-post,
    body.single-post .blog-single-post,
    .blog-single-page .blog-single-post {
        padding: 20px 16px !important;
        border-radius: 0;
    }
}

/* Контейнер блога по центру на мобильных, без сдвига влево/вправо */
@media (max-width: 991px) {
    .blog-archive-page .container,
    .blog-archive-page > .container {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   ФУТЕР САЙТА
   ============================================ */
.custom-footer,
footer.custom-footer,
section.custom-footer,
.elementor-section.custom-footer,
.elementor-widget-html .custom-footer,
.elementor-element.custom-footer {
    background: #1a2b4d !important;
    padding: 24px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: auto !important;
    box-sizing: border-box !important;
}

/* Полная ширина — перебиваем ограничения Elementor */
body .elementor-section.custom-footer,
body .elementor-element.custom-footer,
.elementor-location-single .elementor-section.custom-footer,
.elementor > .elementor-inner > .elementor-section.custom-footer,
body.home .elementor-section.custom-footer,
body.home .elementor-element.custom-footer {
    width: 100% !important;
    max-width: 100% !important;
}

.elementor-section.custom-footer .elementor-container,
.elementor-element.custom-footer .elementor-container {
    max-width: 100% !important;
}

.elementor-element.custom-footer > .e-con-inner,
.elementor-section.custom-footer > .elementor-container,
.elementor-section.custom-footer .elementor-row,
.elementor-element.custom-footer.e-con,
.elementor-element.custom-footer .e-con-inner,
.elementor-section.custom-footer > .elementor-container > .elementor-row > .elementor-column {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    height: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.elementor-element.custom-footer * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.elementor-element.custom-footer .footer-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.custom-footer .footer-container,
footer.custom-footer .footer-container,
section.custom-footer .footer-container,
.elementor-section.custom-footer .footer-container,
.elementor-element.custom-footer .footer-container,
.custom-footer .elementor-widget-container,
.elementor-element.custom-footer .elementor-widget-container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 40px !important;
    box-sizing: border-box !important;
    min-height: 0 !important;
    height: auto !important;
}

.custom-footer .footer-left,
footer.custom-footer .footer-left,
section.custom-footer .footer-left,
.elementor-section.custom-footer .footer-left {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.footer-title,
.custom-footer .footer-title,
footer.custom-footer .footer-title,
section.custom-footer .footer-title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0.2px !important;
}

.custom-footer .footer-center,
footer.custom-footer .footer-center,
section.custom-footer .footer-center,
.elementor-section.custom-footer .footer-center {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.custom-footer .footer-nav,
footer.custom-footer .footer-nav,
section.custom-footer .footer-nav,
.elementor-section.custom-footer .footer-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px 24px !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    white-space: nowrap !important;
    line-height: 1.3 !important;
}

.footer-nav-link:hover {
    color: #ffd700 !important;
}

.custom-footer .footer-right,
footer.custom-footer .footer-right,
section.custom-footer .footer-right,
.elementor-section.custom-footer .footer-right {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

/* Юридические ссылки футера — столбиком, одна под другой, по одной линии слева */
.custom-footer .footer-docs,
footer.custom-footer .footer-docs,
section.custom-footer .footer-docs,
.elementor-section.custom-footer .footer-docs {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 6px 0 !important;
    justify-content: center !important;
    align-items: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-doc-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    white-space: nowrap !important;
    line-height: 1.3 !important;
    text-align: left !important;
    display: block !important;
}

.footer-doc-link:hover {
    color: #ffd700 !important;
}

/* Адаптивность для футера */
@media (max-width: 1024px) {
    .custom-footer .footer-container,
    .elementor-element.custom-footer .footer-container,
    .footer-container {
        flex-direction: column !important;
        gap: 24px !important;
        align-items: flex-start !important;
        padding: 0 24px !important;
    }
    
    .footer-nav,
    .footer-docs {
        gap: 8px !important;
    }
}

@media (max-width: 768px) {
    .custom-footer,
    footer.custom-footer,
    section.custom-footer,
    .elementor-section.custom-footer {
        padding: 24px 0 !important;
    }
    
    .custom-footer .footer-container,
    .elementor-element.custom-footer .footer-container,
    .footer-container {
        padding: 0 20px !important;
        gap: 20px !important;
    }
    
    .footer-title {
        font-size: 16px !important;
    }
    
    .footer-nav-link {
        font-size: 15px !important;
    }
    
    .footer-doc-link {
        font-size: 14px !important;
    }
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   СТРАНИЦА БЛАГОДАРНОСТИ
   ============================================ */

/* Скрываем заголовок страницы на страницах благодарности */
body.page .entry-header,
body.page .ast-single-post-order,
body.page .entry-title,
body.page h1.entry-title,
body.page .site-content .entry-header,
body.page .site-content .entry-title,
body.page .site-content h1.entry-title,
body.page .ast-container .entry-header,
body.page .ast-container .entry-title,
body.page .ast-container h1.entry-title,
.thank-you-section ~ .entry-header,
.thank-you-section ~ .entry-title,
.thank-you-section ~ h1.entry-title {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

/* Дополнительно скрываем заголовок, если страница содержит thank-you-section */
body:has(.thank-you-section) .entry-header,
body:has(.thank-you-section) .entry-title,
body:has(.thank-you-section) h1.entry-title,
body:has(.thank-you-section) .ast-single-post-order {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

/* Страница «Спасибо за заявку»: убираем вторую шапку (Astra) и баннер — остаётся только .custom-header */
body:has(.thank-you-section) #masthead,
body:has(.thank-you-section) #ast-desktop-header,
body:has(.thank-you-section) #ast-mobile-header,
body:has(.thank-you-section) .ast-single-entry-banner {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    pointer-events: none !important;
}

body.page-id-502 #masthead,
body.page-id-502 #ast-desktop-header,
body.page-id-502 #ast-mobile-header,
body.page-id-502 .ast-single-entry-banner {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    pointer-events: none !important;
}

.thank-you-section,
body .thank-you-section,
.entry-content .thank-you-section {
    min-height: 60vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 60px 20px !important;
    text-align: center !important;
    background: #ffffff !important;
}

.thank-you-container,
body .thank-you-container,
.entry-content .thank-you-container {
    max-width: 600px !important;
    margin: 0 auto !important;
}

.thank-you-icon,
body .thank-you-icon,
.entry-content .thank-you-icon {
    font-size: 64px !important;
    color: #1a2b4d !important;
    margin-bottom: 24px !important;
    line-height: 1 !important;
}

.thank-you-title,
body .thank-you-title,
.entry-content .thank-you-title,
h1.thank-you-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1a2b4d !important;
    margin-bottom: 24px !important;
    line-height: 1.2 !important;
}

.thank-you-text,
body .thank-you-text,
.entry-content .thank-you-text,
p.thank-you-text {
    font-size: 18px !important;
    color: #4f5b7a !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

.thank-you-actions,
body .thank-you-actions,
.entry-content .thank-you-actions {
    margin-top: 40px !important;
}

.thank-you-actions .btn-primary,
body .thank-you-actions .btn-primary,
.entry-content .thank-you-actions .btn-primary {
    display: inline-block !important;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .thank-you-section,
    body .thank-you-section,
    .entry-content .thank-you-section {
        padding: 40px 20px !important;
        min-height: 50vh !important;
    }
    
    .thank-you-icon,
    body .thank-you-icon,
    .entry-content .thank-you-icon {
        font-size: 48px !important;
        margin-bottom: 20px !important;
    }
    
    .thank-you-title,
    body .thank-you-title,
    .entry-content .thank-you-title,
    h1.thank-you-title {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
    
    .thank-you-text,
    body .thank-you-text,
    .entry-content .thank-you-text,
    p.thank-you-text {
        font-size: 16px !important;
    }
    
    .thank-you-actions,
    body .thank-you-actions,
    .entry-content .thank-you-actions {
        margin-top: 32px !important;
    }
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   СТРАНИЦА ОТДЕЛЬНОЙ СТАТЬИ (single.php)
   ============================================ */

/* Фон страницы как на блоге */
.single .site-content,
.single .ast-container,
.single #content,
.single .content-area,
.single-post .site-content,
.single-post .ast-container,
.single-post #content,
.single-post .content-area,
body.single .site-content,
body.single .ast-container,
body.single #content,
body.single .content-area,
body.single-post .site-content,
body.single-post .ast-container,
body.single-post #content,
body.single-post .content-area,
body.single,
body.single-post,
.single body,
.single-post body {
    background: linear-gradient(135deg, #ecf2f4 0%, #dde8eb 100%) !important;
}

/* Контейнер статьи - белый фон, ширина увеличена на 25% */
.single .entry-content,
.single .post-content,
.single article,
.single-post .entry-content,
.single-post .post-content,
.single-post article,
body.single .entry-content,
body.single .post-content,
body.single article,
body.single-post .entry-content,
body.single-post .post-content,
body.single-post article {
    background: #ffffff !important;
    color: #1a2b4d !important;
    padding: 40px !important;
    max-width: 1125px !important;
    margin: 0 auto !important;
    border-radius: 12px;
}

/* Заголовок статьи */
.single .entry-title,
.single h1.entry-title,
.single-post .entry-title,
.single-post h1.entry-title,
body.single .entry-title,
body.single h1.entry-title,
body.single-post .entry-title,
body.single-post h1.entry-title {
    color: #1a2b4d !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

/* Текст статьи */
.single .entry-content p,
.single .entry-content li,
.single .entry-content span,
.single-post .entry-content p,
.single-post .entry-content li,
.single-post .entry-content span,
body.single .entry-content p,
body.single .entry-content li,
body.single .entry-content span,
body.single-post .entry-content p,
body.single-post .entry-content li,
body.single-post .entry-content span {
    color: #1a2b4d !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
}

/* Заголовки в статье */
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
body.single .entry-content h2,
body.single .entry-content h3,
body.single .entry-content h4,
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
    color: #1a2b4d !important;
}

/* Ссылки в статье */
.single .entry-content a,
.single-post .entry-content a,
body.single .entry-content a,
body.single-post .entry-content a {
    color: #f4a261 !important;
}

/* Мета-информация статьи */
.single .entry-meta,
.single .post-meta,
.single-post .entry-meta,
.single-post .post-meta,
body.single .entry-meta,
body.single .post-meta,
body.single-post .entry-meta,
body.single-post .post-meta {
    color: #6b7280 !important;
}

/* Боковая панель на странице поста */
.single .widget-area,
.single-post .widget-area,
body.single .widget-area,
body.single-post .widget-area {
    background: #ffffff !important;
}

/* Скрываем стандартную шапку WordPress на странице статьи */
.single .site-header,
.single header.site-header,
.single #masthead,
.single .ast-header-wrapper,
.single .main-header-bar-wrap,
.single .main-header-bar,
.single-post .site-header,
.single-post header.site-header,
.single-post #masthead,
.single-post .ast-header-wrapper,
.single-post .main-header-bar-wrap,
.single-post .main-header-bar,
body.single .site-header,
body.single header.site-header,
body.single #masthead,
body.single .ast-header-wrapper,
body.single .main-header-bar-wrap,
body.single .main-header-bar,
body.single-post .site-header,
body.single-post header.site-header,
body.single-post #masthead,
body.single-post .ast-header-wrapper,
body.single-post .main-header-bar-wrap,
body.single-post .main-header-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Убеждаемся, что кастомная шапка видна на странице статьи */
.single .custom-header,
.single-post .custom-header,
body.single .custom-header,
body.single-post .custom-header {
    display: block !important;
    visibility: visible !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
}

/* Кнопка "Вернуться к блогу" */
.single .back-to-blog,
.single-post .back-to-blog,
body.single .back-to-blog,
body.single-post .back-to-blog {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f4a261;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.single .back-to-blog:hover,
.single-post .back-to-blog:hover,
body.single .back-to-blog:hover,
body.single-post .back-to-blog:hover {
    background: #e8914d;
    transform: translateY(-2px);
}

/* Навигация между статьями */
.single .post-navigation,
.single-post .post-navigation,
body.single .post-navigation,
body.single-post .post-navigation,
.single .nav-links,
.single-post .nav-links,
body.single .nav-links,
body.single-post .nav-links {
    background: #ffffff !important;
    padding: 20px !important;
    margin-top: 40px !important;
}

.single .post-navigation a,
.single-post .post-navigation a,
body.single .post-navigation a,
body.single-post .post-navigation a,
.single .nav-links a,
.single-post .nav-links a,
body.single .nav-links a,
body.single-post .nav-links a {
    color: #1a2b4d !important;
}

/* Комментарии */
.single .comments-area,
.single-post .comments-area,
body.single .comments-area,
body.single-post .comments-area {
    background: #ffffff !important;
    padding: 40px !important;
    margin-top: 40px !important;
    border-radius: 12px;
}

.single .comments-area h2,
.single .comments-area h3,
.single-post .comments-area h2,
.single-post .comments-area h3,
body.single .comments-area h2,
body.single .comments-area h3,
body.single-post .comments-area h2,
body.single-post .comments-area h3 {
    color: #1a2b4d !important;
}


/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОГО ПОСТА
   ============================================ */

/* Кнопка "Назад к блогу" */
.single-post-back-link {
    margin-bottom: 32px;
}

.single-post-back-link a {
    display: inline-flex;
    align-items: center;
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.single-post-back-link a:hover {
    color: #f4a261;
}

.back-arrow {
    margin-right: 8px;
}

/* Заголовок статьи */
.single-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2b4d;
    margin: 0 0 24px 0;
}

/* Мета-информация */
.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.post-date,
.post-author,
.post-comments {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    margin-right: 8px;
}

.post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-category-tag:hover {
    background: #e0e0e0;
}

/* Изображение статьи */
.single-post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Контент статьи */
.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.single-post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 48px;
    margin-bottom: 24px;
}

.single-post-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b4d;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post-content h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1a2b4d;
    margin-top: 32px;
    margin-bottom: 16px;
}

.single-post-content p {
    margin-bottom: 24px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-content a {
    color: #f4a261;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post-content a:hover {
    color: #1a2b4d;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-post-content blockquote {
    border-left: 4px solid #f4a261;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #666;
    font-size: 20px;
}

/* Теги */
.single-post-tags {
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.tags-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.post-tag {
    color: #1a2b4d;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.post-tag:hover {
    background: #e0e0e0;
}

/* Навигация между статьями */
.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 200px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #e0e0e0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4d;
}

/* Похожие посты - дополнительные стили */
.related-posts-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b4d;
    margin-bottom: 32px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.related-post-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2a3f5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

/* Кнопка "Все статьи блога" */
.single-post-back-button {
    margin-top: 60px;
    text-align: center;
}

.back-to-blog-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #1a2b4d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-blog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Адаптивность для новых стилей */
@media (max-width: 767px) {
    .blog-single-post-wrapper {
        padding: 0 20px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .single-post-content h2 {
        font-size: 24px;
    }
    
    .single-post-content h3 {
        font-size: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   СТРАНИЦА БЛОГА (АРХИВ)
   ============================================ */

/* Скрываем стандартную шапку WordPress на странице блога */
.archive .site-header,
.archive header.site-header,
.archive #masthead,
.archive .ast-header-wrapper,
.archive .main-header-bar-wrap,
.archive .main-header-bar,
.blog .site-header,
.blog header.site-header,
.blog #masthead,
.blog .ast-header-wrapper,
.blog .main-header-bar-wrap,
.blog .main-header-bar,
.home .site-header,
.home header.site-header,
.home #masthead,
.home .ast-header-wrapper,
.home .main-header-bar-wrap,
.home .main-header-bar,
body.blog .site-header,
body.blog header.site-header,
body.blog #masthead,
body.blog .ast-header-wrapper,
body.blog .main-header-bar-wrap,
body.blog .main-header-bar,
body.home .site-header,
body.home header.site-header,
body.home #masthead,
body.home .ast-header-wrapper,
body.home .main-header-bar-wrap,
body.home .main-header-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
}

/* Ширина контейнера блога такая же как на главной */
.archive .blog-archive-page .container,
.archive .blog-archive-page > .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Отступ сверху для контента блога */
.archive .blog-archive-page,
.blog .blog-archive-page,
.home .blog-archive-page {
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Убеждаемся, что кастомная шапка видна на странице блога */
.blog .custom-header,
.home .custom-header,
body.blog .custom-header,
body.home .custom-header {
    display: block !important;
    visibility: visible !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
}

/* Убираем пустое пространство над шапкой на главной странице */
body.home,
.home body,
html body.home,
html.home body,
html.home,
body.home html {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.home .site-content,
body.home .ast-container,
body.home #content,
body.home .content-area,
.home .site-content,
.home .ast-container,
.home #content,
.home .content-area {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Убираем отступы у контейнеров на главной странице */
body.home .ast-separate-container,
.home .ast-separate-container,
body.home .site-main,
.home .site-main,
body.home #page,
.home #page,
body.home .site,
.home .site,
body.home #primary,
.home #primary {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Убираем отступы у кастомной шапки на главной странице */
body.home .custom-header,
.home .custom-header {
    margin-top: 0 !important;
    padding-top: 16px !important;
    position: relative !important;
    top: 0 !important;
}

/* Убираем все возможные отступы перед кастомной шапкой */
body.home .custom-header:before,
.home .custom-header:before,
body.home > *:first-child:not(.custom-header),
.home > *:first-child:not(.custom-header),
body.home #page > *:first-child:not(.custom-header),
.home #page > *:first-child:not(.custom-header) {
    margin-top: 0 !important;
    padding-top: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    display: none !important;
}

/* Убираем отступы у всех элементов до кастомной шапки */
body.home .site-header ~ .custom-header,
.home .site-header ~ .custom-header,
body.home #masthead ~ .custom-header,
.home #masthead ~ .custom-header {
    margin-top: 0 !important;
}

/* Убираем отступы у skip-link и других элементов */
body.home .skip-link,
.home .skip-link,
body.home .screen-reader-text,
.home .screen-reader-text {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Убираем отступы у всех элементов, которые могут быть перед шапкой */
body.home #page > *:first-child,
.home #page > *:first-child,
body.home .site > *:first-child,
.home .site > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Убираем отступы у контента, который может быть перед шапкой */
body.home .entry-content:first-child,
.home .entry-content:first-child,
body.home .entry-header:first-child,
.home .entry-header:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Убираем все возможные отступы перед кастомной шапкой */
body.home .custom-header:before,
.home .custom-header:before,
body.home > *:first-child:not(.custom-header),
.home > *:first-child:not(.custom-header),
body.home #page > *:first-child:not(.custom-header),
.home #page > *:first-child:not(.custom-header) {
    margin-top: 0 !important;
    padding-top: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    display: none !important;
}

/* Убираем отступы у всех элементов до кастомной шапки */
body.home .site-header ~ .custom-header,
.home .site-header ~ .custom-header,
body.home #masthead ~ .custom-header,
.home #masthead ~ .custom-header {
    margin-top: 0 !important;
}

/* Убираем отступы у skip-link и других элементов */
body.home .skip-link,
.home .skip-link,
body.home .screen-reader-text,
.home .screen-reader-text {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@media (max-width: 768px) {
    .archive .blog-archive-page .container,
    .archive .blog-archive-page > .container,
    .blog .blog-archive-page .container,
    .blog .blog-archive-page > .container,
    .home .blog-archive-page .container,
    .home .blog-archive-page > .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .archive .blog-archive-page,
    .blog .blog-archive-page,
    .home .blog-archive-page {
        padding-top: 20px;
        padding-bottom: 40px;
    }
}

/* ============================================
   КОМПЛЕКСНАЯ АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ И ПЛАНШЕТОВ
   ============================================ */

/* Базовые стили для предотвращения горизонтальной прокрутки */
html {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative !important;
}

* {
    box-sizing: border-box !important;
}

/* max-width: 100% только для мобильных, чтобы не ломать десктоп */
@media (max-width: 991px) {
    * {
        max-width: 100% !important;
    }
}

/* Адаптивность для шапки - МОБИЛЬНЫЕ (до 767px) */
@media (max-width: 767px) {
    .custom-header {
        padding: 8px 0 !important;
        overflow-x: hidden !important;
    }
    
    .header-container {
        flex-direction: column !important;
        gap: 8px !important;
        padding: 0 16px !important;
    }
    
    .header-site-title,
    .custom-header .header-site-title,
    .header-left .header-site-title {
        font-size: 13px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        text-align: center !important;
        line-height: 1.2 !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .header-left {
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    /* Меню и кнопка Telegram в один ряд */
    .header-menu-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        margin-top: 0 !important;
    }
    
    .header-menu {
        flex-direction: row !important;
        gap: 8px !important;
        width: auto !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
    }
    
    .header-menu-link {
        font-size: 13px !important;
        width: auto !important;
        text-align: center !important;
        padding: 6px 10px !important;
        white-space: nowrap !important;
    }
    
    .header-right {
        width: auto !important;
        margin: 0 !important;
    }
    
    .header-telegram-btn {
        width: auto !important;
        padding: 6px 12px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }
    
    /* Группируем меню и кнопку Telegram вместе в одну строку */
    .header-container {
        align-items: center !important;
        gap: 6px !important;
    }
    
    /* Универсальные стили для Elementor версии шапки на главной */
    .elementor-section:has(.header-container),
    .elementor-section:has(.header-menu),
    .elementor-section:has(a[href*="t.me"]),
    .elementor-widget-heading:has(a[href*="t.me"]),
    .elementor-widget-nav-menu {
        padding: 8px 0 !important;
        background: #1a2b4d !important;
    }
    
    .elementor-column:has(.header-container),
    .elementor-column:has(.header-menu),
    .elementor-widget-container:has(.header-container) {
        padding: 0 16px !important;
        max-width: 100% !important;
    }
    
    /* Универсальные стили для всех элементов шапки в Elementor */
    .elementor-heading-title:has(a[href="/"]),
    .elementor-widget-heading .elementor-heading-title:first-child {
        font-size: 13px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        color: #ffffff !important;
        margin-bottom: 0 !important;
    }
    
    .elementor-menu-toggle,
    .elementor-widget-nav-menu a,
    .elementor-widget-nav-menu .menu-item a {
        font-size: 13px !important;
        padding: 6px 10px !important;
        white-space: nowrap !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .elementor-heading-title a[href*="t.me"],
    .elementor-button-link[href*="t.me"],
    a[href*="t.me"].elementor-button {
        padding: 6px 12px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
        background: #ffd700 !important;
        color: #000000 !important;
        border-radius: 4px !important;
    }
}

/* Адаптивность для шапки - ПЛАНШЕТЫ (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .custom-header {
        padding: 14px 0 !important;
    }
    
    .header-container {
        padding: 0 24px !important;
        gap: 24px !important;
    }
    
    .header-site-title {
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .header-menu {
        gap: 20px !important;
    }
    
    .header-menu-link {
        font-size: 15px !important;
    }
    
    .header-telegram-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

/* Адаптивность для заголовков и текста - МОБИЛЬНЫЕ */
@media (max-width: 767px) {
    /* Общие стили для заголовков - убираем автоматические переносы */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
        line-height: 1.3 !important;
    }
    
    /* H1 - основной заголовок */
    h1,
    .hero-title,
    h1.hero-title,
    .hero-section h1,
    .hero-section .hero-title,
    body .hero-section h1,
    body .hero-section .hero-title,
    .elementor-heading-title.elementor-size-xxl,
    h1.elementor-heading-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
        /* Улучшенный перенос - только между словами, не внутри */
        word-break: normal !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        hyphens: none !important;
        letter-spacing: -0.5px !important;
        white-space: normal !important;
    }
    
    /* H2 - подзаголовки */
    h2,
    .landing-h2,
    h2.elementor-heading-title,
    .elementor-heading-title.elementor-size-xl {
        font-size: 22px !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
    }
    
    /* H3 - третий уровень */
    h3,
    h3.elementor-heading-title,
    .elementor-heading-title.elementor-size-large {
        font-size: 18px !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
    }
    
    /* H4 и меньше */
    h4, h5, h6 {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
    
    /* Обычный текст */
    p, span, div, li {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
    
    /* Контейнеры */
    .container,
    .ast-container,
    .elementor-container,
    .elementor-section,
    .elementor-section-boxed,
    .elementor-column,
    .elementor-widget {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* Главная: без полей на мобильных — секции на всю ширину */
    body.home .container,
    body.home .ast-container,
    body.home .elementor-section,
    body.home .elementor-section-boxed,
    body.home .elementor-container,
    body.home .elementor-column,
    body.home .elementor-widget-wrap,
    body.home .elementor-element {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    body.home .elementor-section-boxed > .elementor-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Текст и контент внутри виджетов — небольшой отступ для читаемости */
    body.home .elementor-widget-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    
    /* Hero секция - исправляем фиксированные ширины */
    .hero-section,
    .hero-container,
    .hero-content,
    .hero-title,
    .hero-subtitle,
    body .hero-section,
    body .hero-container,
    body .hero-content,
    .elementor .hero-section,
    .elementor .hero-container,
    .elementor .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    body.home .hero-section,
    body.home .hero-container,
    body.home .hero-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Убираем фиксированные ширины из inline стилей */
    [style*="width"] {
        max-width: 100% !important;
    }
    
    /* Исправляем все возможные переполнения */
    * {
        max-width: 100% !important;
    }
    
    /* Но возвращаем нормальную ширину для body и html */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Карточки кейсов */
    .case-card-new {
        flex-direction: column !important;
        margin: 0 16px !important;
    }
    
    body.home .case-card-new {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .case-card-content-wrapper {
        width: 100% !important;
        padding: 24px 20px !important;
    }
    
    body.home .case-card-content-wrapper {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    
    .case-card-image-wrapper {
        width: 100% !important;
        height: 200px !important;
    }
    
    .cases-swiper {
        padding: 0 16px !important;
    }
    
    body.home .cases-swiper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .cases-swiper .swiper-slide {
        width: 100% !important;
    }
    
    /* Блог карточки на главной */
    .blog-posts-wrapper,
    .blog-posts-grid {
        padding: 0 16px !important;
        gap: 24px !important;
    }
    
    body.home .blog-posts-wrapper,
    body.home .blog-posts-grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .blog-card {
        width: 100% !important;
    }
    
    /* Дополнительные исправления для Elementor заголовков */
    .elementor-heading-title {
        font-size: inherit !important;
        line-height: inherit !important;
        hyphens: none !important;
    }
    
    /* Убираем слишком маленькие размеры для длинных заголовков */
    .elementor-heading-title.elementor-size-small,
    .elementor-heading-title.elementor-size-medium {
        font-size: 16px !important;
    }
    
    /* Улучшаем читаемость длинных заголовков */
    .hero-section h1,
    .hero-section .hero-title,
    body .hero-section h1,
    body .hero-section .hero-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
        letter-spacing: -0.5px !important;
        hyphens: none !important;
        /* Улучшенный перенос - только между словами */
        word-break: normal !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }
}

/* Дополнительные правила для очень узких экранов (меньше 400px) */
@media (max-width: 399px) {
    .hero-title,
    .hero-section h1,
    .hero-section .hero-title,
    body .hero-section h1,
    body .hero-section .hero-title,
    .hero-content h1,
    .hero-content .hero-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
        letter-spacing: -0.2px !important;
        /* Более мягкий перенос для очень узких экранов */
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
        -webkit-hyphens: auto !important;
        -moz-hyphens: auto !important;
        /* Уменьшаем отступы */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Уменьшаем padding контейнера для узких экранов */
    .hero-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    .hero-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Правила для маленьких экранов (400px - 480px) */
@media (min-width: 400px) and (max-width: 480px) {
    .hero-title,
    .hero-section h1,
    .hero-section .hero-title,
    body .hero-section h1,
    body .hero-section .hero-title {
        font-size: 24px !important;
        line-height: 1.28 !important;
        letter-spacing: -0.3px !important;
    }
}

/* Адаптивность для заголовков и текста - ПЛАНШЕТЫ */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title,
    .elementor-heading-title,
    h1.elementor-heading-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
    
    .landing-h2,
    h2.elementor-heading-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    
    .container,
    .ast-container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    
    .case-card-new {
        margin: 0 24px !important;
    }
    
    .blog-posts-wrapper,
    .blog-posts-grid {
        padding: 0 24px !important;
    }
}

/* Дополнительные исправления для Elementor */
@media (max-width: 767px) {
    .elementor-section,
    .elementor-container,
    .elementor-column,
    .elementor-widget,
    .elementor-section-boxed,
    .elementor-column-wrap {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    
    .elementor-heading-title,
    .elementor-heading-title * {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Исправляем все возможные переполнения */
    .elementor-element,
    .elementor-widget-wrap,
    .elementor-widget-container {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Убираем фиксированные ширины из всех Elementor элементов */
    .elementor-section[style*="width"],
    .elementor-container[style*="width"],
    .elementor-column[style*="width"] {
        max-width: 100% !important;
        width: 100% !important;
    }
}

