/* ============================================================
   好梦手优 · news.css（资讯列表页专属样式）
   设计语言：报刊长页风——紧凑横条页头 + 编号行式分类入口
   + 左缩略图右摘要的横向新闻列表 + 左侧色条边栏卡片。
   与首页全屏 dark hero、图片卡片网格刻意区分。
   ============================================================ */

/* ---------- 页头横幅（紧凑横条，非全屏 hero） ---------- */
.np-hero{position:relative;padding:calc(var(--nav-h) + 70px) 0 74px;overflow:hidden;
  background:#0B2A20;color:#fff}
.np-hero-bg{position:absolute;inset:0;z-index:0}
.np-hero-bg img{width:100%;height:100%;object-fit:cover;opacity:.38}
.np-hero::before{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(115deg,rgba(6,32,24,.92) 0%,rgba(7,46,34,.78) 55%,rgba(15,169,123,.45) 100%)}
.np-hero-inner{position:relative;z-index:2}
.np-crumb{display:flex;align-items:center;gap:8px;font-size:13.5px;color:#BFE3D4;margin-bottom:18px}
.np-crumb a{color:#BFE3D4}
.np-crumb a:hover{color:#fff}
.np-crumb-sep{opacity:.6}
.np-crumb-cur{color:#fff;font-weight:600}
.np-hero h1{font-size:clamp(30px,4.4vw,46px);font-weight:800;letter-spacing:2px;line-height:1.25}
.np-hero h1::after{content:"";display:block;width:64px;height:4px;border-radius:2px;
  background:linear-gradient(90deg,#3CE0A8,transparent);margin-top:16px}
.np-hero p{max-width:640px;margin-top:18px;font-size:15.5px;line-height:1.9;color:#D3EDE2}
.np-hero-chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.np-hero-chips span{display:inline-flex;align-items:center;gap:7px;padding:8px 16px;border-radius:8px;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);font-size:13px;color:#E7F6F0}
.np-hero-chips svg{width:14px;height:14px;color:#3CE0A8}

/* ---------- 分类快捷入口：编号横排行卡 ---------- */
.np-cat-sec{padding-bottom:30px}
.np-cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.np-cat-item{display:flex;align-items:center;gap:16px;padding:22px 22px;border:1px solid var(--c-line);
  border-radius:var(--r-md);background:#fff;border-left:4px solid var(--c-green);
  transition:all .35s ease}
.np-cat-item:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-left-color:var(--c-green-deep)}
.np-cat-no{font-size:26px;font-weight:800;color:var(--c-green-2,var(--c-green));line-height:1;
  font-variant-numeric:tabular-nums;flex:none;width:44px}
.np-cat-info h3{font-size:17px;font-weight:800;margin-bottom:5px}
.np-cat-info p{font-size:13px;color:var(--c-slate);line-height:1.65}
.np-cat-arrow{margin-left:auto;flex:none;width:30px;height:30px;border-radius:50%;
  background:var(--c-green-soft);display:flex;align-items:center;justify-content:center;
  transition:all .35s ease}
.np-cat-arrow svg{width:15px;height:15px;color:var(--c-green-deep)}
.np-cat-item:hover .np-cat-arrow{background:var(--c-green);transform:translateX(4px)}
.np-cat-item:hover .np-cat-arrow svg{color:#fff}

/* ---------- 主体双栏 ---------- */
.np-main-sec{padding-top:56px;padding-bottom:84px}
.np-layout{display:grid;grid-template-columns:1fr 340px;gap:36px;align-items:start}
.np-list-col{min-width:0}
.np-list-head{display:flex;align-items:baseline;gap:14px;padding-bottom:16px;
  border-bottom:2px solid var(--c-ink);margin-bottom:8px}
.np-list-head h2{font-size:24px;font-weight:800;letter-spacing:1px}
.np-list-head span{font-size:13px;color:var(--c-slate)}

/* 新闻行：左图右文，虚线分隔 */
.nitem{display:flex;gap:22px;padding:24px 0;border-bottom:1px dashed var(--c-silver-2)}
.nitem-thumb{flex:none;width:240px;height:160px;border-radius:var(--r-sm);overflow:hidden;position:relative}
.nitem-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.nitem-thumb:hover img{transform:scale(1.07)}
.nitem-body{flex:1;min-width:0;display:flex;flex-direction:column}
.nitem-body h3{font-size:19px;font-weight:700;line-height:1.5;margin-bottom:8px}
.nitem-body h3 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nitem-body h3 a:hover{color:var(--c-green-deep)}
.nitem-summary{font-size:14px;color:var(--c-slate);line-height:1.8;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nitem-meta{margin-top:auto;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.nitem-meta time{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--c-slate)}
.nitem-meta time svg{width:13px;height:13px}
.nitem-more{display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:700;color:var(--c-green-deep)}
.nitem-more svg{width:14px;height:14px;transition:transform .3s ease}
.nitem-more:hover svg{transform:translateX(4px)}

/* ---------- 边栏 ---------- */
.np-side{display:flex;flex-direction:column;gap:22px;position:sticky;top:calc(var(--nav-h) + 20px)}
.np-side-card{background:#fff;border:1px solid var(--c-line);border-radius:var(--r-md);
  padding:24px 22px;border-top:3px solid var(--c-green)}
.np-side-card h3{font-size:16px;font-weight:800;margin-bottom:16px;padding-bottom:12px;
  border-bottom:1px dashed var(--c-line);position:relative}
.np-side-card h3::after{content:"";position:absolute;left:0;bottom:-1px;width:34px;height:2px;background:var(--c-green)}
.np-svc ul li{border-bottom:1px dashed var(--c-line)}
.np-svc ul li:last-child{border-bottom:0}
.np-svc ul a{display:flex;align-items:center;justify-content:space-between;padding:11px 2px;font-size:14px;
  color:var(--c-slate);font-weight:500}
.np-svc ul a span{color:var(--c-green);transition:transform .3s ease}
.np-svc ul a:hover{color:var(--c-green-deep)}
.np-svc ul a:hover span{transform:translateX(4px)}

.np-contact{background:linear-gradient(160deg,#0E3B2C 0%,#0A2A1F 100%);border:0;border-top:3px solid #3CE0A8;color:#DFF0E9}
.np-contact h3{color:#fff;border-color:rgba(255,255,255,.15)}
.np-contact p{font-size:13.5px;line-height:1.8;color:#B7D8CB;margin-bottom:16px}
.np-contact-phone{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800;color:#3CE0A8;margin-bottom:8px}
.np-contact-phone svg{width:20px;height:20px;flex:none}
.np-contact-mail{display:block;font-size:13px;color:#9FC4B5;margin-bottom:16px}
.np-contact-mail:hover{color:#fff}

.np-local img{border-radius:var(--r-sm);margin-bottom:14px;width:100%;height:auto}
.np-local h3{font-size:15px}
.np-local p{font-size:13px;color:var(--c-slate);line-height:1.8;margin-bottom:14px}
.np-local-links{display:flex;gap:10px;flex-wrap:wrap}
.np-local-links a{padding:7px 14px;border-radius:999px;background:var(--c-green-soft);
  color:var(--c-green-deep);font-size:12.5px;font-weight:600;transition:all .3s ease}
.np-local-links a:hover{background:var(--c-green);color:#fff}

/* ---------- 为什么看资讯：汉字序号四宫 ---------- */
.np-why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.np-why-item{padding:30px 24px;background:#fff;border:1px solid var(--c-line);border-radius:var(--r-md);
  transition:all .4s ease;position:relative;overflow:hidden}
.np-why-item::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--grad-green);
  transform:scaleY(0);transform-origin:top;transition:transform .45s ease}
.np-why-item:hover{transform:translateY(-6px);box-shadow:var(--shadow-md)}
.np-why-item:hover::before{transform:scaleY(1)}
.np-why-num{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;
  background:var(--c-green-mist);color:var(--c-green-deep);font-size:20px;font-weight:800;margin-bottom:16px}
.np-why-item h3{font-size:17px;font-weight:800;margin-bottom:10px}
.np-why-item p{font-size:13.5px;color:var(--c-slate);line-height:1.85}

/* ---------- FAQ ---------- */
.np-faq-wrap{max-width:860px;margin-inline:auto}

/* ---------- 底部 CTA ---------- */
.np-cta-sec{background:var(--c-green-mist)}
.np-cta{text-align:center;padding:56px 40px;border-radius:var(--r-xl);
  background:linear-gradient(135deg,#0E4A36 0%,#0B3527 100%);position:relative;overflow:hidden;color:#fff}
.np-cta::before{content:"";position:absolute;right:-60px;top:-60px;width:240px;height:240px;border-radius:50%;
  background:radial-gradient(circle,rgba(60,224,168,.25),transparent 70%)}
.np-cta::after{content:"";position:absolute;left:-40px;bottom:-70px;width:200px;height:200px;border-radius:50%;
  background:radial-gradient(circle,rgba(15,169,123,.2),transparent 70%)}
.np-cta h2{font-size:28px;font-weight:800;margin-bottom:12px;position:relative;z-index:1}
.np-cta h2 em{font-style:normal;color:#3CE0A8}
.np-cta p{color:#C4DBD3;font-size:14.5px;position:relative;z-index:1}
.np-cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin:26px 0 20px;position:relative;z-index:1}
.np-cta-phone{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:700;
  color:#E7F6F0;position:relative;z-index:1}
.np-cta-phone svg{width:17px;height:17px;color:#3CE0A8}

/* ---------- 响应式 ---------- */
@media(max-width:1024px){
  .np-layout{grid-template-columns:1fr}
  .np-side{position:static;flex-direction:row;flex-wrap:wrap}
  .np-side-card{flex:1 1 280px}
  .np-cat-grid{grid-template-columns:repeat(2,1fr)}
  .np-why-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .np-hero{padding:calc(var(--nav-h) + 44px) 0 50px}
  .nitem{flex-direction:column;gap:14px}
  .nitem-thumb{width:100%;height:200px}
  .np-cat-grid{grid-template-columns:1fr}
  .np-why-grid{grid-template-columns:1fr}
  .np-list-head{flex-direction:column;gap:4px}
  .np-cta{padding:40px 22px}
  .np-cta h2{font-size:22px}
}

/* ============================================================
   第二轮扩充区块样式（工种入口 / 双城 / 备考 / 案例引用）
   ============================================================ */

/* ---------- 工种报考入口：左图右链 ---------- */
.np-job-band{display:grid;grid-template-columns:5fr 7fr;gap:44px;align-items:center}
.np-job-img{position:relative;border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-md)}
.np-job-img img{width:100%;height:100%;object-fit:cover;display:block}
.np-job-img-tag{position:absolute;left:18px;bottom:18px;background:var(--grad-green);color:#fff;
  padding:12px 18px;border-radius:12px;font-size:15px;font-weight:800;line-height:1.5;box-shadow:var(--shadow-md)}
.np-job-body h2{font-size:28px;font-weight:800;margin:14px 0 10px;line-height:1.4}
.np-job-body h2 em{font-style:normal;color:var(--c-green)}
.np-job-body>p{color:var(--c-slate);font-size:14.5px;margin-bottom:20px}
.np-job-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}
.np-job-link{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;
  background:#fff;border:1px solid var(--c-line);border-radius:10px;font-weight:700;font-size:14.5px;transition:all .3s ease}
.np-job-link span{font-size:12px;color:var(--c-slate);font-weight:500}
.np-job-link:hover{border-color:var(--c-green);background:var(--c-green-soft);transform:translateX(4px)}

/* ---------- 双城报考：图底遮罩面板 ---------- */
.np-city-grid2{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.np-city2{position:relative;border-radius:var(--r-lg);overflow:hidden;min-height:300px;display:block}
.np-city2 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s ease}
.np-city2::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,30,24,.05) 35%,rgba(7,30,24,.88) 100%)}
.np-city2:hover img{transform:scale(1.06)}
.np-city2-mask{position:relative;z-index:2;padding:26px;color:#fff;display:flex;flex-direction:column;height:100%;justify-content:flex-end}
.np-city2-mask h3{font-size:22px;font-weight:800;margin-bottom:8px}
.np-city2-mask p{font-size:13.5px;color:#C9E2D8;line-height:1.8;margin-bottom:14px;max-width:420px}
.np-city2-btn{align-self:flex-start;padding:8px 18px;border-radius:999px;background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.3);font-size:13px;font-weight:700;transition:all .3s ease}
.np-city2:hover .np-city2-btn{background:var(--c-green);border-color:var(--c-green)}

/* ---------- 备考三件套 ---------- */
.np-prep-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.np-prep-card{background:#fff;border:1px solid var(--c-line);border-radius:var(--r-md);overflow:hidden;transition:all .4s ease;display:block}
.np-prep-img{height:170px;overflow:hidden}
.np-prep-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.np-prep-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:transparent}
.np-prep-card:hover .np-prep-img img{transform:scale(1.07)}
.np-prep-body{padding:18px 20px 20px}
.np-prep-body h3{font-size:17px;font-weight:800;margin-bottom:8px}
.np-prep-body p{font-size:13.5px;color:var(--c-slate);line-height:1.8;margin-bottom:12px}
.np-prep-link{font-size:13px;font-weight:700;color:var(--c-green-deep)}

/* ---------- 案例引用横条 ---------- */
.np-case-strip{display:flex;flex-direction:column;gap:14px}
.np-case-row{display:flex;align-items:center;gap:20px;background:#fff;border:1px solid var(--c-line);
  border-radius:var(--r-md);padding:16px 20px;transition:all .35s ease}
.np-case-row:hover{box-shadow:var(--shadow-md);border-color:var(--c-green)}
.np-case-row img{flex:none;width:180px;height:110px;border-radius:10px;object-fit:cover}
.np-case-body{flex:1;min-width:0}
.np-case-tag{display:inline-block;padding:2px 10px;border-radius:6px;background:var(--c-green-soft);
  color:var(--c-green-deep);font-size:11.5px;font-weight:700;margin-bottom:6px}
.np-case-body h3{font-size:15.5px;font-weight:700;margin-bottom:5px;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.np-case-row:hover .np-case-body h3{color:var(--c-green-deep)}
.np-case-body p{font-size:13px;color:var(--c-slate);
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.np-case-go{flex:none;font-size:13px;font-weight:700;color:var(--c-green-deep)}

@media(max-width:1024px){
  .np-job-band{grid-template-columns:1fr;gap:28px}
  .np-prep-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .np-city-grid2{grid-template-columns:1fr}
  .np-case-row{flex-direction:column;align-items:flex-start}
  .np-case-row img{width:100%;height:180px}
  .np-job-links{grid-template-columns:1fr}
  .np-case-go{display:none}
}

/* ---------- 服务信任数字条 ---------- */
.np-trust-sec{background:var(--c-silver);padding:36px 0}
.np-trust-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;text-align:center}
.np-ts p{font-size:13px;color:var(--c-slate);margin-top:6px}
.np-ts + .np-ts{border-left:1px solid var(--c-silver-2)}

/* ---------- 服务承诺 ---------- */
.np-promise-sec{background:#fff;padding:30px 0}
.np-promise-row{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.np-promise-item{display:flex;gap:14px;align-items:flex-start}
.np-promise-item svg{width:30px;height:30px;color:var(--c-green-deep);flex:none;margin-top:3px}
.np-promise-item h4{font-size:15px;font-weight:800;margin-bottom:4px}
.np-promise-item p{font-size:13px;color:var(--c-slate);line-height:1.7}

@media(max-width:768px){
  .np-trust-strip{grid-template-columns:repeat(2,1fr);gap:20px 0}
  .np-ts:nth-child(3){border-left:0}
  .np-promise-row{grid-template-columns:1fr;gap:16px}
}
