﻿@charset "utf-8";
/* CSS Document */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: #f4f6f9;
    font-family: "Microsoft Yahei",sans-serif;
    color: #000;
}
/* 顶部导航通栏 */
.header-wrap{
    width: 100%;
    background: #ffffff;
}
.header{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    height: 85px;
}
.header-left{
    display: flex;
    align-items: center;
    gap: 25px;
    position: static;
}
/* 汉堡菜单复选框 隐藏 */
.menu-checkbox{
    display: none;
}
/* 汉堡按钮 PC隐藏，文字颜色#ec1b24 */
.hamburger{
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #ec1b24;
    padding: 0 10px;
}
/* 导航下方分割线 */
.header-divider{
    width: 100%;
    height: 1px;
    background-color: #dddddd;
}
/* LOGO尺寸地址 */
.logo{
    display: flex;
    align-items: center;
}
.logo a {
    display: block;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}
.logo img{
    width:120px;
    height:60px;
    display: block;
}
/* PC横向导航 */
.nav-list{
    display: flex;
    list-style: none;
    align-items: center;
    gap: 36px;
}
.nav-list li a{
    color: #000;
    text-decoration: none;
    font-size: 17px;
}
.nav-list li a:hover{
    color: #ec1b24;
}
/* 搜索框 PC可见 移动端隐藏 */
.search-box{
    display: flex;
    align-items: center;
    margin-left: auto;
}
.search-input{
    height: 28px;
    width: 160px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
}
.search-btn{
    height: 28px;
    padding: 0 12px;
    background: #ec1b24;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
}
.search-btn:hover{
    background: #ec1b24;
}
.search-box form {
    display: flex;
    align-items: center;
    margin: 0;
}
.search-box .input {
    line-height: 0;
}
/* 页面顶部通栏广告（图片版适配） */
.top-ad-wrap{
    width: 100%;
    margin-top: 20px;
}
.top-ad-box{
    width: 1200px;
    margin: 0 auto 15px auto;
    background: transparent;
    padding: 0;
    border-radius: 6px;
    box-shadow: none;
    border: none;
    overflow: hidden;
}
/* 最后一张广告取消下边距，避免多余空白 */
.top-ad-box:last-child {
    margin-bottom: 0;
}
.top-ad-box img {
    width: 100%;
    display: block;
}

.rank-item a:hover,
.list-item a:hover,
.notice-item a:hover,
.hot-item a:hover,
.article-near-item a:hover,
.bread-box a:hover {
    color: #ec1b24;
}

