/* Стили для одиночной новости */
.news-single {
    padding: 40px 0;
}

.news-article {
    max-width: 900px;
    margin: 0 auto;
}

/* Шапка новости */
.news-header {
    margin-bottom: 40px;
    text-align: center;
}

.news-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.news-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f0f4f8;
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-category:hover {
    background-color: var(--primary-color);
    color: white;
}

.news-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #1a365d;
}

.news-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Основной контент */
.news-content {
    line-height: 1.7;
    color: var(--text-color);
}

.news-featured-image {
    margin: 0 -20px 40px;
    border-radius: 0;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
    display: block;
}

.news-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.news-text p {
    margin-bottom: 1.5em;
}

.news-text img {
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    display: block;
    border-radius: 8px;
}

/* Футер новости */
.news-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .news-title {
        font-size: 2rem;
    }

    .news-featured-image {
        margin: 0 0 30px;
    }
}

@media (max-width: 768px) {
    .news-single {
        padding: 30px 0;
    }

    .news-title {
        font-size: 1.8rem;
    }

    .news-meta {
        flex-direction: column;
        gap: 10px;
    }

    .news-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .news-title {
        font-size: 1.5rem;
    }

    .news-categories {
        justify-content: flex-start;
    }
}