﻿.news-channel {
    width: 100%;
    padding: 68px 0 96px;
    background: #f5f8fb;
    overflow: hidden;
}

.news-channel .container {
    position: relative;
}

/* ==============================
   Head
============================== */

.news-channel-head {
    margin-bottom: 44px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.news-channel-title em {
    display: block;
    margin-bottom: 10px;
    font-style: normal;
    font-size: 16px;
    line-height: 1.4;
    color: #002759;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-channel-title h1 {
    margin: 0;
    padding-left: 18px;
    position: relative;
    font-size: 34px;
    line-height: 1.35;
    color: #222;
    font-weight: 700;
}

.news-channel-title h1:before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 30px;
    background: #002759;
    border-radius: 4px;
}

.news-channel-head p {
    margin: 0;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    text-align: right;
}

/* ==============================
   News Meta
============================== */

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 15px;
    margin-bottom: 13px;
}

.news-meta span {
    display: inline-flex;
    align-items: center;
    color: #888;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}

.news-meta i {
    margin-right: 6px;
    color: #002759;
    font-size: 14px;
    line-height: 1;
}

.news-meta-white span {
    color: rgba(255, 255, 255, .82);
}

.news-meta-white i {
    color: #fff;
}

/* ==============================
   Feature
============================== */

.news-feature {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 42px;
}

.news-feature-main {
    display: block;
    position: relative;
    width: calc(60% - 16px);
    height: 430px;
    border-radius: 12px;
    overflow: hidden;
    background: #e9eff4;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(0, 39, 89, .08);
}

.news-feature-img,
.news-feature-img img {
    width: 100%;
    height: 100%;
}

.news-feature-img img {
    display: block;
    object-fit: cover;
    transition: all .65s ease;
}

.news-feature-main:hover .news-feature-img img {
    transform: scale(1.06);
}

.news-feature-main:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 62%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 39, 89, .9) 100%
    );
}

.news-feature-info {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 32px;
    z-index: 3;
    display: flex;
    align-items: flex-start;
}

.news-feature-date {
    width: 82px;
    height: 82px;
    margin-right: 24px;
    background: linear-gradient(135deg, #002759, #002759);
    color: #fff;
    text-align: center;
    flex-shrink: 0;
}

.news-feature-date strong {
    display: block;
    padding-top: 13px;
    font-size: 34px;
    line-height: 1;
    color: #fff;
    font-weight: 700;
}

.news-feature-date span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.2;
    color: #fff;
}

.news-feature-text {
    flex: 1;
    min-width: 0;
}

.news-feature-text h2 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.4;
    color: #fff;
    font-weight: 700;
}

.news-feature-text p {
    margin: 0;
    font-size: 15px;
    line-height: 22px; height:44px; overflow:hidden;
    color: rgba(255, 255, 255, .86);
}

/* ==============================
   Feature Side
============================== */

.news-feature-side {
    width: calc(40% - 16px);
    height: 430px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-side-item {
    display: flex;
    align-items: stretch;
    flex: 1;
    min-height: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(0, 39, 89, .06);
    transition: all .35s ease;
}

.news-side-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 39, 89, .12);
}

.news-side-img {
    width: 42%;
    overflow: hidden;
    background: #e9eff4;
}

.news-side-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .6s ease;
}

.news-side-item:hover .news-side-img img {
    transform: scale(1.08);
}

.news-side-info {
    width: 58%;
    padding: 26px 24px;
    box-sizing: border-box;
}

.news-side-info h3 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.45;
    color: #222;
    font-weight: 700;
    transition: all .3s ease;
}

.news-side-info p {
    margin: 0;
    font-size: 14px;
    line-height:20px; height:60px; overflow:hidden;
    color: #666;
}

.news-side-item:hover .news-side-info h3 {
    color: #002759;
}

/* ==============================
   News List
============================== */

.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-item {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(0, 39, 89, .06);
    transition: all .35s ease;
}

.news-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0, 39, 89, .13);
}

.news-item-img {
    height: 220px;
    overflow: hidden;
    background: #e9eff4;
}

.news-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .65s ease;
}

.news-item:hover .news-item-img img {
    transform: scale(1.08);
}

.news-item-info {
    padding: 24px 26px 28px;
    box-sizing: border-box;
}

.news-item-info h3 {
    margin: 0 0 14px;
    height: 52px;
    font-size: 20px;
    line-height: 1.35;
    color: #222;
    font-weight: 700;
    overflow: hidden;
    transition: all .3s ease;
}

.news-item-info p {
    margin: 0 0 20px;
    height: 50px;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    overflow: hidden;
}

.news-item-info em {
    display: inline-block;
    font-style: normal;
    color: #002759;
    font-size: 15px;
    font-weight: 600;
    position: relative;
}

.news-item-info em:after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    margin-left: 12px;
    background: #002759;
    vertical-align: middle;
    transition: all .3s ease;
}

.news-item:hover .news-item-info h3 {
    color: #002759;
}

.news-item:hover .news-item-info em:after {
    width: 42px;
}

/* ==============================
   News List Title
============================== */

.news-list-title {
    margin-bottom: 34px;
    text-align: center;
}

.news-list-title h1 {
    display: inline-block;
    margin: 0;
    padding: 0 0 18px;
    position: relative;
    font-size: 34px;
    line-height: 1.35;
    color: #222;
    font-weight: 700;
}

.news-list-title h1:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 54px;
    height: 4px;
    background: #002759;
    border-radius: 4px;
    transform: translateX(-50%);
}


/* =========================================================
   News Detail Page
   Main Color: #002759
   Sub Color: #002759
========================================================= */

