        :root { --max-w: 840px; --accent: #0056b3; --accent-hover: #003d82; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; max-width: var(--max-w); margin: 30px auto; padding: 0 15px; color: #222; }
        h1 { font-size: 2em; margin-bottom: 20px; }

        /* Блок статистики */
        .stats-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 15px; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 8px; padding: 15px 20px; margin-bottom: 30px; }
        .stat-item { display: flex; flex-direction: column; }
        .stat-label { font-size: 0.82em; color: #6c757d; text-transform: uppercase; letter-spacing: 0.5px; }
        .stat-value { font-size: 1.4em; font-weight: 700; color: var(--accent); }

        /* Список новостей */
        .news-list { display: flex; flex-direction: column; gap: 20px; }
        .item { display: flex; gap: 20px; border-bottom: 1px solid #eee; padding-bottom: 20px; align-items: flex-start; }
        .item-img-wrap { flex-shrink: 0; width: 170px; height: 110px; overflow: hidden; border-radius: 6px; background: #eee; }
        .item-img { width: 100%; height: 100%; object-fit: cover; }
        .item-content h2 { margin: 0 0 6px 0; font-size: 1.22em; line-height: 1.35; }
        .item-content h2 a { text-decoration: none; color: #1a1a1a; }
        .item-content h2 a:hover { color: var(--accent); }
        .item-content p { margin: 0 0 8px 0; color: #555; font-size: 0.95em; line-height: 1.45; }
        .item-content time { font-size: 0.85em; color: #888; }

        /* Пагинация */
        .pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 40px 0; flex-wrap: wrap; }
        .pagination a, .pagination span { display: inline-block; padding: 8px 14px; border: 1px solid #ddd; border-radius: 4px; text-decoration: none; color: #333; font-size: 0.95em; }
        .pagination a:hover { background: #f1f3f5; border-color: #ccc; }
        .pagination .active { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: bold; }
        .pagination .dots { border: none; padding: 8px 6px; color: #999; }

        @media (max-width: 600px) {
            .item { flex-direction: column; }
            .item-img-wrap { width: 100%; height: 190px; }
        }
        
        
        
            :root { --max-w: 820px; --text-color: #222; --accent: #0056b3; }
            body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.7; color: var(--text-color); max-width: var(--max-w); margin: 30px auto; padding: 0 15px; }
            img { max-width: 100%; height: auto; border-radius: 6px; }
            .breadcrumbs { font-size: 0.85em; color: #666; margin-bottom: 20px; }
            .breadcrumbs a { color: var(--accent); text-decoration: none; }
            .article-header { margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
            h1 { font-size: 2.1em; line-height: 1.25; margin: 10px 0; color: #111; }
            .meta-info { font-size: 0.9em; color: #777; }
            .main-figure { margin: 25px 0; }
            .article-content { font-size: 1.08em; }
            .article-content h2 { font-size: 1.55em; line-height: 1.3; margin-top: 1.6em; margin-bottom: 0.6em; color: #111; border-left: 4px solid var(--accent); padding-left: 12px; }
            .article-content h3 { font-size: 1.3em; line-height: 1.35; margin-top: 1.4em; margin-bottom: 0.5em; color: #222; }
            .article-content h4 { font-size: 1.15em; margin-top: 1.2em; margin-bottom: 0.4em; color: #333; }
            .article-content p { margin: 1em 0; }
            .article-content ul, .article-content ol { margin: 1em 0 1em 1.5em; padding: 0; }
            .article-content li { margin-bottom: 0.5em; }
            .article-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; }
            
            /* Блок лайков и дизлайков */
            .reactions-bar { display: flex; align-items: center; gap: 12px; margin: 30px 0 20px 0; padding: 15px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
            .react-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid #ddd; background: #fff; border-radius: 20px; font-size: 0.9em; cursor: pointer; transition: 0.2s; user-select: none; }
            .react-btn:hover { background: #f4f6f8; }
            .react-btn.voted { border-color: var(--accent); color: var(--accent); font-weight: bold; background: #f0f7ff; }

            /* Блок комментариев */
            .comments-box { margin-top: 35px; }
            .comments-title { font-size: 1.3em; margin-bottom: 20px; border-bottom: 2px solid var(--accent); padding-bottom: 6px; }
            .comment-item { background: #fcfcfc; border: 1px solid #eee; border-radius: 8px; padding: 12px 16px; margin-bottom: 12px; }
            .comment-header { display: flex; justify-content: space-between; font-size: 0.85em; margin-bottom: 6px; color: #777; }
            .comment-author { font-weight: 600; color: #333; }
            .comment-text { font-size: 0.98em; line-height: 1.45; color: #222; margin: 0; }