﻿/* ==============================
   News Channel Page PC Only
   Main Color: #004ac5
   Accent Color: #e27a1f
============================== */

.news-page {
    width: 100%;
    background: #fff;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
}

.news-content {
    padding: 55px 0 80px;
}

/* ==============================
   顶部标题
============================== */
.news-page-title {
    text-align: center;
    margin-bottom: 34px;
}

    .news-page-title h1 {
        margin: 0;
        font-size: 38px;
        line-height: 1.3;
        color: #222;
        font-weight: bold;
        position: relative;
        padding-bottom: 18px;
    }

        .news-page-title h1::after {
            content: "";
            width: 66px;
            height: 4px;
            border-radius: 4px;
            background: #004ac5;
            position: absolute;
            left: 50%;
            bottom: 0;
            margin-left: -33px;
        }

    .news-page-title p {
        margin: 14px 0 0;
        color: #777;
        font-size: 15px;
        line-height: 26px;
    }

/* ==============================
   分类导航
============================== */
.news-category {
    margin-bottom: 36px;
    padding: 15px;
    background: #f5f8ff;
    border: 1px solid #e1e9f8;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

    .news-category a {
        min-width: 140px;
        height: 46px;
        line-height: 46px;
        padding: 0 22px;
        border-radius: 12px;
        text-align: center;
        background: #fff;
        color: #333;
        font-size: 15px;
        text-decoration: none;
        transition: all .25s ease;
        box-shadow: 0 6px 18px rgba(0, 74, 197, .06);
    }

        .news-category a:hover,
        .news-category a.active {
            background: #004ac5;
            color: #fff;
            box-shadow: 0 10px 24px rgba(0, 74, 197, .22);
            transform: translateY(-2px);
        }

/* ==============================
   主体布局
============================== */
.news-main {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}

/* ==============================
   左侧新闻列表
============================== */
.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.news-card {
    background: #fff;
    border: 1px solid #e1e9f8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 74, 197, .08);
    transition: all .28s ease;
}

    .news-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 18px 42px rgba(0, 74, 197, .16);
        border-color: #004ac5;
    }

.news-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

    .news-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: all .45s ease;
    }

.news-card:hover .news-card-img img {
    transform: scale(1.08);
}

.news-card-info {
    padding: 22px 22px 24px;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #888;
    font-size: 13px;
    margin-bottom: 12px;
}

    .news-card-meta span {
        display: inline-flex;
        align-items: center;
    }

        .news-card-meta span i {
            margin-right: 8px;
            color: #004ac5;
        }

.news-card-info h2 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.45;
    font-weight: bold;
}

    .news-card-info h2 a {
        color: #222;
        text-decoration: none;
        transition: all .25s ease;
    }

        .news-card-info h2 a:hover {
            color: #e27a1f;
        }

.news-card-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 26px;
    height: 52px;
    overflow: hidden;
}

.news-card-more {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    color: #004ac5;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: all .25s ease;
}

    .news-card-more:hover {
        color: #e27a1f;
        padding-left: 6px;
    }

/* ==============================
   右侧栏
============================== */
.news-side {
    position: sticky;
    top: 130px;
}

.news-side-box {
    background: #fff;
    border: 1px solid #e1e9f8;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 26px;
    box-shadow: 0 10px 30px rgba(0, 74, 197, .08);
}

.news-side-title {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f8;
    position: relative;
}

    .news-side-title h3 {
        margin: 0;
        font-size: 22px;
        line-height: 1.3;
        color: #222;
        font-weight: bold;
    }

    .news-side-title::after {
        content: "";
        width: 42px;
        height: 3px;
        border-radius: 3px;
        background: #004ac5;
        position: absolute;
        left: 0;
        bottom: -1px;
    }

/* 热门资讯 */
.news-hot-list {
    counter-reset: hotNum;
}

.news-hot-item {
    counter-increment: hotNum;
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #edf1f8;
}

    .news-hot-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.news-hot-num {
    width: 32px;
    height: 32px;
    line-height: 32px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #edf5ff;
    color: #004ac5;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
}

    .news-hot-num::before {
        content: counter(hotNum);
    }

.news-hot-item:nth-child(1) .news-hot-num,
.news-hot-item:nth-child(2) .news-hot-num,
.news-hot-item:nth-child(3) .news-hot-num {
    background: #004ac5;
    color: #fff;
}

.news-hot-text h4 {
    margin: 0;
    font-size: 15px;
    line-height: 24px;
    font-weight: bold;
}

    .news-hot-text h4 a {
        color: #333;
        text-decoration: none;
        transition: all .25s ease;
    }

        .news-hot-text h4 a:hover {
            color: #e27a1f;
        }

.news-hot-text span {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 13px;
}

/* 推荐资讯 */
.news-recommend-item {
    display: flex;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid #edf1f8;
}

    .news-recommend-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.news-recommend-img {
    width: 98px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

    .news-recommend-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: all .35s ease;
    }

.news-recommend-item:hover .news-recommend-img img {
    transform: scale(1.08);
}

