/* ============================================
   news.css — 平台资讯（列表 + 详情）
   ============================================ */

.zh_news_wrap {
    max-width: 1240px;
    margin: 28px auto 60px;
    padding: 0 20px;
}

/* ========== 推荐头条 ========== */
.zh_news_featured {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.zh_news_featured_card {
    position: relative;
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    background: var(--zh-bg-soft);
    min-height: 240px;
    display: block;
    transition: all 0.3s ease;
}

.zh_news_featured_card:hover {
    transform: translateY(-4px);
    box-shadow: var(--zh-shadow-lg);
}

.zh_news_featured_card_bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.zh_news_featured_card:hover .zh_news_featured_card_bg {
    transform: scale(1.06);
}

.zh_news_featured_card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18,42,80,0.1) 0%, rgba(18,42,80,0.85) 100%);
}

.zh_news_featured_main { min-height: 360px; }

.zh_news_featured_card_inner {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 2;
    color: #fff;
}

.zh_news_featured_main .zh_news_featured_card_inner { left: 32px; right: 32px; bottom: 32px; }

.zh_news_featured_tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--zh-gold);
    color: var(--zh-primary-deep);
    font-size: 11px;
    font-weight: 700;
    border-radius: 12px;
    margin-bottom: 12px;
}

.zh_news_featured_title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_news_featured_main .zh_news_featured_title { font-size: 26px; line-height: 1.4; }

.zh_news_featured_meta { font-size: 12px; color: rgba(255,255,255,0.7); }

/* ========== 主体（左列表 + 右侧栏） ========== */
.zh_news_layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    align-items: flex-start;
}

/* 分类 Tab */
.zh_news_tabs {
    background: #fff;
    border: 1px solid var(--zh-line);
    border-radius: var(--zh-radius);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
    overflow-x: auto;
}

.zh_news_tabs a {
    padding: 10px 18px;
    color: var(--zh-text-2);
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.2s;
    white-space: nowrap;
}
.zh_news_tabs a:hover { color: var(--zh-primary); }
.zh_news_tabs a.active {
    background: var(--zh-primary);
    color: #fff;
    font-weight: 600;
}

/* 文章列表 */
.zh_news_list {
    background: #fff;
    border: 1px solid var(--zh-line);
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
}

.zh_news_item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--zh-line-soft);
    transition: all 0.2s;
}
.zh_news_item:last-child { border-bottom: none; }
.zh_news_item:hover { background: var(--zh-bg); }

.zh_news_item_img {
    aspect-ratio: 16 / 10;
    border-radius: var(--zh-radius-sm);
    background: var(--zh-bg-soft);
    overflow: hidden;
    position: relative;
}
.zh_news_item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.zh_news_item:hover .zh_news_item_img img { transform: scale(1.06); }

.zh_news_item_tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    background: var(--zh-accent);
    color: #fff;
    font-size: 11px;
    border-radius: 10px;
    font-weight: 600;
}

.zh_news_item_body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.zh_news_item_title {
    font-size: 17px;
    font-weight: 600;
    color: var(--zh-primary);
    line-height: 1.5;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zh_news_item:hover .zh_news_item_title { color: var(--zh-accent); }

.zh_news_item_top {
    display: inline-block;
    padding: 2px 8px;
    background: var(--zh-accent);
    color: #fff;
    font-size: 11px;
    border-radius: 4px;
    margin-right: 6px;
    font-weight: 700;
}

.zh_news_item_summary {
    font-size: 13px;
    color: var(--zh-text-2);
    line-height: 1.8;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.zh_news_item_meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12px;
    color: var(--zh-text-3);
}
.zh_news_item_meta i { color: var(--zh-gold); margin-right: 4px; }

/* ========== 右侧栏 ========== */
.zh_news_aside {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zh_news_aside_card {
    background: #fff;
    border: 1px solid var(--zh-line);
    border-radius: var(--zh-radius-lg);
    padding: 20px 22px;
}

.zh_news_aside_card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--zh-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--zh-line);
    display: flex;
    align-items: center;
    gap: 10px;
}
.zh_news_aside_card h4::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--zh-grad-gold);
    border-radius: 2px;
}

.zh_news_aside_list a {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--zh-line);
    transition: all 0.2s;
}
.zh_news_aside_list a:last-child { border-bottom: none; }
.zh_news_aside_list a:hover { padding-left: 4px; }

