/* LB上图下文样式 */
.featured-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.featured-card{background:var(--white);border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);transition:var(--transition)}
.featured-card:hover{box-shadow:0 8px 25px rgba(0,0,0,0.1);transform:translateY(-3px)}
.featured-card .card-image{width:100%;height:160px;overflow:hidden;display:block}
.featured-card .card-image img{width:100%;height:100%;object-fit:cover;transition:var(--transition)}
.featured-card:hover .card-image img{transform:scale(1.05)}
.featured-card .card-body{padding:18px}
.featured-card .card-category{display:inline-block;background:var(--primary);color:#fff;font-size:11px;padding:3px 10px;border-radius:3px;margin-bottom:10px}
.featured-card .card-body h3{font-size:15px;font-weight:600;margin-bottom:10px;line-height:1.4}
.featured-card .card-body h3 a:hover{color:var(--primary)}
.featured-card .card-meta{display:flex;gap:15px;font-size:12px;color:var(--text-light)}
.featured-card .card-meta i{color:var(--primary);margin-right:3px}

/* 核心服务与导航间距 */
.service-grid-section{padding-top:120px!important}
/* 核心服务单排4列 */
.service-grid-section .browse-grid{grid-template-columns:repeat(4,1fr)!important}
/* 核心服务底部间距 */
.service-grid-section{padding-bottom:20px!important}
/* 精选推荐底部间距 */
.featured-grid-section{padding-bottom:20px!important}

/* 主内容和侧边栏布局 */
.main-container{padding:0 15px;max-width:1400px;margin:0 auto}
.content-wrapper{display:flex;gap:30px;align-items:flex-start;padding:30px 0}
.main-content{flex:1;min-width:0}
.sidebar{width:280px;flex-shrink:0}

/* 侧边栏小工具 */
.sidebar-widget{background:var(--white);border-radius:var(--radius);padding:20px;margin-bottom:20px;border:1px solid var(--border)}
.widget-title{font-size:15px;font-weight:600;color:var(--text);padding-bottom:12px;margin-bottom:15px;border-bottom:2px solid var(--primary)}

/* 人气排行列表 */
.rank-list li{display:flex;align-items:center;padding:10px 0;border-bottom:1px solid var(--border)}
.rank-list li:last-child{border-bottom:none}
.rank-num{width:22px;height:22px;background:var(--primary);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;margin-right:12px;flex-shrink:0}
.rank-list a{flex:1;font-size:13px;color:var(--text)}
.rank-list a:hover{color:var(--primary)}
.rank-list li:hover{padding-left:5px}

/* 最新文章列表 */
.recent-list li{margin-bottom:15px}
.recent-list li:last-child{margin-bottom:0}
.recent-item{display:flex;gap:12px;align-items:center}
.recent-thumb{width:60px;height:60px;background-size:cover;background-position:center;border-radius:6px;flex-shrink:0}
.recent-info{flex:1;display:flex;flex-direction:column;gap:5px}
.recent-title{font-size:13px;color:var(--text);line-height:1.4}
.recent-title:hover{color:var(--primary)}
.recent-date{font-size:12px;color:var(--text-light)}
.recent-item:hover .recent-title{color:var(--primary)}
.featured-card{background:var(--white);border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);transition:var(--transition)}
.featured-card:hover{box-shadow:0 8px 25px rgba(0,0,0,0.1);transform:translateY(-3px)}
.featured-card .card-image{width:100%;height:160px;overflow:hidden;display:block}
.featured-card .card-image img{width:100%;height:100%;object-fit:cover;transition:var(--transition)}
.featured-card:hover .card-image img{transform:scale(1.05)}
.featured-card .card-body{padding:18px}
.featured-card .card-category{display:inline-block;background:var(--primary);color:#fff;font-size:11px;padding:3px 10px;border-radius:3px;margin-bottom:10px}
.featured-card .card-body h3{font-size:15px;font-weight:600;margin-bottom:10px;line-height:1.4}
.featured-card .card-body h3 a:hover{color:var(--primary)}
.featured-card .card-meta{display:flex;gap:15px;font-size:12px;color:var(--text-light)}
.featured-card .card-meta i{color:var(--primary);margin-right:3px}

/* LA左图右文样式 - 完全覆盖版 */
.browse-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:25px}
.browse-block{background:var(--white);border-radius:var(--radius);padding:25px;border:1px solid var(--border)}
.browse-block .block-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;padding-bottom:15px;border-bottom:2px solid var(--primary)}
.browse-block .block-header h3{font-size:17px;font-weight:600;display:flex;align-items:center;gap:10px}
.browse-block .block-header h3 i{color:var(--primary)}
.browse-block .more{color:var(--text-light);font-size:13px}
.browse-block .more:hover{color:var(--primary)}

