/* 新闻详情页面样式 */

.news-detail-content {
    margin-bottom: 30px;
}

.news-detail-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
}

.news-detail-meta {
    font-size: 0.9rem;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

.image-caption {
    font-size: 0.85rem;
}

.news-detail-text {
    line-height: 1.8;
    color: #444;
}

.news-detail-text p {
    margin-bottom: 20px;
}

.news-detail-text h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

/* 分享和点赞按钮样式 */
.news-share {
    color: #666;
}

.share-icon {
    color: #666;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.share-icon:hover {
    color: var(--primary-color);
}

.news-like button {
    transition: all 0.3s;
}

.news-like button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 上一篇下一篇导航 */
.news-pagination {
    font-size: 0.9rem;
}

.news-prev, .news-next {
    color: #666;
    transition: all 0.3s;
}

.news-prev:hover, .news-next:hover {
    color: var(--primary-color);
}

/* 相关新闻样式 */
.related-news-title {
    font-size: 0.95rem;
    line-height: 1.4;
    transition: all 0.3s;
}

.related-news-item:hover .related-news-title {
    color: var(--primary-color) !important;
}

.related-news-img img {
    height: 60px;
    object-fit: cover;
    transition: all 0.3s;
}

.related-news-item:hover .related-news-img img {
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-detail-title {
        font-size: 1.6rem;
    }
    
    .news-detail-meta {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    
    .news-detail-meta > span {
        margin-bottom: 5px;
    }
    
    .news-detail-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-share {
        margin-bottom: 15px;
    }
    
    .news-detail-text h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .news-detail-title {
        font-size: 1.4rem;
    }
    
    .news-detail-text h4 {
        font-size: 1.2rem;
    }
    
    .news-pagination .col-6 {
        padding: 0 5px;
    }
} 