/* News item page */
.news-item-page {
    padding: 40px 0 72px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.news-item-page .container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-article-shell {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    padding: 40px;
}

.breadcrumb {
    margin-bottom: 28px;
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: #c4c4c4;
}

.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #E3000F;
}

.breadcrumb li:last-child {
    color: #111827;
    font-weight: 600;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
}

.article-category {
    display: inline-block;
    color: #E3000F;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 15px;
}

.article-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    color: #6b7280;
    font-size: 13px;
    flex-wrap: wrap;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
}

.article-image {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}

.article-content {
    font-size: 17px;
    line-height: 1.9;
    color: #374151;
}

.article-content p {
    margin-bottom: 18px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 34px 0 16px;
    color: #1a1a1a;
}

.article-content h2 { font-size: 28px; }
.article-content h3 { font-size: 22px; }
.article-content h4 { font-size: 18px; }

.article-content ul,
.article-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 4px solid #E3000F;
    padding-left: 20px;
    margin: 24px 0;
    color: #666;
    font-style: italic;
}

.article-source {
    margin-top: 30px;
    padding: 16px 18px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.article-source a {
    color: #E3000F;
}

.article-share {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
    color: #666;
}

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

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

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

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

.section-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
    color: #171717;
    text-align: center;
}

.news-section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.7;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.related-card-image {
    height: 160px;
    overflow: hidden;
}

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

.related-card-content {
    padding: 18px;
}

.related-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.related-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.related-card-title a:hover {
    color: #E3000F;
}

.related-card-meta {
    color: #999;
    font-size: 12px;
}

@media (max-width: 768px) {
    .news-item-page {
        padding: 32px 0 56px;
    }

    .news-article-shell {
        padding: 24px;
        border-radius: 16px;
    }

    .article-title,
    .section-title {
        font-size: 28px;
    }

    .article-content {
        font-size: 16px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .news-item-page .container {
        padding: 0 16px;
    }

    .news-article-shell {
        padding: 20px;
    }

    .article-title,
    .section-title {
        font-size: 26px;
    }

    .article-meta,
    .article-share {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .news-article-shell {
        padding: 16px;
        border-radius: 14px;
    }
    
    .article-title,
    .section-title {
        font-size: 22px;
    }
    
    .article-content {
        font-size: 15px;
    }
    
    .article-content h2 { font-size: 22px; }
    .article-content h3 { font-size: 18px; }
    
    .article-image img {
        max-height: 280px;
    }
    
    .share-btn {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 360px) {
    .news-article-shell {
        padding: 12px;
    }
    
    .article-title,
    .section-title {
        font-size: 20px;
    }
    
    .article-content {
        font-size: 14px;
    }
    
    .article-image img {
        max-height: 220px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
