/* === Hozent Design System v4.0 | "Interactive" (Complete) === */

/* --- 1. Глобальные переменные и база --- */
:root {
    --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    --font-logo: 'Manrope', sans-serif;
    --text-color: #1D2D35;
    --text-secondary: #5A6D76;
    --link-color: #FF6B00;
    --background-color: #F5F7FA;
    --content-background: #ffffff;
    --border-color: #e9ecef;
    --brand-color: #111;
    --radius: 16px;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Скрытие скроллбара - глобально для всего сайта */
::-webkit-scrollbar { 
    display: none !important; 
    width: 0 !important;
    height: 0 !important;
}
* {
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE и Edge */
}
html { 
    scrollbar-width: none !important; 
    -ms-overflow-style: none !important; 
}
body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Стили для логотипа */
.logo-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.logo-icon--lg {
    width: 52px;
    height: 52px;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }

/* --- 2. Сетка и сайдбары --- */
.site-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 820px) 320px;
    gap: 2.5rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    align-items: start;
}

/* Сайдбары остаются на месте при прокрутке центрального контента */
.sidebar-left, 
.sidebar-right {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    align-self: start;
}

/* Центральный контент прокручивается обычным образом */
.main-content {
    min-height: 100vh;
}

.sidebar-sticky-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Скрытие скроллбара */
.sidebar-left::-webkit-scrollbar,
.sidebar-right::-webkit-scrollbar,
.main-content::-webkit-scrollbar,
.sidebar-sticky-content::-webkit-scrollbar,
.sidebar-left .sidebar-sticky-content::-webkit-scrollbar,
.sidebar-right .sidebar-sticky-content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* --- 3. Мобильный хедер и меню --- */
.mobile-header {
    display: none; /* Скрыт на десктопе */
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--content-background);
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.mobile-logo {
    display: flex; align-items: center; gap: 0.6rem;
    text-decoration: none;
}
.mobile-logo .logo-icon {
    width: 36px; 
    height: 36px; 
    border-radius: 6px; 
    display: block;
    transition: transform 0.3s ease;
}

/* Emoji-based logo */
.logo-emoji {
    display: inline-block;
    font-size: 2rem; /* mobile default */
    line-height: 1;
    filter: saturate(1.1);
}
.logo-emoji--md { font-size: 2rem; }
.logo-emoji--lg { font-size: 3rem; }

/* Унифицированный стиль логотипа для всех страниц */
.mobile-logo .logo-name {
    font-family: var(--font-logo); 
    font-size: 1.8rem;
    font-weight: 800; 
    color: var(--text-color);
    line-height: 1.1;
}

.mobile-logo .logo-icon:hover {
    transform: scale(1.05);
}
.mobile-menu-button {
    background: none; border: none; padding: 0;
    width: 30px; height: 24px;
    display: flex; flex-direction: column; justify-content: space-between;
    cursor: pointer;
}
.mobile-menu-button .line {
    display: block; width: 100%; height: 3px;
    background-color: var(--text-color); border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-button.is-active .line:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.mobile-menu-button.is-active .line:nth-child(2) { opacity: 0; }
.mobile-menu-button.is-active .line:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.mobile-menu-panel {
    position: fixed;
    top: 65px; /* Высота мобильного хедера */
    left: 0; right: 0; bottom: 0;
    background-color: var(--background-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    overflow-y: auto;
    padding: 1.5rem;
    /* Скрытие скроллбара в мобильном меню */
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE и Edge */
}

.mobile-menu-panel::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
    width: 0 !important;
    height: 0 !important;
}
.mobile-menu-panel.is-open { transform: translateX(0); }
body.no-scroll { overflow: hidden; }

/* Стили для навигации в мобильном меню */
.mobile-menu-panel .site-nav {
    margin-bottom: 2rem;
}

.mobile-menu-panel .site-nav .block-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: none;
}

.mobile-menu-panel .site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-panel .site-nav li {
    margin-bottom: 0.5rem;
}

.mobile-menu-panel .site-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.mobile-menu-panel .site-nav a:hover {
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--link-color);
}

.mobile-menu-panel .site-nav a.active {
    background-color: rgba(255, 107, 0, 0.15);
    color: var(--link-color);
    font-weight: 600;
}

.mobile-menu-panel .site-nav a span:first-child {
    flex: 1;
}

.mobile-menu-panel .site-nav .category-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.mobile-menu-panel .site-nav a:hover .category-count,
.mobile-menu-panel .site-nav a.active .category-count {
    background-color: rgba(255, 107, 0, 0.2);
    color: var(--link-color);
}

/* --- 4. Оригинальные стили из твоего файла --- */
.site-header-v3 { margin-bottom: 2rem; }
.quick-nav-v3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: none;
}

.quick-nav-link-simple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: var(--content-background);
    flex: 1;
    max-width: 160px;
    white-space: nowrap;
}

.quick-nav-link-simple:hover {
    color: var(--primary);
    background: rgba(255, 107, 0, 0.05);
    transform: translateY(-1px);
}

.quick-nav-divider {
    display: none;
}

.quick-nav-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--content-background);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.quick-nav-link:hover {
    background: var(--background-color);
    border-color: var(--link-color);
    color: var(--link-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.quick-nav-icon {
    font-size: 1.2rem;
}

.site-logo-v3 { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem;
    text-decoration: none; 
    margin-bottom: 1.5rem; 
}
.logo-icon { 
    flex-shrink: 0; 
    width: 52px; 
    height: 52px; 
    border-radius: var(--radius); 
    display: block;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05);
}
.logo-text { 
    display: flex; 
    flex-direction: column; 
    gap: 0.2rem;
}
.logo-name { 
    font-family: var(--font-logo) !important; 
    font-size: 1.8rem; 
    font-weight: 800 !important; 
    color: var(--text-color); 
    line-height: 1.1; 
    letter-spacing: -0.02em;
}

.logo-slogan { 
    font-size: 0.9rem; 
    color: var(--text-secondary); 
    line-height: 1.2; 
    font-weight: 500 !important;
}
.site-stats-v3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    perspective: 1000px;
}

.stat-item-v3 {
    position: relative;
    background: var(--content-background);
    border-radius: var(--radius);
    padding: 16px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.stat-item-v3:nth-child(1) { animation-delay: 0.1s; }
.stat-item-v3:nth-child(2) { animation-delay: 0.2s; }
.stat-item-v3:nth-child(3) { animation-delay: 0.3s; }
.stat-item-v3:nth-child(4) { animation-delay: 0.4s; }


.stat-item-v3 .stat-value {
    font-family: var(--font-logo);
    font-weight: 800 !important;
    font-size: 1.3rem;
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #1D2D35 0%, #5A6D76 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item-v3 .stat-label {
    font-size: 0.45rem;
    font-weight: 700 !important;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Анимация появления при загрузке */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .site-stats-v3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-item-v3 .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-item-v3 {
        padding: 14px 10px;
    }
}

@media (max-width: 480px) {
    .site-stats-v3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .stat-item-v3 .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-item-v3 {
        padding: 12px 8px;
    }
    
    .stat-item-v3 .stat-label {
        font-size: 0.65rem;
    }
}

.sidebar-block { 
    margin-bottom: 2rem; 
    padding: 1.5rem; 
    background: var(--content-background); 
    border-radius: var(--radius); 
    /* border: 1px solid var(--border-color); */
}
.sidebar-block.related-categories {
    padding: 32px;
    border: 1px solid rgba(233, 236, 239, 0.7);
}
/* Общие стили для всех sidebar-block (кроме related-categories) */
.sidebar-block:not(.related-categories) {
    /* padding: 32px; */
    /* border: 1px solid rgba(233, 236, 239, 0.7); */
}
/* Стили заголовка для блока категорий */
.sidebar-block.related-categories .block-title {
    font-family: var(--font-logo);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-color);
    text-align: center;
    position: relative;
    padding-bottom: 12px;
    margin: 0 0 24px 0;
    padding: 0 0 12px 0;
    border-bottom: none;
}
.sidebar-block.related-categories .block-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Стили заголовка для блока тегов (общие для всех sidebar-block) */
.sidebar-block .block-title {
    font-family: var(--font-logo);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-color);
    text-align: center;
    position: relative;
    padding-bottom: 12px;
    margin: 0 0 24px 0;
    padding: 0 0 12px 0;
    border-bottom: none;
}

