/* =========================================================
   新闻详情页 news.css
   ========================================================= */
.nw-detail {
    padding: 60px 0 80px;
    background: #fafbfc;
}
.nw-detail-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 面包屑 ========== */
.nw-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #9aa3b2;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.nw-breadcrumb a {
    color: #5a6577;
    text-decoration: none;
    transition: color .3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nw-breadcrumb a:hover { color: #70b52c; }
.nw-breadcrumb .sep { font-size: 10px; color: #c8ccd4; }
.nw-breadcrumb .current { color: #1f2a37; }

/* ========== 标题区（居中） ========== */
.nw-detail-header {
    text-align: center;
    padding-bottom: 32px;
    border-bottom: 1px solid #ebeef3;
    margin-bottom: 32px;
}
.nw-detail-title {
    font-size: 30px;
    font-weight: 700;
    color: #1f2a37;
    line-height: 1.5;
    margin: 0 0 20px;
}
.nw-detail-meta {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 13px;
    color: #9aa3b2;
}
.nw-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ========== 封面 ========== */
.nw-detail-cover {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.nw-detail-cover img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* ========== 正文（左对齐） ========== */
.nw-detail-content {
    max-width: 720px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 2;
    color: #3a4355;
    text-align: left;
}
.nw-detail-content p {
    margin: 0 0 20px;
    text-indent: 2em;
}
.nw-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px auto;
    display: block;
}
.nw-detail-content h1,
.nw-detail-content h2,
.nw-detail-content h3,
.nw-detail-content h4 {
    margin: 32px 0 16px;
    color: #1f2a37;
    text-align: left;
}
.nw-detail-content h2 { font-size: 22px; }
.nw-detail-content h3 { font-size: 19px; }
.nw-detail-content ul,
.nw-detail-content ol {
    margin: 0 0 20px;
    padding-left: 2em;
    text-align: left;
    display: inline-block;
    text-align: left;
    width: 100%;
}
.nw-detail-content ul { list-style: disc; }
.nw-detail-content ol { list-style: decimal; }
.nw-detail-content li { margin-bottom: 8px; }
.nw-detail-content blockquote {
    border-left: 3px solid #70b52c;
    padding: 12px 20px;
    background: #f3faf0;
    margin: 20px 0;
    color: #4b6a3f;
    border-radius: 0 8px 8px 0;
    text-align: left;
}
.nw-detail-content a {
    color: #70b52c;
    text-decoration: none;
    border-bottom: 1px dashed #c8e0b0;
    transition: color .3s ease;
}
.nw-detail-content a:hover { color: #5a8f22; }

/* ========== 底部 ========== */
.nw-detail-footer {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid #ebeef3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.nw-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #fff;
    border: 1px solid #e5e8ee;
    border-radius: 24px;
    color: #5a6577;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all .3s ease;
}
.nw-back-btn:hover {
    background: #70b52c;
    color: #fff;
    border-color: #70b52c;
}
.nw-share {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #9aa3b2;
    font-size: 13px;
}
.nw-share a {
    color: #9aa3b2;
    font-size: 18px;
    text-decoration: none;
    transition: color .3s ease, transform .3s ease;
}
.nw-share a:hover { color: #70b52c; transform: translateY(-2px); }

/* ========== 响应式 ========== */
@media (max-width: 640px) {
    .nw-detail { padding: 40px 0 60px; }
    .nw-detail-title { font-size: 22px; }
    .nw-detail-header { padding-bottom: 24px; margin-bottom: 24px; }
    .nw-detail-cover { margin-bottom: 28px; }
    .nw-detail-cover img { max-height: 240px; }
    .nw-detail-content { font-size: 15px; }
    .nw-detail-meta { gap: 12px; }
    .nw-detail-footer { justify-content: center; }
}