.news-recommend-text h4 {
    margin: 0;
    font-size: 15px;
    line-height: 23px;
    max-height: 46px;
    overflow: hidden;
}

    .news-recommend-text h4 a {
        color: #333;
        text-decoration: none;
        transition: all .25s ease;
    }

        .news-recommend-text h4 a:hover {
            color: #e27a1f;
        }

.news-recommend-text span {
    display: block;
    margin-top: 8px;
    color: #999;
    font-size: 13px;
}


/* ==============================
   News Detail Page PC Only
   Main Color: #004ac5
   Accent Color: #e27a1f
============================== */

.news-detail-page {
    width: 100%;
    background: #fff;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
}

.news-detail-content {
    padding: 55px 0 80px;
}

.news-detail-main {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}

/* 左侧详情 */
.news-detail-left {
    min-width: 0;
}

.news-detail-box {
    background: #fff;
    border: 1px solid #e1e9f8;
    border-radius: 22px;
    padding: 42px 46px 46px;
    box-shadow: 0 14px 38px rgba(0, 74, 197, .08);
}

.news-detail-title {
    margin-bottom: 18px;
}

    .news-detail-title h1 {
        margin: 0;
        font-size: 34px;
        line-height: 1.45;
        color: #222;
        font-weight: bold;
    }

.news-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-bottom: 24px;
    margin-bottom: 30px;
    border-bottom: 1px solid #edf1f8;
    color: #888;
    font-size: 14px;
}

    .news-detail-meta span {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
    }

    .news-detail-meta i {
        margin-right: 6px;
        color: #004ac5;
        font-size: 14px;
    }

/* 摘要 */
.news-detail-summary {
    margin-bottom: 28px;
    padding: 20px 24px;
    border-left: 4px solid #004ac5;
    background: #f5f8ff;
    border-radius: 0 14px 14px 0;
    color: #555;
    font-size: 15px;
    line-height: 28px;
}

/* 正文 */
.news-detail-body {
    color: #444;
    font-size: 16px;
    line-height: 32px;
}

    .news-detail-body p {
        margin: 0 0 18px;
    }

    .news-detail-body img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 24px auto;
        border-radius: 14px;
    }

    .news-detail-body h2,
    .news-detail-body h3,
    .news-detail-body h4 {
        margin: 30px 0 16px;
        color: #222;
        line-height: 1.45;
    }

    .news-detail-body h2 {
        font-size: 26px;
    }

    .news-detail-body h3 {
        font-size: 22px;
    }

    .news-detail-body ul,
    .news-detail-body ol {
        margin: 0 0 20px 22px;
        padding: 0;
    }

    .news-detail-body li {
        margin-bottom: 8px;
    }

/* ==============================
   新闻详情 上一篇 / 下一篇
============================== */

.news-detail-prevnext {
    margin-top: 38px;
    padding-top: 28px;
    border-top: 1px solid #edf1f8;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px 12px;
    align-items: stretch;
}

    .news-detail-prevnext > span {
        min-height: 50px;
        padding: 0 16px;
        border-radius: 12px;
        background: #edf5ff;
        color: #004ac5;
        font-size: 15px;
        font-weight: bold;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

    .news-detail-prevnext > a {
        min-height: 50px;
        padding: 13px 18px;
        border-radius: 12px;
        background: #f7f9ff;
        color: #444;
        font-size: 15px;
        line-height: 24px;
        text-decoration: none;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        transition: all .25s ease;
    }

        .news-detail-prevnext > a:hover {
            background: #004ac5;
            color: #fff;
            transform: translateX(6px);
            box-shadow: 0 10px 24px rgba(0, 74, 197, .18);
        }

/* 返回按钮 */
.news-detail-back {
    margin-top: 28px;
}

    .news-detail-back a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 150px;
        height: 46px;
        border-radius: 999px;
        background: #004ac5;
        color: #fff;
        font-size: 15px;
        font-weight: bold;
        text-decoration: none;
        transition: all .25s ease;
        box-shadow: 0 10px 24px rgba(0, 74, 197, .22);
    }

        .news-detail-back a:hover {
            background: #e27a1f;
            transform: translateY(-2px);
            box-shadow: 0 14px 30px rgba(226, 122, 31, .28);
        }

/* 右侧栏 */
.news-detail-side {
    position: sticky;
    top: 130px;
}

.news-detail-category-list a {
    display: block;
    height: 44px;
    line-height: 44px;
    padding: 0 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: #f6f8ff;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all .25s ease;
}

    .news-detail-category-list a:hover,
    .news-detail-category-list a.active {
        background: #004ac5;
        color: #fff;
        padding-left: 22px;
    }

/* 详情页热门/推荐图标 */
.news-hot-text span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 12px;
    margin-top: 8px;
    color: #999;
    font-size: 13px;
}

    .news-hot-text span em {
        display: inline-flex;
        align-items: center;
        font-style: normal;
    }

.news-hot-text i {
    margin-right: 5px;
    color: #004ac5;
}

.news-recommend-text span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 12px;
    margin-top: 8px;
    color: #999;
    font-size: 13px;
}

    .news-recommend-text span em {
        display: inline-flex;
        align-items: center;
        font-style: normal;
    }

.news-recommend-text i {
    margin-right: 5px;
    color: #004ac5;
}
