/* =====================================================================
 * [PBCS PATCH] newslist.html 专用现代样式 — newslist-modern.css (v2)
 * ---------------------------------------------------------------------
 * 背景：newslist.html 之前是 Bootstrap 4 默认 .badge / .btn 风格，
 *       头条横滑 + 8/4 主列表 + 3 个 widget（近期新品 / 名人视点 / 标签云）
 *       + 文章日历弹窗 + 过滤状态条，整体视觉陈旧。
 * 改成与 channel-download.html / channel-article.html 一致的现代杂志风。
 *
 * 与 channel-article-modern.css 的区别：
 *   - 多了文章日历（月历弹窗 + 过滤状态条）
 *   - 侧栏有 3 个 widget（多了"近期新品" + "名人视点" 2大卡+8链接样式）
 *   - tab 链接用 sort:pcode（兄弟栏目）而非 sort:scode
 *   - pboot:list 用法更多（5个 list 循环 vs channel-article 的 4 个）
 *   - v2 多了 hero section（紫蓝渐变 + 浮动光斑）+ 文章列表 hover 升级
 *     + 侧栏卡片渐变覆盖层 + 日历按钮渐变胶囊
 *
 * 命名空间：.pbcs-nl- 前缀
 * 引用：newslist.html 自己在 head 之后 <link> 引入
 * ===================================================================== */

/* ---------- 主题变量（与 channel-article 一致） ---------- */
.pbcs-nl-page {
    --pbcs-primary: #667eea;
    --pbcs-primary-dark: #5568d3;
    --pbcs-accent: #ff6b35;
    --pbcs-text: #212529;
    --pbcs-muted: #6c757d;
    --pbcs-border: #e9ecef;
    --pbcs-radius: 12px;
    --pbcs-radius-lg: 16px;
    --pbcs-shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --pbcs-shadow-md: 0 8px 24px rgba(0, 0, 0, .08);
}

/* =====================================================================
 * 顶部 Hero Section（紫蓝渐变 + 装饰光斑 + 杂志风）
 * 之前 d-none 隐藏 banner，现在显示 + 丰富视觉层次
 * ===================================================================== */
.pbcs-nl-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4a3a8a 0%, #1e1856 50%, #2d1b69 100%);
    padding: 64px 0 56px;
    color: #fff;
    isolation: isolate;
}
.pbcs-nl-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}
.pbcs-nl-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .5;
    animation: pbcs-nl-hero-float 12s ease-in-out infinite;
}
.pbcs-nl-hero-blob-1 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #667eea 0%, transparent 70%);
    top: -120px;
    right: 10%;
    animation-delay: 0s;
}
.pbcs-nl-hero-blob-2 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    bottom: -100px;
    left: 8%;
    animation-delay: 4s;
}
.pbcs-nl-hero-blob-3 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    top: 30%;
    right: 40%;
    opacity: .35;
    animation-delay: 8s;
}
@keyframes pbcs-nl-hero-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -20px) scale(1.05); }
    66%      { transform: translate(-20px, 15px) scale(.95); }
}
.pbcs-nl-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}
.pbcs-nl-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .15em;
    color: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 18px;
}
.pbcs-nl-hero-eyebrow i { font-size: 13px; color: #fbbf24; }
.pbcs-nl-hero-title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.pbcs-nl-hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, .75);
    margin: 0 0 24px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.pbcs-nl-hero-deco {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.pbcs-nl-hero-deco span {
    width: 32px;
    height: 3px;
    background: rgba(255, 255, 255, .35);
    border-radius: 2px;
    transition: all .3s ease;
}
.pbcs-nl-hero-deco span:nth-child(2) {
    width: 48px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 0 12px rgba(251, 191, 36, .4);
}

@media (max-width: 768px) {
    .pbcs-nl-hero { padding: 48px 0 40px; }
    .pbcs-nl-hero-title { font-size: 30px; }
    .pbcs-nl-hero-sub { font-size: 13px; }
    .pbcs-nl-hero-blob-1 { width: 200px; height: 200px; }
    .pbcs-nl-hero-blob-2 { width: 180px; height: 180px; }
    .pbcs-nl-hero-blob-3 { display: none; }
}

/* =====================================================================
 * 头条横排 carousel（10 条 isrecommend=1，左右箭头切换）
 * ===================================================================== */
.pbcs-nl-section-head {
    display: flex;
    align-items: center;
    margin: 32px 0 14px;
}
.pbcs-nl-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pbcs-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pbcs-nl-section-title i {
    color: #ffb020;
    font-size: 20px;
}
.pbcs-nl-headline-nav {
    margin-left: auto;
    display: flex;
    gap: 6px;
}
.pbcs-nl-headline-nav button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--pbcs-border);
    color: var(--pbcs-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    font-size: 14px;
}
.pbcs-nl-headline-nav button:hover {
    background: var(--pbcs-primary);
    color: #fff;
    border-color: var(--pbcs-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(102, 126, 234, .25);
}

.pbcs-nl-headline-track {
    display: flex;
    gap: 16px;
    padding-bottom: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
}
.pbcs-nl-headline-track::-webkit-scrollbar { display: none; }

.pbcs-nl-headline-card {
    flex-shrink: 0;
    width: 200px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform .2s ease;
}
.pbcs-nl-headline-card:hover {
    transform: translateY(-4px);
    color: inherit;
    text-decoration: none;
}
.pbcs-nl-headline-card:hover .pbcs-nl-headline-img {
    box-shadow: 0 12px 28px rgba(102, 126, 234, .2);
}
.pbcs-nl-headline-thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--pbcs-radius);
}
.pbcs-nl-headline-img {
    width: 200px;
    height: 130px;
    object-fit: contain;
    display: block;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--pbcs-radius);
    transition: box-shadow .2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.pbcs-nl-headline-img-default {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    font-family: 'FontAwesome';
    font-size: 36px;
}
.pbcs-nl-headline-img-default::after {
    content: '\f15b';  /* fa-file-text */
}
.pbcs-nl-headline-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(255, 193, 7, .4);
    line-height: 1.4;
}
.pbcs-nl-headline-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--pbcs-text);
    line-height: 1.45;
    margin: 8px 0 0;
    width: 200px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* =====================================================================
 * tab 导航条 + 文章日历按钮（合并到一行）
 * ===================================================================== */
