/* ============================================================
   资讯列表页 · 精致高端风格（蓝调 · 卡片流 · 侧栏组件）
   ============================================================ */

   :root{
	--o:#206ae4; --o2:#4d8fff; --o3:#1856c8;
	--ink:#1d2733; --body:#5b6675; --muted:#9aa4b2;
	--line:#ebf0f6; --bg:#f4f7fb; --card:#ffffff;
	--radius:16px; --shadow-sm:0 4px 16px rgba(20,40,80,.05);
	--shadow-md:0 12px 34px rgba(20,40,80,.10);
}

/* 全屏铺底、内容留白 */
body{ overflow-x:hidden; }
.nl-hero .wrap,
.nl-main .wrap{ max-width:none; width:100%; box-sizing:border-box; padding-left:min(5vw,80px); padding-right:min(5vw,80px); overflow-x:hidden; }

/* ===================== HERO ===================== */
.nl-hero{ position:relative; overflow:hidden; background:linear-gradient(135deg,#0f1f3d 0%,#16356b 55%,#206ae4 100%); padding:54px 0 46px; margin-top:140px; }
.nl-hero-bg{ position:absolute; inset:0; pointer-events:none;
	background:
		radial-gradient(circle at 88% 8%,rgba(77,143,255,.40) 0%,transparent 44%),
		radial-gradient(circle at 6% 96%,rgba(96,165,250,.20) 0%,transparent 42%),
		repeating-linear-gradient(0deg,transparent,transparent 30px,rgba(255,255,255,.025) 30px,rgba(255,255,255,.025) 31px); }
.nl-hero-in{ position:relative; z-index:1; }
.nl-crumbs{ display:flex; align-items:center; gap:9px; color:rgba(255,255,255,.7); font-size:13.5px; margin-bottom:18px; }
.nl-crumbs > i.fa-house{ font-size:12px; color:#9cc2ff; }
.nl-crumbs a{ color:rgba(255,255,255,.7); text-decoration:none; transition:color .25s; }
.nl-crumbs a:hover{ color:#fff; }
.nl-crumbs .fa-angle-right{ font-size:11px; color:rgba(255,255,255,.4); }
.nl-crumbs span{ color:#fff; font-weight:600; }
.nl-hero-main{ display:flex; flex-direction:column; align-items:flex-start; }
.nl-hero-kicker{ display:inline-flex; align-items:center; gap:7px; background:rgba(255,255,255,.14); color:#fff; font-size:12px; font-weight:700; letter-spacing:.18em; padding:5px 14px; border-radius:30px; margin-bottom:14px; }
.nl-hero-tt{ margin:0 0 10px; font-size:34px; font-weight:900; line-height:1.3; color:#fff; }
.nl-hero-sub{ margin:0; font-size:14.5px; line-height:1.9; color:rgba(255,255,255,.78); max-width:620px; }

/* ===================== 主布局 ===================== */
.nl-main{ padding:34px 0 56px; background:var(--bg); overflow-x:hidden; }
.nl-grid{ display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:28px; align-items:start; min-width:0; }
.nl-content{ min-width:0; max-width:100%; overflow:hidden; }

/* ===================== 工具栏 ===================== */
.nl-toolbar{ display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-bottom:22px; }
.nl-cats{ display:flex; flex-wrap:wrap; gap:10px; }
.nl-chip{ display:inline-flex; align-items:center; text-decoration:none; padding:8px 20px; border:1px solid var(--line); background:var(--card); border-radius:24px; font-size:13.5px; color:var(--body); transition:all .22s ease; }
.nl-chip:hover{ color:var(--o); border-color:var(--o); transform:translateY(-1px); }
.nl-chip.active{ color:#fff; background:linear-gradient(135deg,var(--o),var(--o3)); border-color:transparent; font-weight:700; box-shadow:0 8px 18px rgba(32,106,228,.28); }
.nl-search{ position:relative; flex:0 0 260px; max-width:100%; }
.nl-search input{ width:100%; height:42px; padding:0 46px 0 18px; border:1px solid var(--line); background:#fff; border-radius:24px; font-size:13.5px; color:var(--ink); outline:none; transition:all .22s ease; }
.nl-search input:focus{ border-color:var(--o); box-shadow:0 0 0 3px rgba(32,106,228,.12); }
.nl-search button{ position:absolute; top:50%; right:6px; transform:translateY(-50%); width:32px; height:32px; border:0; border-radius:50%; background:linear-gradient(135deg,var(--o),var(--o3)); color:#fff; cursor:pointer; display:grid; place-items:center; font-size:13px; transition:all .22s ease; }
.nl-search button:hover{ box-shadow:0 6px 14px rgba(32,106,228,.4); }

/* 置顶公告 · 头条 + 网格列表 */
.nl-pinned{ position:relative; background:#fff; border:1px solid #eef1f6; border-radius:18px; padding:24px 26px 22px; margin-bottom:28px;
	box-shadow:0 8px 30px rgba(20,40,80,.06); overflow:hidden; }
.nl-pinned::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:linear-gradient(180deg,#fb923c,#ef4444); }
/* 标题栏 */
.nl-pinned-head{ position:relative; z-index:1; display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.nl-pinned-head-ico{ width:34px; height:34px; border-radius:10px; display:grid; place-items:center; color:#fff; font-size:15px;
	background:linear-gradient(135deg,#fb923c,#ef4444); box-shadow:0 5px 14px rgba(239,68,68,.28); }
.nl-pinned-head-t{ font-size:17px; font-weight:800; color:#1d2733; }
.nl-pinned-head-count{ margin-left:auto; font-size:10.5px; font-weight:700; letter-spacing:.14em; color:#f0c39a; }
/* 头条横幅 */
.nl-pinned-top{ position:relative; z-index:1; display:flex; align-items:center; gap:16px; padding:18px 22px; border-radius:14px; margin-bottom:16px;
	background:linear-gradient(120deg,#ff7a45 0%,#f94b4b 100%); color:#fff; text-decoration:none; overflow:hidden;
	box-shadow:0 10px 26px rgba(249,75,75,.26); transition:transform .25s ease,box-shadow .25s ease; }
.nl-pinned-top::after{ content:""; position:absolute; right:-20px; top:-20px; width:110px; height:110px; border-radius:50%; background:rgba(255,255,255,.14); }
.nl-pinned-top:hover,.nl-pinned-top:focus,.nl-pinned-top:active,.nl-pinned-top:visited{ color:#fff; text-decoration:none; }
.nl-pinned-top:hover .nl-pinned-top-title,
.nl-pinned-top:visited .nl-pinned-top-title{ color:#fff; }
.nl-pinned-top:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(249,75,75,.34); }
.nl-pinned-top-badge{ flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; background:rgba(255,255,255,.22); border:1px solid rgba(255,255,255,.4);
	color:#fff; font-size:11.5px; font-weight:700; padding:4px 12px; border-radius:20px; backdrop-filter:blur(4px); }
.nl-pinned-top-title{ position:relative; z-index:1; flex:1; min-width:0; font-size:17px; font-weight:800; line-height:1.5; color:#fff;
	white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-shadow:0 1px 4px rgba(0,0,0,.18); }
.nl-pinned-top-date{ position:relative; z-index:1; flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:rgba(255,255,255,.92); }
/* 其余置顶 · 网格卡片 */
.nl-pinned-grid{ position:relative; z-index:1; display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.nl-pinned-item{ display:flex; align-items:center; gap:12px; text-decoration:none; padding:13px 15px; border-radius:12px;
	background:#fafbfd; border:1px solid #eef1f6; box-sizing:border-box; transition:all .22s ease; }
.nl-pinned-item:hover{ background:#fff7ed; border-color:#fb923c; box-shadow:0 6px 16px rgba(251,146,60,.12); transform:translateY(-2px); }
.nl-pinned-no{ flex:0 0 auto; width:26px; height:26px; border-radius:8px; display:grid; place-items:center; font-size:12px; font-weight:800; font-style:normal;
	color:#fb923c; background:#fff1e6; }
.nl-pinned-item:hover .nl-pinned-no{ color:#fff; background:linear-gradient(135deg,#fb923c,#ef4444); }
.nl-pinned-body{ flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; }
.nl-pinned-title{ font-size:13.5px; color:#334155; line-height:1.4; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nl-pinned-item:hover .nl-pinned-title{ color:#b4451f; }
.nl-pinned-date{ font-size:11px; color:#a0aec0; letter-spacing:.01em; }

/* ===================== 列表卡片 ===================== */
.nl-list{ display:flex; flex-direction:column; gap:18px; overflow:hidden; }
.nl-card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:box-shadow .3s ease,transform .3s ease,border-color .3s ease; }
.nl-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); border-color:rgba(32,106,228,.25); }
.nl-card-link{ display:flex; align-items:stretch; gap:22px; padding:18px 20px; text-decoration:none; min-width:0; overflow:hidden; }
/* 封面色块：背景渐变 + 标题（无图设计） */
.nl-thumb{ position:relative; flex:0 0 252px; width:252px; align-self:stretch; min-height:160px; border-radius:12px; overflow:hidden;
	padding:18px; display:flex; flex-direction:column; justify-content:center;
	background:linear-gradient(135deg,#1b2c4d,#2c4a86); box-shadow:inset 0 0 0 1px rgba(255,255,255,.06); }
.nl-thumb::before{ content:""; position:absolute; inset:0; pointer-events:none;
	background:
		radial-gradient(circle at 82% 12%,rgba(255,255,255,.24),transparent 46%),
		radial-gradient(circle at 10% 92%,rgba(0,0,0,.22),transparent 52%); }
.nl-thumb::after{ content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
	background:repeating-linear-gradient(45deg,transparent,transparent 12px,rgba(255,255,255,.04) 12px,rgba(255,255,255,.04) 13px); }
/* 大号图标水印 */
.nl-thumb-ico{ position:absolute; right:-8px; bottom:-16px; z-index:1; font-size:106px; line-height:1;
	color:rgba(255,255,255,.13); transform:rotate(-8deg); transition:transform .5s ease; pointer-events:none; }
.nl-card:hover .nl-thumb-ico{ transform:rotate(-8deg) scale(1.14) translateY(-6px); }
/* 品牌小字 */
.nl-thumb-brand{ position:absolute; right:14px; top:13px; z-index:2; font-size:10px; font-weight:800; letter-spacing:.16em; color:rgba(255,255,255,.5); }
/* 封面标题 */
.nl-thumb-title{ position:relative; z-index:2; margin:0; font-size:18px; font-weight:800; line-height:1.5; color:#fff;
	text-shadow:0 2px 12px rgba(0,0,0,.3); letter-spacing:.01em;
	display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; transition:transform .3s ease; }
.nl-card:hover .nl-thumb-title{ transform:translateY(-2px); }
/* 分类角标 */
.nl-cat{ position:absolute; left:12px; top:11px; z-index:2; background:rgba(255,255,255,.14); backdrop-filter:blur(3px);
	color:#fff; font-size:9.5px; font-weight:600; padding:1px 7px; border-radius:10px; letter-spacing:.02em; border:1px solid rgba(255,255,255,.22); line-height:1.65; }

/* 多彩配色轮换（6 组高级渐变） */
.nl-card:nth-child(6n+1) .nl-thumb{ background:linear-gradient(135deg,#1e3a8a,#2f6bd8); }
.nl-card:nth-child(6n+2) .nl-thumb{ background:linear-gradient(135deg,#0f766e,#14b8a6); }
.nl-card:nth-child(6n+3) .nl-thumb{ background:linear-gradient(135deg,#6d28d9,#a855f7); }
.nl-card:nth-child(6n+4) .nl-thumb{ background:linear-gradient(135deg,#be123c,#f43f5e); }
.nl-card:nth-child(6n+5) .nl-thumb{ background:linear-gradient(135deg,#c2410c,#f97316); }
.nl-card:nth-child(6n)   .nl-thumb{ background:linear-gradient(135deg,#0369a1,#0ea5e9); }

.nl-body{ flex:1; min-width:0; display:flex; flex-direction:column; padding-top:2px; }
.nl-title{ margin:0 0 8px; font-size:18px; font-weight:800; color:var(--ink); line-height:1.45;
	display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; transition:color .25s; }
.nl-card:hover .nl-title{ color:var(--o3); }
.nl-excerpt{ margin:0 0 auto; font-size:13.5px; line-height:1.8; color:var(--body);
	display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.nl-meta{ display:flex; align-items:center; gap:16px; margin-top:12px; padding-top:11px; border-top:1px solid var(--line); font-size:12.5px; color:var(--muted); }
.nl-meta span{ display:inline-flex; align-items:center; gap:5px; }
.nl-meta .nl-likes{ color:#e5484d; }
.nl-meta .nl-likes i{ color:#e5484d; }
.nl-meta .nl-more{ margin-left:auto; color:var(--o); font-weight:700; transition:gap .25s ease; }
.nl-meta .nl-more i{ transition:transform .25s ease; }
.nl-card:hover .nl-meta .nl-more i{ transform:translateX(4px); }

/* 空状态 */
.nl-empty{ text-align:center; padding:60px 20px; background:var(--card); border:1px dashed var(--line); border-radius:var(--radius); }
.nl-empty i{ font-size:42px; color:#cdd6e2; }
.nl-empty-t{ margin:16px 0 4px; font-size:16px; color:var(--ink); font-weight:700; }
.nl-empty-p{ margin:0; font-size:13px; color:var(--muted); }

/* ===================== Hero 数据统计 ===================== */
.nl-hero-stats{display:flex;justify-content:center;gap:34px;margin-top:34px;flex-wrap:wrap}
.nl-hstat{display:inline-flex;align-items:center;gap:10px;color:#fff}
.nl-hstat i{font-size:18px;color:var(--nd-gold,#e0a82e)}
.nl-hstat b{font-size:22px;font-weight:900;letter-spacing:.02em}
.nl-hstat-label{font-size:13px;color:rgba(255,255,255,.72)}
@media(max-width:768px){.nl-hero-stats{gap:18px}.nl-hstat b{font-size:18px}}

/* ===================== 分页 ===================== */
.nl-pages{ margin-top:30px; }
.nl-pages-inner{ display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }
.nl-pages-inner a{ min-width:38px; height:38px; padding:0 14px; display:inline-flex; align-items:center; justify-content:center; background:#fff; border:1px solid var(--line); border-radius:10px; color:var(--body); font-size:13.5px; font-weight:600; text-decoration:none; transition:all .22s ease; }
.nl-pages-inner a:hover{ color:var(--o); border-color:var(--o); transform:translateY(-1px); }
.nl-pages-inner a.selected{ background:linear-gradient(135deg,var(--o),var(--o3)); border-color:transparent; color:#fff; box-shadow:0 8px 18px rgba(32,106,228,.28); }
.nl-pages-inner em{ display:inline-flex; align-items:center; color:var(--muted); font-style:normal; }

/* ===================== 侧栏 ===================== */
.nl-side{ display:flex; flex-direction:column; gap:20px; align-self:flex-start; }
.nl-widget{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px; box-shadow:var(--shadow-sm); transition:box-shadow .3s ease; }
.nl-widget:hover{ box-shadow:var(--shadow-md); }
.nl-widget-head{ margin-bottom:16px; }
.nl-widget-head h3{ margin:0; font-size:16.5px; font-weight:800; color:var(--ink); display:flex; align-items:center; }
.nl-widget-head h3 i{ color:var(--o); font-size:15px; margin-right:9px; }
.nl-widget-head h3::after{ content:""; flex:1; height:1px; margin-left:14px; background:linear-gradient(90deg,var(--line),transparent); }

/* 微信卡片 */
.nl-widget-qr{ text-align:center; }
.nl-widget-qr .nl-widget-head h3::after{ display:none; }
.nl-qr{ padding:12px; background:linear-gradient(135deg,#f4f8ff,#eaf1fd); border-radius:12px; }
.nl-qr img{ width:160px; max-width:100%; border-radius:8px; border:4px solid #fff; box-shadow:0 6px 16px rgba(32,106,228,.14); }
.nl-qr-tip{ margin:12px 0 0; font-size:13px; color:var(--o3); font-weight:600; }

/* 热门阅读排名 */
.nl-rank{ list-style:none; margin:0; padding:0; counter-reset:rk; }
.nl-rank li{ counter-increment:rk; display:flex; align-items:flex-start; gap:11px; padding:10px 0; border-bottom:1px dashed var(--line); }
.nl-rank li:last-child{ border-bottom:0; }
.nl-rank-no{ flex:0 0 24px; height:24px; border-radius:7px; display:grid; place-items:center; font-size:12px; font-weight:900; font-style:normal; color:#fff; background:#c4ccd8; font-family:Georgia,serif; }
.nl-rank li:nth-child(1) .nl-rank-no{ background:linear-gradient(135deg,#206ae4,#1856c8); }
.nl-rank li:nth-child(2) .nl-rank-no{ background:linear-gradient(135deg,#4d8fff,#2f7fe0); }
.nl-rank li:nth-child(3) .nl-rank-no{ background:linear-gradient(135deg,#7db4ff,#5a9bf0); }
.nl-rank li a{ flex:1; font-size:13.5px; color:var(--body); text-decoration:none; line-height:1.55;
	display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; transition:color .22s; }
.nl-rank li a:hover{ color:var(--o); }

/* 链接列表（猜你喜欢 / 推荐方案） */
.nl-links{ list-style:none; margin:0; padding:0; }
.nl-links li{ margin-bottom:4px; }
.nl-links li:last-child{ margin-bottom:0; }
.nl-links a{ display:flex; align-items:center; gap:9px; padding:10px 12px; background:#fafbfd; border:1px solid transparent; border-radius:10px; text-decoration:none; transition:all .22s ease; }
.nl-links a i{ flex:0 0 auto; font-size:11px; color:var(--o); transition:transform .22s ease; }
.nl-links a span{ flex:1; min-width:0; font-size:13.5px; color:var(--body); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; transition:color .22s; }
.nl-links a:hover{ background:#fff; border-color:rgba(32,106,228,.25); transform:translateX(3px); box-shadow:0 4px 12px rgba(32,106,228,.08); }
.nl-links a:hover i{ transform:translateX(3px); }
.nl-links a:hover span{ color:var(--o); }

/* 热门标签 */
.nl-tags{ display:flex; flex-wrap:wrap; gap:9px; }
.nl-tag{ padding:6px 15px; background:var(--bg); border:1px solid var(--line); border-radius:20px; font-size:12.5px; color:var(--body); text-decoration:none; transition:all .22s ease; }
.nl-tag:hover{ color:#fff; background:linear-gradient(135deg,var(--o),var(--o3)); border-color:transparent; transform:translateY(-2px); box-shadow:0 6px 14px rgba(32,106,228,.2); }

/* ===================== 响应式 ===================== */
/* 大屏以下：侧栏移到下方，卡片改纵向堆叠（彻底消除窄屏下 252px 封面横向挤压导致的溢出） */
@media (max-width:1100px){
	.nl-grid{ grid-template-columns:minmax(0,1fr); }
	.nl-side{ position:static; flex-direction:row; flex-wrap:wrap; }
	.nl-widget{ flex:1 1 300px; max-width:100%; min-width:0; }
	.nl-card-link{ flex-direction:column; gap:14px; padding:16px; }
	.nl-thumb{ flex:0 0 auto; width:100%; max-width:100%; min-height:150px; }
	.nl-thumb-title{ font-size:18px; -webkit-line-clamp:2; }
	.nl-toolbar{ flex-direction:column; align-items:stretch; }
	.nl-search{ flex:0 0 auto; }
	.nl-meta{ gap:12px; flex-wrap:wrap; }
}
/* 平板：收紧间距（卡片堆叠已在 1100px 处理） */
@media (max-width:900px){
	.nl-hero{ margin-top:90px; padding:42px 0 36px; }
	.nl-hero-tt{ font-size:28px; }
	.nl-hero-sub{ font-size:14px; }
}
/* 手机：整页单列，侧栏组件堆叠，元信息换行，分页横向可滚 */
@media (max-width:768px){
	.nl-main .wrap{ padding-left:16px; padding-right:16px; }
	.nl-hero{ padding:30px 0 26px; margin-top:72px; }
	.nl-hero-tt{ font-size:23px; }
	.nl-hero-sub{ font-size:13px; line-height:1.7; }
	.nl-main{ padding:22px 0 40px; }
	.nl-side{ flex-direction:column; gap:14px; }
	.nl-widget{ flex:1 1 auto; padding:16px 16px; }
	.nl-card-link{ gap:12px; padding:14px; max-width:100%; }
	.nl-thumb{ min-height:128px; padding:14px; border-radius:10px; }
	.nl-thumb-ico{ font-size:82px; }
	.nl-thumb-title{ font-size:17px; }
	.nl-title{ font-size:16.5px; }
	.nl-excerpt{ font-size:13px; -webkit-line-clamp:3; }
	.nl-meta{ gap:10px 14px; font-size:11.5px; }
	.nl-meta .nl-more{ margin-left:0; width:100%; margin-top:6px; }
	.nl-chip{ padding:7px 16px; font-size:13px; }
	.nl-pages{ margin-top:22px; }
	.nl-cats{ flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:4px; }
	.nl-search{ flex:0 0 auto; width:100%; }
}
/* 超小屏：收紧间距，防止标题与徽标溢出 */
@media (max-width:480px){
	.nl-hero{ margin-top:64px; padding:24px 0 22px; }
	.nl-hero-tt{ font-size:20px; }
	.nl-thumb{ min-height:112px; }
	.nl-thumb-title{ font-size:15.5px; -webkit-line-clamp:2; }
	.nl-title{ font-size:15.5px; }
	.nl-meta{ gap:8px 12px; }
	.nl-meta span{ font-size:11px; }
	.nl-meta .nl-likes{ font-size:11px; }
}
