/* News Detail Page */
.news-detail {
    padding: 4rem 0;
    background-color: var(--dark-bg);
}

.news-detail .back-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.news-detail .back-link:hover {
    color: #fff;
    transform: translateX(-5px);
}

.news-detail .back-link i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.news-detail .back-link:hover i {
    transform: translateX(-3px);
}

.news-article {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-article .article-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-article .back-to-main {
    align-self: flex-start;
}

.news-article h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.news-article .article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center;
}

.news-article .article-category {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.news-article .article-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-article .article-date i {
    font-size: 1.1rem;
}

.news-article .main-image {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 2.5rem;
}

.news-article .article-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

.news-article .article-content p {
    margin-bottom: 1.5rem;
}

.news-article .article-content img {
    width: 100%;
    border-radius: 15px;
    margin: 2rem 0;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-section {
    text-align: center;
}

.share-section h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.related-news {
    margin-top: 4rem;
}

.related-news h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .news-article {
        padding: 2rem;
    }

    .news-article h1 {
        font-size: 2rem;
    }

    .news-article .article-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .news-article {
        padding: 1.5rem;
    }

    .news-article h1 {
        font-size: 1.8rem;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .share-button {
        width: 100%;
        justify-content: center;
    }
} 