.zh_news_aside_no {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 4px;
    background: var(--zh-bg-soft);
    color: var(--zh-text-3);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.zh_news_aside_list a:nth-child(1) .zh_news_aside_no,
.zh_news_aside_list a:nth-child(2) .zh_news_aside_no,
.zh_news_aside_list a:nth-child(3) .zh_news_aside_no {
    background: var(--zh-accent);
    color: #fff;
}

.zh_news_aside_text {
    flex: 1;
    min-width: 0;
}
.zh_news_aside_text h6 {
    font-size: 13px;
    color: var(--zh-text);
    line-height: 1.5;
    margin: 0 0 4px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zh_news_aside_list a:hover .zh_news_aside_text h6 { color: var(--zh-primary); }
.zh_news_aside_text small { font-size: 11px; color: var(--zh-text-3); }

.zh_news_cat_list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--zh-bg-soft);
    border-radius: var(--zh-radius-sm);
    margin-bottom: 8px;
    color: var(--zh-text-2);
    font-size: 13px;
    transition: all 0.2s;
}
.zh_news_cat_list a:hover,
.zh_news_cat_list a.active {
    background: var(--zh-primary);
    color: #fff;
}
.zh_news_cat_list a i { color: var(--zh-gold); }
.zh_news_cat_list a:hover i { color: var(--zh-gold-light); }

/* ========== 文章详情 ========== */
.zh_art_layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    align-items: flex-start;
}

.zh_art_main {
    background: #fff;
    border: 1px solid var(--zh-line);
    border-radius: var(--zh-radius-lg);
    padding: 44px 52px 48px;
    box-shadow: var(--zh-shadow-sm);
    min-width: 0;
}

.zh_art_cat {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(212,168,58,0.15);
    border: 1px solid var(--zh-gold);
    color: var(--zh-gold);
    font-size: 12px;
    border-radius: 14px;
    margin-bottom: 14px;
}

.zh_art_title {
    font-size: 30px;
    font-weight: 700;
    color: var(--zh-primary);
    line-height: 1.4;
    margin-bottom: 16px;
}

.zh_art_meta {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--zh-text-3);
    padding: 14px 0;
    border-top: 1px dashed var(--zh-line);
    border-bottom: 1px dashed var(--zh-line);
    margin-bottom: 28px;
}
.zh_art_meta i { color: var(--zh-gold); margin-right: 5px; }

.zh_art_summary {
    padding: 18px 22px;
    background: var(--zh-bg-soft);
    border-left: 4px solid var(--zh-gold);
    border-radius: 0 var(--zh-radius-sm) var(--zh-radius-sm) 0;
    color: var(--zh-text-2);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 28px;
}

.zh_art_body {
    font-size: 15px;
    line-height: 2;
    color: var(--zh-text);
}

.zh_art_body p { margin-bottom: 16px; }
.zh_art_body h2 {
    font-size: 22px;
    color: var(--zh-primary);
    margin: 36px 0 16px;
    padding-left: 14px;
    border-left: 4px solid var(--zh-gold);
}
.zh_art_body h3 {
    font-size: 18px;
    color: var(--zh-primary);
    margin: 26px 0 12px;
    font-weight: 700;
}
.zh_art_body img {
    max-width: 100%;
    height: auto;
    margin: 18px 0;
    border-radius: var(--zh-radius);
    box-shadow: var(--zh-shadow-sm);
}
.zh_art_body blockquote {
    margin: 18px 0;
    padding: 14px 22px;
    background: var(--zh-bg-soft);
    border-left: 4px solid var(--zh-gold);
    color: var(--zh-text-2);
    font-style: italic;
    border-radius: 0 var(--zh-radius-sm) var(--zh-radius-sm) 0;
}
.zh_art_body ul, .zh_art_body ol { margin: 14px 0 14px 28px; }
.zh_art_body ul li, .zh_art_body ol li { margin-bottom: 6px; }
.zh_art_body a { color: var(--zh-primary); text-decoration: underline; text-decoration-color: var(--zh-gold); }
.zh_art_body a:hover { color: var(--zh-gold); }

/* 上下篇 */
.zh_art_pn {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--zh-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.zh_art_pn a {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    background: var(--zh-bg-soft);
    border-radius: var(--zh-radius);
    font-size: 13px;
    color: var(--zh-text-2);
    transition: all 0.2s;
}
.zh_art_pn a:hover {
    background: var(--zh-primary);
    color: #fff;
}
.zh_art_pn a small {
    display: block;
    font-size: 11px;
    color: var(--zh-text-3);
    margin-bottom: 4px;
}
.zh_art_pn a:hover small { color: rgba(255,255,255,0.7); }
.zh_art_pn a.next { text-align: right; }

/* 响应式 */
@media (max-width: 991px) {
    .zh_news_featured { grid-template-columns: 1fr; }
    .zh_news_featured_main { min-height: 280px; }
    .zh_news_layout,
    .zh_art_layout { grid-template-columns: 1fr; }
    .zh_news_aside { position: static; flex-direction: row; }
    .zh_news_aside_card { flex: 1; }
    .zh_art_main { padding: 30px 28px 32px; }
    .zh_art_title { font-size: 22px; }
}

@media (max-width: 767px) {
    .zh_news_wrap { margin-top: 16px; }
    .zh_news_item { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
    .zh_news_aside { flex-direction: column; }
    .zh_art_main { padding: 22px 20px 26px; }
    .zh_art_title { font-size: 20px; }
    .zh_art_body { font-size: 14px; }
    .zh_art_body h2 { font-size: 18px; }
}