/* LA样式 - 列表项左图右文，完全覆盖原有样式 */
.category-browse-section .browse-list{display:flex!important;flex-direction:column!important;gap:15px!important}
.category-browse-section .browse-list li{display:flex!important;gap:15px!important;align-items:center!important;padding:12px 0!important;border-bottom:1px solid var(--border)!important}
.category-browse-section .browse-list li:last-child{border-bottom:none!important}
.category-browse-section .browse-list li:hover{padding-left:5px!important}
.category-browse-section .browse-img{width:100px!important;height:70px!important;flex-shrink:0!important;border-radius:6px!important;overflow:hidden!important;display:block!important}
.category-browse-section .browse-img img{width:100%!important;height:100%!important;object-fit:cover!important;transition:var(--transition)!important}
.category-browse-section .browse-list li:hover .browse-img img{transform:scale(1.05)!important}
.category-browse-section .browse-info{flex:1!important;display:block!important}
.category-browse-section .browse-title{font-size:14px!important;font-weight:500!important;margin-bottom:5px!important;line-height:1.4!important}
.category-browse-section .browse-title a{color:var(--text)!important;font-size:14px!important}
.category-browse-section .browse-title a:hover{color:var(--primary)!important}
.category-browse-section .browse-date{font-size:12px!important;color:var(--text-light)!important;display:block!important}
.category-browse-section .browse-date i{color:var(--primary)!important;margin-right:4px!important}

/* R12 纯文字列表样式 */
.text-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.text-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.text-list li:last-child {
    border-bottom: none;
}
.text-list li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
.text-list li a:hover {
    color: #007bff;
}

/* LB 上图下文样式 */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 15px 0;
}
.featured-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.featured-img {
    display: block;
    width: 100%;
    height: 160px;
    overflow: hidden;
}
.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.featured-card:hover .featured-img img {
    transform: scale(1.05);
}
.featured-info {
    padding: 15px;
}
.featured-info h3 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.4;
}
.featured-info h3 a {
    color: #333;
    text-decoration: none;
}
.featured-info h3 a:hover {
    color: #007bff;
}
.featured-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 新闻列表页样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.news-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.news-thumb {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.news-item:hover .news-thumb img {
    transform: scale(1.05);
}
.news-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-title {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.4;
}
.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
.news-title a:hover {
    color: #007bff;
}
.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    color: #999;
    font-size: 14px;
}
.news-meta i {
    margin-right: 5px;
}
.news-desc {
    margin: 0 0 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.read-more {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.read-more:hover {
    color: #0056b3;
}
.read-more i {
    margin-left: 5px;
}

/* 侧边栏样式 */
.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-nav li {
    border-bottom: 1px dashed #eee;
}
.sidebar-nav li:last-child {
    border-bottom: none;
}
.sidebar-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.sidebar-nav a:hover {
    background: #f8f9fa;
    color: #007bff;
}
.sidebar-nav a i {
    margin-right: 10px;
}
.sidebar-nav .count {
    background: #eee;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: #666;
}

/* 内容网格布局 - 修复侧边栏位置 */
.content-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.content-grid .main-content {
    flex: 1;
    min-width: 0;
}
.content-grid .sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 30px 0;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}
.pagination a:hover {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}
.pagination .page-num-current {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
    cursor: default;
}
.pagination .page-prev, .pagination .page-next {
    padding: 0 15px;
}
.pagination .page-ellipsis {
    border: none;
    background: none;
    cursor: default;
}

/* 文章详情页样式 */
.article-detail {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}
.detail-header {
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
}
.detail-category {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 15px;
}
.detail-title {
    margin: 0 0 15px;
    font-size: 26px;
    line-height: 1.4;
    color: #333;
}
.detail-meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 14px;
}
.detail-meta i {
    margin-right: 5px;
}
.detail-content {
    padding: 30px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}
.detail-content p {
    margin: 0 0 15px;
}
.detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}
.detail-tags {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
}
.detail-tags i {
    margin-right: 8px;
    color: #007bff;
}
.detail-tags a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
    padding: 3px 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.3s;
}
.detail-tags a:hover {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

/* 相关推荐样式 */
.related-articles {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 25px 30px;
}
.related-title {
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
    font-size: 18px;
    color: #333;
}
.related-title i {
    margin-right: 8px;
    color: #007bff;
}
.related-articles .content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.article-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.article-thumb {
    height: 150px;
    overflow: hidden;
}
.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.article-card:hover .article-thumb img {
    transform: scale(1.05);
}
.article-content {
    padding: 15px;
}
.article-title {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.4;
}
.article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
.article-title a:hover {
    color: #007bff;
}
.article-meta {
    color: #999;
    font-size: 13px;
}
.article-meta i {
    margin-right: 5px;
}
