/* ============================================================
   9d91.com · news.html 资讯列表页专属样式
   布局母题：悬浮题头 + 主轴/侧栏分体 + 折叠卡片
   ============================================================ */

/* ---------- 资讯题头 ---------- */
.news-hero{ position:relative; min-height:400px; display:flex; align-items:flex-end; overflow:hidden; background:#0F1F17; }
.nh-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.nh-mask{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(15,31,23,.45), rgba(15,31,23,.78)); }
.nh-inner{ position:relative; z-index:2; padding:130px 0 44px; }
.nh-inner .crumbs{ padding:0 0 18px; }
.nh-inner .crumbs a{ color:#C8D8CF; }
.nh-inner .crumbs a:hover{ color:var(--orange-2); }
.nh-inner .crumbs span{ color:rgba(255,255,255,.5); }
.nh-inner h1{ color:#fff; font-size:40px; letter-spacing:2px; margin-bottom:12px; }
.nh-inner > p{ color:#C8D8CF; font-size:15px; max-width:720px; line-height:1.9; margin-bottom:22px; }
.nh-tags{ display:flex; flex-wrap:wrap; gap:10px; }
.nh-tags a{
  color:#fff; font-size:14px; font-weight:600; padding:8px 18px; border-radius:999px;
  border:1px solid rgba(255,255,255,.4); background:rgba(255,255,255,.1); transition:all .3s ease;
}
.nh-tags a:hover{ background:var(--green); border-color:var(--green); }

/* ---------- 主轴 + 侧栏 ---------- */
.news-page{ background:var(--bg-soft); }
.news-layout{ display:grid; grid-template-columns:1fr 320px; gap:28px; align-items:start; }
.news-main{ display:flex; flex-direction:column; gap:18px; }
.news-row{
  display:grid; grid-template-columns:220px 1fr; gap:20px; background:#fff;
  border-radius:var(--radius); padding:16px; box-shadow:var(--shadow-sm); border-left:4px solid transparent;
  transition:all .3s ease;
}
.news-row:hover{ border-left-color:var(--orange); box-shadow:var(--shadow-md); transform:translateY(-3px); }
.nr-photo{ display:block; border-radius:12px; overflow:hidden; height:150px; }
.nr-photo img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.news-row:hover .nr-photo img{ transform:scale(1.06); }
.nr-body{ display:flex; flex-direction:column; justify-content:center; }
.nr-meta{ display:flex; align-items:center; gap:12px; font-size:12.5px; color:var(--ink-3); margin-bottom:8px; }
.nr-meta span{ color:var(--green-deep); background:var(--green-soft); padding:3px 10px; border-radius:999px; font-weight:700; }
.nr-body h2{ font-size:19px; margin-bottom:8px; }
.nr-body h2 a:hover{ color:var(--orange-deep); }
.nr-body p{
  font-size:13.5px; color:var(--ink-2); line-height:1.85; margin-bottom:10px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.nr-more{ font-size:13.5px; font-weight:700; color:var(--orange-deep); display:inline-flex; align-items:center; gap:6px; }
.nr-more::after{ content:"→"; transition:transform .25s ease; }
.nr-more:hover::after{ transform:translateX(4px); }

/* ---------- 侧栏 ---------- */
.news-side{ display:flex; flex-direction:column; gap:20px; position:sticky; top:100px; }
.side-card{ background:#fff; border-radius:var(--radius); padding:22px; box-shadow:var(--shadow-sm); }
.side-card h3{
  font-size:15.5px; margin-bottom:16px; padding-bottom:12px; position:relative;
}
.side-card h3::after{ content:""; position:absolute; left:0; bottom:0; width:30px; height:3px; border-radius:3px; background:linear-gradient(90deg,var(--orange),var(--green)); }
.side-tagwall{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.side-tagwall a{
  text-align:center; font-size:13.5px; font-weight:600; color:var(--ink-2);
  border:1.5px solid var(--line); border-radius:10px; padding:8px 4px; transition:all .25s ease;
}
.side-tagwall a:hover{ color:#fff; background:linear-gradient(135deg,var(--orange),var(--orange-deep)); border-color:transparent; }
.side-guide ul{ display:flex; flex-direction:column; gap:4px; }
.side-guide li{ border-bottom:1px dashed var(--line); }
.side-guide a{ display:block; padding:9px 2px; font-size:14px; color:var(--ink-2); }
.side-guide a::before{ content:"·"; color:var(--green); font-weight:900; margin-right:8px; }
.side-guide a:hover{ color:var(--orange-deep); padding-left:8px; }
.side-contact p{ font-size:13.5px; color:var(--ink-2); margin-bottom:14px; line-height:1.8; }
.side-contact a.side-tel{
  display:block; font-size:22px; font-weight:900; color:var(--orange-deep); letter-spacing:1px; margin-bottom:6px;
}
.side-contact a.side-mail{ display:block; font-size:14px; color:var(--ink-2); margin-bottom:16px; }
.side-contact .btn{ width:100%; }
.side-tip{ background:linear-gradient(135deg, var(--green-soft), #F0FBF5); border:1.5px dashed var(--green-2); }
.side-tip p{ font-size:13.5px; color:var(--ink-2); line-height:1.9; margin:0; }
.side-tip a{ color:var(--green-deep); font-weight:700; }

/* ---------- 延伸服务带 ---------- */
.news-cta{ background:linear-gradient(135deg, #0F1F17, #17402E); }
.ncta-inner{ display:flex; align-items:center; justify-content:space-between; gap:26px; padding:48px 0; flex-wrap:wrap; }
.ncta-inner h2{ color:#fff; font-size:26px; margin-bottom:8px; }
.ncta-inner p{ color:#B9C8BF; font-size:14.5px; margin:0; }
.ncta-actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* ---------- 资讯栏目导览（频道速览卡） ---------- */
.news-nav-sec{ background:var(--bg-soft); }
.nn-sub{ max-width:760px; margin:14px auto 32px; text-align:center; font-size:15px; color:var(--ink-2); line-height:1.9; }
.nn-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.nn-card{
  position:relative; display:flex; flex-direction:column; gap:12px; background:#fff;
  border-radius:var(--radius-lg); padding:22px 18px 18px; box-shadow:var(--shadow-sm);
  overflow:hidden; transition:transform .3s ease, box-shadow .3s ease;
}
.nn-card::before{ content:""; position:absolute; top:0; left:0; right:0; height:5px; background:linear-gradient(90deg,var(--orange),var(--green)); }
.nn-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.nn-ic{ width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; }
.nn-ic-orange{ background:var(--orange-soft); color:var(--orange-deep); }
.nn-ic-green{ background:var(--green-soft); color:var(--green-deep); }
.nn-card b{ font-size:16px; color:var(--ink); }
.nn-card p{ font-size:13px; color:var(--ink-2); line-height:1.75; flex:1; }
.nn-card em{ font-style:normal; font-size:13px; font-weight:700; color:var(--orange-deep); transition:letter-spacing .25s ease; }
.nn-card:hover em{ letter-spacing:.5px; }

/* ---------- 报考服务速查（深绿带 + 服务卡） ---------- */
.news-serv{ background:linear-gradient(135deg,#0F1F17,#1E5C40); }
.ns-head{ text-align:center; padding:64px 0 6px; }
.ns-head .sec-kicker{ color:#9FD0B5; }
.ns-head .sec-title{ color:#fff; }
.ns-head > p{ max-width:720px; margin:14px auto 0; color:#C8D8CF; font-size:15px; line-height:1.9; }
.ns-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; padding:36px 0 10px; }
.ns-card{
  background:#fff; border-radius:var(--radius); padding:24px 20px 22px; box-shadow:var(--shadow-md);
  border-top:4px solid transparent; transition:transform .3s ease, border-color .3s ease;
}
.ns-card:nth-child(odd){ border-top-color:var(--orange); }
.ns-card:nth-child(even){ border-top-color:var(--green); }
.ns-card:hover{ transform:translateY(-5px); }
.ns-card b{ display:block; font-size:17px; color:var(--ink); margin-bottom:10px; }
.ns-card p{ font-size:13.5px; color:var(--ink-2); line-height:1.85; margin:0; }
.ns-note{ padding:24px 0 60px; text-align:center; }
.ns-note p{ color:#E7F2EC; font-size:14.5px; line-height:1.9; }
.ns-note a{ color:#FFB37E; font-weight:700; }
.ns-note a:hover{ text-decoration:underline; }

/* ---------- 资讯常见问答（手风琴） ---------- */
.news-faq{ background:#fff; }
.nf-list{ max-width:820px; margin:34px auto 0; display:flex; flex-direction:column; gap:14px; }
.nf-item{ border:1px solid var(--line); border-left:4px solid var(--orange-2); border-radius:var(--radius); background:var(--bg-soft); overflow:hidden; transition:box-shadow .3s ease; }
.nf-item.open{ box-shadow:var(--shadow-sm); border-left-color:var(--green); background:#fff; }
.nf-q{ margin:0; font-size:15.5px; font-weight:700; color:var(--ink); }
.nf-item .acc-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 22px; cursor:pointer; user-select:none; }
.nf-item .acc-head::after{
  content:"+"; flex-shrink:0; width:26px; height:26px; border-radius:50%;
  background:var(--green-soft); color:var(--green-deep); display:flex; align-items:center; justify-content:center;
  font-weight:800; transition:transform .3s ease, background .3s ease;
}
.nf-item.open .acc-head::after{ transform:rotate(45deg); background:var(--orange); color:#fff; }
.nf-item .acc-panel{ max-height:0; overflow:hidden; transition:max-height .45s ease; }
.nf-item.open .acc-panel{ max-height:480px; }
.nf-item .acc-panel p{ padding:0 22px 20px; margin:0; font-size:14px; color:var(--ink-2); line-height:1.95; }

/* ---------- 响应式 ---------- */
@media (max-width:1080px){
  .nn-grid{ grid-template-columns:repeat(3,1fr); }
  .ns-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:980px){
  .news-layout{ grid-template-columns:1fr; }
  .news-side{ position:static; display:grid; grid-template-columns:1fr 1fr; }
}
@media (max-width:760px){
  .news-hero{ min-height:340px; }
  .nh-inner h1{ font-size:30px; }
  .news-row{ grid-template-columns:1fr; }
  .nr-photo{ height:200px; }
  .news-side{ grid-template-columns:1fr; }
  .ncta-inner{ flex-direction:column; align-items:flex-start; }
  .nn-grid{ grid-template-columns:1fr 1fr; }
  .ns-grid{ grid-template-columns:1fr; }
  .ns-head{ padding-top:48px; }
}
@media (max-width:480px){
  .nn-grid{ grid-template-columns:1fr; }
}
