/* ============================================================
   爱球会 aiqiuhui.com - 体育资讯门户模板样式
   现代化、企业化、门户类型设计
   ============================================================ */

/* ---------- 重置与基础 ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;-webkit-text-size-adjust:100%}
body{
  font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB","Helvetica Neue",Arial,sans-serif;
  font-size:15px;line-height:1.7;color:#2c3e50;background:#f5f6fa;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
a{color:#1a5fc4;text-decoration:none;transition:color .2s}
a:hover{color:#0d6efd}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
button{cursor:pointer;font-family:inherit;border:none;background:none}
input,textarea,select{font-family:inherit;font-size:14px;outline:none}
svg{display:inline-block;vertical-align:middle}

.container{max-width:1200px;margin:0 auto;padding:0 16px}

/* ---------- 通用工具 ---------- */
.clearfix::after{content:"";display:table;clear:both}
.hide{display:none!important}

/* ---------- 顶部栏 topbar ---------- */
.site-header{position:relative;z-index:100}
.topbar{background:#0a3d91;color:#cfe0ff;font-size:13px;line-height:36px}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}
.topbar-left .topbar-date{margin-right:18px;font-weight:500}
.topbar-right .topbar-link{color:#cfe0ff;margin:0 2px}
.topbar-right .topbar-link:hover{color:#fff}
.topbar-right .sep{color:#5a7dc4;margin:0 6px}

/* ---------- 头部主体 ---------- */
.header-main{background:#fff;border-bottom:3px solid #0d6efd;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:18px 16px;gap:30px}
.logo{flex-shrink:0;display:block;line-height:0}
.logo:hover{opacity:.9}
.header-search{flex:1;max-width:560px}
.search-form{display:flex;border:2px solid #0d6efd;border-radius:6px;overflow:hidden;background:#fff}
.search-input{flex:1;padding:11px 14px;border:none;font-size:14px;background:transparent}
.search-btn{padding:0 20px;background:#0d6efd;color:#fff;display:flex;align-items:center;justify-content:center;transition:background .2s}
.search-btn:hover{background:#0a3d91}
.hot-search{margin-top:8px;font-size:12px;color:#888}
.hot-search .hot-label{color:#999}
.hot-search a{color:#666;margin-right:12px}
.hot-search a:hover{color:#0d6efd}

/* ---------- 主导航 ---------- */
.main-nav{background:#0d6efd;box-shadow:0 2px 6px rgba(13,110,253,.25)}
.nav-list{display:flex;flex-wrap:wrap;align-items:center}
.nav-item{position:relative}
.nav-link{display:block;padding:0 20px;line-height:50px;color:#fff;font-size:16px;font-weight:500;transition:background .2s}
.nav-link:hover,.nav-item:hover .nav-link{background:rgba(255,255,255,.15)}
.nav-item.active .nav-link{background:rgba(0,0,0,.15)}

/* ---------- 面包屑 ---------- */
.breadcrumb{padding:14px 16px;font-size:13px;color:#888}
.breadcrumb-list{display:flex;flex-wrap:wrap;align-items:center}
.breadcrumb-item{color:#888}
.breadcrumb-item a{color:#666}
.breadcrumb-item a:hover{color:#0d6efd}
.breadcrumb-item:not(:last-child)::after{content:"/";margin:0 8px;color:#ccc}
.breadcrumb-item.active{color:#0d6efd}

/* ---------- 主布局 ---------- */
.main-wrap{display:flex;gap:24px;padding:8px 16px 40px;align-items:flex-start}
.content{flex:1;min-width:0;background:#fff;border-radius:8px;padding:24px;box-shadow:0 1px 4px rgba(0,0,0,.05)}

/* ---------- 内容头 ---------- */
.content-head{padding-bottom:18px;border-bottom:1px solid #eee;margin-bottom:20px}
.content-title{font-size:24px;font-weight:700;color:#1a2740;line-height:1.4}
.content-desc{margin-top:8px;font-size:14px;color:#888;line-height:1.6}

/* ---------- 子分类导航 ---------- */
.class-nav{padding:12px 16px;background:#f8f9fc;border-radius:6px;margin-bottom:20px;font-size:14px}
.class-nav-label{color:#888;margin-right:8px}
.class-nav a{display:inline-block;padding:4px 12px;margin:4px 4px;border-radius:14px;background:#fff;color:#555;border:1px solid #e3e7ed;transition:all .2s}
.class-nav a:hover{background:#0d6efd;color:#fff;border-color:#0d6efd}

/* ---------- 新闻列表 ---------- */
.news-list{display:flex;flex-direction:column}
.news-list-item{padding:18px 0;border-bottom:1px dashed #e8e8e8}
.news-list-item:last-child{border-bottom:none}
.news-list-link{display:block}
.news-list-title{font-size:18px;font-weight:600;color:#1a2740;line-height:1.5;margin-bottom:8px;transition:color .2s}
.news-list-link:hover .news-list-title{color:#0d6efd}
.news-list-desc{font-size:13px;color:#999;line-height:1.6;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-list-meta{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;color:#aaa}
.news-list-meta .meta-cat{color:#0d6efd;background:#eaf2ff;padding:1px 8px;border-radius:3px}

/* ---------- 图文新闻网格 ---------- */
.pic-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.pic-news-item{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.06);transition:transform .25s,box-shadow .25s}
.pic-news-item:hover{transform:translateY(-4px);box-shadow:0 6px 18px rgba(13,110,253,.15)}
.pic-news-link{display:block}
.pic-news-img{position:relative;width:100%;height:170px;overflow:hidden;background:#f0f2f5}
.pic-news-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.pic-news-item:hover .pic-news-img img{transform:scale(1.06)}
.pic-news-cat{position:absolute;top:8px;left:8px;background:rgba(13,110,253,.9);color:#fff;font-size:12px;padding:2px 8px;border-radius:3px}
.pic-news-title{padding:12px 14px 4px;font-size:16px;font-weight:600;color:#1a2740;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pic-news-desc{padding:0 14px 8px;font-size:13px;color:#999;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pic-news-meta{padding:0 14px 14px;display:flex;justify-content:space-between;font-size:12px;color:#aaa}

/* ---------- 分页 ---------- */
.pagination{margin-top:30px;text-align:center}
.listpage{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;font-size:14px}
.listpage a,.listpage span{display:inline-block;padding:7px 13px;border:1px solid #e0e4ea;border-radius:4px;color:#555;background:#fff;transition:all .2s}
.listpage a:hover{border-color:#0d6efd;color:#0d6efd}
.listpage .page-info{border:none;color:#888;background:none;padding:7px 8px}
.listpage .page-link a{margin:0 2px}
.listpage select{padding:6px 8px;border:1px solid #e0e4ea;border-radius:4px;color:#555}

/* ---------- 侧栏 sidebar ---------- */
.sidebar{flex-shrink:0;width:300px;display:flex;flex-direction:column;gap:20px}
.side-widget{background:#fff;border-radius:8px;padding:18px 20px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.widget-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:2px solid #f0f2f5;margin-bottom:14px}
.widget-title{font-size:17px;font-weight:700;color:#1a2740;position:relative;padding-left:12px}
.widget-title::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:4px;background:#0d6efd;border-radius:2px}
.widget-more{font-size:12px;color:#0d6efd;background:#eaf2ff;padding:2px 8px;border-radius:10px}

/* 排行榜 */
.rank-list{counter-reset:rank}
.rank-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px dashed #f0f0f0}
.rank-item:last-child{border-bottom:none}
.rank-num{flex-shrink:0;width:22px;height:22px;line-height:22px;text-align:center;background:#e8ebf0;color:#888;font-size:12px;font-weight:700;border-radius:4px}
.rank-num.rank-top{background:#ff5722;color:#fff}
.rank-title{flex:1;font-size:14px;color:#555;line-height:1.5;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.rank-title:hover{color:#0d6efd}
.rank-views{font-size:12px;color:#bbb}

/* 文字列表 */
.text-list-item{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px dashed #f0f0f0}
.text-list-item:last-child{border-bottom:none}
.text-dot{flex-shrink:0;width:6px;height:6px;background:#0d6efd;border-radius:50%}
.text-list-item a{flex:1;font-size:14px;color:#555;line-height:1.5;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.text-list-item a:hover{color:#0d6efd}

/* 标签云 */
.tag-cloud{display:flex;flex-wrap:wrap;gap:8px}
.tag-item{display:inline-flex;align-items:center;gap:4px;padding:5px 11px;background:#f4f6fa;color:#555;font-size:13px;border-radius:14px;transition:all .2s}
.tag-item em{font-style:normal;font-size:11px;color:#aaa}
.tag-item:hover{background:#0d6efd;color:#fff}
.tag-item:hover em{color:#cfe0ff}

/* ---------- 首页 banner ---------- */
.banner{display:flex;gap:16px;margin:20px auto}
.banner-main{flex:1;min-width:0;border-radius:8px;overflow:hidden;position:relative;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.banner-slider{position:relative;height:340px;overflow:hidden}
.banner-slide{display:none;height:100%}
.banner-slide:first-child{display:block}
.banner-slide a{display:block;height:100%;position:relative}
.banner-img{width:100%;height:100%;object-fit:cover}
.banner-caption{position:absolute;left:0;right:0;bottom:0;padding:50px 24px 24px;background:linear-gradient(transparent,rgba(0,0,0,.8));color:#fff}
.banner-cat{display:inline-block;background:#0d6efd;color:#fff;font-size:12px;padding:2px 10px;border-radius:3px;margin-bottom:8px}
.banner-title{font-size:20px;font-weight:600;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.banner-dots{position:absolute;bottom:16px;right:20px;display:flex;gap:6px;z-index:5}
.banner-dots span{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer;transition:background .2s}
.banner-dots span.active{background:#0d6efd}
.banner-side{width:340px;flex-shrink:0;background:#fff;border-radius:8px;padding:18px 20px;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.banner-side-head{padding-bottom:12px;border-bottom:2px solid #f0f2f5;margin-bottom:12px}
.side-head-title{font-size:18px;font-weight:700;color:#1a2740}
.headline-list{display:flex;flex-direction:column;gap:6px}
.headline-item{font-size:14px;line-height:1.6;padding:4px 0;border-bottom:1px dashed #f5f5f5}
.headline-item:last-child{border-bottom:none}
.headline-item a{color:#444;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.headline-item a:hover{color:#0d6efd}
.headline-first a{font-weight:600;color:#1a2740}
.headline-tag{display:inline-block;background:#ff5722;color:#fff;font-size:11px;padding:1px 6px;border-radius:3px;margin-right:6px;vertical-align:middle}

/* ---------- 区块通用 ---------- */
.block{background:#fff;border-radius:8px;padding:20px 24px;margin-bottom:20px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.block-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px;margin-bottom:18px;border-bottom:2px solid #f0f2f5}
.block-title{font-size:20px;font-weight:700;color:#1a2740;display:flex;align-items:center;gap:10px}
.title-bar{width:5px;height:20px;background:#0d6efd;border-radius:3px}
.block-more{font-size:13px;color:#888}
.block-more:hover{color:#0d6efd}

/* 频道区块 */
.channel-grid{display:flex;gap:20px}
.channel-top{flex-shrink:0;width:320px}
.channel-feature{display:block;border-radius:8px;overflow:hidden;position:relative;height:220px}
.channel-feature img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.channel-feature:hover img{transform:scale(1.05)}
.channel-feature-info{position:absolute;left:0;right:0;bottom:0;padding:40px 16px 14px;background:linear-gradient(transparent,rgba(0,0,0,.85));color:#fff}
.channel-feature-title{font-size:16px;font-weight:600;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.channel-feature-desc{font-size:12px;margin-top:4px;opacity:.85;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.channel-list{flex:1;min-width:0}
.channel-list-item{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px dashed #f0f0f0}
.channel-list-item:last-child{border-bottom:none}
.channel-dot{flex-shrink:0;width:5px;height:5px;background:#0d6efd;border-radius:50%}
.channel-list-item a{flex:1;font-size:14px;color:#444;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.channel-list-item a:hover{color:#0d6efd}
.channel-time{flex-shrink:0;font-size:12px;color:#bbb}

/* 两列区块 */
.two-col-block .col-half{flex:1;min-width:0}
.two-col-block{display:flex;gap:20px;padding:0;margin-bottom:20px;background:none;box-shadow:none}
.two-col-block .col-half{background:#fff;border-radius:8px;padding:20px 24px;box-shadow:0 1px 4px rgba(0,0,0,.05)}

/* 专题卡片 */
.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.topic-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px 12px;border-radius:8px;color:#fff;transition:transform .25s}
.topic-card:hover{transform:translateY(-4px);color:#fff}
.topic-wc{background:linear-gradient(135deg,#f6a623,#e67e22)}
.topic-ec{background:linear-gradient(135deg,#0d6efd,#0a3d91)}
.topic-og{background:linear-gradient(135deg,#e74c3c,#c0392b)}
.topic-schedule{background:linear-gradient(135deg,#16a085,#1abc9c)}
.topic-icon{opacity:.95}
.topic-name{font-size:16px;font-weight:600}

/* 首页标签云 */
.home-tag-cloud .tag-item{padding:7px 14px;font-size:14px}

/* ---------- 文章页 ---------- */
.article-page .content{padding:30px 36px}
.article-header{padding-bottom:20px;border-bottom:1px solid #eee;margin-bottom:24px}
.article-title{font-size:28px;font-weight:700;color:#1a2740;line-height:1.4;margin-bottom:14px}
.article-info{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;color:#999}
.article-info .info-cat a{color:#0d6efd;background:#eaf2ff;padding:1px 8px;border-radius:3px}
.article-summary{padding:16px 20px;background:#f8f9fc;border-left:4px solid #0d6efd;border-radius:4px;margin-bottom:28px;color:#555;font-size:14px;line-height:1.7}
.article-content{font-size:16px;line-height:1.9;color:#333;word-break:break-word}
.article-content p{margin-bottom:18px}
.article-content h2,.article-content h3,.article-content h4{margin:24px 0 14px;color:#1a2740;font-weight:600}
.article-content h2{font-size:22px}
.article-content h3{font-size:19px}
.article-content img{margin:18px auto;border-radius:6px;max-width:100%}
.article-content a{color:#0d6efd;border-bottom:1px solid #0d6efd}
.article-content blockquote{margin:20px 0;padding:14px 20px;background:#f8f9fc;border-left:4px solid #0d6efd;color:#666;border-radius:4px}
.article-content ul,.article-content ol{margin:16px 0 16px 24px}
.article-content ul li{list-style:disc;margin-bottom:6px}
.article-content ol li{list-style:decimal;margin-bottom:6px}
.article-content table{width:100%;border-collapse:collapse;margin:20px 0;font-size:14px}
.article-content table th,.article-content table td{border:1px solid #e0e4ea;padding:10px 12px;text-align:left}
.article-content table th{background:#f4f6fa;font-weight:600}
.article-content pre{background:#2d3748;color:#e2e8f0;padding:16px;border-radius:6px;overflow-x:auto;margin:18px 0;font-size:14px}
.article-content code{font-family:"Consolas","Monaco",monospace}

/* 文章标签 */
.article-tags{padding:20px 0;border-top:1px solid #eee;border-bottom:1px solid #eee;margin:28px 0;font-size:14px}
.tags-label{color:#888;margin-right:8px}
.article-tag{display:inline-block;padding:4px 12px;margin:4px 4px;background:#f4f6fa;color:#555;border-radius:14px;transition:all .2s}
.article-tag:hover{background:#0d6efd;color:#fff}

/* 分享 */
.article-share{padding:16px 0;display:flex;align-items:center;gap:10px;border-bottom:1px solid #eee;margin-bottom:24px}
.share-label{color:#888;font-size:14px}
.share-btn{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;transition:transform .2s}
.share-btn:hover{transform:scale(1.1);color:#fff}
.share-wechat{background:#07c160}
.share-weibo{background:#e6162d}

/* 上下篇 */
.article-nav{display:flex;gap:16px;margin-bottom:28px}
.article-nav-prev,.article-nav-next{flex:1;padding:14px 16px;background:#f8f9fc;border-radius:6px;font-size:14px}
.article-nav-next{text-align:right}
.nav-label{display:block;font-size:12px;color:#999;margin-bottom:6px}
.nav-link a{color:#555;line-height:1.5}
.nav-link a:hover{color:#0d6efd}

/* 相关推荐 */
.article-related{margin-bottom:28px}
.related-title,.comment-title{font-size:18px;font-weight:700;color:#1a2740;padding-bottom:12px;border-bottom:2px solid #f0f2f5;margin-bottom:16px}
.related-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px 24px}
.related-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px dashed #f0f0f0}
.related-num{flex-shrink:0;width:20px;height:20px;line-height:20px;text-align:center;background:#e8ebf0;color:#666;font-size:12px;border-radius:3px}
.related-item a{flex:1;font-size:14px;color:#555;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.related-item a:hover{color:#0d6efd}
.related-time{font-size:12px;color:#bbb}

/* 评论 */
.article-comment{margin-bottom:10px}
.comment-iframe{width:100%;min-height:400px;border:none}

/* ---------- 单页 ---------- */
.single-page .content{padding:30px 36px}
.single-article{font-size:16px;line-height:1.9;color:#333}
.single-article p{margin-bottom:18px}
.single-article h2,.single-article h3{margin:24px 0 14px;color:#1a2740}

/* ---------- 留言板 ---------- */
.gbook-list{margin-bottom:24px}
.gbook-item{padding:14px 16px;background:#f8f9fc;border-radius:6px;margin-bottom:12px}
.gbook-head{display:flex;justify-content:space-between;font-size:13px;color:#888;margin-bottom:8px}
.gbook-name{color:#0d6efd;font-weight:600}
.gbook-text{color:#444;line-height:1.7}
.gbook-re{margin-top:8px;padding:8px 12px;background:#eaf2ff;border-radius:4px;font-size:14px;color:#555}
.gbook-form{padding:20px;background:#f8f9fc;border-radius:8px}
.form-row{margin-bottom:14px;display:flex;align-items:center;gap:12px}
.form-label{width:90px;flex-shrink:0;color:#666;font-size:14px}
.form-input{flex:1;max-width:400px;padding:9px 12px;border:1px solid #e0e4ea;border-radius:4px}
.form-textarea{flex:1;padding:9px 12px;border:1px solid #e0e4ea;border-radius:4px;resize:vertical}
.form-submit-row{justify-content:flex-end}
.form-submit{padding:10px 28px;background:#0d6efd;color:#fff;border-radius:4px;font-size:14px;transition:background .2s}
.form-submit:hover{background:#0a3d91}

/* ---------- 控制面板 ---------- */
.cp-menu{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:18px;border-bottom:1px solid #eee;margin-bottom:20px}
.cp-menu-item{padding:7px 16px;background:#f4f6fa;border-radius:4px;color:#555;font-size:14px}
.cp-menu-item.active,.cp-menu-item:hover{background:#0d6efd;color:#fff}
.cp-info{padding:30px;text-align:center;color:#888}

/* ---------- 栏目封面页 ---------- */
.class-cover-content{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.subcat-block{padding:16px;background:#f8f9fc;border-radius:6px}
.subcat-title{font-size:16px;font-weight:600;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #e0e4ea}
.subcat-title a{color:#1a2740}
.subcat-list li{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px dashed #eee;font-size:14px}
.subcat-list li a{color:#555;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.subcat-list li a:hover{color:#0d6efd}
.subcat-list li span{color:#bbb;font-size:12px;flex-shrink:0;margin-left:8px}

/* ---------- 尾部 footer ---------- */
.site-footer{background:#0a1e3a;color:#9bb8e8;margin-top:40px}
.footer-widgets{padding:40px 0 30px}
.footer-widgets-inner{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}
.footer-about .footer-logo{margin-bottom:14px}
.footer-desc{font-size:13px;line-height:1.8;color:#7a9bcf}
.footer-title{font-size:15px;font-weight:600;color:#fff;margin-bottom:14px}
.footer-links li{margin-bottom:8px}
.footer-links a{color:#9bb8e8;font-size:13px}
.footer-links a:hover{color:#fff}
.friend-link{background:#08172e;padding:16px 0;border-top:1px solid #13304f}
.friend-link-title{color:#7a9bcf;font-size:13px;margin-right:8px}
.friend-link-list{display:inline}
.friend-link-list a{color:#7a9bcf;font-size:13px;margin:0 8px 0 0}
.friend-link-list a:hover{color:#cfe0ff}
.footer-copyright{background:#061226;padding:16px 0;font-size:13px}
.footer-copyright-inner{text-align:center;color:#7a9bcf;line-height:2}
.footer-copyright a{color:#7a9bcf}
.footer-copyright a:hover{color:#cfe0ff}
.footer-copyright .sep{margin:0 8px;color:#3a5078}

/* ---------- 返回顶部 ---------- */
.back-to-top{position:fixed;right:24px;bottom:80px;width:44px;height:44px;background:#0d6efd;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(13,110,253,.4);opacity:0;visibility:hidden;transition:all .3s;z-index:99}
.back-to-top.show{opacity:1;visibility:visible}
.back-to-top:hover{background:#0a3d91;transform:translateY(-3px)}

/* ---------- 搜索结果页 ---------- */
.search-page .search-result-head{padding-bottom:16px;border-bottom:1px solid #eee;margin-bottom:20px}
.search-result-info{font-size:14px;color:#666;margin-top:8px}
.search-result-info strong{color:#0d6efd}
.search-item .news-list-title em{color:#ff5722;font-style:normal}

/* ---------- 响应式 ---------- */
@media (max-width:1024px){
  .banner-side{width:300px}
  .channel-top{width:280px}
}
@media (max-width:900px){
  .main-wrap{flex-direction:column}
  .sidebar{width:100%;flex-direction:row;flex-wrap:wrap}
  .side-widget{flex:1;min-width:280px}
  .banner{flex-direction:column}
  .banner-side{width:100%}
  .banner-slider{height:240px}
  .channel-grid{flex-direction:column}
  .channel-top{width:100%}
  .two-col-block{flex-direction:column}
  .topic-grid{grid-template-columns:repeat(2,1fr)}
  .footer-widgets-inner{grid-template-columns:1fr 1fr}
  .class-cover-content{grid-template-columns:1fr}
}
@media (max-width:768px){
  .header-inner{flex-direction:column;gap:16px;padding:14px}
  .header-search{width:100%;max-width:none}
  .nav-list{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}
  .nav-link{padding:0 14px;white-space:nowrap;font-size:15px}
  .topbar-right{display:none}
  .pic-news-grid{grid-template-columns:repeat(2,1fr)}
  .article-page .content,.single-page .content{padding:18px}
  .article-title{font-size:22px}
  .article-content{font-size:15px}
  .related-list{grid-template-columns:1fr}
  .article-nav{flex-direction:column}
  .article-nav-next{text-align:left}
  .block,.content{padding:16px}
  .banner-slider{height:200px}
  .banner-title{font-size:15px}
}
@media (max-width:520px){
  .pic-news-grid{grid-template-columns:1fr}
  .topic-grid{grid-template-columns:1fr}
  .footer-widgets-inner{grid-template-columns:1fr}
  .sidebar{flex-direction:column}
}
