/* News Detail Page */
.news-detail-section {
    padding: 45px 0;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

/* News Meta */
.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(81, 177, 70, 0.05);
    border-radius: 15px;
    border-left: 4px solid #51b146;
}

.news-date,
.news-category,
.news-featured {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #004b6b;
    font-weight: 500;
    font-size: 0.9rem;
}

.news-date i,
.news-category i,
.news-featured i {
    color: #51b146;
    font-size: 0.8rem;
}

.news-featured {
    color: #51b146;
    font-weight: 600;
}

/* News Image */
.news-image {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-image:hover {
    transform: translateY(-5px);
}

.news-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image:hover .news-main-image {
    transform: scale(1.05);
}

/* News Content */
.news-content {
    margin-bottom: 60px;
}

.news-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 40px;
}

.news-text p {
    margin-bottom: 20px;
}

/* News Actions */
.news-actions {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.share-btn,
.print-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #51b146;
    background: transparent;
    color: #51b146;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover,
.print-btn:hover {
    background: #51b146;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(81, 177, 70, 0.3);
}

/* Related News */
.related-news {
    margin-top: 80px;
}

.related-title {
    font-size: 2rem;
    font-weight: 700;
    color: #004b6b;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #51b146, #004b6b);
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 25px;
}

.related-card-title {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.related-card-title a {
    color: #004b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-card-title a:hover {
    color: #51b146;
}

.related-excerpt {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.related-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.related-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #999999;
    font-size: 0.8rem;
}

.related-date i {
    color: #51b146;
    font-size: 0.7rem;
}

/* Dark Theme */
.dark-theme .news-detail-section {
    background: #1a1a1a;
}

.dark-theme .news-meta {
    background: rgba(81, 177, 70, 0.1);
    border-left-color: #51b146;
}

.dark-theme .news-date,
.dark-theme .news-category {
    color: #eeeff1;
}

.dark-theme .news-text {
    color: #e0e0e0;
}

.dark-theme .news-actions {
    border-color: #333333;
}

.dark-theme .related-title {
    color: #eeeff1;
}

.dark-theme .related-card {
    background: #2d2d2d;
}

.dark-theme .related-card-title a {
    color: #eeeff1;
}

.dark-theme .related-card-title a:hover {
    color: #51b146;
}

.dark-theme .related-excerpt {
    color: #cccccc;
}

.dark-theme .related-date {
    color: #999999;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .news-detail-section {
        padding: 60px 0;
    }
    
    .news-main-image {
        height: 300px;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 767.98px) {
    .news-detail-section {
        padding: 40px 0;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .news-main-image {
        height: 250px;
    }
    
    .news-text {
        font-size: 1rem;
    }
    
    .news-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .share-btn,
    .print-btn {
        justify-content: center;
    }
    
    .related-title {
        font-size: 1.6rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 575.98px) {
    .news-main-image {
        height: 200px;
    }
    
    .news-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .related-content {
        padding: 20px;
    }
}

