@charset "utf-8";

/* ===== 全局重置 ===== */
* { margin:0; padding:0; box-sizing:border-box; }
body {
    font:15px/1.6 -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    background:#f7f8fa;
    color:#111827;
    -webkit-font-smoothing:antialiased;
    padding-bottom:20px;
}
a { text-decoration:none; }
ul { list-style:none; }

/* ===== 全局变量 ===== */
:root {
    --main-red: #d92323;
    --text-dark: #111827;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --white: #ffffff;
    --bg-gray: #f7f8fa;
    --border: #e5e7eb;
    --card-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* ===== 顶部固定头部 ===== */
.header {
    background:var(--white);
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:999;
    border-bottom:1px solid var(--border);
    padding:10px 16px;
}
.header-top {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}
.logo-wrap {
    flex-shrink:0;
}
.logo-wrap img {
    height:32px;
    width:auto;
    object-fit:contain;
    display:block;
}

/* ===== 日期 ===== */
.header-info {
    display:flex;
    align-items:center;
    flex-shrink:0;
}
.header-date {
    font-size:14px;
    color:var(--text-gray);
}

/* ===== 导航栏样式 ===== */
.nav-scroll-wrap {
    margin-top:8px;
}
.nav-scroll {
    display:flex;
    overflow-x:auto;
    white-space:nowrap;
    gap:8px;
    padding-bottom:2px;
}
.nav-scroll::-webkit-scrollbar { display:none; }
.nav-scroll a {
    display:inline-block;
    color:var(--text-gray);
    padding:8px 16px;
    font-size:14px;
    border-radius:6px;
    transition:0.2s all;
}
.nav-scroll a.active {
    color:var(--text-dark);
    font-weight:600;
    background:var(--bg-gray);
}
.nav-scroll a.target-link {
    color:var(--main-red);
}

/* 头部占位高度 */
.placeholder { height:120px; }

/* ===== 轮播Banner ===== */
.banner-swiper {
    margin:0 14px 14px;
    overflow:hidden;
    position:relative;
    box-shadow:var(--card-shadow);
    background:var(--bg-gray);
    border-radius:14px;
}
.slide-item { display:none; }
.slide-item a { display:block; }
.slide-item img {
    width:100%;
    height:210px;
    object-fit:cover;
    display:block;
}
.slide-title {
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:18px;
    background:linear-gradient(transparent, rgba(0,0,0,0.68));
    color:#fff;
    font-size:17px;
    font-weight:500;
    line-height:1.45;
}
.swiper-dots {
    position:absolute;
    right:14px;
    bottom:14px;
    display:flex;
    gap:6px;
}
.swiper-dots span {
    width:7px;
    height:7px;
    border-radius:50%;
    background:rgba(255,255,255,0.45);
}
.swiper-dots span.active {
    background:#fff;
    width:24px;
    border-radius:4px;
}

/* ===== 专题横向滚动 ===== */
.topic-wrap {
    margin:0 14px 18px;
}
.topic-head {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}
.topic-title {
    font-size:16px;
    font-weight:600;
    color:var(--text-dark);
    padding-left:4px;
}
.topic-more {
    font-size:13px;
    color:var(--main-red);
}
.topic-scroll {
    overflow-x:auto;
    white-space:nowrap;
    display:flex;
    gap:10px;
    padding-bottom:4px;
}
.topic-scroll::-webkit-scrollbar { display:none; }
.topic-item {
    width:130px;
    flex-shrink:0;
}
.topic-item img {
    width:100%;
    height:90px;
    object-fit:cover;
    display:block;
    border-radius:8px;
    margin-bottom:4px;
}

/* ===== 头条样式 ===== */
.block-top-news {
    margin:16px 14px 16px;
    background:var(--white);
    border-radius:14px;
    padding:16px;
    box-shadow:var(--card-shadow);
}
.block-top-tag {
    display:inline-block;
    background:var(--main-red);
    color:#fff;
    font-size:12px;
    padding:2px 7px;
    border-radius:3px;
    margin-right:8px;
    vertical-align:middle;
}
.block-top-title {
    font-size:18px;
    font-weight:600;
    color:var(--text-dark);
    display:inline;
}

/* ===== 头条下方的6条新闻列表 ===== */
.headline-sub-list {
    margin:0 14px 16px;
    background:var(--white);
    border-radius:14px;
    padding:6px 16px;
    box-shadow:var(--card-shadow);
}
.headline-sub-list li {
    padding:10px 0;
    border-bottom:1px solid #f0f0f0;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.headline-sub-list li:last-child {
    border-bottom:none;
}
.headline-sub-list li a {
    color:var(--text-dark);
    font-size:17px;
    line-height:1.5;
    flex:1;
}
.headline-sub-list li a:active {
    color:var(--main-red);
}
.headline-sub-list .list-time {
    font-size:14px;
    color:var(--text-light);
    flex-shrink:0;
    margin-left:12px;
}

/* ===== 各栏目区块（纯信息流） ===== */
.block-section {
    margin:0 14px 18px;
    background:var(--white);
    border-radius:14px;
    padding:16px;
    box-shadow:var(--card-shadow);
}
.block-head {
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid var(--border);
    padding-bottom:10px;
    margin-bottom:10px;
}
.block-name {
    font-size:17px;
    font-weight:600;
    color:var(--text-dark);
}
.block-more {
    font-size:13px;
    color:var(--main-red);
}
.block-list li {
    padding:10px 0;
    border-bottom:1px solid #f0f0f0;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.block-list li:last-child {
    border-bottom:none;
}
.block-list li a {
    color:var(--text-dark);
    font-size:17px;
    line-height:1.5;
    flex:1;
}
.block-list li a:active {
    color:var(--main-red);
}
.block-list .list-time {
    font-size:14px;
    color:var(--text-light);
    flex-shrink:0;
    margin-left:12px;
}

/* ===== 底部版权 ===== */
.page-footer {
    text-align:center;
    padding:20px 10px 10px;
    font-size:12px;
    color:var(--text-light);
    margin-top:10px;
    line-height:2;
}
.page-footer a {
    color:var(--text-light);
}