/* ========== 文字链接模块 1200px居中，沿用卡片样式 ========== */
.marquee-wrap{
    width: 100%;
    margin-top: 20px;
}
.marquee-box{
    width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 8px #eee;
    border: 1px solid #eee;
}
.marquee-pc{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.marquee-pc a{
    font-size: 14px;
    color: #333;
    text-decoration: none;
    line-height: 36px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 4px;
}
.marquee-pc a:hover{
    color: #ec1b24;
    border-color: #eee;
}

/* ========== 三级栏目上方专属通栏广告（独立class rank-ad-wrap / rank-ad-box） ========== */
.rank-ad-wrap{
    width: 100%;
    margin-top: 20px;
}
.rank-ad-box{
    width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 8px #eee;
    border: 1px solid #eee;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 20px;
}
/* 回到顶部按钮 */
.go-top{
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 2s ease-in-out infinite;
    cursor: pointer;
}
.go-top::after{
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2px solid #ec1b24;
    border-left: 2px solid #ec1b24;
    /* X往右1px，Y往下2px，平衡左右+上下视觉偏移 */
    transform: rotate(45deg) translate(2px, 2px);
    transform-origin: center center;
}
@keyframes float{
    0%,100%{transform: translateY(0);}
    50%{transform: translateY(-8px);}
}
.go-top:hover{
    border-color:#ccc;
}
.go-top:hover::after{
    border-color:#ec1b24;
}
/* ========== 一/二/三级职级容器：三张独立卡片并排 ========== */
.rank-container{
    width: 100%;
    margin-top: 20px;
}
.rank-wrap{
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.rank-card{
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 8px #eee;
    border: 1px solid #eee;
}
/* 头部完全同公告模块：标题+更多+红色底线 字号18px */
.rank-title-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #ec1b24;
    margin-bottom: 15px;
}
.rank-title{
    font-size: 18px;
    font-weight: bold;
    color: #000;
}
.rank-more{
    font-size: 15px;
    color: #888;
    text-decoration: none;
}
.rank-more:hover{
    color: #ec1b24;
    text-decoration: underline;
}
/* 职级条目完全复刻公告样式：两端对齐、左侧圆点、右侧日期 */
.rank-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.rank-item:last-child{
    border-bottom: none;
}
.rank-item a{
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #000;
    text-decoration: none;
}
.rank-item a::before{
    content: "·";
    font-size: 30px;
    line-height: 1;
    margin-right: 5px;
    color: #333;
}
.rank-item a:hover::before{
    color: #ec1b24;
}
.rank-item a:hover{
    color: #ec1b24;
}
.rank-date{
    font-size: 16px;
    color: #999;
    white-space: nowrap;
}

/* ========== 四/五/六级职级容器：三张独立卡片并排 ========== */
.rank2-container{
    width: 100%;
    margin-top: 20px;
}
.rank2-wrap{
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ========== 友情链接上方两列广告 全新独立标签 ========== */
.link-ad-wrap{
    width: 100%;
    margin-top: 20px;
}
.link-ad-container{
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.link-ad-item{
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 8px #eee;
    border: 1px solid #eee;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 20px;
}
@media screen and (max-width: 768px){
    .link-ad-wrap{
        display: none !important;
    }
}
@media screen and (max-width:1200px){
    .link-ad-container{
        width: 96%;
    }
}

/* ========== 四级（副部级）上方三列广告 全新独立标签 ========== */
.rank4-ad-wrap{
    width: 100%;
    margin-top: 20px;
}
.rank4-ad-container{
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.rank4-ad-item{
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 8px #eee;
    border: 1px solid #eee;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 20px;
}
/* 移动端完全隐藏 */
@media screen and (max-width:768px){
    .rank4-ad-wrap{
        display: none !important;
    }
}
@media screen and (max-width:1200px){
    .rank4-ad-container{
        width: 96%;
    }
}

/* 7~12级栏目外层容器，复用已有卡片样式 */
.rank3-container{
    width: 100%;
    margin-top: 20px;
}
.rank3-wrap{
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media screen and (max-width:1200px){
    .rank3-wrap{
        width: 96%;
    }
}
@media screen and (max-width:768px){
    .rank3-wrap{
        grid-template-columns: 1fr;
        width: calc(100% - 40px);
    }
}

/* 九级下方通栏广告 独立样式 */
.rank9-bottom-ad-wrap{
    width:100%;
    margin:20px 0;
}
.rank9-bottom-ad-box{
    width:1200px;
    margin:0 auto;
    background:#fff;
    padding:20px;
    border-radius:6px;
    box-shadow:0 1px 8px #eee;
    border:1px solid #eee;
    height:80px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#666;
    font-size:20px;
}
@media screen and (max-width:1200px){
    .rank9-bottom-ad-box{
        width:96%;
    }
}
@media screen and (max-width:768px){
    .rank9-bottom-ad-wrap{
        display:none !important;
    }
}

/* 十、十一、十二级 独立外层容器 */
.rank4-container{
    width: 100%;
    margin-top: 20px;
}
.rank4-wrap{
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media screen and (max-width:1200px){
    .rank4-wrap{
        width: 96%;
    }
}
@media screen and (max-width:768px){
    .rank4-wrap{
        grid-template-columns: 1fr;
        width: calc(100% - 40px);
        margin:20px auto;
    }
}

/* 五列图文资讯模块，统一全站栏目风格 */
.news5-wrap{
    width: 100%;
    margin-top: 20px;
}
.news5-container{
    width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 8px #eee;
    border: 1px solid #eee;
}
.news5-title-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #ec1b24;
    margin-bottom: 15px;
}
.news5-title{
    font-size: 18px;
    font-weight: bold;
    color: #000;
}
.news5-more{
    font-size: 15px;
    color: #888;
    text-decoration: none;
}
.news5-more:hover{
    color: #ec1b24;
    text-decoration: underline;
}
/* PC端一行5列网格 */
.news5-grid{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
/* PC下内层容器不破坏网格布局 */
.news5-grid-inner{
    display: contents;
}
.news5-card{
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 8px #eee;
    border: 1px solid #eee;
    overflow: hidden;
}
.news5-img{
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}
.news5-item-title{
    padding: 12px;
    font-size: 15px;
    color: #000;
    text-decoration: none;
    display: block;
    text-align: center;
}
.news5-item-title:hover{
    color: #ec1b24;
}

@media screen and (max-width:1200px){
    .news5-container{
        width: 96%;
    }
}
/* 仅移动端启用轮播，一共5条 */
@media screen and (max-width:768px){
    .news5-container{
        width: calc(100% - 40px);
    }
    .news5-grid{
        overflow: hidden;
        position: relative;
        display: block;
    }
    .news5-grid-inner{
        display: flex;
        width: 500%;
        transition: transform 0.5s ease;
    }
    .news5-card{
        width: 20%;
        flex-shrink: 0;
    }
}

/* 分页样式 新增 */
.page-box{
    margin-top: 25px;
    text-align: center;
}
.page-box a{
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    border: 1px solid #eee;
    margin: 0 4px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}
.page-box a.active,
.page-box a:hover{
    background:#ec1b24;
    color:#fff;
    border-color:#ec1b24;
}
/* ========== 友情链接模块（头部同资讯：标题+更多+红色底线；内容横向单行、无分割线） ========== */
.link-wrap{
    width: 100%;
    margin-top: 20px;
}
.link-box{
    width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 8px #eee;
    border: 1px solid #eee;
}
.link-title-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #ec1b24;
    margin-bottom: 15px;
}
.link-title{
    font-size: 18px;
    font-weight: bold;
    color: #000;
}
.link-more{
    font-size: 15px;
    color: #888;
    text-decoration: none;
}
.link-more:hover{
    color: #ec1b24;
    text-decoration: underline;
}
.link-inner{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}
.link-item{
    padding: 0;
    border-bottom: none;
}
.link-item a{
    font-size: 16px;
    color: #333;
    text-decoration: none;
}
.link-item a:hover{
    color: #ec1b24;
}

/* 主体容器 左右两栏强制等高 stretch */
.wrap{
    width: 1200px;
    margin: 20px auto 0;
    display: flex;
    align-items: stretch;
    gap: 20px;
}
/* 左侧整列：垂直弹性，公告固定高度，广告自动拉伸填充剩余高度 */
.left-col{
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* 网站公告：高度由内容自动决定，不拉伸 */
.left-box{
    flex: none;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 8px #eee;
    border: 1px solid #eee;
}
.box-title-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #ec1b24;
    margin-bottom: 15px;
}
.box-title{
    font-size: 18px;
    font-weight: bold;
    color: #000;
}
.more-link{
    font-size: 15px;
    color: #888;
    text-decoration: none;
}
.more-link:hover{
    color: #ec1b24;
    text-decoration: underline;
}
.notice-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.notice-item:last-child{
    border-bottom: none;
}
.notice-item a{
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #000;
    text-decoration: none;
}
.notice-item a::before{
    content: "·";
    font-size: 30px;
    line-height: 1;
    margin-right: 5px;
    color: #333;
}
.notice-date{
    font-size: 16px;
    color: #999;
    white-space: nowrap;
}
/* 左侧自适应广告 */
.left-ad-wrap{
    width: 100%;
}
.left-ad-box{
    width: 350px;
    height: 120px;
    background: transparent;
    padding: 0;
    border-radius: 6px;
    box-shadow: none;
    border: none;
    overflow: hidden;
}
/* 右侧资讯区域 */
.right-box{
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 8px #eee;
    border: 1px solid #eee;
}
.list-wrap{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}
.list-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.list-wrap .list-item:nth-last-child(-n+2){
    border-bottom: none;
}
.list-item a{
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #000;
    text-decoration: none;
}
.list-item a::before{
    content: "·";
    font-size: 30px;
    line-height: 1;
    margin-right: 5px;
    color: #333;
}
.list-date{
    font-size: 16px;
    color: #999;
    white-space: nowrap;
}
/* 底部版权 */
.footer-wrap{
    width: 100%;
    background: #fff;
    margin-top: 20px;
    padding: 30px 0;
    border-top: 1px solid #dddddd;
}
.footer{
    width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}
.footer a {
    color: #666;
    text-decoration: none;
}
.footer a:hover {
    color: #ec1b24;
}
/* 列表页、内容页左侧广告01 */
.list-left-ad-wrap{
    width: 100%;
}
.list-left-ad-box{
    width: 100%;
    background: #fff;
    padding: 0;
    border-radius: 6px;
    box-shadow: 0 1px 8px #eee;
    border: 1px solid #eee;
    overflow: hidden;
}
.list-left-ad-box img {
    width: 100%;
    display: block;
}
/* 列表页、内容页左侧广告02 */
.list-left-ad-wrap.ad-box-02 .list-left-ad-box-02 {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
}
@media screen and (max-width:768px){
    .list-left-ad-wrap.ad-box-02 {
        display: none !important;
    }
}
/* 热门文章模块 */
.list-hot-box{
    flex: none;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 8px #eee;
    border: 1px solid #eee;
}
.hot-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.hot-item:last-child{
    border-bottom: none;
}
.hot-item a{
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #000;
    text-decoration: none;
}
.hot-item a::before{
    content: "·";
    font-size: 30px;
    line-height: 1;
    margin-right: 5px;
    color: #333;
}
.hot-date{
    font-size: 16px;
    color: #999;
    white-space: nowrap;
}
/* 面包屑导航 */
.bread-wrap{
    width:100%;
    margin-top:20px;
}
.bread-box{
    width:1200px;
    margin:0 auto;
    background:#fff;
    padding:14px 20px;
    border-radius:6px;
    box-shadow:0 1px 8px #eee;
    border:1px solid #eee;
    font-size:15px;
    color:#666;
    /* 新增左右分开布局 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* 面包屑右侧天气 */
.bread-weather {
    color:#666;
    font-size:15px;
    display:flex;
    align-items:center;
    gap:12px;
}
.bread-weather a {
    color:#333;
    text-decoration:none;
}
.bread-weather a:hover {
    color:#ec1b24;
}
/* 移动端隐藏天气 */
@media screen and (max-width:768px) {
    .bread-weather {
        display: none !important;
    }
}
.bread-box a{
    color:#333;
    text-decoration:none;
}
@media screen and (max-width:1200px){
    .bread-box{
        width:96%;
    }
}
@media screen and (max-width:768px){

    .bread-box{
        width:calc(100% - 40px);
		margin-bottom: 20px !important;
    }
}
/* 文章正文 */
.article-info{
    text-align: center;
    color: #999;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
}
.article-content p{
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 16px;
    text-indent: 2em;
}
.article-img{
    display: block;
    max-width: 100%;
    margin: 20px auto;
    border-radius: 4px;
}
.right-box .box-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
body.article-detail .right-box .box-title-row {
    display: block !important;
    text-align: center !important;
}
body.article-detail .right-box .box-title-row .more-link {
    display: none !important;
}
/* 上下篇切换 */
.article-near{
    margin-top:25px;
    padding-top:20px;
    border-top:1px solid #eee;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.article-near-item{
    font-size:15px;
}
.article-near-item a{
    color:#333;
    text-decoration:none;
}
@media screen and (max-width:768px){
    .article-near{
        flex-direction: column;
    }
}
/* 文章底部免责 */
.article-copyright{
    margin-top:20px;
    padding:15px;
    border:1px dashed #cccccc;
    font-size:14px;
    line-height:1.8;
    color:#666;
}
/* PC端下拉子菜单 */
.nav-list li {
    position: relative;
    display: inline-block;
    margin: 0 8px;
}
.nav-list li.has-sub > a::after {
    content: "∨";
    font-size: 10px;
    margin-left: 5px;
}
.nav-list li .sub-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #eee;
    min-width: 110px;
    z-index: 9999;
}
.nav-list li .sub-nav a {
    display: block;
    padding: 8px 12px;
    text-align: center;
    white-space: nowrap;
    font-size: 15px;
}
.nav-list li:hover .sub-nav {
    display: block;
}
/* 文章中间广告 */
.article-middle-ad-wrap{
    width: 100%;
    margin: 20px 0 20px 0;
}
.article-middle-ad-box{
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 8px #eee;
    border: 1px solid #eee;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 20px;
}
@media screen and (max-width:768px){
    .article-middle-ad-box{
        height: auto;
        padding:20px;
    }
}
/* ========== 响应式基础布局 ========== */
@media screen and (max-width:1200px){
    .header, .top-ad-box, .marquee-box, .rank-ad-box, .rank-wrap, .rank2-wrap, .link-ad-container, .link-box, .wrap, .footer{
        width: 96%;
    }
}
@media screen and (max-width:768px){
    body{
        background: #d6dde8;
        /* 新增：顶部留白，避开70px高固定导航 */
        padding-top: 70px;
    }
    /* 新增：导航通栏固定在顶部 */
    .header-wrap {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99999;
    }
    .marquee-wrap, .link-ad-wrap, .rank4-ad-wrap, .rank9-bottom-ad-wrap, .list-left-ad-wrap, .link-wrap, .left-box{
        display: none !important;
    }
    .rank-container {
    margin-top: 0px !important;
    }
    /* 只给第二个及以后的rank-container添上边距 */
    .rank-container + .rank-container {
    margin-top: 20px !important;
    }
    .header{
        width: 100%;
        height: 70px;
    }
    .header-left{
        width: 100%;
        justify-content: space-between;
        position: relative;
		gap: 0;
    }
    .hamburger{
        display: block;
    }
    /* 移动端下拉导航：4列固定均分，永不挤压 */
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
		margin-top:4px;
        padding: 10px 6px;
        z-index: 9999;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        border-top:1px solid #dddddd;
    }
    #menuBtn:checked ~ ul.nav-list {
        display: grid !important;
    }
    .nav-list li {
        padding: 6px 8px;
        border:1.5px solid #dddddd;
        border-radius:6px;
        text-align:center;
        position: relative;
    }
    .nav-list li a {
        font-size:16px;
        padding:6px 0;
        display:block;
        line-height: 1.5;
    }
    .nav-list li.has-sub > a::after {
        display: none !important;
    }
    .nav-list li .sub-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #f5f5f5;
        z-index:99;
        margin-top:4px;
        border:1px solid #eee;
        border-radius:4px;
    }
    .nav-list li .sub-nav.show {
        display: block !important;
    }
    .nav-list li .sub-nav a {
        text-align: center;
        padding:6px 0;
        font-size:15px;
    }
    .search-box{
        display: none;
    }
    .top-ad-box, .rank-ad-box, .rank-wrap, .rank2-wrap, .link-box, .wrap, .footer, .news5-container, .bread-box{
        width: calc(100% - 40px);
        margin: 0 auto;
    }
    .rank3-wrap, .rank4-wrap{
        grid-template-columns: 1fr;
        width: calc(100% - 40px);
        margin:20px auto;
    }
    .wrap{
        flex-direction: column;
    }
    .right-box{
        order: -1;
        width:100%;
    }
    .left-col{
        width:100%;
    }
    .left-ad-wrap{
        display: none !important;
    }
    .list-wrap{
        grid-template-columns: 1fr;
    }
    .top-ad-box, .rank-ad-box{
        height: auto;
        padding:40px 20px;
		margin-bottom: 20px; 
    }
    .rank-wrap, .rank2-wrap, .link-ad-container{
        grid-template-columns: 1fr;
    }
    .rank-card{
        padding: 20px !important;
    }
    body:not(.list-page) .wrap .right-box .list-wrap .list-item:nth-child(n+6) {
        display: none;
    }
    body.list-page .wrap .right-box .list-wrap .list-item {
        display: flex !important;
    }
    body.article-detail .link-wrap{
        display: none !important;
    }

    /* 卡片兜底防横向滚动 */
    .rank-card, .right-box, .left-box {
        overflow-x: hidden !important;
    }
    /* 取消双列网格 */
    .list-wrap {
        display: block !important;
        grid-template-columns: unset !important;
    }

    .list-item,
    .rank-item,
    .notice-item {
        display: flex !important;
        align-items: center !important;
        padding: 8px 0 !important;
        border-bottom: 1px solid #eee !important;
        width: 100% !important;
        gap: 4px !important;
    }
    .list-item:last-child,
    .rank-item:last-child,
    .notice-item:last-child {
        border-bottom: none !important;
    }

    /* 新增 .notice-item a 清除点击底色 */
    .list-item a,
    .rank-item a,
    .notice-item a {
        display: flex !important;
        align-items: center !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        overflow: visible !important;
        /* 清除手机默认绿色/灰色点击底纹 */
        -webkit-tap-highlight-color: transparent !important;
        tap-highlight-color: transparent !important;
        outline: none !important;
    }
    /* 圆点固定不压缩 */
    .list-item a::before,
    .rank-item a::before,
    .notice-item a::before {
        flex-shrink: 0 !important;
        margin-right: 3px;
        content: "·";
        font-size: 30px;
        line-height: 1;
        color: #333;
    }

    .list-item a span,
    .rank-item a span,
    .notice-item a span {
        display: block;
        flex: 1;
        min-width: 0;
        white-space: nowrap !important;
    }

    /* 移动端按住文字变为 #ec1b24，包含公告 */
    .list-item a:active,
    .rank-item a:active,
    .notice-item a:active {
        color: #ec1b24 !important;
    }

    /* 移动端隐藏日期 */
    .list-date,
    .rank-date,
    .notice-date,
    .hot-date {
        display: none !important;
    }

    /* ========= 下面粘贴新增热门文章、分页、详情链接修复代码 ========= */
    /* 列表页热门文章清除点击底色 + 按压变色 */
    .hot-item a {
        -webkit-tap-highlight-color: transparent !important;
        tap-highlight-color: transparent !important;
        outline: none !important;
    }
    .hot-item a:active {
        color: #ec1b24 !important;
    }
    /* 分页按钮清除点击底色 */
    .page-box a {
        -webkit-tap-highlight-color: transparent !important;
        tap-highlight-color: transparent !important;
        outline: none !important;
    }
    /* 图文资讯卡片链接 */
    .news5-item-title {
        -webkit-tap-highlight-color: transparent !important;
        tap-highlight-color: transparent !important;
        outline: none !important;
    }
    .news5-item-title:active {
        color: #ec1b24 !important;
    }
    /* 文章详情上下篇链接 */
    .article-near-item a {
        -webkit-tap-highlight-color: transparent !important;
        tap-highlight-color: transparent !important;
        outline: none !important;
    }
    .article-near-item a:active {
        color: #ec1b24 !important;
    }
	/* 移动端list-wrap最新更新只展示前5条，6条及以后隐藏 */
    .list-wrap .list-item:nth-child(n+6) {
        display: none !important;
    }
	/* 清除第5条底部多余分割线 */
    .list-wrap .list-item:nth-child(5) {
        border-bottom: none !important;
    }
	    body.article-detail .article-info .source-text {
        display: none !important;
    }
.menu-mask {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 100vh;
}
#menuBtn:checked ~ .menu-mask {
    opacity: 1;
    pointer-events: auto;
}
/* 移动端隐藏通栏广告 + 补充主体顶部间距 */
@media screen and (max-width: 768px) {
    .top-ad-wrap {
        display: none !important;
    }
    .wrap {
        margin-top: 20px !important;
    }
}
/* 回到顶部按钮 */
    .go-top {
        right: 12px;
        bottom: 20px;
        width: 38px;
        height: 38px;
    }
}