/* 仅存放新闻详情页独有样式，公共头部/页脚由style.css提供 */
/* 全局页面背景 */
body {
    background: #f8f8f8;
}

/* 面包屑复用基础，微调间距 */
.bread-wrap {
    padding: 18px 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.bread a {
    color: #288f47;
}
.bread span {
    margin: 0 6px;
    color: #999;
}
.bread-current {
    color: #333;
}

/* 主内容左右布局容器 */
.main-content-wrap {
    display: grid;
    grid-template-columns: 840px 300px;
    gap: 30px;
    padding: 40px 15px 60px;
}

.main-content-wrap2 {
    padding: 40px 15px 60px;
}

/* ========== 左侧文章正文区域 ========== */
.article-left {
    background: #ffffff;
    padding: 30px;
    border-radius: 4px;
}
/* 顶部大图 */
.article-big-img {
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 24px;
}
.article-big-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 文章元信息栏 */
.article-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.meta-tag {
    background: #ffe9b8;
    color: #946100;
    padding: 2px 8px;
    border-radius: 2px;
}
/* 文章标题 */
.article-title {
    font-size: 28px;
    line-height: 1.4;
    color: #111;
    margin-bottom: 24px;
    font-weight: 600;
}
.article-title2 {
    font-size: 28px;
    line-height: 1.4;
    color: #111;
    margin-bottom: 24px;
    font-weight: 600;
    text-align:center;
}
/* 正文段落 */
.article-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
}
.article-body h3 {
    font-size: 18px;
    margin: 28px 0 12px;
    color: #1c4d2d;
}
    /* 引用框 */
.article-quote {
    background: #edf7f1;
    border-left: 3px solid #288f47;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.7;
    color: #222;
}
.quote-author {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #555;
    text-align: right;
}
/* 有序列表 */
.article-list {
    padding-left: 20px;
    margin-bottom: 20px;
}
.article-list li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
}
/* 底部标签 */
.article-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}
.article-tags span {
    color: #666;
}
.article-tags a {
    display: inline-block;
    padding: 3px 10px;
    background: #f2f2f2;
    margin: 0 6px;
    border-radius: 2px;
    color: #444;
}
.article-tags a:hover {
    background: #288f47;
    color: #fff;
}
/* 上下篇切换 */
.page-switch {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    gap: 20px;
}
.prev-page, .next-page {
    width: 48%;
    font-size: 14px;
    color: #333;
}
.page-switch span {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}
.page-switch p {
    line-height: 1.5;
}

/* ========== 右侧侧边栏 ========== */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-block {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}
.sidebar-title {
    background: #1c4d2d;
    color: #fff;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
}
/* 新闻分类列表 */
.cate-list2 li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}
.cate-list2 li:last-child {
    border-bottom: none;
}
.cate-list2 a {
    color: #444;
}
.cate-list2 a:hover {
    color: #288f47;
}
.cate-list2 .num {
    color: #999;
    font-size: 13px;
}
/* 相关新闻列表 */
.rel-news-list {
    padding: 16px;
}
.rel-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.rel-item:last-child {
    margin-bottom: 0;
}
.rel-img {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 2px;
}
.rel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rel-text a {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rel-text a:hover {
    color: #288f47;
}
.rel-date {
    font-size: 12px;
    color: #999;
}

.article-body img, .article-body table {
    max-width:780px;
    height: auto;
}

/* ========== 移动端自适应媒体查询 ========== */
@media screen and (max-width: 1199px) {
    .main-content-wrap {
        grid-template-columns: 1fr 280px;
    }
    .article-body img, .article-body table {
        max-width:780px;
        height: auto;
    }
}
@media screen and (max-width: 992px) {
    /* 平板：左右布局改为上下堆叠 */
    .main-content-wrap {
        grid-template-columns: 1fr;
    }
    .article-big-img {
        height: 260px;
    }
    .article-title {
        font-size: 24px;
    }
    .article-body img, .article-body table {
        max-width:370px;
        height: auto;
    }
}
@media screen and (max-width: 576px) {
    /* 手机端极致适配 */
    .article-left {
        padding: 20px 15px;
    }
    .article-big-img {
        height: 200px;
    }
    .article-title {
        font-size: 20px;
    }
    .page-switch {
        flex-direction: column;
    }
    .prev-page, .next-page {
        width: 100%;
    }
    .article-meta {
        gap: 10px;
    }
    .article-body img, .article-body table {
        max-width:370px;
        height: auto;
    }
}