.news-detail-page {
    width: 100%;
    padding: 60px 0 96px;
    background: #f5f8fb;
    overflow: visible;
}

.news-detail-page .container {
    position: relative;
}

/* ==============================
   Layout
============================== */

.news-detail-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 34px;
}

.news-detail-main {
    width: calc(70% - 17px);
}

.news-detail-side {
    width: calc(30% - 17px);
    position: sticky;
    top: 106px;
    align-self: flex-start;
    z-index: 5;
}

/* ==============================
   Article Box
============================== */

.news-detail-box {
    padding: 46px 50px 44px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 39, 89, .06);
    box-sizing: border-box;
}

/* ==============================
   Article Head
============================== */

.news-detail-head {
    padding-bottom: 28px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eef2f5;
}

.news-detail-head h1 {
    margin: 0 0 22px;
    font-size: 34px;
    line-height: 1.45;
    color: #222;
    font-weight: 700;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.news-detail-meta span {
    display: inline-flex;
    align-items: center;
    color: #777;
    font-size: 14px;
    line-height: 1.4;
}

.news-detail-meta i {
    margin-right: 7px;
    color: #002759;
    font-size: 15px;
    line-height: 1;
}

/* ==============================
   Summary
============================== */

.news-detail-summary {
    margin-bottom: 32px;
    padding: 20px 24px;
    background: #f5f8fb;
    border-left: 4px solid #002759;
    border-radius: 8px;
    color: #555;
    font-size: 16px;
    line-height: 1.85;
    box-sizing: border-box;
}

/* ==============================
   Content
============================== */

.news-detail-content {
    color: #555;
    font-size: 16px;
    line-height: 2;
}

.news-detail-content p {
    margin: 0 0 22px;
}

.news-detail-content img {
    display: block;
    max-width: 100%;
    margin: 30px auto;
    border-radius: 10px;
}

.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4 {
    margin: 30px 0 18px;
    color: #222;
    line-height: 1.45;
    font-weight: 700;
}

.news-detail-content h2 {
    font-size: 28px;
}

.news-detail-content h3 {
    font-size: 24px;
}

.news-detail-content h4 {
    font-size: 20px;
}

.news-detail-content ul,
.news-detail-content ol {
    margin: 0 0 24px 22px;
    padding: 0;
}

.news-detail-content li {
    margin-bottom: 8px;
}


/* ==============================
   News Detail Prev Next
============================== */

.news-detail-prevnext {
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid #eef2f5;
}

.news-detail-prevnext-item {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 20px;
    margin-bottom: 14px;
    background: #f5f8fb;
    border-radius: 8px;
    box-sizing: border-box;
    transition: all .3s ease;
}

.news-detail-prevnext-item:last-child {
    margin-bottom: 0;
}

.news-detail-prevnext-item strong {
    width: 86px;
    flex-shrink: 0;
    color: #002759;
    font-size: 15px;
    font-weight: 700;
}

.news-detail-prevnext-item span {
    flex: 1;
    min-width: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.5;
}

/* 程序输出的 a 标签 */
.news-detail-prevnext-item span a {
    display: block;
    color: #444;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all .3s ease;
}

/* 暂无数据时的纯文字 */
.news-detail-prevnext-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-detail-prevnext-item:hover {
    background: linear-gradient(135deg, #002759, #002759);
}

.news-detail-prevnext-item:hover strong,
.news-detail-prevnext-item:hover span,
.news-detail-prevnext-item:hover span a {
    color: #fff;
}

/* =========================================================
   Sidebar
========================================================= */

.news-side-box {
    margin-bottom: 28px;
    padding: 28px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 39, 89, .06);
    box-sizing: border-box;
}

.news-side-box:last-child {
    margin-bottom: 0;
}

.news-side-title {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f5;
}

.news-side-title h2 {
    margin: 0;
    padding-left: 16px;
    position: relative;
    font-size: 22px;
    line-height: 1.35;
    color: #222;
    font-weight: 700;
}

.news-side-title h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: 22px;
    background: #002759;
    border-radius: 4px;
}

/* ==============================
   Recommend
============================== */

.news-recommend-list {
    width: 100%;
}

.news-recommend-item {
    display: flex;
    align-items: flex-start;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eef2f5;
    text-decoration: none;
}

.news-recommend-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.news-recommend-img {
    width: 110px;
    height: 76px;
    margin-right: 14px;
    border-radius: 8px;
    overflow: hidden;
    background: #e9eff4;
    flex-shrink: 0;
}

.news-recommend-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s ease;
}

.news-recommend-text {
    flex: 1;
    min-width: 0;
}

.news-recommend-text h3 {
    margin: 0 0 10px;
    height: 44px;
    font-size: 15px;
    line-height: 1.45;
    color: #333;
    font-weight: 600;
    overflow: hidden;
    transition: all .3s ease;
}

.news-recommend-text p {
    margin: 0;
    color: #888;
    font-size: 13px;
    line-height: 1.4;
}

.news-recommend-text p i {
    margin-right: 6px;
    color: #002759;
}

.news-recommend-item:hover .news-recommend-img img {
    transform: scale(1.08);
}

.news-recommend-item:hover .news-recommend-text h3 {
    color: #002759;
}

/* ==============================
   Category
============================== */

.news-category-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.news-category-list a {
    display: block;
    height: 44px;
    line-height: 44px;
    padding: 0 14px;
    background: #f5f8fb;
    border-radius: 8px;
    color: #333;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: all .3s ease;
}

.news-category-list a.active,
.news-category-list a:hover {
    background: linear-gradient(135deg, #002759, #002759);
    color: #fff;
}