/* 面包屑导航样式 */
.breadcrumb-container {
    background-color: #f8f9fa;
    padding: 15px 0;
    margin-top: 56px;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 15px;
    color: #333333;
    line-height: 21px;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #333333;
}

/* 新闻详情内容样式 */
.news-detail-container {
    background-color: white;
    padding: 40px 0 60px;
}

.news-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 15px; */
}

.news-title {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 46px;
    color: #333333;
    line-height: 65px;
    margin-bottom: 20px;

}

.news-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e6e6e6;
}

.news-date {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    line-height: 22px;
}

.news-text {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #666666;
    line-height: 32px;
}

.news-text p {
    font-size: 16px;
    margin-bottom: 20px;
}

.news-image {
    margin: 30px 0;
    text-align: center;
}

.news-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 相关新闻样式 */
.related-news {
    margin-top: 60px;
    border-top: 1px solid #e6e6e6;
    padding-top: 30px;
}

.related-news h3 {
    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    font-size: 24px;
    color: #333333;
    margin-bottom: 20px;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-news-item {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.related-news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-news-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-news-image {
    height: 200px;
    overflow: hidden;
}

.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.related-news-item:hover .related-news-image img {
    transform: scale(1.05);
}

.related-news-content {
    padding: 20px;
}

.related-news-content h4 {
    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    font-size: 18px;
    color: #333333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-news-date {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 14px;
    color: #999999;
}

/* 返回按钮样式 */
.back-button-container {
    margin-top: 40px;
    text-align: center;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #e9ecef;
    color: #333333;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .news-detail-content {
        padding: 0 20px;
    }

    .news-title {
        font-size: 20px;
    }

    .news-text p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .breadcrumb-container {
        padding: 10px 0;
    }

    .news-detail-container {
        padding: 30px 0;
    }

    .news-title {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .related-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-title {
        font-size: 28px;
        line-height: 1.4;
    }
    
    .news-text p {
        font-size: 16px;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .breadcrumb-container {
        padding: 10px 0;
    }
    
    .news-detail-container {
        padding: 20px 0 40px;
    }
    
    .news-title {
        font-size: 24px;
    }
    
    .news-meta {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .news-text p {
        font-size: 15px;
    }
    
    .related-news {
        margin-top: 40px;
        padding-top: 20px;
    }
    
    .related-news h3 {
        font-size: 20px;
    }
}