.pbcs-nl-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid var(--pbcs-border);
    margin-bottom: 24px;
}
.pbcs-nl-tab {
    padding: 8px 18px;
    border-radius: 20px;
    background: #f8f9fa;
    color: var(--pbcs-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}
.pbcs-nl-tab:hover {
    background: rgba(102, 126, 234, .1);
    color: var(--pbcs-primary);
    text-decoration: none;
}
.pbcs-nl-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, .3);
}

/* 右侧：日期 + 日历按钮 + 月历弹窗 */
.pbcs-nl-cal {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}
.pbcs-nl-cal .pbcs-nl-date {
    color: var(--pbcs-muted);
    font-size: 13px;
    font-family: Consolas, 'Courier New', monospace;
    user-select: none;
}
.pbcs-nl-cal-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 0;
    color: #fff;
    padding: 6px 16px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, .25);
}
.pbcs-nl-cal-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, .4);
}
.pbcs-nl-cal-btn:active { transform: translateY(0); }
.pbcs-nl-cal-btn i { font-size: 13px; }
.pbcs-nl-cal-pop {
    display: none;
    position: absolute;
    right: 0;
    top: 44px;
    z-index: 999;
    background: #fff;
    border: 1px solid var(--pbcs-border);
    border-radius: 10px;
    padding: 16px;
    width: 320px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .15);
}
.pbcs-nl-cal-pop.is-show { display: block; }
.pbcs-nl-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--pbcs-border);
}
.pbcs-nl-cal-head strong {
    font-size: 14px;
    color: var(--pbcs-text);
    flex: 1;
    text-align: center;
}
.pbcs-nl-cal-nav {
    background: transparent;
    border: 0;
    color: var(--pbcs-muted);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 12px;
}
.pbcs-nl-cal-nav:hover {
    background: rgba(102, 126, 234, .1);
    color: var(--pbcs-primary);
}
.pbcs-nl-cal-table {
    width: 100%;
    font-size: 12px;
    text-align: center;
    border-collapse: collapse;
}
.pbcs-nl-cal-table thead th {
    color: #adb5bd;
    font-weight: 500;
    padding: 6px 0;
    font-size: 11px;
}
.pbcs-nl-cal-table tbody td {
    padding: 6px 0;
    cursor: pointer;
    color: var(--pbcs-text);
    border-radius: 6px;
    transition: all .15s ease;
    position: relative;
}
.pbcs-nl-cal-table tbody td.is-out { color: #dee2e6; cursor: default; }
.pbcs-nl-cal-table tbody td.is-today {
    background: var(--pbcs-accent);
    color: #fff;
    font-weight: 600;
}
.pbcs-nl-cal-table tbody td.is-match {
    background: rgba(102, 126, 234, .15);
    color: var(--pbcs-primary);
    font-weight: 600;
}
.pbcs-nl-cal-table tbody td:not(.is-out):hover {
    background: rgba(102, 126, 234, .1);
    color: var(--pbcs-primary);
}
.pbcs-nl-cal-foot {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--pbcs-border);
}
.pbcs-nl-cal-today-btn {
    background: #f8f9fa;
    border: 1px solid var(--pbcs-border);
    color: var(--pbcs-muted);
    padding: 4px 14px;
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s ease;
}
.pbcs-nl-cal-today-btn:hover {
    background: var(--pbcs-primary);
    color: #fff;
    border-color: var(--pbcs-primary);
}

