/* ============================================================
    - 资讯列表样式 lists.css
   ============================================================ */

/* ---------- 分类筛选 ---------- */
.lists-filter { padding: 36px 0 0; border-bottom: 1px solid var(--border); }
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.ftab {
    padding: 10px 26px;
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 1px;
    border: 1px solid transparent;
    transition: all .3s ease;
    position: relative;
}
.ftab:hover { color: var(--gold-light); }
.ftab.active {
    color: var(--gold-light);
    border-color: var(--border);
    background: var(--bg-card);
}
.ftab.active::after {
    content: '';
    position: absolute;
    left: 0; bottom: -1px;
    width: 100%; height: 2px;
    background: var(--gold);
}

/* ---------- 列表 ---------- */
.lists-section { padding-top: 44px; }
.news-list { display: flex; flex-direction: column; gap: 26px; }
.nlist-item {
    display: flex;
    gap: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 22px;
    transition: all .35s ease;
}
.nlist-item:hover { border-color: var(--gold); transform: translateX(6px); }
.nlist-img {
    position: relative;
    flex-shrink: 0;
    width: 260px;
    height: 170px;
    overflow: hidden;
}
.nlist-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nlist-item:hover .nlist-img img { transform: scale(1.06); }
.nlist-cat {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--gold);
    color: #0c0c0c;
    font-size: 11px;
    padding: 4px 12px;
    letter-spacing: 1px;
    font-weight: 600;
}
.nlist-body { flex: 1; display: flex; flex-direction: column; }
.nlist-body h3 {
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.4;
    margin-bottom: 14px;
}
.nlist-body h3 a { color: var(--text-light);overflow: hidden;text-overflow: ellipsis;-webkit-line-clamp: 1;word-wrap: break-word;display: -webkit-box;-webkit-box-orient: vertical; }
.nlist-body h3 a:hover { color: var(--gold-light); }
.nlist-body p { color: var(--text-muted); font-size: 13px; line-height: 1.9; margin-bottom: auto;overflow: hidden;text-overflow: ellipsis;-webkit-line-clamp: 2;word-wrap: break-word;display: -webkit-box;-webkit-box-orient: vertical; }
.nlist-meta {
    display: flex;
    gap: 22px;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
}
.nlist-meta i { color: var(--gold); margin-right: 5px; }

/* ---------- 分页 ---------- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}
.page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-base);
    font-size: 14px;
    transition: all .3s ease;
}
.page-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.page-btn.active { background: var(--gold); border-color: var(--gold); color: #0c0c0c; }
.page-btn.disabled { opacity: .4; pointer-events: none; }
.page-ellipsis { color: var(--text-muted); padding: 0 4px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 768px) {
    .nlist-item { flex-direction: column; gap: 16px; padding: 16px; }
    .nlist-img { width: 100%; height: 200px; }
    .nlist-body h3 { font-size: 18px; }
    .nlist-meta { flex-wrap: wrap; gap: 14px; }
    .filter-tabs { gap: 6px; }
    .ftab { padding: 8px 16px; font-size: 13px; }
    .page-btn { min-width: 38px; height: 38px; padding: 0 10px; }
}

@media (max-width: 480px) {
    .nlist-meta span:nth-child(3) { display: none; }
}
