/* ===== new_detail.css - 新闻详情页样式 ===== */

body{
    background-color: #f6f6f6;
}
/* ===== Banner ===== */
.nd-banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: 86px;
}

.nd-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nd-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.nd-banner .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    z-index: 2;
    width: 100%;
    max-width: 1584px;
    padding: 0 20px;
}

.nd-banner .banner-title {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.nd-banner .banner-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

/* ===== Article Section ===== */
.nd-article {
    position: relative;
    padding: 60px 0 80px;
    max-width: 1315px;
    margin: 0 auto;
    margin-top: 50px;
}

.nd-article-inner {
    padding: 60px 80px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Article Header */
.nd-article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.nd-article-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-text);
    line-height: 1.5;
    margin-bottom: 16px;
}

.nd-article-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nd-meta-icon {
    width: 21px;
    height: 21px;
}

.nd-meta-date {
    font-size: 16px;
    color: var(--color-text-light);
}

/* Article Body */
.nd-article-body {
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.nd-subtitle {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

.nd-article-body p {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 2;
    margin-bottom: 24px;
}

.nd-article-image {
    margin: 30px 0;
    border-radius: 4px;
    overflow: hidden;
}

.nd-article-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Article Navigation */
.nd-article-nav {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.nd-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nd-nav-prev,
.nd-nav-next {
    font-size: 16px;
    color: var(--color-text-secondary);
    transition: color 0.3s;
}

.nd-nav-next{
    color: var(--color-primary);
}

.nd-nav-prev:hover,
.nd-nav-next:hover {
    color: var(--color-primary);
}

.nd-btn-back {
    flex-shrink: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .nd-banner {
        height: 420px;
    }

    .nd-banner .banner-title {
        font-size: 40px;
    }

    .nd-article-inner {
        max-width: 900px;
        padding: 50px 60px;
    }
}

@media (max-width: 992px) {
    .nd-banner {
        height: 360px;
    }

    .nd-banner .banner-title {
        font-size: 34px;
    }

    .nd-banner .banner-desc {
        font-size: 16px;
    }

    .nd-article {
        padding: 40px 20px 60px;
    }

    .nd-article-inner {
        padding: 40px;
    }

    .nd-article-title {
        font-size: 22px;
    }

    .nd-article-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nd-banner {
        height: 280px;
        margin-top: 60px;
    }

    .nd-banner .banner-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .nd-banner .banner-desc {
        font-size: 14px;
    }

    .nd-article {
        padding: 24px 15px 40px;
    }

    .nd-article-inner {
        padding: 24px 20px;
    }

    .nd-article-title {
        font-size: 20px;
    }

    .nd-subtitle {
        font-size: 16px;
    }

    .nd-article-body p {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .nd-article-nav {
        margin-top: 40px;
    }

    .nd-nav-prev,
    .nd-nav-next {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .nd-banner {
        height: 220px;
    }

    .nd-banner .banner-title {
        font-size: 22px;
    }

    .nd-article-inner {
        padding: 20px 16px;
    }

    .nd-article-title {
        font-size: 18px;
    }

    .nd-article-image {
        margin: 20px -16px;
        border-radius: 0;
    }

    .nd-article-image img {
        border-radius: 0;
    }
}