/* 过滤状态条（默认隐藏） */
.pbcs-nl-filter-bar {
    display: none;
    background: linear-gradient(135deg, rgba(102, 126, 234, .08) 0%, rgba(118, 75, 162, .08) 100%);
    border-left: 3px solid var(--pbcs-primary);
    border-radius: 8px;
    padding: 10px 16px;
    margin: 0 0 20px;
    font-size: 13px;
    color: var(--pbcs-text);
    align-items: center;
    gap: 8px;
}
.pbcs-nl-filter-bar.is-show { display: flex; }
.pbcs-nl-filter-bar i { color: var(--pbcs-primary); }
.pbcs-nl-filter-bar strong { color: var(--pbcs-primary); font-weight: 600; }
.pbcs-nl-filter-clear {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: var(--pbcs-muted);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
    transition: all .2s ease;
}
.pbcs-nl-filter-clear:hover {
    background: var(--pbcs-primary);
    color: #fff;
}

/* =====================================================================
 * 主列表 item（缩略图 + 标题/徽章 + 描述 + meta）
 * ===================================================================== */
.pbcs-nl-list {
    display: flex;
    flex-direction: column;
}
.pbcs-nl-item {
    display: flex;
    gap: 24px;
    padding: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--pbcs-border);
    border-radius: var(--pbcs-radius);
    background: #fff;
    transition: all .25s ease;
    position: relative;
}
.pbcs-nl-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity .25s ease;
}
.pbcs-nl-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, .03) 0%, rgba(118, 75, 162, .03) 100%);
    box-shadow: 0 8px 24px rgba(102, 126, 234, .12);
    transform: translateY(-2px);
}
.pbcs-nl-item:hover::before { opacity: 1; }
.pbcs-nl-item:last-child { border-bottom: 1px solid var(--pbcs-border); }
.pbcs-nl-item-thumb {
    flex-shrink: 0;
    width: 220px;
    border-radius: var(--pbcs-radius);
    overflow: hidden;
    position: relative;
}
.pbcs-nl-item-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .15) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
    z-index: 1;
}
.pbcs-nl-item:hover .pbcs-nl-item-thumb::after { opacity: 1; }
.pbcs-nl-item-img {
    width: 220px;
    height: 140px;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--pbcs-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: transform .35s ease, box-shadow .25s ease;
}
.pbcs-nl-item-thumb a:hover .pbcs-nl-item-img {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(102, 126, 234, .25);
}
.pbcs-nl-item-img-default {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pbcs-nl-item-img-default::after {
    content: '\f15b';  /* fa-file-text */
    font-family: 'FontAwesome';
    color: rgba(102, 126, 234, .5);
    font-size: 36px;
}

.pbcs-nl-item-body {
    flex-grow: 1;
    min-width: 0;
}
.pbcs-nl-item-title-row {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.pbcs-nl-item-title {
    color: var(--pbcs-text);
    text-decoration: none;
    transition: color .2s ease;
    position: relative;
}
.pbcs-nl-item-title::after {
    content: '→';
    margin-left: 6px;
    opacity: 0;
    color: var(--pbcs-primary);
    transition: opacity .2s ease, transform .2s ease;
    display: inline-block;
    transform: translateX(-4px);
}
.pbcs-nl-item:hover .pbcs-nl-item-title::after {
    opacity: 1;
    transform: translateX(0);
}
.pbcs-nl-item-title:hover {
    color: var(--pbcs-primary);
    text-decoration: none;
}

.pbcs-nl-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    line-height: 1.4;
    color: #fff;
    vertical-align: middle;
}
.pbcs-nl-badge-top {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    box-shadow: 0 2px 6px rgba(255, 107, 53, .3);
}
.pbcs-nl-badge-rec {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529;
    box-shadow: 0 2px 6px rgba(255, 193, 7, .3);
}
.pbcs-nl-badge-head {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    box-shadow: 0 2px 6px rgba(23, 162, 184, .3);
}

.pbcs-nl-item-desc {
    color: var(--pbcs-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 8px 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pbcs-nl-item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--pbcs-muted);
}
.pbcs-nl-item-meta i {
    color: var(--pbcs-primary);
    margin-right: 4px;
}
.pbcs-nl-item-meta .ml-auto {
    margin-left: auto;
}

/* =====================================================================
 * 侧栏 widget 通用样式
 * ===================================================================== */
.pbcs-nl-widget {
    background: #fff;
    border: 1px solid var(--pbcs-border);
    border-radius: var(--pbcs-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--pbcs-shadow-sm);
    transition: box-shadow .25s ease, transform .25s ease;
}
.pbcs-nl-widget:hover {
    box-shadow: var(--pbcs-shadow-md);
    transform: translateY(-2px);
}
.pbcs-nl-widget .widget-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--pbcs-text);
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--pbcs-primary);
}
.pbcs-nl-widget .widget-title i {
    color: var(--pbcs-primary);
    font-size: 15px;
}

