/* ============================================================
   news.html 资讯列表 + show.html 资讯详情 专属样式
   ============================================================ */

/* ---------- 资讯列表页头 ---------- */
.news-hero{
  position:relative; background:linear-gradient(180deg,#16181b,#262c32);
  color:#fff; padding:132px 0 96px; overflow:hidden;
}
.news-hero::before{
  content:""; position:absolute; right:-140px; top:-140px; width:420px; height:420px;
  border:1px solid rgba(255,255,255,.07); border-radius:50%;
}
.news-hero::after{
  content:""; position:absolute; left:8%; bottom:-70px; width:200px; height:200px;
  border:1px solid rgba(255,255,255,.05); border-radius:50%;
}
.news-hero .crumb{ margin-bottom:20px; }
.news-hero .crumb a{ color:#98a0a8; }
.news-hero h1{ font-size:40px; font-weight:800; letter-spacing:1px; }
.news-hero p{ margin-top:14px; color:#b6bdc4; max-width:680px; font-size:15.5px; }

/* 频道标签条 */
.channel-bar{
  position:relative; z-index:5; margin-top:-44px;
  background:var(--white); border:1px solid var(--line-soft); border-radius:16px;
  box-shadow:var(--shadow-lg); padding:12px 16px;
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.channel-bar a{
  padding:8px 18px; border-radius:999px; font-size:13.5px; color:var(--graphite);
  transition:background .25s, color .25s;
}
.channel-bar a:hover{ background:var(--bg); }
.channel-bar a.on{ background:var(--ink); color:#fff; font-weight:600; }
.channel-bar-in{ display:flex; gap:8px; flex-wrap:wrap; }

/* 列表卡片网格 */
.news-card-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.news-card{
  background:var(--white); border:1px solid var(--line-soft); border-radius:16px;
  overflow:hidden; display:block; transition:transform .25s, box-shadow .25s;
}
.news-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.news-card img{ width:100%; height:200px; object-fit:cover; }
.news-card .nc-body{ padding:18px 20px 20px; }
.news-card h3{ font-size:15px; font-weight:600; line-height:1.55; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.news-card p{ margin-top:8px; font-size:13px; color:var(--muted); line-height:1.8; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.news-card .nc-date{ display:block; margin-top:10px; font-size:12px; color:var(--steel); letter-spacing:1px; }
.news-side-title{
  font-size:15px; font-weight:700; letter-spacing:2px; padding-bottom:12px; margin-bottom:14px;
  border-bottom:2px solid var(--ink); display:inline-block;
}

/* 列表主体：左大卡 + 右列表 */
.news-main{ padding:64px 0 96px; }
.news-cols{ display:grid; grid-template-columns:1fr 1fr; gap:46px; align-items:start; }
.news-feature{
  background:var(--white); border:1px solid var(--line-soft); border-radius:20px;
  overflow:hidden; display:block; box-shadow:var(--shadow); transition:transform .3s, box-shadow .3s;
}
.news-feature:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.news-feature .nf-media{ position:relative; height:280px; overflow:hidden; }
.news-feature .nf-media img{ width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.news-feature:hover .nf-media img{ transform:scale(1.05); }
.news-feature .nf-tag{
  position:absolute; left:18px; top:18px; z-index:2; background:var(--ink); color:#fff;
  font-size:12px; letter-spacing:2px; padding:5px 14px; border-radius:999px;
}
.news-feature .nf-body{ padding:26px 28px 28px; }
.news-feature h2{ font-size:21px; font-weight:700; line-height:1.5; }
.news-feature p{ margin-top:12px; color:var(--muted); font-size:14px; line-height:1.85; }
.nf-meta{ display:flex; align-items:center; gap:16px; margin-top:16px; font-size:12.5px; color:var(--steel); }

.news-list{ display:flex; flex-direction:column; gap:16px; }
.news-row-item{
  display:grid; grid-template-columns:150px 1fr; gap:18px;
  background:var(--white); border:1px solid var(--line-soft); border-radius:16px;
  overflow:hidden; transition:transform .25s, box-shadow .25s, border-color .25s;
}
.news-row-item:hover{ transform:translateX(-4px); box-shadow:var(--shadow); border-color:var(--steel); }
.news-row-item img{ width:150px; height:118px; object-fit:cover; }
.news-row-item .nri-body{ padding:14px 16px 14px 0; }
.news-row-item h3{ font-size:14.5px; font-weight:600; line-height:1.55; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.news-row-item p{ margin-top:7px; font-size:12.5px; color:var(--muted); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.nri-date{ margin-top:8px; font-size:11.5px; color:var(--steel); }

/* 快捷入口小块 */
.news-side{ display:flex; flex-direction:column; gap:16px; }
.news-mini-tile{
  display:flex; align-items:center; gap:14px; background:var(--white);
  border:1px solid var(--line-soft); border-radius:14px; padding:16px 18px;
  transition:transform .25s, box-shadow .25s;
}
.news-mini-tile:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.news-mini-tile .nmt-ico{
  width:44px; height:44px; border-radius:12px; background:var(--bg);
  display:flex; align-items:center; justify-content:center; color:var(--ink); flex-shrink:0;
}
.news-mini-tile .nmt-ico svg{ width:22px; height:22px; }
.news-mini-tile b{ font-size:14.5px; display:block; }
.news-mini-tile span{ font-size:12px; color:var(--muted); margin-top:2px; display:block; }

/* ---------- 详情页 ---------- */
.show-hero{ padding:130px 0 60px; background:var(--white); border-bottom:1px solid var(--line-soft); }
.show-hero .crumb{ margin-bottom:22px; }
.show-hero h1{ font-size:32px; font-weight:800; line-height:1.4; max-width:960px; letter-spacing:.5px; }
.show-meta{ display:flex; align-items:center; gap:20px; margin-top:22px; flex-wrap:wrap; font-size:13px; color:var(--steel); }
.show-meta span{ display:inline-flex; align-items:center; gap:6px; }
.show-meta svg{ width:14px; height:14px; }

.show-layout{ display:grid; grid-template-columns:1fr 320px; gap:56px; padding:64px 0 30px; align-items:start; }
.article-body{ background:var(--white); border:1px solid var(--line-soft); border-radius:20px; padding:44px 48px; }
.article-body img{ border-radius:14px; margin:26px auto; width:100%; height:auto; }
.article-body p{ margin-bottom:20px; color:#3d434a; font-size:15.5px; line-height:2; }
.article-body h2{ font-size:21px; margin:34px 0 16px; padding-left:14px; position:relative; }
.article-body h2::before{ content:""; position:absolute; left:0; top:6px; bottom:6px; width:4px; border-radius:2px; background:var(--ink); }
.article-body ul{ margin:18px 0 24px 6px; }
.article-body ul li{ padding:7px 0 7px 26px; position:relative; color:#3d434a; }
.article-body ul li::before{
  content:""; position:absolute; left:4px; top:17px; width:8px; height:8px;
  border:2px solid var(--steel); border-radius:50%;
}
.article-body .article-callout{
  background:var(--bg); border-left:4px solid var(--ink); border-radius:10px;
  padding:18px 22px; margin:26px 0; font-size:14.5px; color:var(--graphite);
}
.show-share{ display:flex; align-items:center; gap:12px; margin-top:34px; padding-top:24px; border-top:1px dashed var(--line); }
.show-share span{ font-size:13px; color:var(--steel); }
.show-share a{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; color:var(--graphite);
  transition:background .25s, color .25s;
}
.show-share a:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }
.show-share svg{ width:15px; height:15px; }

.show-aside{ position:sticky; top:96px; display:flex; flex-direction:column; gap:18px; }
.show-aside .aside-card{ background:var(--white); border:1px solid var(--line-soft); border-radius:16px; padding:24px; }
.aside-card h3{ font-size:15px; font-weight:700; letter-spacing:2px; padding-bottom:12px; margin-bottom:12px; border-bottom:2px solid var(--ink); display:inline-block; }
.aside-list li{ padding:11px 0; border-bottom:1px dashed var(--line-soft); }
.aside-list li:last-child{ border-bottom:none; }
.aside-list a{ display:flex; gap:10px; align-items:flex-start; }
.aside-list img{ width:58px; height:44px; border-radius:8px; object-fit:cover; flex-shrink:0; }
.aside-list .al-t{ font-size:13px; font-weight:600; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.aside-list .al-d{ font-size:11.5px; color:var(--steel); margin-top:4px; }
.aside-cta{
  background:linear-gradient(135deg,#16181b,#2a3036); color:#fff; border-radius:16px; padding:26px 24px;
}
.aside-cta h4{ font-size:17px; font-weight:700; }
.aside-cta p{ margin-top:10px; font-size:13px; color:#b9c0c7; line-height:1.8; }
.aside-cta a{ margin-top:16px; }

/* 详情页五类文章块 */
.show-blocks{ padding:34px 0 90px; }
.sb-title{
  font-size:20px; font-weight:800; letter-spacing:1px; margin:44px 0 22px;
  display:flex; align-items:center; gap:14px;
}
.sb-title::after{ content:""; flex:1; height:1px; background:linear-gradient(90deg,var(--steel),transparent); }
.sb-title em{ font-style:normal; color:var(--steel); font-size:13px; letter-spacing:3px; font-weight:600; }
.sb-grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.sb-grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.sb-card{
  background:var(--white); border:1px solid var(--line-soft); border-radius:16px;
  overflow:hidden; display:block; transition:transform .25s, box-shadow .25s;
}
.sb-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.sb-card img{ width:100%; height:150px; object-fit:cover; }
.sb-card .sb-body{ padding:16px 18px 18px; }
.sb-card h4{ font-size:14.5px; font-weight:600; line-height:1.55; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.sb-card .sb-date{ margin-top:9px; font-size:11.5px; color:var(--steel); }
.sb-mini-list{ background:var(--white); border:1px solid var(--line-soft); border-radius:16px; padding:20px 22px; }
.sb-mini-list li{ padding:10px 0; border-bottom:1px dashed var(--line-soft); }
.sb-mini-list li:last-child{ border-bottom:none; }
.sb-mini-list a{ display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.sb-mini-list .sml-t{ font-size:13.5px; font-weight:500; line-height:1.5; }
.sb-mini-list .sml-d{ font-size:11.5px; color:var(--steel); white-space:nowrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px){
  .news-cols{ grid-template-columns:1fr; }
  .show-layout{ grid-template-columns:1fr; }
  .show-aside{ position:static; }
  .sb-grid-3{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 640px){
  .news-hero h1{ font-size:28px; }
  .news-row-item{ grid-template-columns:110px 1fr; }
  .news-row-item img{ width:110px; height:96px; }
  .article-body{ padding:28px 22px; }
  .show-hero h1{ font-size:24px; }
  .sb-grid-3,.sb-grid-2{ grid-template-columns:1fr; }
}
