/* Banner基础样式 */
.banner {
    width: 100%;
    height: 330px;
    background-image: url('https://cdn1.guoxinshujian.com/image/news/banner3.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://cdn1.guoxinshujian.com/image/news/mask.png');
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.news-detail {
    max-width: 1200px;
    margin: -44px auto 60px;
    padding: 0 20px;
    position: relative;
}

/* 面包屑导航 */
.breadcrumb {
    position: relative;
    top: -110px;
    color: #65625E;
    font-size: 14px;
}

.breadcrumb a, .breadcrumb .current {
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a span {
    opacity: .6;
}

.breadcrumb .fas {
    position: relative;
    top: -4px;
    color: #fff;
    margin: 0 10px 0 4px;
}

.breadcrumb a:hover {
    color: #AD7036;
}

.breadcrumb .current {
    color: #fff;
}

/* 文章内容 */
.detail-content {
    margin-top: -90px;
    background: white;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.detail-content .title {
    font-size: 32px;
    color: #43403C;
    margin: 0 0 20px;
    line-height: 1.4;
    border-bottom: 2px solid #9D8A7B;
    padding-bottom: 10px;
    text-align: center;
    font-family: "Noto Serif SC ", serif;
}

.meta {
    margin-bottom: 30px;
    color: #9D8C7E;
    font-size: 14px;
    text-align: right;
}

.meta span {
    margin-right: 20px;
    color: #43403D;
    opacity: 0.4;
}

.content {
    color: #43403C;
    line-height: 1.8;
}

.main-image {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.main-image img {
    width: 428px;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

.text-content {
    font-size: 16px;
}

.text-content p {
    margin-bottom: 20px;
}

.text-content strong {
    color: #743F1E;
    font-weight: 500;
}

.text-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.text-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}


.text-content .text-right {
    text-align: right;
    color: #65625E;
}

/* 上一篇下一篇导航 */
.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 20px;
}

.navigation a {
    flex: 1;
    color: #743F1E;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: .7;
    font-size: 14px;
}


.navigation .title {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 360px;
}

.navigation .next-post {
    text-align: right;
    justify-content: flex-end;
}

.load-more{
    background: linear-gradient(to right, #AD7036, #6C421B);
}

.load-more a{
    color: #fff;
    font-size: 14px;
    padding:8px 23px;
    opacity: 1;
}

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

    .detail-content {
        padding: 20px;
    }

    .detail-content .title {
        font-size: 24px;
    }

    .navigation {
        flex-direction: column;
        gap: 20px;
    }

    .navigation a {
        width: 100%;
    }

    .navigation .next-post {
        text-align: left;
        justify-content: flex-start;
    }
}