/* =====================================================================
 * 侧栏 widget：近期新品 / 名人视点
 * 结构：2 大卡（image+title）+ 8 链接列表
 * ===================================================================== */
.pbcs-nl-widget-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}
.pbcs-nl-widget-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease;
    position: relative;
}
.pbcs-nl-widget-card:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}
.pbcs-nl-widget-card-img {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    margin-bottom: 8px;
    position: relative;
}
.pbcs-nl-widget-card-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0) 0%, rgba(102, 126, 234, .35) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 1;
    pointer-events: none;
}
.pbcs-nl-widget-card:hover .pbcs-nl-widget-card-img::before { opacity: 1; }
.pbcs-nl-widget-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.pbcs-nl-widget-card:hover .pbcs-nl-widget-card-img img {
    transform: scale(1.05);
}
.pbcs-nl-widget-card-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--pbcs-text);
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 8 链接列表 */
.pbcs-nl-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pbcs-nl-widget-list li {
    padding: 6px 0;
    border-bottom: 1px dashed var(--pbcs-border);
    font-size: 13px;
    line-height: 1.5;
}
.pbcs-nl-widget-list li:last-child { border-bottom: 0; }
.pbcs-nl-widget-list a {
    color: var(--pbcs-muted);
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pbcs-nl-widget-list a::before {
    content: '\f105';
    font-family: 'FontAwesome';
    color: var(--pbcs-accent);
    margin-right: 6px;
    font-size: 11px;
    transition: transform .2s ease;
    display: inline-block;
}
.pbcs-nl-widget-list a:hover {
    color: var(--pbcs-primary);
    padding-left: 4px;
}
.pbcs-nl-widget-list a:hover::before { transform: translateX(2px); }

/* "近期新品" widget 头像图变体（紫蓝） */
.pbcs-nl-widget-card.pbcs-nl-widget-card--new .pbcs-nl-widget-card-img {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}
/* "名人视点" widget 头像图变体（橙黄） */
.pbcs-nl-widget-card.pbcs-nl-widget-card--author .pbcs-nl-widget-card-img {
    background: linear-gradient(135deg, #fde68a 0%, #fca5a5 100%);
}

/* =====================================================================
 * 侧栏 widget：热门标签
 * ===================================================================== */
.pbcs-nl-tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pbcs-nl-tagcloud .pbcs-nl-tag,
.pbcs-nl-tagcloud .tag-pill {
    display: inline-block;
    padding: 4px 10px;
    background: #f1f3f5;
    color: #495057;
    border-radius: 12px;
    text-decoration: none;
    font-size: 12px;
    transition: all .2s ease;
    line-height: 1.4;
}
.pbcs-nl-tagcloud .pbcs-nl-tag:hover,
.pbcs-nl-tagcloud .tag-pill:hover {
    background: var(--pbcs-primary);
    color: #fff;
    text-decoration: none;
}

/* =====================================================================
 * 响应式微调
 * ===================================================================== */
@media (max-width: 768px) {
    .pbcs-nl-item {
        flex-direction: column;
        gap: 12px;
    }
    .pbcs-nl-item-thumb {
        width: 100%;
    }
    .pbcs-nl-item-img {
        width: 100%;
        height: 180px;
    }
    .pbcs-nl-headline-card {
        width: 160px;
    }
    .pbcs-nl-headline-img {
        width: 160px;
        height: 100px;
    }
    .pbcs-nl-headline-title {
        width: 160px;
    }
    .pbcs-nl-cal { width: 100%; justify-content: flex-end; }
    .pbcs-nl-cal-pop { right: auto; left: 0; }
}

/* =====================================================================
 * 分页（Element Plus 风格 — 与全站统一）
 * ===================================================================== */
.pbcs-nl-page .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 40px 0 16px;
    border-radius: 0;
    gap: 0;
}

.pbcs-nl-page .pagination .page-item,
.pbcs-nl-page .pagination .page-num {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    margin: 0;
    margin-left: -1px;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #409eff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    box-sizing: border-box;
    transition: color .15s ease, background .15s ease, border-color .15s ease;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
}

.pbcs-nl-page .pagination > a:first-child,
.pbcs-nl-page .pagination > .page-num:first-child,
.pbcs-nl-page .pagination > .page-item:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    margin-left: 0;
}
.pbcs-nl-page .pagination > a:last-child,
.pbcs-nl-page .pagination > .page-num:last-child,
.pbcs-nl-page .pagination > .page-item:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pbcs-nl-page .pagination .page-item:hover,
.pbcs-nl-page .pagination .page-num:hover {
    position: relative;
    z-index: 1;
    color: #66b1ff;
    border-color: #66b1ff;
}

