/* 全局字体与背景设置 */
	body { background-color: #f8f9fa; color: #333; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { text-decoration: none; transition: color 0.2s; }
a:hover { color: #0d6efd; }
/* 顶部导航优化 */
	.custom-navbar { padding-top: 12px; padding-bottom: 12px; }
.navbar-brand { font-size: 1.5rem; letter-spacing: 1px; }
/* 二级横向导航 */
	.sub-nav { padding: 12px 0; display: flex; gap: 25px; }
.sub-nav a { color: #6c757d; font-size: 0.95rem; font-weight: 500; position: relative; padding-bottom: 4px; }
.sub-nav a:hover { color: #0d6efd; }
/* 文章缩略图样式，可迁移到css/style.css */
        .article-item { display: flex; gap: 16px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid #eee; }
.article-thumb { flex: 0 0 140px; height: 100px; border-radius: 6px; overflow: hidden; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-body { flex: 1; }
        /* 移动端：图片放到上方 */
        @media (max-width:767px) {
 .article-item {
 flex-direction: column;
}
 .article-thumb {
 flex: 0 0 auto;
 width: 100%;
 height: 160px;
}
}
.article-tag { display: inline-block; color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 3px; margin-bottom: 6px; }
.article-title a { text-decoration: none; color: #222; }
.article-title a:hover { color: #0d6efd; }
.article-summary { font-size: 14px; color: #666; margin: 8px 0; }
.article-meta { font-size: 13px; color: #888; }
/* 板块标题 */
	.section-title { padding: 15px 20px; background: #fff; border-radius: 8px 8px 0 0; border-bottom: 2px solid #f1f1f1; margin-bottom: 0; }
/* 文章列表卡片样式 */
	.article-item { background: #fff; padding: 20px; border-radius: 0 0 8px 8px; margin-bottom: 20px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); transition: transform 0.2s; }
.article-item:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08); }
.article-tag { display: inline-block; color: #fff; font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; margin-bottom: 10px; }
.article-title a { color: #212529; font-weight: 600; font-size: 1.1rem; display: block; margin-bottom: 8px; }
.article-title a:hover { color: #0d6efd; }
.article-summary { color: #6c757d; font-size: 0.9rem; line-height: 1.6; margin-bottom: 12px; /* 文本省略 */ display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.article-meta { font-size: 0.8rem; color: #adb5bd; }
/* 侧边栏卡片样式 */
	.sidebar-card { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }
.sidebar-title { font-size: 1.1rem; font-weight: bold; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #eee; position: relative; }
 .sidebar-title::before {
 content: '';
 position: absolute;
 bottom: -1px;
 left: 0;
 width: 40px;
 height: 3px;
 background-color: #0d6efd;
}
/* 排行榜前缀样式 */
	.list-group-item { padding: 12px 0; border-bottom: none !important; }
.rank-badge { width: 22px; height: 22px; line-height: 22px; text-align: center; font-size: 0.8rem; font-weight: bold; color: #adb5bd; background: #e9ecef; border-radius: 4px; margin-right: 12px; flex-shrink: 0; }
.rank-badge.rank-1 { background: #dc3545; color: #fff; }
.rank-badge.rank-2 { background: #fd7e14; color: #fff; }
.rank-badge.rank-3 { background: #ffc107; color: #fff; }
/* 标签云样式 */
	.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a { display: inline-block; padding: 5px 12px; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 15px; font-size: 0.8rem; color: #6c757d; transition: all 0.2s; }
.tag-cloud a:hover { background: #0d6efd; color: #fff; border-color: #0d6efd; }
/* 页脚样式 */
	.footer-section { background-color: #2c3e50; color: rgba(255, 255, 255, 0.6); padding: 30px 0; margin-top: 50px; font-size: 0.85rem; }
	/* 响应式适配 */
	@media (max-width: 768px) {
 .article-summary {
 -webkit-line-clamp: 3; /* 移动端显示3行 */
}
 .article-meta {
 font-size: 0.75rem;
}
}
/*----------------全局页面样式，可合并进style.css----------------*/
/*顶部通栏广告*/
.top-banner { background:#ff4400; color:#fff; padding:12px 0; }
.top-banner h1 { font-size:30px; font-weight:bold; }
.top-banner .qq-box { background:#1677ff; padding:8px 12px; border-radius:6px; color:#fff; }
/*面包屑*/
.bread { font-size:13px; color:#888; padding:10px 0; }
.bread a { color:#333; text-decoration:none; }
/*文章头部*/
.article-title { font-size:22px; font-weight:bold; color:#111; line-height:1.5; }
.article-info { font-size:13px; color:#888; margin:8px 0 16px; }
/*蓝色提示块 截图左上角提示框*/
.info-tip { border:1px solid #4080ff; background:#f0f6ff; padding:10px 14px; font-size:14px; margin-bottom:18px; }
/*正文排版*/
.article-body { font-size:15px; line-height:1.8; color:#333; }
.article-body p { margin-bottom:1rem; }
.article-body h2 { font-size:19px; font-weight:bold; margin:28px 0 10px; }
.article-body h3 { font-size:17px; font-weight:bold; margin:22px 0 8px; }
.article-body table { width:100%; border-collapse:collapse; margin:14px 0; font-size:14px; }
.article-body table th, .article-body table td { border:1px solid #ccc; padding:6px 10px; }
.article-body ul, .article-body ol { padding-left:1.6rem; margin-bottom:1rem; }
.article-body img { max-width:100%; margin:12px 0; }
/*文章内蓝色分割线*/
.line-blue { width:100%; height:1px; background:#4080ff; margin:30px 0; }
/*上一篇下一篇*/
.prevnext { margin:20px 0; padding:10px 0; }
.prevnext a { text-decoration:none; color:#0066cc; }
/*相关阅读标题*/
.box-title { font-size:16px; font-weight:bold; margin:32px 0 14px; padding-left:8px; border-left:4px solid #0066cc; }
/*相关阅读两列文字*/
.rel-text a { display:block; font-size:14px; color:#333; text-decoration:none; margin-bottom:7px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rel-text a:hover { color:#0066cc; }
/*图文阅读：左图右文*/
.img-item { display:flex; gap:12px; margin-bottom:20px; }
.img-item-thumb { flex:0 0 120px; height:80px; overflow:hidden; }
.img-item-thumb img { width:100%; height:100%; object-fit:cover; }
.img-item-text a { font-size:14px; font-weight:500; color:#222; text-decoration:none; }
.img-item-text p { font-size:12px; color:#777; margin:4px 0 0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
/*========右侧边栏========*/
.sidebar-module { margin-bottom:26px; }
.sidebar-module h4 { font-size:16px; padding-bottom:6px; border-bottom:1px solid #eee; margin-bottom:12px; }
.side-art-item { margin-bottom:10px; }
.side-art-item a { font-size:14px; color:#333; text-decoration:none; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.side-art-item a:hover { color:#0066cc; }
.side-date { font-size:12px; color:#999; }
/*精选专题小图*/
.topic-item { display:flex; gap:8px; margin-bottom:10px; }
.topic-thumb { flex:0 0 70px; height:50px; overflow:hidden; }
.topic-thumb img { width:100%; height:100%; object-fit:cover; }
.topic-text a { font-size:13px; color:#333; text-decoration:none; display:-webkit-box; -webkit-line-clamp:2; overflow:hidden; }
/*大家都在搜标签云*/
.tag-cloud a { display:inline-block; border:1px solid #ddd; font-size:13px; padding:2px 6px; margin:2px; color:#444; text-decoration:none; }
/*页脚*/
.footer { background:#222; color:#aaa; padding:35px 0 20px; margin-top:40px; }
.footer a { color:#aaa; text-decoration:none; font-size:14px; }
.copyright { text-align:center; margin-top:20px; font-size:13px; }
@media(max-width:768px) {
 .img-item {
gap:8px;
}
 .img-item-thumb {
flex:0 0 100px;
height:70px;
}
}
/* 分页样式 page-numbers */
.page-numbers{
    display: inline-block;
    min-width: 38px;
    height: 38px;
    line-height: 38px;
    padding: 0 12px;
    margin: 0 4px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size:14px;
    transition: all 0.2s;
}
.page-numbers:hover{
    background-color:#0d6efd;
    color:#fff;
    border-color:#0d6efd;
}
.page-numbers.current{
    background-color:#0d6efd;
    color:#ffffff;
    border-color:#0d6efd;
}
/* 上一页、下一页按钮加宽 */
.page-numbers.prev,
.page-numbers.next{
    min-width:auto;
    padding:0 18px;
}