/* 新闻详情页样式 */
.news-breadcrumb {
    width: 1200px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.news-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.news-breadcrumb a:hover {
    color: #b90513;
}

.news-breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.news-detail-container {
    width: 780px;
    margin: 0 auto 40px;
    padding: 20px 0;
}

.news-detail-title {
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d8d8d8;
    font-size: 24px;
    color: #302e2e;
    line-height: 56px;
    text-align: center;

}

.news-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    color: #a0a0a0;
    font-size: 16px;
    text-align: center;
}

.news-detail-meta span {
    margin: 0 15px;
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.news-detail-content p {
    margin-bottom: 15px;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 10px auto;
    display: block;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.news-navigation a {
    color: #666;
    text-decoration: none;
    max-width: 45%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-navigation a:hover {
    color: #b90513;
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.news-detail-content p:nth-child(1),
.news-detail-content p:nth-child(2),
.news-detail-content p:nth-child(3) {
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
}

.news-detail-content p:nth-child(5),
.news-detail-content p:nth-child(6),
.news-detail-content p:nth-child(7) {
    text-indent: 2em;
}

.news-detail-content p {
    margin-bottom: 15px;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 10px auto;
    display: block;
}

@media screen and (max-width:768px) {
    .news-breadcrumb{
        width: 95%;
        margin: 15px auto;
    }
    .news-detail-container{
        width: 95%;
        margin: 0 auto;
    }
    .news-detail-title{
        padding-top: 0;
        line-height: 40px;
    }
    .news-detail-meta{
        flex-direction: column;
    }
    .news-detail-content p{
        margin: 8px;
    }
    .news-navigation{
        flex-direction: column;
    }
    .prev-article{
        max-width: 100% !important;
        font-size: 16px;
        margin-bottom: 15px;
    }
    .next-article{
        max-width: 100% !important;
        font-size: 16px;
    }
}