/* BossV Team - mini1 新闻列表样式 (2026-02-05) */
.news-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 面包屑 */
.ts-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    font-size: 14px;
    color: #888;
}
.ts-breadcrumb a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}
.ts-breadcrumb a:hover {
    color: #00cc4c;
}
.ts-breadcrumb .separator {
    color: rgba(255,255,255,0.15);
}

/* 分类导航 */
.news-category-nav {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: none;
}
.news-category-nav h2 {
    font-size: 16px;
    color: #00cc4c;
    margin: 0 0 15px;
    letter-spacing: 1px;
}
.news-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.category-item a {
    display: block;
    padding: 8px 18px;
    background: rgba(255,255,255,0.05);
    color: #ccc;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s;
    font-size: 14px;
}
.category-item a:hover,
.category-item.active a {
    background: #00cc4c;
    color: #fff;
    border-color: #00cc4c;
    box-shadow: 0 2px 10px rgba(0,204,76,0.2);
}

/* 页面标题 */
.news-page-header {
    margin-bottom: 30px;
}
.news-page-header h1 {
    font-size: 26px;
    color: #f8f8f8;
    margin: 0 0 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #00cc4c;
}
.news-page-header h1 span {
    color: #00cc4c;
}
.news-page-stats {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #888;
}
.news-page-stats .stat-value {
    color: #00cc4c;
    font-weight: 600;
}

/* 主体两栏布局 */
.news-main-layout {
    display: flex;
    gap: 30px;
}
.news-main-content {
    flex: 1;
    min-width: 0;
}
.news-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* 新闻列表 */
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s;
    box-shadow: none;
}
.news-item:hover {
    border-color: #00cc4c;
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0,204,76,0.08);
}
.news-thumb {
    flex-shrink: 0;
    width: 220px;
    height: 140px;
    border-radius: 8px;
    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;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.news-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
}
.news-title a {
    color: #f8f8f8;
    text-decoration: none;
    transition: color 0.3s;
}
.news-title a:hover {
    color: #00cc4c;
}
.news-summary {
    color: #888;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #777;
    margin-top: 12px;
    align-items: center;
}
.news-meta i {
    margin-right: 4px;
}
.news-category-tag,
.news-category {
    background: rgba(0,204,76,0.08);
    color: #00cc4c;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
}

/* 分页 */
.news-pagination,
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 35px;
    flex-wrap: wrap;
}
.news-pagination a,
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: rgba(255,255,255,0.04);
    color: #ccc;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s;
    font-size: 14px;
}
.news-pagination a:hover,
.news-pagination a.active,
.pagination a:hover,
.pagination a.active {
    background: #00cc4c;
    color: #fff;
    border-color: #00cc4c;
    box-shadow: 0 2px 10px rgba(0,204,76,0.2);
}

/* 侧边栏 */
.sidebar-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: none;
}
.sidebar-card-title {
    font-size: 16px;
    color: #00cc4c;
    margin: 0 0 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #00cc4c;
    letter-spacing: 1px;
}
.sidebar-card .news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 侧边栏通用 news-item */
.sidebar-card .news-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 0;
    background: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    align-items: flex-start;
    box-shadow: none;
}
.sidebar-card .news-item:last-child {
    border-bottom: none;
}
.sidebar-card .news-item:hover {
    transform: none;
    box-shadow: none;
    background: none;
}
.sidebar-card .news-item a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.sidebar-card .news-item a:hover {
    color: #00cc4c;
}

/* 结构1: 相关新闻 — .news-thumb + .news-info */
.sidebar-card .news-thumb {
    width: 80px;
    height: 55px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.sidebar-card .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sidebar-card .news-info {
    flex: 1;
    min-width: 0;
}
.sidebar-card .news-title {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}
.sidebar-card .news-title a {
    color: #ccc;
    text-decoration: none;
}
.sidebar-card .news-title a:hover {
    color: #00cc4c;
}
.sidebar-card .news-summary {
    display: none;
}
.sidebar-card .news-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #777;
    margin-top: 5px;
}

/* 结构2: 热门新闻 — .news-rank + .news-text */
.sidebar-card .news-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.06);
    color: #777;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}
.sidebar-card .news-item:nth-child(1) .news-rank,
.sidebar-card .news-item:nth-child(2) .news-rank,
.sidebar-card .news-item:nth-child(3) .news-rank {
    background: rgba(0,204,76,0.1);
    color: #00cc4c;
}
.sidebar-card .news-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 结构3: 最新资讯 — .news-image + .news-content */
.sidebar-card .news-image {
    width: 80px;
    height: 55px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.sidebar-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sidebar-card .news-image .news-category {
    display: none;
}
.sidebar-card .news-content {
    flex: 1;
    min-width: 0;
}
.sidebar-card .news-content h3 {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}
.sidebar-card .news-content h3 a {
    color: #ccc;
    text-decoration: none;
}
.sidebar-card .news-content h3 a:hover {
    color: #00cc4c;
}
.sidebar-card .news-content .news-excerpt {
    display: none;
}
.sidebar-card .news-content .news-meta {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: #777;
    margin-top: 4px;
}
.sidebar-card .news-content .news-meta span {
    display: inline;
    gap: 0;
}

/* 无内容 */
.no-news {
    text-align: center;
    padding: 60px 20px;
    color: #777;
}

/* 响应式 */
@media (max-width: 992px) {
    .news-main-layout {
        flex-direction: column;
    }
    .news-sidebar {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }
    .news-thumb {
        width: 100%;
        height: 180px;
    }
    .news-title {
        font-size: 16px;
    }
    .news-page-header h1 {
        font-size: 22px;
    }
}
