/* =========================================================
   新闻中心页样式 news-pc.css
   PC 与 移动(自适应) 共用，页面结构简单、加载快
   ========================================================= */

/* 页面正文区 */
.news-section {
    padding: 52px 0 76px;
    background: #f6f8fb;
}
.news-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 区块标题 */
.news-head {
    text-align: center;
    margin-bottom: 38px;
}
.news-head h2 {
    font-size: 32px;
    color: #16233a;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}
.news-head p {
    color: #7a8898;
    font-size: 15px;
    letter-spacing: .5px;
}

/* 头条(置顶)卡片 */
.news-featured {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(22, 43, 77, .07);
    padding: 26px 30px;
    margin-bottom: 22px;
    border-left: 5px solid #1f6fe0;
    display: flex;
    gap: 28px;
    align-items: stretch;
    transition: transform .25s ease, box-shadow .25s ease;
}
.news-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(22, 43, 77, .10);
}
/* 置顶配图：与列表卡片同款缩略图 */
.news-featured .news-thumb {
    width: 300px;
    height: 200px;
}
.news-featured .news-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-featured .news-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.news-featured .news-tag {
    background: linear-gradient(135deg, #2b8cff, #1f6fe0);
    color: #fff;
    font-size: 13px;
    padding: 3px 12px;
    border-radius: 20px;
}
.news-featured h3 {
    font-size: 23px;
    color: #16233a;
    line-height: 1.5;
}
.news-featured h3 a {
    color: inherit;
    text-decoration: none;
}
.news-featured h3 a:hover {
    color: #1f6fe0;
}
.news-featured .news-more-link {
    margin-top: 14px;
}
.news-featured time {
    display: block;
    color: #93a1b1;
    font-size: 13px;
    margin-bottom: 10px;
}
.news-featured p {
    color: #52617a;
    font-size: 15px;
    line-height: 2;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.news-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(22, 43, 77, .05);
    padding: 24px 28px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(22, 43, 77, .10);
}

/* 配图缩略图（替代原日期牌位置） */
.news-thumb {
    flex: 0 0 auto;
    width: 220px;
    height: 165px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(22, 43, 77, .12);
    display: block;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.news-card:hover .news-thumb img,
.news-featured:hover .news-thumb img {
    transform: scale(1.05);
}

/* 内容区 */
.news-main {
    flex: 1;
    min-width: 0;
}
.news-main h3 {
    font-size: 19px;
    color: #1b2a41;
    margin: 0 0 8px;
    line-height: 1.6;
}
.news-main h3 a {
    color: inherit;
    text-decoration: none;
}
.news-main h3 a:hover {
    color: #1f6fe0;
}
.news-meta {
    margin-bottom: 8px;
}
.news-cat {
    display: inline-block;
    background: #eaf3ff;
    color: #1f6fe0;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 20px;
    margin-right: 6px;
}
.news-summary {
    color: #5d6b80;
    font-size: 14.5px;
    line-height: 1.95;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-more-link {
    display: inline-block;
    margin-top: 10px;
    color: #1f6fe0;
    font-size: 13.5px;
    text-decoration: none;
}
.news-more-link:hover {
    text-decoration: underline;
}

/* 列表底部提示 */
.news-note {
    margin-top: 34px;
    text-align: center;
    color: #9aa8b8;
    font-size: 13px;
    border-top: 1px dashed #dfe6ef;
    padding-top: 26px;
}

/* 为了让 reveal 失效时不隐藏正文 */
.news-section .reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* ---------------- 移动端适配 ---------------- */
@media (max-width: 768px) {
    .news-section {
        padding: 26px 0 44px;
    }
    .news-head h2 {
        font-size: 24px;
    }
    .news-head p {
        font-size: 13px;
    }
    .news-wrap {
        padding: 0 14px;
    }
    .news-featured {
        flex-direction: column;
        gap: 14px;
        padding: 20px 18px;
    }
    .news-featured .news-thumb {
        width: 100%;
        height: 190px;
    }
    .news-featured h3 {
        font-size: 18px;
    }
    .news-featured p {
        font-size: 14px;
        line-height: 1.9;
    }
    .news-card {
        flex-direction: column;
        gap: 12px;
        padding: 18px;
    }
    .news-thumb {
        width: 100%;
        height: 190px;
    }
    .news-main h3 {
        font-size: 17px;
    }
    .news-summary {
        font-size: 13.5px;
    }
}

/* =========================================================
   新闻详情正文样式（news-detail 页面共用）
   ========================================================= */
.news-detail-body {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(22, 43, 77, .05);
    padding: 40px 48px;
    margin-top: 4px;
}
.news-detail-body h2 {
    font-size: 20px;
    color: #16233a;
    margin: 34px 0 14px;
    line-height: 1.5;
    padding-left: 14px;
    border-left: 4px solid #1f6fe0;
}
.news-detail-body p {
    color: #41506a;
    font-size: 15.5px;
    line-height: 2.05;
    margin: 0 0 18px;
    text-align: justify;
}
.news-detail-body ul,
.news-detail-body ol {
    color: #41506a;
    font-size: 15.5px;
    line-height: 2.05;
    margin: 0 0 18px;
    padding-left: 24px;
}
.news-detail-body li {
    margin-bottom: 6px;
}
.news-detail-body strong {
    color: #1f6fe0;
}
.news-detail-body blockquote {
    margin: 22px 0;
    padding: 14px 22px;
    background: #f4f8ff;
    border-left: 4px solid #1f6fe0;
    color: #52617a;
    font-size: 14.5px;
    line-height: 1.9;
    border-radius: 0 10px 10px 0;
}
.news-detail-body img {
    display: block;
    width: 100%;
    max-width: 680px;
    border-radius: 12px;
    margin: 8px auto 24px;
    box-shadow: 0 8px 20px rgba(22, 43, 77, .10);
}
.news-detail-body h3 {
    font-size: 17px;
    color: #1b2a41;
    margin: 26px 0 10px;
    line-height: 1.5;
}

/* 返回新闻中心 */
.news-detail-back {
    display: inline-block;
    margin-top: 26px;
    color: #1f6fe0;
    font-size: 14px;
    text-decoration: none;
}
.news-detail-back:hover {
    text-decoration: underline;
}

/* 底部相关链接按钮（外链型新闻） */
.news-ext-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 9px 22px;
    background: linear-gradient(135deg, #2b8cff, #1f6fe0);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 6px 16px rgba(31, 111, 224, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.news-ext-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(31, 111, 224, .35);
    color: #fff;
}
.news-ext-btn .arrow {
    font-size: 13px;
}

@media (max-width: 768px) {
    .news-detail-body {
        padding: 24px 18px;
    }
    .news-detail-body h2 {
        font-size: 18px;
    }
    .news-detail-body p {
        font-size: 14.5px;
        line-height: 1.95;
    }
}

/* =========================================================
   新闻详情页页头区（详情正文上方）
   ========================================================= */
.news-detail-head {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(22, 43, 77, .05);
    padding: 30px 48px 26px;
    margin-bottom: 20px;
    border-left: 5px solid #1f6fe0;
}
.news-detail-title {
    font-size: 26px;
    color: #16233a;
    line-height: 1.55;
    margin: 8px 0 10px;
    font-weight: 700;
}
.news-detail-sub {
    color: #6b7a90;
    font-size: 14.5px;
    line-height: 1.9;
    margin: 0;
}
.news-detail-head .news-meta {
    margin: 0;
}
.news-detail-back {
    display: inline-block;
    margin-top: 26px;
    color: #1f6fe0;
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}
.news-detail-back:hover {
    color: #144d9e;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .news-detail-head {
        padding: 20px 18px 18px;
    }
    .news-detail-title {
        font-size: 20px;
    }
    .news-detail-sub {
        font-size: 13.5px;
    }
}

/* ---------------- 外链型新闻卡片 ---------------- */
.news-cat--ext {
    background: #fff7e8;
    color: #c07b16;
}
.news-ext-desc {
    color: #5d6b80;
    font-size: 14.5px;
    line-height: 1.95;
}
.news-main h3 .news-ext-title {
    cursor: default;
}

/* 外链按钮 */
.news-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 8px 20px;
    border: 1px solid #2b8cff;
    color: #1f6fe0;
    background: #f2f8ff;
    font-size: 13.5px;
    text-decoration: none;
    border-radius: 30px;
    transition: all .2s ease;
}
.news-link-btn:hover {
    background: #1f6fe0;
    color: #fff;
}
.news-link-btn .arr {
    font-size: 12px;
}
