.news-hero {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 30%),
                linear-gradient(90deg, rgba(0,0,0,0) 70%, rgba(0,0,0,1) 100%),
                linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}

.news-hero-container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
    padding: 40px 15px;
}

.news-hero-content {
    max-width: 800px;
    padding-bottom: 20px;
}

.news-hero-category {
    display: inline-block;
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: #cad4d4;
    border-radius: 4px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.news-hero-category:hover {
    transform: scale(1.05);
}

.news-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-hero-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.news-hero-meta i {
    margin-right: 6px;
}

.news-main {
    padding: 40px 0 60px;
    background: #f5f5f5;
}

[data-theme="dark"] .news-main {
    background: #121212;
}

.news-article {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

[data-theme="dark"] .news-article {
    background: #1e1e1e;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.news-featured-image {
    position: relative;
    margin: -30px -30px 30px -30px;
    height: 400px;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 30px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 13px;
}

.news-content {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

[data-theme="dark"] .news-content {
    color: #e0e0e0;
}

.news-lead {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

[data-theme="dark"] .news-lead {
    color: #cad4d4;
    border-color: #333;
}

.news-content p {
    margin-bottom: 20px;
}

.news-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 35px 0 20px;
}

[data-theme="dark"] .news-content h2 {
    color: #e0e0e0;
}

.news-quote {
    margin: 30px 0;
    padding: 25px 30px;
    background: #f9f9f9;
    border-left: 4px solid #cad4d4;
    font-style: italic;
    font-size: 17px;
    line-height: 1.6;
    color: #555;
}

[data-theme="dark"] .news-quote {
    background: #2a2a2a;
    color: #aaa;
}

.news-quote cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

[data-theme="dark"] .news-quote cite {
    color: #cad4d4;
}

.news-stats {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
}

[data-theme="dark"] .news-stats {
    background: #2a2a2a;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 8px;
}

[data-theme="dark"] .stat-number {
    color: #cad4d4;
}

.stat-label {
    font-size: 13px;
    color: #777;
}

[data-theme="dark"] .stat-label {
    color: #aaa;
}

.news-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px 0;
    margin: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.tag-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

[data-theme="dark"] .tag-label {
    color: #e0e0e0;
}

.news-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    color: #1a1a1a;
    background: #f0f0f0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.news-tag:hover {
    background: #1a1a1a;
    color: #fff;
}

[data-theme="dark"] .news-tag {
    color: #e0e0e0;
    background: #2a2a2a;
}

[data-theme="dark"] .news-tag:hover {
    background: #cad4d4;
    color: #1a1a1a;
}

.news-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

[data-theme="dark"] .share-label {
    color: #e0e0e0;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    transition: all 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.share-btn.vk {
    background: #4a76a8;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.ok {
    background: #ee8208;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

[data-theme="dark"] .news-navigation {
    border-color: #333;
}

.news-nav-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 45%;
    padding: 15px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.news-nav-item:hover {
    background: rgba(0,0,0,0.03);
}

[data-theme="dark"] .news-nav-item:hover {
    background: rgba(255,255,255,0.05);
}

.news-prev {
    text-align: left;
}

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

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

.nav-label i {
    margin: 0 5px;
}

.nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.news-nav-item:hover .nav-title {
    color: #d40602;
}

[data-theme="dark"] .nav-title {
    color: #e0e0e0;
}

.related-news {
    margin-top: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #d32f2f;
}

[data-theme="dark"] .section-title {
    color: #e0e0e0;
}

.card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    height: 100%;
}

[data-theme="dark"] .card {
    background: #1e1e1e;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.card-image {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25);
    pointer-events: none;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    border-radius: 3px;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Цвета категорий - только для меток, не для фона */
.category-society { color: #cad4d4; }
.category-city { color: #0d3b3b; }
.category-incidents { color: #c62828; }
.category-politics { color: #1565c0; }
.category-economy { color: #2e7d32; }
.category-culture { color: #7b1fa2; }
.category-sport { color: #f57c00; }
.category-education { color: #00796b; }
.category-health { color: #d32f2f; }

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 10px;
}

.card-date {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

[data-theme="dark"] .card-title {
    color: #e0e0e0;
}

.sidebar-dark {
    background: #1e1e1e;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
    position: sticky;
    top: 80px;
    margin-bottom: 20px;
}

[data-theme="dark"] .sidebar-dark {
    background: #1e1e1e;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 700;
    color: #cad4d4;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #cad4d4;
}

.category-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.category-menu-item {
    display: block;
    padding: 14px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #333;
    transition: all 0.2s ease;
}

.category-menu-item:hover {
    color: #cad4d4;
    padding-left: 20px;
    background: rgba(202, 212, 212, 0.1);
}

.category-menu-item.active {
    color: #cad4d4;
    border-left: 3px solid #cad4d4;
    padding-left: 12px;
}

.category-menu-item:last-child {
    border-bottom: none;
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.popular-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-number {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #cad4d4;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.popular-content {
    flex: 1;
}

.popular-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 5px;
    transition: color 0.2s ease;
}

.popular-title:hover {
    color: #cad4d4;
}

.popular-date {
    font-size: 11px;
    color: #888;
}

@media (max-width: 991px) {
    .news-featured-image {
        height: 300px;
    }

    .sidebar-dark {
        position: static;
    }
}

@media (max-width: 768px) {
    .news-hero-title {
        font-size: 32px;
    }

    .news-hero {
        min-height: 300px;
    }

    .news-hero-container {
        min-height: 300px;
    }

    .news-article {
        padding: 20px;
    }

    .news-featured-image {
        height: 220px;
        margin: -20px -20px 20px -20px;
    }

    .news-stats {
        flex-direction: column;
        gap: 20px;
    }

    .news-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .news-nav-item {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .news-hero-title {
        font-size: 24px;
    }

    .news-featured-image {
        height: 180px;
    }

    .news-content {
        font-size: 15px;
    }

    .news-lead {
        font-size: 16px;
    }
}