/* ============================================================
   news_new.css — 首页新闻容器重构（现代科技蓝风格）
   配合 index.html news-box 区块
   ============================================================ */
.news-box {
    background-color: #f7f9fc;   /* 浅灰蓝底，与白底区块区分层次 */
    border-top: 1px solid #eef1f6;
    border-bottom: 1px solid #eef1f6;
}
.news-content {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 60px;
}

/* ---------- 区块标题 ---------- */
.news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    text-align: left;
}
.news-head-title {
    display: flex;
    align-items: center;
}
.news-head-bar {
    display: inline-block;
    width: 5px;
    height: 24px;
    border-radius: 3px;
    background: linear-gradient(180deg, #4c8cff, #1e50ae);
    margin-right: 12px;
}
.news-head-title h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1c3e6b;
    margin: 0;
    letter-spacing: 1px;
}
.news-head-sub {
    font-size: 13px;
    color: #8aa0bb;
    margin-left: 14px;
    margin-top: 6px;
    letter-spacing: 1px;
}
.news-more {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #2d7de0;
    text-decoration: none;
    padding: 7px 18px;
    border: 1px solid #cfe0ff;
    border-radius: 20px;
    transition: all .25s;
    background: #f0f6ff;
    font-weight: 500;
}
.news-more i { margin-left: 8px; transition: transform .25s; }
.news-more:hover {
    background: linear-gradient(135deg, #4b9bff, #2d7de0);
    color: #fff;
    border-color: transparent;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(45, 125, 224, .3);
}
.news-more:hover i { transform: translateX(3px); }

/* ---------- 胶囊式分类标签 ---------- */
.news-tab-list {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    background: #fff;
    border-radius: 30px;
    padding: 6px;
    box-shadow: 0 2px 12px rgba(28, 62, 107, .06);
    display: inline-flex;
    gap: 4px;
}
.news-tab-item {
    height: 38px;
    line-height: 38px;
    padding: 0 26px;
    font-size: 14px;
    color: #5a7393;
    cursor: pointer;
    border-radius: 22px;
    transition: all .25s;
    user-select: none;
    font-family: 微软雅黑;
}
.news-tab-item:hover { color: #2d7de0; }
.news-tab-item-active {
    background: linear-gradient(135deg, #4b9bff, #2d7de0);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(45, 125, 224, .35);
}
.news-tab-item-active:hover { color: #fff; }

/* ---------- 内容面板 ---------- */
.news-article-box {
    display: flex;
    justify-content: center;
    margin-top: 0;
}
.news-article-content {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
}

/* ---------- 左侧头条大图卡片 ---------- */
.news-left { flex: 0 0 620px; }
.news-feature {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(28, 62, 107, .08);
    text-decoration: none;
    transition: all .3s ease;
    text-align: left;
}
.news-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(28, 62, 107, .14);
    text-decoration: none;
}
.news-feature-img {
    position: relative;
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: transform .4s ease;
}
.news-feature:hover .news-feature-img { transform: scale(1.03); }
.news-feature-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #ff8a4c, #ff6b35);
    color: #fff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 3px;
    letter-spacing: 1px;
    box-shadow: 0 3px 8px rgba(255, 107, 53, .4);
}
.news-feature-date {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
}
.news-feature-date i { margin-right: 4px; }
.news-feature-body { padding: 20px 22px 18px; }
.news-feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #1c3e6b;
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: color .25s;
}
.news-feature:hover .news-feature-title { color: #2d7de0; }
.news-feature-desc {
    font-size: 14px;
    color: #7a8fa8;
    line-height: 1.7;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-align: justify;
}
.news-feature-link {
    font-size: 13px;
    color: #2d7de0;
    font-weight: 700;
}
.news-feature-link i { margin-left: 4px; transition: transform .25s; }
.news-feature:hover .news-feature-link i { transform: translateX(4px); }

/* ---------- 右侧新闻列表 ---------- */
.news-right { flex: 1; min-width: 0; }
.news-list {
    background: #fff;
    border-radius: 12px;
    padding: 8px 22px;
    box-shadow: 0 6px 24px rgba(28, 62, 107, .08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-item {
    display: flex;
    align-items: center;
    padding: 18px 10px;
    border-bottom: 1px solid #f0f4fa;
    text-decoration: none;
    transition: all .25s;
    text-align: left;
    border-radius: 8px;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover {
    background: #f5f9ff;
    padding-left: 16px;
    text-decoration: none;
}
.news-item-date {
    flex: 0 0 74px;
    text-align: center;
    background: #f0f6ff;
    border: 1px solid #d8e8ff;
    border-radius: 8px;
    padding: 6px 0;
    margin-right: 16px;
    transition: all .25s;
}
.news-item:hover .news-item-date {
    background: linear-gradient(135deg, #4b9bff, #2d7de0);
    border-color: transparent;
}
.news-item-day {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #2d7de0;
    line-height: 1.2;
    transition: color .25s;
}
.news-item:hover .news-item-day { color: #fff; }
.news-item-year {
    display: block;
    font-size: 12px;
    color: #8aa0bb;
    margin-top: 2px;
    transition: color .25s;
}
.news-item:hover .news-item-year { color: #dcebff; }
.news-item-main {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding-right: 8px;
}
.news-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e5a;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .25s;
}
.news-item:hover .news-item-title { color: #2d7de0; }
.news-item-desc {
    font-size: 13px;
    color: #8aa0bb;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-item-arrow {
    flex: 0 0 auto;
    color: #c3d4ec;
    font-size: 18px;
    margin-left: 12px;
    transition: all .25s;
}
.news-item:hover .news-item-arrow {
    color: #2d7de0;
    transform: translateX(3px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
    .news-content { width: 96%; }
    .news-article-content { flex-direction: column; }
    .news-left { flex: none; width: 100%; }
    .news-right { width: 100%; }
    .news-list { height: auto; }
    .news-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}