.pbcs-nl-page .pagination .page-num-current {
    position: relative;
    z-index: 2;
    background: #409eff;
    color: #fff;
    border-color: #409eff;
    cursor: default;
}
.pbcs-nl-page .pagination .page-num-current:hover {
    color: #fff;
    background: #66b1ff;
    border-color: #66b1ff;
}

.pbcs-nl-page .pagination .page-num:not([href]) {
    color: #c0c4cc;
    cursor: default;
    background: #f5f7fa;
}
.pbcs-nl-page .pagination .page-num:not([href]):hover {
    color: #c0c4cc;
    background: #f5f7fa;
    border-color: #d9d9d9;
}

@media (max-width: 576px) {
    .pbcs-nl-page .pagination .page-item,
    .pbcs-nl-page .pagination .page-num {
        min-width: 32px;
        height: 32px;
        padding: 0 10px;
        font-size: 13px;
    }
}

/* =====================================================================
 * 分页跳转（Element Plus 风格）
 * ===================================================================== */
.pbcs-nl-page .pbcs-pagination-jump {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 16px 0 8px;
    font-size: 14px;
    color: #606266;
    vertical-align: middle;
}
.pbcs-nl-page .pbcs-pagination-jump .jump-label {
    color: #606266;
    margin: 0 6px;
    user-select: none;
}
.pbcs-nl-page .pbcs-pagination-jump .jump-input {
    width: 56px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    color: #606266;
    text-align: center;
    background: #fff;
    transition: border-color .15s ease;
    -moz-appearance: textfield;
    appearance: textfield;
    outline: none;
    font-family: inherit;
    line-height: 1;
}
.pbcs-nl-page .pbcs-pagination-jump .jump-input::-webkit-outer-spin-button,
.pbcs-nl-page .pbcs-pagination-jump .jump-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.pbcs-nl-page .pbcs-pagination-jump .jump-input:focus {
    border-color: #409eff;
}
.pbcs-nl-page .pbcs-pagination-jump .jump-input:hover {
    border-color: #c0c4cc;
}
.pbcs-nl-page .pbcs-pagination-jump .jump-btn {
    min-width: 40px;
    height: 32px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    color: #409eff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s ease;
    font-family: inherit;
    line-height: 1;
}
.pbcs-nl-page .pbcs-pagination-jump .jump-btn:hover {
    color: #66b1ff;
    border-color: #66b1ff;
    background: #ecf5ff;
}
.pbcs-nl-page .pbcs-pagination-jump .jump-btn:active {
    transform: scale(0.98);
}

@media (max-width: 576px) {
    .pbcs-nl-page .pbcs-pagination-jump .jump-input { width: 48px; }
    .pbcs-nl-page .pbcs-pagination-jump .jump-btn { padding: 0 10px; font-size: 13px; }
    .pbcs-nl-page .pbcs-pagination-jump .jump-label { font-size: 13px; }
}
