/*
 * News Detail Page Styles
 */

.news-detail-container {
    max-width: 1000px;
    margin: 0 auto;
}

.news-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.news-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.news-breadcrumb span {
    margin: 0 0.5rem;
    color: var(--text-light);
}

.news-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.news-article {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.news-header {
    padding: 2rem 2rem 1rem;
}

.news-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.news-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-image-container {
    margin: 0;
}

.news-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.news-content {
    padding: 2rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.news-actions {
    padding: 0 2rem 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.related-news {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.related-news h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-news-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.related-news-item:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.related-news-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-news-content h4 {
    margin-bottom: 0.5rem;
}

.related-news-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
}

.related-news-content h4 a:hover {
    color: var(--primary-color);
}

.related-news-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .news-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-title {
        font-size: 2rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .news-actions {
        flex-direction: column;
    }
}

@media print {
    .header, .footer, .news-actions, .related-news {
        display: none;
    }
    
    .news-detail-content {
        grid-template-columns: 1fr;
    }
}