.sidebar-block .block-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
.site-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color); font-size: 0.85rem; }
.site-footer .footer-title { font-size: 0.9rem; font-weight: 600; color: var(--text-color); margin: 1rem 0 0.5rem 0; }
.site-footer .footer-title:first-child { margin-top: 0; }
.site-footer a { display: block; color: var(--text-secondary); text-decoration: none; padding: 0.3rem 0; transition: color 0.2s; }
.site-footer a:hover { color: var(--link-color); }
.site-footer .copyright { display: block; margin-top: 1.5rem; color: var(--text-secondary); font-size: 0.8rem; }
.main-content { padding: 0; }
.breadcrumb { 
    font-size: 0.9rem; 
    padding: 0 0 2rem 0; 
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.breadcrumb .divider { 
    color: var(--link-color); 
    font-weight: 600;
    font-size: 0.8rem;
}
.breadcrumb a { 
    color: var(--text-secondary); 
    text-decoration: none; 
    transition: all 0.2s ease;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    background: rgba(255, 107, 0, 0.05);
}
.breadcrumb a:hover { 
    color: var(--link-color); 
    background: rgba(255, 107, 0, 0.1);
    transform: translateY(-1px);
}
.breadcrumb .current-page { 
    font-weight: 600; 
    color: var(--text-color);
    background: rgba(255, 107, 0, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    border-left: 3px solid var(--link-color);
}
.article-meta { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 1rem; 
    font-size: 0.9rem; 
    color: var(--text-secondary); 
    margin: 2rem 0; 
    padding: 1.5rem; 
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.status-verified {
    color: #10b981 !important;
    font-weight: 700;
}

.status-verified .verified-text {
    border-bottom: 1px dashed #10b981;
}
.article-meta .meta-item { 
    display: flex; 
    align-items: center; 
    padding: 0.8rem;
    background: var(--content-background);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
}
.article-meta .meta-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.author-meta .author-avatar-small { 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    margin-right: 0.75rem; 
    object-fit: cover;
}
.author-meta .author-name-link { 
    font-weight: 600; 
    color: var(--text-color); 
    text-decoration: none; 
    transition: color 0.2s ease;
}
.author-meta .author-name-link:hover { 
    color: var(--link-color); 
}
.meta-item:not(:last-child)::after { 
    display: none; 
}
.table-of-contents { 
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius); 
    padding: 2rem 2.5rem; 
    margin: 2.5rem 0; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
}
.toc-main > li > a {
    color: #0c0c0c !important;
    font-weight: 600 !important;
}
.toc-sublist a {
    color: #3f3f3f !important;
    font-weight: 500 !important;
}
.toc-title { 
    font-size: 1.3rem; 
    font-weight: 700; 
    margin: 0 0 1.5rem 0; 
    color: var(--link-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.table-of-contents ol { margin: 0; padding-left: 1.5rem; }
.table-of-contents li { 
    margin-bottom: 0.8rem; 
    position: relative;
    transition: transform 0.2s ease;
}
.table-of-contents li:hover {
    transform: translateX(5px);
}
.table-of-contents a { 
    text-decoration: none; 
    font-weight: 500; 
    color: var(--text-color); 
    transition: all 0.2s ease;
    display: block;
    padding: 0.3rem 0;
}
.table-of-contents a:hover { 
    color: var(--link-color); 
    font-weight: 600;
}
.table-of-contents a.active {
    color: var(--link-color);
    font-weight: 700;
    background: rgba(255, 107, 0, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    border-left: 3px solid var(--link-color);
}
.article-body { 
    background: var(--content-background); 
    padding: 3rem 3.5rem; 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
    max-width: 100%;
    word-wrap: break-word;
}
.article-tags { 
    text-align: center; 
    margin-bottom: 2.5rem; 
    padding: 1.5rem; 
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.article-tags .tag { 
    display: inline-block; 
    padding: 0.6rem 1.2rem; 
    margin: 0.4rem; 
    font-size: 0.85rem; 
    font-weight: 600; 
    border-radius: 25px; 
    text-decoration: none; 
    border: 2px solid var(--border-color); 
    color: #495057; 
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.article-tags .tag::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}
.article-tags .tag:hover::before {
    left: 100%;
}
.article-tags .tag:hover { 
    transform: translateY(-3px) scale(1.05); 
    box-shadow: 0 6px 20px rgba(0,0,0,0.15); 
}
.article-tags .tag-brand { border-color: #0d6efd; color: #0d6efd; background-color: rgba(13, 110, 253, 0.05); }
.article-tags .tag-problem { border-color: #fd7e14; color: #fd7e14; background-color: rgba(253, 126, 20, 0.05); }
.article-tags .tag-category { border-color: #6f42c1; color: #6f42c1; background-color: rgba(111, 66, 193, 0.05); }
.article-tags .tag-feature { border-color: #198754; color: #198754; background-color: rgba(25, 135, 84, 0.05); }
.article-main-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
}
.article-main-image-wrapper img.vs-preview-main {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    display: block;
}
/* === СТИЛИ ДЛЯ ТАБЛИЦ В .article-body === */

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    position: relative; /* Добавлено для позиционирования индикатора */
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    background: var(--content-background);
    display: table;
    table-layout: auto;
    margin: 0;
    border: none; /* Убираем, так как бордер теперь у .table-responsive */
}

/* Индикатор прокрутки — стрелка в правом верхнем углу */
.table-responsive::after {
    content: "→";
    position: absolute;
    top: 12px;
    right: 12px;
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--link-color);
    opacity: 0.8;
    z-index: 30;
    pointer-events: none;
    font-family: system-ui, sans-serif;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media (min-width: 769px) {
    .table-responsive::after {
        display: none; /* Скрываем стрелку на десктопах */
    }
}

.article-body table thead {
    background: linear-gradient(135deg, #f9fafb 0%, #f0f2f5 100%);
}

.article-body table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.875rem;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(4px);
    background: inherit;
}

.article-body table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

.article-body table tbody tr:last-child td {
    border-bottom: none;
}

.article-body table tbody tr {
    transition: background-color 0.25s ease;
}

.article-body table tbody tr:hover {
    background-color: rgba(255, 107, 0, 0.04);
}

/* Статусы */
.article-body .status--confirmed,
.article-body td.status--confirmed {
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.article-body .status--confirmed::before {
    content: "●";
    color: #10b981;
    font-size: 0.75rem;
}

.article-body .status--unconfirmed,
.article-body td.status--unconfirmed {
    color: #ef4444;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.article-body .status--unconfirmed::before {
    content: "●";
    color: #ef4444;
    font-size: 0.75rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .article-body table {
        font-size: 0.875rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    .article-body table th,
    .article-body table td {
        padding: 0.9rem 1.2rem;
    }
    .article-body table th {
        font-size: 0.8rem;
    }
}

/* Красивый скроллбар (только WebKit) */
.article-body table::-webkit-scrollbar {
    height: 8px;
}
.article-body table::-webkit-scrollbar-track {
    background: transparent;
}
.article-body table::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}
.article-body table::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.author-box { 
    display: flex; 
    align-items: flex-start; 
    gap: 2rem; 
    margin-top: 3rem; 
    padding: 2rem; 
    background: #ffffff;
    border-radius: var(--radius);
    border: 2px dashed var(--border-color);
    box-shadow: none;
    position: relative;
}
.author-avatar { 
    width: 90px; 
    height: 90px; 
    border-radius: 50%; 
    object-fit: cover; 
    flex-shrink: 0;
}
.author-info .author-label { 
    font-size: 0.8rem; 
    color: var(--link-color); 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.author-info .author-name { 
    margin: 0.5rem 0 0.8rem 0; 
    font-size: 1.4rem; 
    font-weight: 700; 
    color: var(--text-color);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.author-info .author-bio { 
    margin: 0 0 1.5rem 0; 
    font-size: 1rem; 
    color: var(--text-secondary); 
    line-height: 1.7;
}
.author-info .author-more-link { 
    font-weight: 600; 
    text-decoration: none; 
    color: var(--link-color);
    padding: 0.6rem 1.2rem;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 25px;
    border: 2px solid var(--link-color);
    transition: all 0.3s ease;
    display: inline-block;
}
.author-info .author-more-link:hover { 
    background: var(--link-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}
.article-body .faq-item { border-bottom: 1px solid var(--border-color); margin-bottom: 0.5rem; }
.article-body .faq-item:last-child { border-bottom: none; }
.article-body .faq-question { font-size: 1.1rem; font-weight: 600; padding: 1.2rem 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: color 0.2s; }
.article-body .faq-question:hover { color: var(--link-color); }
.article-body .faq-question::-webkit-details-marker { display: none; }
/* FAQ icon removed */
.article-body .faq-item[open] > .faq-question { color: var(--link-color); }
.article-body .faq-answer { padding: 0 0 1.5rem 0; font-size: 1rem; color: var(--text-secondary); }
.article-body .faq-answer p { margin: 0; }

.key-figures-block { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; background-color: var(--background-color); border: 1px solid var(--border-color); padding: 1.5rem; border-radius: var(--radius); margin: 2rem 0; }

/* Стили для блока key-points */
.key-points {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.key-points .point {
    flex: 1;
    min-width: 150px;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.2s ease;
}

.key-points .point:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--link-color);
}

.key-points .point-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3b82f6;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Стили для блока экспертного мнения */
.expert-opinion {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    border: 2px solid #f59e0b;
    border-radius: var(--radius);
    padding: 2rem;
    margin: 2.5rem 0;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
    position: relative;
    overflow: hidden;
}

.expert-opinion::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706, #b45309);
}

.expert-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.expert-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.expert-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #92400e;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.expert-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.expert-sources .source {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.expert-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
}

.expert-content strong {
    color: #92400e;
    font-weight: 700;
}

/* Адаптивность для экспертного мнения */
@media (max-width: 768px) {
    .expert-opinion {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .expert-header h3 {
        font-size: 1.2rem;
    }
    
    .expert-icon {
        font-size: 1.5rem;
    }
    
    .expert-sources {
        gap: 0.3rem;
    }
    
    .expert-sources .source {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Стили для анализа мнений в правом сайдбаре - УДАЛЕНЫ */

/* Альтернативный способ через JavaScript классы - УДАЛЕНЫ */

/* Стили для блока "Вердикт редакции" */
.article-body h2:contains("Вердикт редакции"),
.article-body h3:contains("Вердикт редакции"),
.article-body h4:contains("Вердикт редакции") {
    position: relative;
    padding-left: 2.5rem;
}

.article-body h2:contains("Вердикт редакции")::before,
.article-body h3:contains("Вердикт редакции")::before,
.article-body h4:contains("Вердикт редакции")::before {
    content: "⚖️";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.0em;
    margin-right: 0.5rem;
}

/* Альтернативный способ через атрибут */
.article-body h2[data-verdict],
.article-body h3[data-verdict],
.article-body h4[data-verdict] {
    position: relative;
    padding-left: 2.5rem;
}

.article-body h2[data-verdict]::before,
.article-body h3[data-verdict]::before,
.article-body h4[data-verdict]::before {
    content: "⚖️";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.0em;
    margin-right: 0.5rem;
}
.figure-item { text-align: center; }
.figure-item strong { display: block; font-size: 1.5rem; font-weight: 700; color: var(--link-color); line-height: 1.1; }
.figure-item span { font-size: 0.9rem; color: var(--text-secondary); }
.process-block { margin: 2rem 0; }
.process-step { display: flex; align-items: flex-start; gap: 1rem; position: relative; padding-left: 35px; padding-bottom: 2rem; }
.process-step:last-child { padding-bottom: 0; }
.process-step span { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background-color: var(--link-color); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; position: absolute; left: -20px; top: 0; border: 4px solid var(--content-background); }
.process-step p { margin: 0.5rem 0 0 1rem; font-weight: 500; }
.process-step::before { content: ''; position: absolute; left: 0; top: 20px; bottom: -20px; width: 2px; background-color: var(--border-color); }
.process-step:last-child::before { display: none; }
.article-body blockquote,
.article-body .review-card,
.article-body .kucherov-comment {
    margin: 1.5rem 0;
    padding: 18px 20px 18px 50px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.article-body blockquote::before,
.article-body .review-card::before,
.article-body .kucherov-comment::before {
    content: '“';
    position: absolute;
    left: 15px;
    top: 10px;
    font-size: 42px;
    color: #FF8C00;
    opacity: 0.5;
    font-family: Georgia, serif;
    line-height: 1;
}

.article-body blockquote p,
.article-body .review-card,
.article-body .kucherov-comment {
    position: relative;
    z-index: 1;
}

.article-body blockquote p {
    margin-bottom: 0.75rem;
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

.article-body .review-card strong,
.article-body .kucherov-comment strong {
    font-style: normal;
    color: #1e293b;
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.article-body blockquote footer {
    margin-top: 1.25rem;
    font-style: normal;
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-body blockquote footer::before {
    content: '—';
    color: #FF8C00;
}
.pros-cons-block { display: flex; gap: 2rem; margin: 2.5rem 0; padding-top: 1.5rem; border-top: 1px solid var(--border-color); }
.pros, .cons { flex: 1; min-width: 0; }
.pros-cons-block h4 { margin: 0 0 1rem 0; font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.pros h4 { color: #198754; }
.cons h4 { color: #dc3545; }
.pros h4::before { content: '✔'; font-size: 1.2rem; line-height: 1; }
.cons h4::before { content: '✖'; font-size: 1.2rem; line-height: 1; }
.pros-cons-block ul { margin: 0; padding-left: 1.2rem; font-size: 0.95rem; color: var(--text-secondary); }
.pros-cons-block li { margin-bottom: 0.75rem; }
.review-analysis-block .block-title { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.review-analysis-block .review-source { font-size: 0.8rem; font-weight: 400; color: var(--text-secondary); }
.analysis-summary { font-size: 0.9rem; color: var(--text-color); margin-bottom: 1.25rem; line-height: 1.5; background-color: var(--background-color); padding: 0.75rem 1rem; border-radius: 6px; }
.analysis-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.analysis-point { display: flex; align-items: flex-start; gap: 1rem; }
.analysis-point .point-icon { font-size: 1.25rem; line-height: 1.5; margin-top: 1px; }
.analysis-point .point-text { font-size: 0.9rem; line-height: 1.5; color: var(--text-secondary); }
.analysis-point .point-text strong { color: var(--text-color); display: block; margin-bottom: 3px; font-weight: 600; }
.analysis-verdict { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border-color); font-size: 0.9rem; line-height: 1.6; color: var(--text-color); }
.analysis-verdict strong { color: var(--link-color); font-weight: 600; }
.callout { margin: 1.5rem 0; padding: 1.5rem; border-radius: var(--radius); border-left-width: 5px; border-left-style: solid; }
.callout p { margin: 0; }
.callout p:not(:first-child) { margin-top: 0.5rem; }
.callout strong { font-size: 1.1em; }
.callout-info { background-color: #f0f8ff; border-left-color: #007bff; }
.callout-warning { background-color: #fffbf0; border-left-color: #ffc107; }
.callout-final { background-color: #e8f5e9; border-left: none; text-align: center; padding: 1.5rem; }
.callout-final h3 { margin: 0 0 0.5rem 0; font-size: 1.4rem; color: var(--text-color); }
.callout-final .cta-button { display: inline-block; background-color: #4caf50; color: #fff; padding: 0.8rem 1.5rem; text-decoration: none; border-radius: 6px; font-weight: 700; margin: 1rem 0; transition: background-color 0.2s; }
.callout-final .cta-button:hover { background-color: #45a049; }
.callout-final .cta-meta { font-size: 0.85rem; color: var(--text-secondary); }
.article-thumbnail img { width: 100%; height: auto; border-radius: 8px; display: block; }

/* --- Адаптивность --- */
@media (max-width: 1200px) {
    .site-grid { grid-template-columns: 220px 1fr; gap: 2rem; }
    .sidebar-right { display: none; }
    .article-body h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    .site-grid { display: block; padding: 0; }
    .sidebar-left, .sidebar-right { display: none; } /* ✅ Полностью скрываем ОБА сайдбара на мобильных */
    
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .main-content { 
        padding: 1rem; 
    }
    
    .article-body { 
        padding: 1rem; 
        border: none; 
        border-radius: 0; 
        box-shadow: none; 
        background: none; 
        margin: 0;
    }
    
    .breadcrumb { 
        padding: 0 0 1rem 0; 
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .breadcrumb a,
    .breadcrumb .current-page {
        padding: 0.25rem 0.6rem;
        font-size: 0.75rem;
    }
    
    /* Вердикт-интро блок */
    .verdict-intro-wrapper {
        padding: 1rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .verdict-intro-wrapper > div {
        font-size: 0.85rem !important;
        padding: 0.75rem !important;
    }
    
    .article-meta {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
        margin: 1.5rem 0;
        font-size: 0.85rem;
    }
    
    .article-meta .meta-item {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .author-meta .author-avatar-small {
        width: 28px;
        height: 28px;
    }
    
    .author-box { 
        flex-direction: column; 
        text-align: center; 
        padding: 1.25rem;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .author-avatar {
        width: 70px;
        height: 70px;
    }
    
    .author-info {
        font-size: 0.9rem;
    }
    
    .author-name {
        font-size: 1.3rem;
    }
    
    .article-body h1 { 
        font-size: 1.8rem; 
        line-height: 1.2;
        margin: 1.5rem 0 1rem 0;
    }
    
    .article-body h2 { 
        font-size: 1.5rem; 
        line-height: 1.3;
        margin: 2rem 0 1rem 0;
    }
    
    .article-body h3 { 
        font-size: 1.25rem; 
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .article-body p,
    .article-body ul,
    .article-body ol {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.25rem;
    }
    
    .table-of-contents {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .toc-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .table-of-contents ol {
        padding-left: 1.25rem;
    }
    
    .table-of-contents li {
        margin-bottom: 0.6rem;
        font-size: 0.9rem;
    }
    
    .article-tags {
        padding: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .article-tags .tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        margin: 0.3rem;
    }
    
    /* Блоки контента */
    .callout {
        padding: 1rem;
        margin: 1.25rem 0;
        font-size: 0.9rem;
    }
    
    .callout-final {
        padding: 1.25rem;
    }
    
    .callout-final h3 {
        font-size: 1.2rem;
    }
    
    .callout-final .cta-button {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .key-figures-block {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .key-figures-block .figure-item {
        padding: 0.75rem;
    }
    
    .key-figures-block .figure-item strong {
        font-size: 1.2rem;
    }
    
    .key-figures-block .figure-item span {
        font-size: 0.8rem;
    }
    
    .key-points {
        flex-direction: column;
        gap: 0.75rem;
        margin: 1.25rem 0;
    }
    
    .key-points .point {
        min-width: auto;
        padding: 0.75rem;
    }
    
    .key-points .point-value {
        font-size: 1.3rem;
    }
    
    .key-points .point-label {
        font-size: 0.85rem;
    }
    
    .process-block {
        margin: 1.5rem 0;
    }
    
    .process-step {
        padding-left: 30px;
        padding-bottom: 1.5rem;
        font-size: 0.9rem;
    }
    
    .process-step span {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        left: -16px;
    }
    
    .process-step p {
        margin-left: 0.75rem;
        font-size: 0.9rem;
    }
    
    .pros-cons-block {
        flex-direction: column;
        gap: 1.5rem;
        margin: 1.5rem 0;
        padding-top: 1.25rem;
    }
    
    .pros-cons-block .pros,
    .pros-cons-block .cons {
        padding: 1rem;
    }
    
    .pros-cons-block h4 {
        font-size: 1.1rem;
    }
    
    .article-body blockquote {
        padding: 1.25rem 1.25rem 1.25rem 3rem;
        margin: 2rem 0;
        font-size: 1rem;
        line-height: 1.6;
        border-radius: 12px;
    }

    .article-body blockquote::before {
        font-size: 32px;
        top: 8px;
        left: 12px;
    }
    
    .article-body blockquote footer {
        font-size: 0.85rem;
        margin-top: 0.75rem;
    }
    
    .expert-opinion {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .expert-header h3 {
        font-size: 1.1rem;
    }
    
    .expert-icon {
        font-size: 1.5rem;
    }
    
    .expert-content {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Изображения */
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Фикс для SVG иконок, которые могут быть обрезаны */
.article-body svg {
    vertical-align: middle;
    /* Если viewBox отсутствует, overflow: visible поможет не обрезать иконку, 
       хотя лучше всегда добавлять viewBox="0 0 24 24" или соответствующий размер */
    overflow: visible !important;
}

.article-body svg:not(:root) {
    overflow: visible;
}
    
    /* Быстрый ответ блок */
    .quick-answer {
        padding: 1rem;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Quick answer block из БД */
    .quick-answer-block {
        padding: 1.25rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .quick-answer-block .quick-answer-title {
        font-size: 1.3rem !important;
    }
    
    .quick-answer-block .quick-answer-content {
        font-size: 1rem !important;
    }
    
    .quick-answer-block .key-points {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    
    .quick-answer-block .point {
        padding: 0.75rem !important;
    }
    
    .quick-answer-block .point-value {
        font-size: 1.2rem !important;
    }
    
    .quick-answer-block .point-label {
        font-size: 0.8rem !important;
    }
    
    .quick-answer-block .recommendation {
        padding: 1rem !important;
    }
    
    .quick-answer-block .recommendation-title {
        font-size: 1rem !important;
    }
    
    .quick-answer-block .recommendation-text {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0.75rem;
    }
    
    .article-body {
        padding: 0.75rem;
    }
    
    .breadcrumb {
        font-size: 0.75rem;
        padding: 0 0 0.75rem 0;
    }
    
    .breadcrumb a,
    .breadcrumb .current-page {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .verdict-intro-wrapper {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .article-body h1 {
        font-size: 1.6rem;
        margin: 1rem 0 0.75rem 0;
    }
    
    .article-body h2 {
        font-size: 1.3rem;
        margin: 1.5rem 0 0.75rem 0;
    }
    
    .article-body h3 {
        font-size: 1.1rem;
        margin: 1.25rem 0 0.7rem 0;
    }
    
    .article-body p,
    .article-body ul,
    .article-body ol {
        font-size: 0.9rem;
        line-height: 1.65;
    }
    
    .article-meta {
        padding: 0.75rem;
        gap: 0.6rem;
        font-size: 0.8rem;
    }
    
    .article-meta .meta-item {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .table-of-contents {
        padding: 1rem;
        margin: 1.25rem 0;
    }
    
    .toc-title {
        font-size: 1rem;
    }
    
    .table-of-contents li {
        font-size: 0.85rem;
    }
    
    .article-tags .tag {
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
        margin: 0.25rem;
    }
    
    .callout {
        padding: 0.9rem;
        font-size: 0.85rem;
    }
    
    .callout-final {
        padding: 1rem;
    }
    
    .callout-final h3 {
        font-size: 1.1rem;
    }
    
    .callout-final .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        display: block;
        text-align: center;
    }
    
    .key-figures-block {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .key-figures-block .figure-item strong {
        font-size: 1.1rem;
    }
    
    .key-figures-block .figure-item span {
        font-size: 0.75rem;
    }
    
    .key-points .point {
        padding: 0.6rem;
    }
    
    .key-points .point-value {
        font-size: 1.1rem;
    }
    
    .process-step {
        padding-left: 28px;
        font-size: 0.85rem;
    }
    
    .process-step span {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .author-box {
        padding: 1rem;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .author-bio {
        font-size: 0.85rem;
    }
    
    .quick-answer-block {
        padding: 1rem !important;
    }
    
    .quick-answer-block .quick-answer-title {
        font-size: 1.1rem !important;
    }
    
    .quick-answer-block .quick-answer-content {
        font-size: 0.95rem !important;
    }
    
    .pros-cons-block {
        gap: 1.25rem;
        padding-top: 1rem;
    }
    
    .pros-cons-block .pros,
    .pros-cons-block .cons {
        padding: 0.9rem;
    }
    
    .article-body blockquote {
        padding: 1rem 1rem 1rem 2.5rem;
        font-size: 0.95rem;
    }

    .article-body blockquote::before {
        font-size: 28px;
        top: 6px;
        left: 8px;
    }
    
    .expert-opinion {
        padding: 1rem;
    }
    
    .expert-header h3 {
        font-size: 1rem;
    }
    
    .expert-content {
        font-size: 0.85rem;
    }
    
    /* Списки на маленьких экранах */
    .article-body ul,
    .article-body ol {
        padding-left: 1.25rem;
    }
    
    .article-body li {
        margin-bottom: 0.5rem;
    }
    
    /* FAQ блоки */
    .article-body .faq-item {
        margin-bottom: 0.75rem;
    }
    
    .article-body .faq-question {
        font-size: 1rem;
        padding: 1rem 0.5rem;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 12px !important;
        text-align: left !important;
    }

    .article-body .faq-question .faq-question-text {
        flex: 1 !important;
        display: block !important;
    }

    .article-body .faq-question strong {
        display: inline !important;
    }

    .article-body .faq-question .faq-icon {
        margin-top: 2px;
        flex-shrink: 0 !important;
        display: flex !important;
    }
    
    .article-body .faq-answer {
        font-size: 0.9rem;
        padding: 0 0 1rem 0;
    }

    .comments-section {
        margin-top: 0px !important;
        padding-top: 0px !important;
        border-top: 1px solid #eee !important;
    }
}

/* =================================================== */
/*           СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ (INDEX.PHP)     */
/* =================================================== */

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

/* Улучшенные стили для hero секции */
.hero-search h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: white;
    font-family: var(--font-logo);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    opacity: 0.9;
    line-height: 1.4;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero секция с поиском - адаптирована под стиль page.php */
.hero-search {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: var(--radius);
}

.hero-search .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Общий контейнер для блоков */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Блок E-E-A-T на главной */
.about-us-block {
    background: var(--content-background);
    border-radius: var(--radius);
    padding: 4rem 2rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden; /* Чтобы логотип не вылезал за границы */
    z-index: 1;
}

.about-us-block::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -120px; /* Сдвигаем вправо наполовину */
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    background: url('/images/logo-circle.svg') no-repeat center center;
    background-size: contain;
    opacity: 0.05; /* Делаем очень бледным на фоне */
    z-index: -1;
    pointer-events: none;
}

.about-us-block h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    position: relative;
}

.about-us-block p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}


.hero-search p {
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    opacity: 0.9;
}

/* Форма поиска */
.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.search-input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: var(--text-color);
}

.search-input::placeholder {
    color: #999;
}

.search-button {
    background: var(--link-color);
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-button:hover {
    background: #e55a00;
}

.search-button svg {
    width: 20px;
    height: 20px;
}

/* Сетка статей - оптимизированная версия без картинок */
.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--content-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 100%;
    overflow: hidden; /* Гарантируем, что ничего не вылезет */
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-title {
    font-family: var(--font-logo);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--text-color);
}

.article-link:hover .article-title {
    color: var(--link-color);
}

.card-content h3,
.card-content .card-title {
    font-family: var(--font-logo);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--text-color);
}

.card-content .card-title a {
    text-decoration: none;
    color: inherit;
}

.card-content .card-title a:hover {
    color: var(--link-color);
}

.card-content .excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Быстрый ответ */
.quick-answer {
    background: #fafafa;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-color);
    border-left: 2px solid var(--link-color);
}

.quick-answer::before {
    content: "⚡";
    margin-right: 8px;
    font-weight: bold;
}

.quick-answer-icon {
    display: none;
}

.quick-answer-text {
    display: inline;
}

/* Индикатор рейтинга продукта */
.article-rating-indicator {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.rating-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 60px;
}

.rating-stars {
    display: flex;
    gap: 2px;
    font-size: 1.1rem;
    line-height: 1;
    letter-spacing: 0;
}

.rating-stars .star-full {
    color: #ffc107;
}

.rating-stars .star-half {
    color: #ffc107;
    opacity: 0.6;
}

.rating-stars .star-empty {
    color: #e0e0e0;
}

.rating-value {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-logo);
    line-height: 1;
}

.rating-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.rating-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
}

.rating-source {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.rating-author {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.rating-author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.rating-author-avatar:hover {
    transform: scale(1.1);
}

/* Цветовые варианты для разных оценок */
.rating-excellent .rating-value {
    color: #28a745;
}

.rating-excellent {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #ffffff 100%);
}

.rating-good .rating-value {
    color: #17a2b8;
}

.rating-good {
    border-left: 4px solid #86c77d;
    background: linear-gradient(135deg, #d8fdd3 0%, #ffffff 100%);
}

.rating-satisfactory .rating-value {
    color: #ffc107;
}

.rating-satisfactory {
    border-left: 4px solid #ffc107;
    background: linear-gradient(135deg, #fff3cd 0%, #ffffff 100%);
}

.rating-poor .rating-value {
    color: #fd7e14;
}

.rating-poor {
    border-left: 4px solid #fd7e14;
    background: linear-gradient(135deg, #ffe5d1 0%, #ffffff 100%);
}

.rating-bad .rating-value {
    color: #dc3545;
}

.rating-bad {
    border-left: 4px solid #dc3545;
    background: linear-gradient(135deg, #f8d7da 0%, #ffffff 100%);
}

.meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-top: 12px;
    margin-top: auto;
}

.meta-left {
    display: flex;
    gap: 12px;
}

.meta-right {
    display: flex;
    align-items: center;
}

.meta .author {
    font-weight: 600;
    color: var(--text-secondary);
}

.meta .date {
    color: var(--text-secondary);
}

.meta .date::before {
    content: "• ";
    opacity: 0.7;
}

.meta .views {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.meta .icon {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

/* Адаптивность для карточек статей */
@media (max-width: 600px) {
    .article-rating-indicator {
        flex-direction: row; /* Оставляем в ряд, чтобы аватар был напротив */
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }
    
    .rating-badge {
        flex-direction: column; /* Звезды и цифра друг под другом */
        align-items: center;
        gap: 2px;
        min-width: 45px;
        flex-shrink: 0;
    }

    .rating-label {
        min-width: 0; /* Разрешаем сжатие */
        flex: 1;
    }

    .rating-text {
        font-size: 0.85rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .rating-author {
        margin-left: auto;
        flex-shrink: 0;
    }

    .rating-author-avatar {
        width: 48px; /* Еще чуть меньше для стабильности */
        height: 48px;
    }
    
    .rating-stars {
        font-size: 0.75rem;
        gap: 1px;
    }
    
    .card-content {
        padding: 15px; /* Уменьшаем паддинг карточки на мобильных */
    }

    .rating-value {
        font-size: 1.2rem;
    }
    
    .rating-text {
        font-size: 0.9rem;
    }
    
    .rating-source {
        font-size: 0.75rem;
    }
    
    .card-content {
        padding: 20px;
    }

    .meta {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .meta-right {
        margin-left: auto;
    }
}

/* Адаптивность для главной страницы */
@media (max-width: 768px) {
    .hero-search {
        margin: 0 -1rem 2rem -1rem;
        border-radius: 0;
    }
    
    .hero-search h1 {
        font-size: 1.5rem;
        font-weight: 800;
        margin: 0 0 1rem 0;
        color: white;
        font-family: var(--font-logo);
    }

    .about-us-block h2 {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--text-color);
        margin-bottom: 1rem;
    }
    
    .hero-search p {
        font-size: 1rem;
    }
    
    .search-form {
        flex-direction: row;
        border-radius: 50px;
        background: white;
        padding: 4px;
    }
    
    .search-input {
        border-bottom: none;
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .search-button {
        border-radius: 50px;
        padding: 0.8rem 1.2rem;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .meta {
        flex-wrap: nowrap;
        gap: 12px;
    }
    
    .meta-right {
        margin-left: auto;
    }
}

/* =================================================== */
/*           БЛОК ИСПРАВЛЕНИЙ ДОСТУПНОСТИ (A11Y)         */
/* =================================================== */

/* --- Проблема: Низкая контрастность у тегов и ссылок --- */

/* Решение: Делаем цвета тегов более темными и насыщенными. */
/* Можешь подобрать свои цвета, главное - чтобы они прошли проверку контраста. */

.tag.tag-brand {
    background-color: #DBEAFE; /* Светло-голубой фон */
    color: #1E40AF; /* Темно-синий текст */
}

.tag.tag-problem {
    background-color: #FEE2E2; /* Светло-красный фон */
    color: #991B1B; /* Темно-красный текст */
}

.tag.tag-feature {
    background-color: #D1FAE5; /* Светло-зеленый фон */
    color: #065F46; /* Темно-зеленый текст */
}

/* --- Проблема: Низкая контрастность у текста сносок (disclaimer) --- */

/* Решение: Затемняем серый цвет текста */
.disclaimer,
.callout,
.key-figures-block strong,
.author-more-link {
    color: #475569; /* Более темный серо-синий вместо светло-серого */
}

/* --- Проблема: Низкая контрастность у ссылок в оглавлении и кнопках --- */

/* Решение: Делаем цвет ссылок темнее */
.table-of-contents a,
.cta-button {
    color: #1d4ed8; /* Более насыщенный синий */
}
.cta-button {
    background-color: #EFF6FF; /* Можно добавить легкий фон для кнопки */
}

/* --- Проблема: Ссылки в "хлебных крошках" неразличимы без цвета --- */

/* Решение: Добавляем им подчеркивание, чтобы они отличались от обычного текста */
.breadcrumb a {
    text-decoration: underline;
}
.breadcrumb a:hover {
    text-decoration: none; /* Можно убирать при наведении для красоты */
}

/* Убираем подчеркивание у ссылок в сайдбаре */
.sidebar-left a { text-decoration: none; }
.sidebar-left a:hover { text-decoration: none; }
.article-grid a { text-decoration: none; }
.article-grid a:hover { text-decoration: none; }

/* Popular tags (left sidebar) — modern style */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.tag-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(233, 236, 239, 0.6);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.tag-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.tag-link:hover {
    transform: translateY(-2px);
    color: white;
    border-color: transparent;
}

.tag-link:hover::before {
    opacity: 1;
}

.tag-link:nth-child(1) { animation-delay: 0.1s; }
.tag-link:nth-child(2) { animation-delay: 0.2s; }
.tag-link:nth-child(3) { animation-delay: 0.3s; }
.tag-link:nth-child(4) { animation-delay: 0.4s; }
.tag-link:nth-child(5) { animation-delay: 0.5s; }
.tag-link:nth-child(6) { animation-delay: 0.6s; }
.tag-link:nth-child(7) { animation-delay: 0.7s; }
.tag-link:nth-child(8) { animation-delay: 0.8s; }
.tag-link:nth-child(9) { animation-delay: 0.9s; }
.tag-link:nth-child(10) { animation-delay: 1.0s; }
.tag-link:nth-child(11) { animation-delay: 1.1s; }
.tag-link:nth-child(12) { animation-delay: 1.2s; }
.tag-link:nth-child(13) { animation-delay: 1.3s; }
.tag-link:nth-child(14) { animation-delay: 1.4s; }
.tag-link:nth-child(15) { animation-delay: 1.5s; }
.tag-link:nth-child(16) { animation-delay: 1.6s; }
.tag-link:nth-child(17) { animation-delay: 1.7s; }
.tag-link:nth-child(18) { animation-delay: 1.8s; }
.tag-link:nth-child(19) { animation-delay: 1.9s; }
.tag-link:nth-child(20) { animation-delay: 2.0s; }

.tag-count {
    color: var(--text-secondary);
    font-family: var(--font-logo);
    font-weight: 600;
    font-size: 0.75rem;
    margin-left: 4px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.tag-link:hover .tag-count {
    color: white;
    opacity: 1;
}

/* Анимация появления для тегов */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Проблема: Заголовки "Плюсы" и "Минусы" (h4) имеют низкий контраст --- */
/* Этот стиль затронет все h4 на сайте, сделав их читаемыми */
h4 {
    color: #1E293B; /* Почти черный, но мягче */
}

/* ===== СТИЛИ ДЛЯ БЛОКА "ПОХОЖИЕ СТАТЬИ" ===== */
.mobile-only-similar-articles {
    display: none;
    margin-top: 3rem;
    padding: 0; /* Паддинг уже есть у .main-content на мобилках */
}

@media (max-width: 768px) {
    .mobile-only-similar-articles {
        display: block;
    }
    
    .mobile-only-similar-articles .section-title {
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }
}


.similar-articles-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.similar-article-item {
    padding: 1.2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.similar-article-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--link-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.similar-article-item:hover::before {
    transform: scaleY(1);
}

.similar-article-item:hover {
    /* Убираем эффекты по кругу, оставляем только левую полоску */
    transform: none;
    box-shadow: none;
    border-color: var(--border-color);
}

.similar-article-title {
    margin: 0 0 0.8rem 0;
    font-size: 1rem;
    line-height: 1.4;
}

.similar-article-title a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
    display: block;
}

.similar-article-title a:hover {
    color: var(--link-color);
}

.similar-article-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.similar-article-meta {
    display: flex;
    flex-wrap: nowrap; /* Строго в одну строку */
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    align-items: center;
    margin-top: 10px;
    overflow: hidden;
    white-space: nowrap;
}

.similar-article-author,
.similar-article-date,
.similar-article-views {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0; /* Не даем элементам сжиматься */
}

.similar-article-author {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-article-date::before,
.similar-article-views::before {
    content: "•";
    color: #cbd5e0;
    margin-right: 4px;
    flex-shrink: 0;
}

.similar-article-views {
    margin-left: 0; /* Убираем авто-отступ, чтобы всё было в куче */
}

/* Кнопка "Наверх" */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--link-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .similar-article-meta {
        flex-direction: row; /* Оставляем в строку */
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .similar-article-views {
        margin-left: 0;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ КАТЕГОРИИ ===== */
.category-header {
    margin-bottom: 2rem;
    padding: 2rem 0;
    border-bottom: 2px solid var(--border-color);
}

.category-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.category-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.category-articles-count {
    background: var(--link-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Стили для пагинации */
.pagination {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.pagination-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.pagination-link:hover {
    background: var(--link-color);
    color: #fff;
    border-color: var(--link-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

.pagination-link.active {
    background: var(--text-color);
    color: #fff;
    border-color: var(--text-color);
    cursor: default;
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 40px;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 2px;
}

.pagination-prev,
.pagination-next {
    padding: 0 18px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    background: transparent !important;
    color: var(--text-color) !important;
    border: 1px solid var(--border-color) !important;
}

.pagination-prev:hover,
.pagination-next:hover {
    background: var(--text-color) !important;
    color: #fff !important;
    border-color: var(--text-color) !important;
}

@media (max-width: 768px) {
    .pagination {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .pagination-info {
        order: 2;
    }
    .pagination-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Стили для пустой категории */
.no-articles {
    text-align: center;
    padding: 4rem 2rem;
}

.no-articles-content h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin: 0 0 1rem 0;
}

.no-articles-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--link-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn:hover {
    background: #e55a00;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--link-color);
}

/* Стили для правого сайдбара категории */
.category-info {
    margin-bottom: 2rem;
}

.category-info-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.75rem 0;
}

.category-info-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.category-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}


.related-categories-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.7) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(233, 236, 239, 0.6);
    position: relative;
    overflow: hidden;
    animation: slideInFromLeft 0.5s ease forwards;
    opacity: 0;
}

.related-category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.related-category-item:nth-child(even)::before {
    background: var(--gradient-secondary);
}

.related-category-item:hover {
    transform: translateX(8px);
    background: white;
    color: var(--brand-color);
}

.related-category-item:hover::before {
    transform: scaleY(1);
}

.related-category-item:nth-child(1) { animation-delay: 0.2s; }
.related-category-item:nth-child(2) { animation-delay: 0.3s; }
.related-category-item:nth-child(3) { animation-delay: 0.4s; }
.related-category-item:nth-child(4) { animation-delay: 0.5s; }
.related-category-item:nth-child(5) { animation-delay: 0.6s; }
.related-category-item:nth-child(6) { animation-delay: 0.7s; }

.category-name {
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.related-category-item:hover .category-name {
    color: var(--link-color);
}

.category-count {
    color: var(--text-secondary);
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 28px;
    text-align: center;
    background: none;
    padding: 0;
    border-radius: 0;
}

/* Анимация появления при загрузке */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Адаптивность для блока категорий */
@media (max-width: 480px) {
    .sidebar-block.related-categories {
        padding: 24px;
        margin: 15px 16px;
    }
    
    .sidebar-block.related-categories .block-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .related-category-item {
        padding: 14px 16px;
    }
    
    .category-name {
        font-size: 1rem;
    }
    
    .category-count {
        font-size: 1.1rem;
    }
}

/* Адаптивность для блока тегов */
@media (max-width: 480px) {
    .sidebar-block:not(.related-categories) {
        padding: 24px;
        margin: 0 16px;
    }
    
    .sidebar-block:not(.related-categories) .block-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .tag-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .tag-count {
        font-size: 0.8rem;
        margin-left: 4px;
    }
}


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

/* Заголовок поиска */
.search-page-header {
    background: var(--content-background);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.search-query {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.search-page-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.search-page-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.search-page-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--link-color);
    line-height: 1;
}

.search-page-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Повторный поиск */
.search-again {
    background: var(--content-background);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-again .search-form {
    max-width: 500px;
    margin: 0 auto;
}

/* Результаты поиска */
.search-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-result-item {
    background: var(--content-background);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.result-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.result-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.result-title a:hover {
    color: var(--link-color);
}

.result-category {
    margin-bottom: 0.75rem;
}

.category-link {
    display: inline-block;
    background: var(--link-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.category-link:hover {
    background: #e55a00;
}

.result-excerpt {
    margin-bottom: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.result-excerpt mark {
    background: #fff3cd;
    color: #856404;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
}

.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.meta-left {
    display: flex;
    gap: 1rem;
}

.meta-right .views {
    font-weight: 500;
}

/* Нет результатов */
.no-results {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--content-background);
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-results h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.search-suggestions {
    background: #f8f9fa;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.search-suggestions h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestions li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid #e9ecef;
}

.search-suggestions li:last-child {
    border-bottom: none;
}

/* Информация о поиске */
.search-info, .popular-searches, .search-stats {
    background: var(--content-background);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--link-color);
}

.search-info-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.search-info-content li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

.search-info-content li:before {
    content: "✓ ";
    color: var(--link-color);
    font-weight: bold;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.popular-tags .tag-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.8rem;
    background: var(--background-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.popular-tags .tag-link:hover {
    background: var(--link-color);
    color: white;
    transform: translateY(-1px);
}

.tag-count {
    font-size: 0.75rem;
    opacity: 0.7;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stats-list .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-list .stat-item:last-child {
    border-bottom: none;
}

.stats-list .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stats-list .stat-value {
    color: var(--text-color);
    font-weight: 600;
}

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

/* Заголовок тега */
.tag-page-header {
    background: var(--content-background);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tag-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.tag-page-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.tag-page-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}



/* Облако тегов */
.tag-page-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag-page-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: var(--background-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.tag-page-link:hover {
    background: var(--link-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

.tag-page-count {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Информация о теге */
.tag-page-info {
    background: var(--content-background);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tag-page-info-content p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.tag-page-info-content strong {
    color: var(--text-color);
}

/* Список тегов */
.tag-page-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tag-page-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--background-color);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.tag-page-item:hover {
    background: rgba(255, 107, 0, 0.05);
    transform: translateX(4px);
}

.tag-page-item .tag-page-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-color);
    font-weight: 500;
}

.tag-page-item .tag-page-link:hover {
    background: none;
    color: var(--link-color);
    transform: none;
    box-shadow: none;
}

.tag-page-item .tag-page-count {
    background: var(--link-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}



.category-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.category-link:hover {
    color: var(--link-color);
}


/* Адаптивность для страницы тегов */
@media (max-width: 768px) {
    .tag-page-title {
        font-size: 2rem;
    }
    
    .tag-page-header {
        padding: 1.5rem;
    }
    
    .tag-page-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .stat-item {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .tag-page-cloud {
        justify-content: center;
    }
    
    .tag-page-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .related-category-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Стили для объединенного блока анализа мнений */
.unified-analysis-block {
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    --font-logo: 'Manrope', sans-serif;
    --text-color: #1D2D35;
    --text-secondary: #5A6D76;
    --link-color: #FF6B00;
    --background-color: #F5F7FA;
    --content-background: #ffffff;
    --border-color: #e9ecef;
    --brand-color: #111;
    --radius: 8px;
    
    font-family: var(--font-family);
    line-height: 1.8;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    margin: 2rem 0px;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-style: italic;
    color: rgb(102, 102, 102);
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    border: 2px solid #f59e0b;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
    position: relative;
    overflow: hidden;
}

.unified-analysis-block .block-title {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 2px solid var(--link-color);
    padding-bottom: 0.5rem;
    text-align: left;
    font-style: normal;
}

.unified-analysis-block .expert-badge {
    margin: 0 0 1rem 0;
    padding: 0.5rem 1rem;
    background: var(--link-color);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    font-style: normal;
}

.unified-analysis-block h4 {
    margin: 0 0 1rem 0;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    font-style: normal;
}

.unified-analysis-block > div > div {
    margin-bottom: 1rem;
    text-align: left;
    font-style: normal;
}

.unified-analysis-block strong {
    color: var(--link-color);
    font-weight: 600;
}

.unified-analysis-block .analysis-verdict {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-left: 4px solid #28a745;
    border-radius: 4px;
    font-weight: 500;
    text-align: left;
    font-style: normal;
}

.unified-analysis-block .analysis-verdict strong {
    color: #28a745;
}

/* Стили для блоков анализа мнений в правом сайдбаре - применяем стили из тела статьи */
.sidebar-right .sidebar-block.unified-analysis-block,
.sidebar-right .sidebar-block.expert-analysis-block {
    /* Основные стили блока анализа мнений из тела статьи - как .callout */
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 2px dashed var(--border-color);
    background-color: #ffffff;
}

.sidebar-right .sidebar-block.unified-analysis-block .block-title,
.sidebar-right .sidebar-block.expert-analysis-block .block-title {
    /* Стили заголовка из .review-analysis-block .block-title */
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.sidebar-right .sidebar-block.unified-analysis-block .expert-badge,
.sidebar-right .sidebar-block.expert-analysis-block .expert-badge {
    /* Стили источника из .review-source */
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
    padding: 0.5rem 1rem;
    background: var(--link-color);
    color: white;
    border-radius: 4px;
    text-align: center;
}

.sidebar-right .sidebar-block.unified-analysis-block h4,
.sidebar-right .sidebar-block.expert-analysis-block h4 {
    /* Стили сводки из .analysis-summary */
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0 0 1.25rem 0;
    line-height: 1.5;
    background-color: var(--background-color);
    padding: 0.75rem 1rem;
    border-radius: 6px;
}

.sidebar-right .sidebar-block.unified-analysis-block > div > div,
.sidebar-right .sidebar-block.expert-analysis-block > div > div {
    /* Стили пунктов анализа из .analysis-point .point-text */
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.sidebar-right .sidebar-block.unified-analysis-block strong,
.sidebar-right .sidebar-block.expert-analysis-block strong {
    /* Стили выделения из .analysis-point .point-text strong */
    color: var(--text-color);
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
}

.sidebar-right .sidebar-block.unified-analysis-block .analysis-verdict,
.sidebar-right .sidebar-block.expert-analysis-block .analysis-verdict {
    /* Стили вердикта из .analysis-verdict */
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
}

.sidebar-right .sidebar-block.unified-analysis-block .analysis-verdict strong,
.sidebar-right .sidebar-block.expert-analysis-block .analysis-verdict strong {
    /* Стили выделения в вердикте из .analysis-verdict strong */
    color: var(--link-color);
    font-weight: 600;
}

/* Адаптивность для страницы категории */
@media (max-width: 768px) {
    .category-title {
        font-size: 2rem;
    }
    
    .pagination {
        flex-direction: column;
        text-align: center;
    }
    
    .pagination-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .no-articles {
        padding: 2rem 1rem;
    }
    
    .no-articles-content h2 {
        font-size: 1.5rem;
    }
}

/* Скрываем тег h8 в правом сайдбаре */
.sidebar-right h8 {
    display: none !important;
}

/* Стили для заголовка анализа мнений в сайдбаре */
.sidebar-right .review-analysis-block .block-title {
    font-weight: bold !important;
    color: #fd7e14 !important;
}

/* Стили для страницы автора */
.author-profile {
    margin: 2rem 0;
    padding: 2rem;
    background: #ffffff;
    border-radius: var(--radius);
    border: 2px dashed var(--border-color);
}

.author-profile-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.author-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-profile-info {
    flex: 1;
}

.author-profile-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1rem 0;
}

.author-profile-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.author-specializations,
.author-philosophy {
    margin-bottom: 1.5rem;
}

.author-specializations h3,
.author-philosophy h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.author-specializations p,
.author-philosophy p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

.author-stats {
    margin-top: 1.5rem;
}

.author-articles-count {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--link-color);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.author-details .author-detail {
    margin-bottom: 1.5rem;
}

.author-details .author-detail h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.author-details .author-detail p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 0;
}

.author-stats-block .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.author-stats-block .stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--background-color);
    border-radius: 8px;
}

.author-stats-block .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--link-color);
}

.author-stats-block .stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.site-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.site-stats .stat-item {
    text-align: center;
    padding: 0.75rem;
    background: var(--background-color);
    border-radius: 6px;
}

.site-stats .stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--link-color);
}

.site-stats .stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Стили для блока экспертного мнения */
.expert-opinion {
    background: #ffffff;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: none;
    border-top: none;
}

.expert-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.expert-icon {
    font-size: 1.5rem;
}

.expert-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.expert-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.expert-sources .source {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--background-color);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.expert-content p {
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
    color: var(--text-color);
}

.expert-content p:last-child {
    margin-bottom: 0;
}

.expert-content strong {
    color: var(--text-color);
    font-weight: 600;
}


.expert-block    {    margin: 2rem 0px;
    padding: 1rem;
    background: rgb(255 255 255);
    border-radius: 8px;
    border: 2px dashed rgb(204, 204, 204);
    color: rgb(102, 102, 102);}
    
 /*.verdict-intro-wrapper    {    
 
    background: rgb(245 247 250);
    margin-top: 8px;
 	margin: 2rem 0px;
    padding: 1rem;
    border-radius: 8px;

    text-Align: center;
    font-Style: italic;
    border: 2px dashed rgb(204, 204, 204);
    color: rgb(102, 102, 102);} */

/* Стили для популярных статей в правом сайдбаре */
.popular-articles-list,
.recommended-articles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-article-item,
.recommended-article-item {
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.popular-article-item:hover,
.recommended-article-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--link-color);
}

.popular-article-title,
.recommended-article-title {
    margin: 0 0 0.75rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.popular-article-title a,
.recommended-article-title a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.popular-article-title a:hover,
.recommended-article-title a:hover {
    color: var(--link-color);
}

.popular-article-meta,
.recommended-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.popular-article-views,
.recommended-article-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.recommended-article-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.recommended-article-rating .rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.recommended-article-rating .star {
    font-size: 0.9rem;
    color: #ffc107;
}

.recommended-article-rating .star.star-empty {
    color: #e0e0e0;
}

.recommended-article-rating .star.star-half {
    opacity: 0.7;
}

.recommended-article-rating .rating-value {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.85rem;
}

/* Стили для карточки автора */
.author-header {
    display: flex;
    align-items: center;
    gap: 12px; /* Расстояние между именем и кнопкой */
    margin-bottom: 8px; /* Небольшой отступ снизу */
}

.author-name {
    margin: 0; /* Убираем лишние отступы у заголовка */
}

.author-header {
    display: flex;
    align-items: center;
    gap: 15px; /* Увеличил отступ для нескольких кнопок */
    margin-bottom: 10px;
    flex-wrap: wrap; /* Для мобилок */
}

.author-social-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.author-social-button:hover {
    transform: scale(1.05);
}

.author-telegram-button {
    width: 36px;
    border-radius: 50%;
    background-color: #0088cc;
    color: #ffffff;
}

.author-telegram-button:hover {
    background-color: #0077b3;
}

.author-yandex-uslugi-button {
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.author-yandex-uslugi-button:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.author-telegram-button svg {
    display: block;
}
.toc-sublist a {
    font-size: 0.9rem;
}
/* Классы для первого блоко самое важное */

/* Вердикт-интро: основной контейнер */
.review-summary {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  max-width: 720px;
  margin: 1.5rem auto;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fafafa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  color: #1f2937;
  font-size: 15px;
  line-height: 1.6;
}

/* Источник анализа */
.review-summary__source {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 12px;
  font-style: italic;
}

/* Общая оценка */
.review-summary__verdict {
  font-weight: 700;
  color: #ea580c;
  margin-bottom: 16px;
  font-size: 17px;
}

/* Заголовок "Самое важное!!!" */
.review-summary__alert {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  padding: 12px 14px;
  margin: 18px 0;
  font-weight: 700;
  color: #dc2626;
  font-size: 18px;
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
}

/* Обёртка для пунктов */
.review-summary__content {
  margin: 0;
}

/* Все пункты — параграфы */
.review-summary__content p {
  margin: 0 0 12px 0;
  color: #1f2937;
}

.review-summary__content p:last-child {
  margin-bottom: 0;
}

/* Префиксы с цветовой семантикой */
.review-summary__promocodes {
  color: #4b5563;
  font-weight: 600;
}

.review-summary__warnings {
  color: #b91c1c;
  font-weight: 600;
}

.review-summary__finance {
  color: #c2410c;
  font-weight: 600;
}

.review-summary__positives {
  color: #059669;
  font-weight: 600;
}

.review-summary__safety {
  color: #334155;
  font-weight: 600;
}

/* --- Блок вердикта (Verdict Intro) --- */
.verdict-intro-wrapper {
    width: 100%;
}

.verdict-intro-wrapper > div {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px !important;
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-left: 5px solid var(--link-color) !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    font-family: var(--font-family) !important;
    position: relative;
    overflow: hidden;
}

.verdict-intro-wrapper > div::before {
    content: '🔍';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 80px;
    opacity: 0.03;
    transform: rotate(15deg);
}

.verdict-intro-wrapper div[style*='color:#4b5563'] {
    color: var(--text-secondary) !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px !important;
}

.verdict-intro-wrapper div[style*='color:#f97316'] {
    color: var(--text-color) !important;
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
}

.verdict-intro-wrapper div[style*='color:#dc3545'] {
    color: #e63946 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem !important;
    margin: 20px 0 10px !important;
    display: flex;
    align-items: center;
}

.verdict-intro-wrapper div[style*='color:#dc3545']::before {
    content: '★';
    margin-right: 8px;
    color: #f97316;
}

.verdict-intro-wrapper ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.verdict-intro-wrapper li {
    position: relative;
    padding-left: 28px !important;
    margin-bottom: 12px !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: var(--text-color) !important;
}

.verdict-intro-wrapper li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--link-color);
    border-radius: 50%;
}

.verdict-intro-wrapper li strong {
    color: var(--text-color) !important;
    font-weight: 700;
}

.verdict-intro-wrapper div[style*='color:#1f2937'] {
    color: var(--text-color) !important;
    line-height: 1.7 !important;
    font-size: 15px !important;
    padding: 5px 0 !important;
}

.verdict-intro-wrapper li[style*='color:#4b5563'] {
    color: var(--text-secondary) !important;
    font-size: 0.95rem !important;
}

/* Стили для трансформированных точек через JS */
.verdict-dot {
    color: var(--link-color) !important;
    font-weight: 800 !important;
    margin-right: 8px;
    font-size: 1.2rem;
    line-height: 1;
    display: inline-block;
}

.verdict-intro-wrapper div strong {
    color: var(--text-color) !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    .verdict-intro-wrapper > div {
        padding: 18px !important;
    }
    .verdict-intro-wrapper div[style*='color:#f97316'] {
        font-size: 1.1rem !important;
    }
}

/* === КАРТОЧКА ТОВАРА (Product Review Card) === */
.hozent-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 35px;
    margin: 4rem 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: visible;
}

/* Бейдж места */
.product-rank-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    background: #FF6B00;
    color: white;
    padding: 12px 24px;
    font-weight: 900;
    font-size: 1.2rem;
    border-radius: 16px;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(255,107,0,0.3);
    transform: rotate(-2deg);
}

.product-rank-badge.leader {
    background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
    border: 2px solid white;
}

.product-rank-badge.leader::after {
    content: ' 👑';
}

/* Тег назначения (вердикт в двух словах) */
.product-purpose-tag {
    position: absolute;
    top: -15px;
    right: 35px;
    background: #1e293b;
    color: white;
    padding: 10px 25px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 11;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.product-card-header {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    margin-bottom: 35px;
}

.product-image-wrapper {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    transition: transform 0.3s ease;
}

.hozent-product-card:hover .product-image-wrapper {
    transform: scale(1.02);
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.product-info-top h2 {
    margin: 0 0 8px 0;
    font-size: 2.2rem !important;
    font-weight: 900;
    color: #1e293b;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.product-quick-verdict {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 20px;
    font-style: italic;
    border-left: 3px solid #e2e8f0;
    padding-left: 15px;
}

.product-rating-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.product-stars {
    color: #ffb400;
    font-size: 1.4rem;
}

.product-rating-value {
    font-weight: 700;
    font-size: 1.1rem;
    background: #fff5ed;
    color: var(--link-color);
    padding: 4px 12px;
    border-radius: 8px;
}

.product-reviews-count {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.product-price-block {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    margin: 25px 0;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1e293b;
    line-height: 1;
}

.old-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #94a3b8;
}

.discount-badge {
    background: #ef4444;
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
}

/* Кнопка Маркета V3 - Максимальный акцент */
.buy-button.yandex-market {
    background: #FFDD2D;
    color: #000000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 45px;
    border-radius: 18px;
    font-size: 1.3rem;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 12px 30px rgba(255, 221, 45, 0.4);
    border: none;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.buy-button.yandex-market span, 
.buy-button.yandex-market::after {
    position: relative;
    z-index: 2;
}

.buy-button.yandex-market::before {
    content: "";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 148 148'%3E%3Ccircle cx='73.8' cy='73.8' r='73.8' fill='black' fill-opacity='0.05'/%3E%3Cpath d='M85.8,120.4V41.3h-9.3c-6.7,0-11.8,1.4-15.2,4.3c-3.4,2.7-5.2,6.4-5.2,10.9c0,3.4,0.6,6.4,1.8,8.8 c1.2,2.4,3,4.7,5.3,6.7c2.3,2,5.3,4.3,8.8,6.7l8.8,5.9l-25.8,35.7H35.6l24.6-33.5l11.6,10.3l-9.1-5.8c-4.6-3-9-6.3-13.1-9.9 c-3.7-3.2-6.4-6.8-8.4-10.6c-1.9-3.9-2.9-8.4-2.9-13.5c0-8.9,3.2-16.1,9.6-21.6c6.5-5.6,16-8.4,28.4-8.4h27.5v92.9 C103.9,120.4,85.8,120.4,85.8,120.4z' fill='black' fill-opacity='0.08'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 1;
}

.buy-button.yandex-market:hover {
    background: #FFCC00;
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(255, 221, 45, 0.5);
}

.buy-button.yandex-market:hover::before {
    transform: translateY(-50%) scale(1.2) rotate(-12deg);
    right: 5px;
    opacity: 1;
}

.buy-button.yandex-market::after {
    content: ' →';
    margin-left: 15px;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 18px;
    margin-bottom: 30px;
}

.feature-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

.feature-value {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 35px;
}

.pros-column, .cons-column {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 25px;
    border-radius: 18px;
}

.pros-cons-list li {
    font-size: 1rem;
    margin-bottom: 12px;
}

.product-card-footer {
    margin-top: 35px;
    display: flex;
    justify-content: center;
}

.buy-button {
    background: var(--link-color);
    color: #fff;
    padding: 16px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s, background 0.2s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.buy-button:hover {
    background: #e65a00;
    transform: translateY(-2px);
    color: #fff;
}

@media (max-width: 600px) {
    .product-card-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .product-rating-line {
        justify-content: center;
    }
    .product-price-block {
        justify-content: center;
    }
    .product-features-grid, .pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

/* === ЭКСПЕРТНЫЕ БЛОКИ КАРТОЧКИ === */
.hozent-editor-choice {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.08);
}

.editor-badge {
    position: absolute;
    top: 35px;
    right: -40px;
    background: #FF6B00;
    color: #fff;
    padding: 6px 45px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    z-index: 5;
}

.choice-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.choice-rating {
    background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2);
}

.choice-title h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
}

.choice-title span {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.choice-reason {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 0;
    font-weight: 500;
}

/* Мягкая кнопка - Yandex Market Style */
.buy-button.soft {
    background: #ffdb4d; /* Фирменный желтый Яндекса */
    color: #000 !important;
    border: 1px solid #eec200;
    box-shadow: 0 4px 15px rgba(255, 219, 77, 0.3);
    font-weight: 800;
}

.buy-button.soft:hover {
    background: #ffd200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 219, 77, 0.4);
}

.inter-seo-block h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-left: 4px solid var(--link-color);
    padding-left: 15px;
}

.product-expert-analysis {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    margin: 35px 0;
    position: relative;
}

.analysis-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analysis-title::before {
    content: '🔬';
    font-size: 1.4rem;
}

.expert-scores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.score-item {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}

.score-item:hover {
    transform: translateY(-3px);
}

.score-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

.score-bar-bg {
    height: 10px;
    background: #f1f5f9;
    border-radius: 20px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    position: relative;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B00 0%, #ff9e44 100%);
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
}

.score-value {
    font-size: 1.3rem;
    font-weight: 900;
    color: #1e293b;
    display: block;
}

.trust-index-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon { font-size: 2rem; }
.trust-text h5 { margin: 0 0 4px 0; color: #166534; font-size: 1rem; }
.trust-text p { margin: 0; font-size: 0.85rem; color: #15803d; line-height: 1.4; }

.price-trend-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0f172a;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    border: 2px solid #e2e8f0;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.price-trend-tag::before {
    content: '💎';
}

.expert-tip-card {
    background: #1d2d35;
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    position: relative;
    margin-top: 20px;
}

.expert-tip-card::after {
    content: '💡 Expert Tip';
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--link-color);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.expert-tip-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
    color: #cbd5e1;
}

/* === АНАЛИЗ ОТЗЫВОВ (Reviews Summary) === */
.product-reviews-summary {
    background: #ffffff; /* Белый на сером фоне */
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.summary-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.summary-col h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.col-pro h5 { color: #10b981; }
.col-con h5 { color: #ef4444; }

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

.summary-list li {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 8px;
    line-height: 1.4;
    position: relative;
    padding-left: 15px;
}

.summary-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.col-pro li::before { color: #10b981; }
.col-con li::before { color: #ef4444; }

.summary-bottom-line {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 600px) {
    .summary-grid { grid-template-columns: 1fr; }
}
/* === ПАСПОРТ ИССЛЕДОВАНИЯ (Research Passport) === */
.research-passport {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    border-radius: 12px;
    padding: 20px 25px;
    margin: 25px 0;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.research-passport::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,0,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.passport-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255,107,0,0.3));
}

.passport-stats {
    display: flex;
    flex-grow: 1;
    justify-content: space-around;
    gap: 20px;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-box .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 5px;
}

.stat-box .value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #f8fafc;
}

.trust-index {
    text-align: center;
    padding-left: 25px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.trust-index .value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--link-color);
    line-height: 1;
}

.trust-index .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #94a3b8;
    margin-top: 5px;
}

/* Блок автора в карточке */
.product-author-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.product-author-badge img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.author-info-mini {
    display: flex;
    flex-direction: column;
}

.author-info-mini .name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
}

.author-info-mini .role {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .research-passport {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .passport-stats {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    .trust-index {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-left: 0;
        padding-top: 15px;
        width: 100%;
    }
}


/* === КРАТКИЙ ТОП ПОСЛЕ ЗАГОЛОВКА (Quick Summary) === */
/* === ЭКСПЕРТНАЯ ЛЕНТА ВЕРДИКТОВ (Expert Verdict Ribbon) === */
.top-quick-picks {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin: 25px 0 45px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.quick-picks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.qp-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qp-header-title span {
    font-size: 1.2rem;
}

.qp-header-title h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qp-header-hint {
    font-size: 0.75rem;
    color: #64748b;
    font-style: italic;
    background: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.quick-picks-ribbon {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.qp-ribbon-item {
    background: #ffffff;
    padding: 15px 10px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.qp-ribbon-item:hover {
    transform: translateY(-5px);
    border-color: #FF6B00;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.1);
}

.qp-ribbon-rank {
    font-size: 0.7rem;
    font-weight: 900;
    color: #ffffff;
    background: #FF6B00;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.qp-ribbon-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
    line-height: 1.2;
}

.qp-ribbon-tag {
    font-size: 0.75rem;
    color: #64748b;
    margin: 5px 0 10px 0;
    font-weight: 500;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qp-ribbon-score {
    font-size: 0.85rem;
    font-weight: 800;
    color: #92400e;
    background: #fffbeb;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #fef3c7;
}

@media (max-width: 768px) {
    .quick-picks-ribbon {
        grid-template-columns: repeat(2, 1fr);
    }
    .qp-ribbon-item:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .quick-picks-ribbon { grid-template-columns: repeat(3, 1fr); }
    .qp-ribbon-item:nth-child(n+4) { border-top: 1px solid #e2e8f0; }
}

@media (max-width: 600px) {
    .quick-picks-ribbon { grid-template-columns: repeat(2, 1fr); }
}

.rating-number-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background: #FF6B00; /* Явный оранжевый цвет */
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    z-index: 100; /* Поверх всего */
    box-shadow: 0 5px 15px rgba(255,107,0,0.4);
    border: 4px solid white;
}

.top-5-intro {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border-left: 5px solid var(--link-color);
}

.top-5-intro h2 { margin-top: 0; }

.mega-cta-block {
    background: linear-gradient(135deg, #FF6B00 0%, #ff8533 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mega-cta-block::before {
    content: "ТОП";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    font-size: 12rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
    user-select: none;
}

.mega-cta-block h3, 
.mega-cta-block p, 
.mega-cta-block .btn-white {
    position: relative;
    z-index: 2;
}

.mega-cta-block h3 { color: white; font-size: 1.8rem; margin-bottom: 15px; }
.mega-cta-block p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 25px; }
.btn-white {
    background: white;
    color: var(--link-color);
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    transition: transform 0.2s;
}
.btn-white:hover { transform: scale(1.05); }

/* === САЙДБАРНЫЕ ВИДЖЕТЫ (Sidebar Widgets) === */
.expert-sidebar-widget {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.widget-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-color);
}

.widget-icon {
    font-size: 1.2rem;
}

.widget-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.widget-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
    line-height: 1.4;
}

.widget-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--link-color);
    font-weight: bold;
}

.widget-status {
    font-size: 0.75rem;
    color: #16a34a;
    background: #f0fdf4;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #16a34a;
    border-radius: 50%;
    display: inline-block;
}

.price-widget {
    border-left: 4px solid var(--link-color);
}

.price-alert {
    font-size: 0.75rem;
    color: #92400e;
    background: #fffbeb;
    padding: 8px;
    border-radius: 6px;
    margin-top: 10px;
    line-height: 1.3;
}

/* === Choice Navigator Sidebar Styles === */
.choice-navigator-mobile .nav-parent-mobile,
.offers-menu-mobile .nav-parent-mobile {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    font-weight: 800;
    font-size: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 5px;
    color: var(--text-color);
    text-decoration: none;
}

.choice-navigator-mobile .nav-parent-mobile .arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.choice-navigator-mobile .has-children.active .arrow {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    list-style: none;
    padding-left: 15px;
    margin-bottom: 15px;
}

.has-children.active .accordion-content {
    display: block;
}

.accordion-content li a {
    display: block;
    padding: 8px 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-left: 2px solid #e2e8f0;
    transition: all 0.2s;
}

.accordion-content li a:hover {
    color: var(--link-color);
    border-left-color: var(--link-color);
    background: #f1f5f9;
}

/* === Mobile Adjustments for Product Expert Analysis === */
@media (max-width: 768px) {
    /* Скрываем бейдж выбора на мобилках */
    .editor-badge {
        display: none !important;
    }

    /* Скрываем лишний текст в кнопке Маркета */
    .mobile-hide {
        display: none !important;
    }

    /* Кнопка Маркета на мобилках */
    .buy-button.yandex-market {
        padding: 12px 20px;
        font-size: 0.95rem;
        min-height: auto;
    }
    
    /* Логотип на кнопке делаем крупнее (как на ПК) */
    .buy-button.yandex-market::before {
        width: 28px;
        height: 28px;
        margin-right: 12px;
    }

    /* Категории в мобильном меню */
    .offers-menu-mobile .related-category-item {
        display: block;
        width: 100%;
        padding: 10px 15px;
    }

    /* Стилизация блока аналитики на мобилках */
    .product-expert-analysis {
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 35px 0 !important;
        position: relative !important;
    }

    .expert-scores-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .score-item {
        padding: 15px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .analysis-title {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .hozent-editor-choice {
        padding: 15px;
        margin-bottom: 20px;
    }

    .choice-title h4 {
        font-size: 1.1rem;
    }

    .choice-rating {
        font-size: 1.5rem;
    }

    /* Адаптивность для фонового текста ТОП-5 */
    .mega-cta-block {
        padding: 40px 20px;
        margin: 40px 0;
    }

    .mega-cta-block::before {
        font-size: 6rem;
    }
}

.choice-navigator {
    margin-bottom: 30px;
}

.nav-group {
    margin-bottom: 20px;
}

.nav-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f1f5f9;
}

.nav-group-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 10px;
}

.nav-group-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-group-item:hover {
    background: #f1f5f9;
    color: var(--link-color);
    padding-left: 16px;
}

.nav-group-item.pending {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

.nav-group-item.pending:hover {
    background: transparent;
    color: var(--text-secondary);
}

.item-dot {
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
}

.nav-group-item:hover .item-dot {
    background: var(--link-color);
    transform: scale(1.5);
}

/* === Mobile Navigator Styles === */
.nav-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-parent-mobile {
    display: block;
    padding: 10px 15px;
    font-weight: 800;
    font-size: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.nav-submenu-mobile {
    list-style: none;
    padding-left: 15px;
    margin-bottom: 15px;
}

.nav-submenu-mobile li a {
    display: block;
    padding: 8px 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-left: 2px solid #e2e8f0;
    transition: all 0.2s;
}

.nav-submenu-mobile li a:hover {
    color: var(--link-color);
    border-left-color: var(--link-color);
    background: #f1f5f9;
}

.nav-submenu-mobile li a.pending {
    opacity: 0.5;
    pointer-events: none;
}

/* === Top Nav Mega Menu Styles === */
.top-nav-bar {
    background: white;
    border-bottom: 1px solid #eef2f6;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    margin-bottom: 50px; /* Увеличили отступ снизу для воздуха */
}

.top-nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px; /* Reduced from 30px to fit 5 items comfortably */
}

.nav-link {
    display: block;
    padding: 20px 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--link-color);
}

/* Dropdown logic */
.nav-item-dropdown {
    position: static; /* Important for full-width mega menu */
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 3px solid var(--link-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 40px 0;
}

.nav-item-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding: 0 2rem;
}

.mega-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 10px;
}

.mega-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--link-color);
}

.mega-item {
    display: block;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

.mega-item:hover {
    color: var(--link-color);
    transform: translateX(5px);
}

.mega-item.pending {
    opacity: 0.4;
    cursor: default;
}

/* === КАРТОЧКА СТАТЬИ: ЭКСПЕРТНЫЕ ПОЛОСКИ (Hozent Style) === */
.article-top-ribbon {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    position: relative;
    transition: all 0.3s ease;
    min-height: 52px; /* Сопоставимо с высотой блока рейтинга */
}

.ribbon-products {
    display: flex;
    gap: 4px;
    margin-left: auto;
    align-items: center;
    flex-shrink: 0;
}

.ribbon-product-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #fff;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.ribbon-product-img:hover {
    transform: translateY(-4px) scale(1.1);
    z-index: 2;
}

.article-top-ribbon.guide .rating-author {
    margin-left: auto;
}

.article-top-ribbon.ranking {
    background: linear-gradient(135deg, #fff5ed 0%, #ffffff 100%);
    border-left: 4px solid #FF6B00;
}

.article-top-ribbon.guide {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border-left: 4px solid #0ea5e9;
}

.article-top-ribbon.unboxing {
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
    border-left: 4px solid #111827;
    overflow: hidden;
}

.article-top-ribbon.unboxing .ribbon-bg-emoji {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
    font-size: 2.5rem;
    opacity: 0.1;
    pointer-events: none;
    transition: all 0.4s ease;
}

.unboxing-product-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    flex-shrink: 0;
    z-index: 2;
    background: #fff;
    order: 1;
}

.article-top-ribbon.unboxing .ribbon-main {
    order: 2;
    border-right: 1px solid rgba(0,0,0,0.05);
    border-left: 1px solid rgba(0,0,0,0.05);
    margin-left: 0;
    padding-left: 12px;
}

.article-top-ribbon.unboxing .ribbon-stats {
    order: 3;
    padding-left: 12px;
}

.unboxing-product-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card:hover .unboxing-product-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.article-card:hover .article-top-ribbon.unboxing .ribbon-bg-emoji {
    opacity: 0.2;
    transform: translateY(-50%) rotate(0deg) scale(1.1);
}

.ribbon-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    min-width: 70px;
    text-align: center;
    border-right: 1px solid rgba(0,0,0,0.05);
    padding-right: 12px;
}

.ribbon-title {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.1;
    display: block;
}

.ranking .ribbon-title { color: #FF6B00; }
.guide .ribbon-title { color: #0ea5e9; }
.unboxing .ribbon-title { color: #111827; }

/* Versus Ribbon Styles */
.article-top-ribbon.versus-ribbon {
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
    border-left: 4px solid #6779e3;
}

.versus-ribbon .ribbon-title { color: #6779e3; }

.ribbon-vs-images {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.vs-img-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.vs-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vs-img-wrapper.red-side { border-color: #ef4444; }
.vs-img-wrapper.blue-side { border-color: #3b82f6; }

.vs-divider-text {
    font-size: 10px;
    font-weight: 900;
    color: #6779e3;
    background: #fff;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    z-index: 2;
    margin: 0 -8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.article-card:hover .vs-img-wrapper.red-side { transform: translateX(-5px) rotate(-5deg); }
.article-card:hover .vs-img-wrapper.blue-side { transform: translateX(5px) rotate(5deg); }
.article-card:hover .article-top-ribbon.versus-ribbon {
    background: linear-gradient(135deg, #ede9fe 0%, #ffffff 100%);
}

.ribbon-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    padding-left: 4px;
}

.ribbon-stats span:first-child {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}

.ribbon-stats span:last-child {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.2;
}

.stat-divider {
    display: none; /* Убираем точку, так как перешли на двухстрочный формат */
}

/* Эффекты при наведении на карточку */
.article-card:hover .article-top-ribbon.ranking {
    background: linear-gradient(135deg, #ffede3 0%, #ffffff 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.1);
}

.article-card:hover .article-top-ribbon.guide {
    background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
}

.article-card:hover .article-top-ribbon.unboxing {
    background: linear-gradient(135deg, #e5e7eb 0%, #ffffff 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Unboxing Card Specific Styles */
.unboxing-card {
    border-left: none !important;
}

.unboxing-card .card-title {
    color: #111827 !important;
}

.unboxing-card:hover {
    background: #f9fafb !important;
}

.unboxing-card .excerpt a {
    color: #FF6B00 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-bottom: 2px solid rgba(255, 107, 0, 0.2) !important;
}

.unboxing-card .excerpt a:hover {
    background-color: rgba(255, 107, 0, 0.08) !important;
    border-bottom-color: #FF6B00 !important;
}

@media (max-width: 600px) {
    .article-top-ribbon {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .ribbon-main {
        min-width: 55px;
        padding-right: 6px;
    }
    
    .ribbon-title {
        font-size: 0.6rem;
    }
    
    .ribbon-stats {
        min-width: 0;
        flex: 1;
    }

    .ribbon-stats span:first-child {
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .ribbon-stats span:last-child {
        font-size: 0.65rem;
    }

    .ribbon-products {
        gap: 2px;
        flex-shrink: 0;
    }
    
    .ribbon-product-img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .article-top-ribbon {
        padding: 8px 12px;
    }
    
    .ribbon-products {
        display: flex; /* Возвращаем картинки, но делаем их меньше */
    }
    
    .ribbon-product-img {
        width: 28px;
        height: 28px;
    }

    .mega-cta-block::before {
        font-size: 4rem;
    }
}

.mega-sub-title {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    margin: 15px 0 8px;
    font-weight: 800;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 4px;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .top-nav-bar { display: none; }
}

/* === ИНТРО-БЛОКИ В КАТЕГОРИЯХ (Category Intro) === */
.category-intro-box {
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0 30px 0;
    font-size: 1.05rem;
    line-height: 1.6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #eef2f6;
}

.category-intro-box.guide-intro {
    background: #f0f9ff;
    border-left: 5px solid #0ea5e9;
    color: #0369a1;
}

.category-intro-box.ranking-intro {
    background: #fff5ed;
    border-left: 5px solid #FF6B00;
    color: #9a3412;
}

.category-intro-box .intro-text strong {
    color: #0f172a;
    font-weight: 800;
}

@media (max-width: 768px) {
    .category-intro-box {
        padding: 15px;
        font-size: 0.95rem;
        margin: 15px 0 25px 0;
    }
}

/* --- Video Container --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hozent-expert-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s;
}
.hozent-expert-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
/* Бейдж бренда Hozent */
.hozent-trust-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #2c3e50; /* Строгий темный цвет бренда */
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    z-index: 2;
}
/* Лейбл категории (справа) */
.category-label {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f3f5;
    color: #555;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}
.hozent-compact-card {
      background: #fff;
      border: 1px solid #e0e0e0;
      border-radius: 12px;
      padding: 16px;
      margin-bottom: 24px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      font-family: 'Helvetica Neue', Arial, sans-serif;
      position: relative;
      overflow: hidden;
    }
    .hozent-compact-card:hover {
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      transform: translateY(-2px);
      transition: all 0.3s ease;
    }
    .rank-badge {
      position: absolute;
      top: 0;
      left: 0;
      background: #FFD700; /* Золото для топа */
      color: #000;
      font-weight: 700;
      padding: 4px 12px;
      border-bottom-right-radius: 12px;
      font-size: 14px;
      z-index: 2;
    }
    .card-grid {
      display: grid;
      grid-template-columns: 120px 1fr;
      gap: 20px;
      align-items: start;
    }
    .card-img img {
      width: 100%;
      height: auto;
      object-fit: contain;
      max-height: 160px;
    }
    .card-content h3 {
      margin: 0 0 8px 0;
      font-size: 18px;
      line-height: 1.3;
      color: #333;
    }
    .card-meta {
      display: flex;
      gap: 15px;
      font-size: 14px;
      margin-bottom: 12px;
      color: #666;
      align-items: center;
      flex-wrap: wrap;
    }
    .rating-star { color: #f39c12; font-weight: bold; }
    .price-tag { 
      background: #f0f0f0; 
      padding: 2px 8px; 
      border-radius: 4px; 
      color: #000; 
      font-weight: 600; 
    }
    .specs-list {
      display: flex;
      gap: 10px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }
    .spec-tag {
      font-size: 12px;
      border: 1px solid #ddd;
      padding: 2px 8px;
      border-radius: 20px;
      color: #555;
    }
    .pros-cons-mini {
      font-size: 13px;
      line-height: 1.5;
      margin-bottom: 15px;
      background: #f9f9f9;
      padding: 10px;
      border-radius: 8px;
    }
    .pros-text { color: #2e7d32; margin-bottom: 4px; }
    .cons-text { color: #c62828; }
    .verdict-mini {
      font-style: italic;
      color: #444;
      font-size: 13px;
      margin-bottom: 15px;
      border-left: 3px solid #333;
      padding-left: 10px;
    }
    .btn-check-price {
      position: relative;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      min-height: 44px;
      padding: 12px 16px;

      background: linear-gradient(180deg, #ffd84d 0%, #ffcc00 100%); /* премиум-жёлтый */
      color: #0b1220;
      text-decoration: none;

      border-radius: 12px;
      font-weight: 800;
      letter-spacing: 0.2px;

      box-shadow:
        0 10px 25px rgba(255, 204, 0, 0.22),
        0 2px 0 rgba(17, 24, 39, 0.10);

      transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
      z-index: 1;
      -webkit-tap-highlight-color: transparent;
    }

    /* Иконка внутри кнопки */
    .btn-check-price::before {
      content: "🏷️";
      font-size: 18px;
      line-height: 1;
      filter: saturate(1.05);
    }
    .btn-check-price::after {
      content: "";
      position: absolute;
      right: -10px;
      top: 50%;
      transform: translateY(-50%) rotate(-25deg);
      width: 90px;
      height: 80px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 833.2'%3E%3Cpath fill='%23FF5226' d='M529.3 833.2c-229.8 0-416.6-186.1-416.6-415.9C112.7 187.5 299.5 0 529.3 0c229.8 0 416.6 187.5 416.6 417.4 0 229.8-186.8 415.8-416.6 415.8z'/%3E%3Cpath fill='%23FFDD00' d='M464.8 56.4L0 781.6h213.1l268.5-418-6.6-3-74.4 299.1 157.6 27.8 162-203.6-8.8-4.4-54.7 231.2 343.4-65.4L930 530l-123.8 28.3 14.6 16.8 57.6-241.5-134.3-89.8-175.7 221.1 8.7 4.4 72.2-289.7c-18.4-1.3-202.9-124.5-202.9-124.5z'/%3E%3Cpath fill='%23FFDD00' d='M464.8 56.4L0 781.6h213.1l268.5-418-6.6-3-74.4 299.1 157.6 27.8 162-203.6-8.8-4.4-54.7 231.2 138-26.3 83.8-350.9-134.3-89.8-175.7 221.1 8.7 4.4 72.2-289.7c-18.4-1.3-202.9-124.5-202.9-124.5z'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      opacity: 0.12; /* Чуть меньше прозрачность, так как размер стал больше */
      z-index: -1;
    }

/* Кнопка Наверх */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--link-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #e65a00;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
    .btn-check-price:hover {
      background: linear-gradient(180deg, #ffe277 0%, #ffcc00 100%);
      transform: translateY(-1px);
      box-shadow:
        0 14px 32px rgba(255, 204, 0, 0.28),
        0 3px 0 rgba(17, 24, 39, 0.12);
    }
    .btn-check-price:active {
      transform: translateY(0px);
      box-shadow:
        0 8px 18px rgba(255, 204, 0, 0.22),
        0 2px 0 rgba(17, 24, 39, 0.10);
    }
    .btn-check-price:focus-visible {
      outline: 3px solid rgba(99, 102, 241, 0.35);
      outline-offset: 2px;
    }

    /* Стили специально для страниц ТОП (рейтингов) */
    .ranking-page .btn-check-price {
      background: linear-gradient(180deg, #ffd84d 0%, #ffcc00 100%) !important;
      color: #2f3951 !important;
      box-shadow: 0 10px 25px rgba(255, 204, 0, 0.22), 0 2px 0 rgba(17, 24, 39, 0.10) !important;
      border: none !important;
      padding: 16px 24px !important;
      font-size: 1.1rem !important;
      border-radius: 12px !important;
      text-transform: uppercase !important;
      letter-spacing: 1px !important;
      width: 100% !important;
      min-width: 100% !important;
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
      visibility: visible !important;
      opacity: 1 !important;
      height: auto !important;
      line-height: 1.2 !important;
      position: relative;
      z-index: 1;
      overflow: hidden;
      font-weight: 700 !important;
      font-family: 'Manrope', sans-serif !important;
    }

    .ranking-page .btn-check-price:hover {
      background: linear-gradient(180deg, #ffe277 0%, #ffcc00 100%) !important;
      transform: translateY(-2px) !important;
      box-shadow: 0 15px 30px rgba(255, 204, 0, 0.28) !important;
    }

    .ranking-page .btn-check-price::after {
      display: block !important;
      content: "" !important;
      position: absolute !important;
      right: -10px !important;
      top: 50% !important;
      transform: translateY(-50%) rotate(-20deg) !important;
      width: 90px !important;
      height: 80px !important;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 833.2'%3E%3Cpath fill='%23FF5226' d='M529.3 833.2c-229.8 0-416.6-186.1-416.6-415.9C112.7 187.5 299.5 0 529.3 0c229.8 0 416.6 187.5 416.6 417.4 0 229.8-186.8 415.8-416.6 415.8z'/%3E%3Cpath fill='%23FFDD00' d='M464.8 56.4L0 781.6h213.1l268.5-418-6.6-3-74.4 299.1 157.6 27.8 162-203.6-8.8-4.4-54.7 231.2 343.4-65.4L930 530l-123.8 28.3 14.6 16.8 57.6-241.5-134.3-89.8-175.7 221.1 8.7 4.4 72.2-289.7c-18.4-1.3-202.9-124.5-202.9-124.5z'/%3E%3Cpath fill='%23FFDD00' d='M464.8 56.4L0 781.6h213.1l268.5-418-6.6-3-74.4 299.1 157.6 27.8 162-203.6-8.8-4.4-54.7 231.2 138-26.3 83.8-350.9-134.3-89.8-175.7 221.1 8.7 4.4 72.2-289.7c-18.4-1.3-202.9-124.5-202.9-124.5z'/%3E%3C/svg%3E") !important;
      background-size: contain !important;
      background-repeat: no-repeat !important;
      opacity: 0.12 !important;
      z-index: 0 !important;
      pointer-events: none !important;
      background-color: transparent !important;
    }

    /* Стиль для примечаний к таблицам */
    .ranking-page .table-note {
      color: #7b7979 !important;
      display: inline-block;
      padding: 6px 14px;
      border-radius: 8px;
      font-size: 0.85rem;
      font-weight: 500;
      margin-top: 10px;
      font-style: italic;
    }

    /* Авто-фикс инлайновых стилей для таблиц (удаление ненужных фонов) */
    .article-body table tr[style*="background:#667eea"],
    .article-body table tr[style*="background: #667eea"],
    .article-body table tr[style*="background:#764ba2"],
    .article-body table tr[style*="background: #764ba2"] {
      background: none !important;
      color: inherit !important;
    }

    .article-body table tr[style*="background:#667eea"] th,
    .article-body table tr[style*="background: #667eea"] th,
    .article-body table tr[style*="background:#667eea"] td,
    .article-body table tr[style*="background: #667eea"] td,
    .article-body table tr[style*="background:#764ba2"] th,
    .article-body table tr[style*="background: #764ba2"] th,
    .article-body table tr[style*="background:#764ba2"] td,
    .article-body table tr[style*="background: #764ba2"] td {
      background: none !important;
      color: inherit !important;
      border: 1px solid var(--border-color) !important;
    }

    /* Авто-фикс инлайновых стилей для ссылок (удаление принудительных фонов и стилей кнопок) */
    .article-body a[style*="background"] {
      background: none !important;
      color: var(--link-color) !important;
      padding: 0 !important;
      margin: 0 !important;
      border-radius: 0 !important;
      display: inline !important;
      box-shadow: none !important;
      text-decoration: underline !important;
      font-weight: normal !important;
      font-size: inherit !important;
    }

    /* Исключение для премиальных CTA блоков: восстанавливаем белую кнопку */
    div[style*="linear-gradient"] a[style*="background"],
    .mega-cta-block a {
      display: inline-block !important;
      background: #ffffff !important;
      color: #2c3e50 !important;
      padding: 15px 40px !important;
      border-radius: 50px !important;
      text-decoration: none !important;
      font-weight: 800 !important;
      font-size: 16px !important;
      margin-top: 10px !important;
      box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
      transition: all 0.3s ease !important;
    }

    .mega-cta-block a:hover {
      transform: translateY(-2px) !important;
      box-shadow: 0 15px 30px rgba(0,0,0,0.3) !important;
      background: #f8fafc !important;
    }

    /* Исправление для мобильных в ТОП */
    @media (max-width: 768px) {
      .ranking-page .btn-check-price {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 1rem !important;
      }
    }

    @media (max-width: 1150px) {
      .mobile-only-banner {
          display: block !important;
          margin: 30px auto;
          max-width: 600px;
          padding: 0 15px;
      }
    }

    /* Скрываем мобильный баннер на десктопе (там, где есть сайдбар) */
    @media (min-width: 1151px) {
      .mobile-only-banner {
          display: none !important;
      }
    }

    @media (max-width: 480px) {
      .article-body p, .article-body ul, .article-body ol {
          font-size: 1rem;
          line-height: 1.65;
      }
    }

    @media (max-width: 480px) {
      .card-grid { grid-template-columns: 1fr; }
      .card-img img { max-height: 140px; margin: 0 auto; display: block; }
    }

/* === РЎРђР™Р

/* --- COMMENTS SECTION --- */
.comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.comments-list {
    margin-bottom: 40px;
}

.comment-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #fdfdfd;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.comment-item.reply-item {
    margin-left: 60px;
    background: #fff;
    border-left: 4px solid #6779e3;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-author {
    font-weight: 700;
    color: #111;
}

.comment-date {
    font-size: 13px;
    color: #888;
}

.comment-text {
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.comment-reply-btn {
    background: none;
    border: none;
    color: #6779e3;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}

.comment-reply-btn:hover {
    text-decoration: underline;
}

.comment-form-container {
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.form-title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 800;
}

.reply-to-info {
    margin-bottom: 15px;
    padding: 10px 15px;
    background: #eef2ff;
    border-radius: 8px;
    font-size: 14px;
    color: #4338ca;
}

.cancel-reply-btn {
    background: none;
    border: none;
    color: #ef4444;
    margin-left: 10px;
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
}

.form-group {
    margin-bottom: 15px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #6779e3;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.submit-btn {
    background: #6779e3;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #4338ca;
}

.submit-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.form-message {
    margin-top: 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .comment-item.reply-item {
        margin-left: 20px;
    }
}

/* РЎРєСЂС‹РІР°РµРј Р·РЅР°С‡РѕРє reCAPTCHA, С‚Р°Рє РєР°Рє РѕРЅ РјРµС€Р°РµС‚ РЅР°РІРёРіР°С†РёРё */
.grecaptcha-badge { 
    visibility: hidden !important; 
}


/* --- AVATAR PLACEHOLDERS --- */
.user-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.reply-item .user-avatar-placeholder {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

/* --- COMMENTS PAGINATION --- */
.comments-pagination {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    justify-content: center;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.pagination-link:hover {
    border-color: #6779e3;
    color: #6779e3;
}

.pagination-link.active {
    background: #6779e3;
    border-color: #6779e3;
    color: #fff;
}

/* --- РЈР»СѓС‡С€РµРЅРЅС‹Рµ Р°РІР°С‚Р°СЂРєРё --- */
.user-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 14px; /* Р‘РѕР»РµРµ СЃРѕРІСЂРµРјРµРЅРЅС‹Р№ СЃРєСЂСѓРіР»РµРЅРЅС‹Р№ РєРІР°РґСЂР°С‚ */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    font-family: 'Manrope', sans-serif;
    transition: transform 0.2s ease;
}

.user-avatar-placeholder:hover {
    transform: scale(1.05) rotate(-3deg);
}

.reply-item .user-avatar-placeholder {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 10px;
}

.author-info .user-avatar-placeholder {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 8px;
}

/* Р¤РёРєСЃ РґР»СЏ РґР»РёРЅРЅС‹С… СЃСЃС‹Р»РѕРє РІ РєРѕРјРјРµРЅС‚Р°СЂРёСЏС… */
.comment-text {
    word-break: break-all;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}


/* --- POST ACTIONS (VC STYLE) --- */
.post-actions-wrapper {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.content__reactions {
    margin-bottom: 20px;
}

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

.reaction-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.reaction-button:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.reaction-button--active {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.reaction-button__counter {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.reaction-add-wrapper {
    position: relative;
}

.reaction-button--add {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    color: #64748b;
}

.reaction-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 8px;
    display: none;
    gap: 8px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    z-index: 100;
}

.reaction-menu.active {
    display: flex;
}

.reaction-menu-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.2s;
}

.reaction-menu-item:hover {
    background: #f1f5f9;
}

.reaction-menu-item img {
    width: 24px;
    height: 24px;
}

.content-footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.content-footer-item {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.content-footer-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
    background: transparent;
    border: none;
    cursor: pointer;
}

.content-footer-button:hover {
    background: #f1f5f9;
}

.content-footer-button__icon {
    color: #64748b;
    display: flex;
    align-items: center;
}

.content-footer-button__label {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.content-footer__space {
    flex-grow: 1;
}

.content-stats-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.content-stats-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.online-counter {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.online-counter__indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.online-counter__value {
    color: #1e293b;
    font-weight: 800;
}

.animated-image {
    width: 20px;
    height: 20px;
}

/* --- REACTION EMOJIS --- */
.reaction-emoji {
    font-size: 18px;
    line-height: 1;
    display: inline-block;
}

.reaction-emoji-large {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.reaction-menu-item:hover .reaction-emoji-large {
    transform: scale(1.3);
}

.reaction-button--active .reaction-emoji {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Стили для кнопок навигации в сайдбаре и мобильном меню */
.quick-nav-v3 {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    padding: 0;
    width: 100%;
}

.quick-nav-row {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-bottom: 8px;
}

.quick-nav-link-simple {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    flex: 1;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.quick-nav-link-simple .link-emoji {
    position: absolute;
    font-size: 2.2rem;
    opacity: 0.06;
    right: -5px;
    bottom: -8px;
    transform: rotate(-15deg);
    pointer-events: none;
    transition: all 0.3s ease;
}

.quick-nav-link-simple:hover .link-emoji {
    opacity: 0.12;
    transform: rotate(0deg) scale(1.1);
}

.quick-nav-link-simple .link-text {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
}

.quick-nav-link-simple .link-count {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 80%);
    opacity: 0;
    font-weight: 800;
    font-size: 1.1em;
    color: #FF6B00;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
    pointer-events: none;
}

.quick-nav-link-simple:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.quick-nav-link-simple:hover .link-text {
    transform: translateY(-150%);
    opacity: 0;
}

.quick-nav-link-simple:hover .link-count {
    transform: translate(-50%, -50%);
    opacity: 1;
}

/* Специфичные стили для маленьких тегов */
.tag-link-v3 {
    min-height: 32px !important;
    font-size: 0.75rem !important;
    opacity: 0.8;
    padding: 4px 8px !important;
    flex: 1 1 0% !important;
    width: 0 !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-link-v3.long-tag {
    font-size: 0.65rem !important;
    line-height: 1.1;
}

.tag-link-v3 .link-text {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.tag-link-v3 .link-count {
    font-size: 0.85em !important;
    font-weight: 700 !important;
    color: #6366f1;
}

.tag-link-v3:hover {
    opacity: 1;
}

/* --- CARD STATS FOOTER (VC STYLE) --- */
.card-stats-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 12px;
    border-top: none;
}

.card-stats-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-stats-right {
    display: flex;
    align-items: center;
}

.card-stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.card-stat-item .icon-wrap {
    display: flex;
    align-items: center;
    opacity: 0.7;
}

.card-reaction-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
}

.card-stat-icon-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: #94a3b8;
    transition: all 0.2s;
}

.card-stat-icon-btn:hover {
    background: #f1f5f9;
    color: #6779e3;
    border-color: #cbd5e1;
}

.card-stat-item.views {
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 6px;
}

.meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    /* border-top: 1px solid var(--border-color); */
    padding-top: 0px;
    margin-top: auto;
}

.article-card .card-stats-footer {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
    flex-grow: 1;
    justify-content: flex-end;
    gap: 15px;
}

.article-card .card-content {
    display: flex;
    flex-direction: column;
}

.article-card .meta-wrapper-unified {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: none;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .article-card .meta-wrapper-unified {
        justify-content: flex-start;
        gap: 10px;
    }
    .article-card .card-stats-footer {
        justify-content: flex-start;
        width: 100%;
    }
}


/* --- ARTICLE FILTERS (PILLS) --- */
.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #64748b;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    min-width: 100px;
}

.filter-pill .pill-emoji {
    position: absolute;
    font-size: 1.8rem;
    opacity: 0.08;
    right: -5px;
    bottom: -5px;
    transform: rotate(-15deg);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 0;
}

.filter-pill .pill-label {
    position: relative;
    z-index: 1;
}

.filter-pill:hover {
    border-color: #6779e3;
    color: #6779e3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.1);
}

.filter-pill:hover .pill-emoji {
    opacity: 0.15;
    transform: rotate(0deg) scale(1.1);
}

.filter-pill.active {
    background: #6779e3;
    border-color: #6779e3;
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.filter-pill.active .pill-emoji {
    opacity: 0.15;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

@media (max-width: 768px) {
    .section-header-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .filter-pills {
        width: 100%;
    }
    .filter-pill {
        padding: 8px 16px;
        font-size: 13px;
        flex: 1;
        justify-content: center;
        min-width: calc(33.33% - 10px);
    }
}

.date-updated {
    font-size: 0.8em;
    color: #94a3b8;
    margin-left: 5px;
}

.btn-battle-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
    padding: 6px 12px 6px 6px !important;
    gap: 12px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
}

.btn-battle-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.08) !important;
    border-color: #FF6B00 !important;
    color: #FF6B00 !important;
}

.btn-battle-link .icon-box {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* --- HUB PAGE STYLES --- */
.hub-hero {
    background: #fff;
    padding: 4rem 2rem;
    border-radius: 24px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.hub-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-color);
}
.hub-hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.hub-hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.hub-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    background: #f1f5f9;
    color: var(--text-color);
}
.hub-btn:hover {
    background: var(--link-color);
    color: #fff;
    transform: translateY(-2px);
}

.hub-section {
    margin-bottom: 4rem;
}
.hub-section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--link-color);
}

.hub-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.hub-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s;
    border: 1px solid #f0f3f5;
}
.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}
.hub-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.hub-card .pos {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.4;
    min-height: 2.8rem;
}
.hub-card-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hub-card-link {
    font-size: 0.9rem;
    color: var(--link-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.hub-card-link:hover {
    text-decoration: underline;
}

.best-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 1024px) {
    .best-reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .best-reviews-grid { grid-template-columns: 1fr; }
}

.cluster-best {
    margin-bottom: 2rem;
}
.cluster-best h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
