/* ============================================================
   子页面：资讯中心 / 资讯详情 / 下载教程
   ============================================================ */

.page{ padding-top:60px; }

/* ---------------- 资讯中心 ---------------- */
.news-page{ padding:40px 0 80px; }
.news-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:24px;
}
.news-head h1{
  font-size:28px; font-weight:700; color:var(--ink); line-height:1.4;
  font-family:var(--font-head);
}
.cat-tabs{ display:flex; align-items:center; gap:10px; }
.cat-tabs a{
  display:inline-flex; align-items:center; justify-content:center;
  height:32px; padding:0 18px;
  border-radius:101px;
  font-size:14px; color:#4b5563; background:transparent;
  transition:background .2s,color .2s;
}
.cat-tabs a:hover{ color:var(--ink); }
.cat-tabs a.is-active{ background:var(--mint); color:#0f2e26; font-weight:600; }

.news-list{ display:flex; flex-direction:column; gap:17px; }
.news-row{
  display:flex; align-items:center;
  height:180px; padding:0 44px;
  background:#fff; border-radius:16px;
  transition:box-shadow .25s,transform .25s;
}
.news-row:hover{ box-shadow:0 12px 30px rgba(0,0,0,.06); transform:translateY(-2px); }
.news-row .thumb{
  width:164px; height:92px; flex:none; border-radius:8px; overflow:hidden; background:#eee;
}
.news-row .thumb img{ width:100%; height:100%; object-fit:cover; }
.news-row .info{ flex:1 1 auto; padding:0 40px; min-width:0; }
.news-row h3{
  font-size:16px; font-weight:600; color:var(--ink); line-height:1.5;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.news-row .desc{
  margin-top:8px; font-size:13px; line-height:20px; color:#9aa0a6;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.news-row .date{
  flex:none; text-align:right; color:rgba(30,30,30,.10);
  font-family:var(--font-head); line-height:1;
}
.news-row .date .m{ font-size:44px; font-weight:700; display:block; }
.news-row .date .d{ font-size:44px; font-weight:700; display:block; margin-top:2px; }
.news-row .date .y{ font-size:14px; font-weight:400; display:block; margin-top:6px; }

.pager{
  display:flex; align-items:center; justify-content:center; gap:10px;
  margin-top:40px;
}
.pager a,.pager span{
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:8px;
  font-size:14px; color:#4b5563;
}
.pager a:hover{ background:#eceff1; }
.pager .is-active{ background:var(--mint); color:#0f2e26; font-weight:600; }
.pager .nav{ font-size:16px; color:#9aa0a6; }

/* ---------------- 资讯详情 ---------------- */
.detail{ padding:30px 0 80px; }
.crumb{
  font-size:13px; color:#9aa0a6; line-height:1.6; margin-bottom:26px;
}
.crumb a{ color:#9aa0a6; }
.crumb a:hover{ color:var(--ink); }
.detail h1{
  font-size:24px; font-weight:600; color:var(--ink); text-align:center;
  line-height:1.5; margin:0 auto 10px; max-width:900px;
}
.detail .pub{ text-align:center; font-size:14px; color:#9aa0a6; margin-bottom:30px; }
.detail .content{ text-align:center; }
.detail .content img{ width:100%; max-width:780px; margin:0 auto 24px; display:block; border-radius:6px; }
.detail .content img.portrait{ max-width:398px; }
.detail .content img:last-child{ margin-bottom:0; }

/* ---------------- 下载页 ---------------- */
.dl-page{ padding-top:0; }
.dl-page .dl-hero{
  position:relative; width:100%; aspect-ratio:1440/690; max-height:690px; background:#000; overflow:hidden;
}
.dl-page .dl-hero > img{ width:100%; max-width:1440px; height:100%; margin:0 auto; object-fit:cover; }
.dl-page .dl-hero .download-bar{ bottom:46px; padding:0; }

.dl-status{
  position:absolute; left:0; right:0; bottom:8px;
  text-align:center; font-size:13px; line-height:22px; color:#8b9096;
}
.dl-status b{ color:#08c0a0; font-weight:600; }
.dl-status .grey{ color:#9aa0a6; }

.dl-note{
  background:#fff2f0; border-radius:10px; padding:11px 24px; margin-top:20px;
  font-size:13px; line-height:21px; color:#b85c4d;
}
.dl-note p::before{ content:"·"; margin-right:6px; }

.dl-tabs{ display:flex; justify-content:center; margin:20px 0 0; }
.dl-tabs .box{
  display:flex; width:1200px; height:73px; background:#fff; border-radius:12px; overflow:hidden;
}
.dl-tabs button{
  flex:1 1 0; height:73px; font-size:15px; color:#4b5563;
  display:flex; align-items:center; justify-content:center; gap:10px;
  transition:background .2s,color .2s;
}
.dl-tabs button.is-active{ background:rgba(132,249,204,.18); color:#0f2e26; font-weight:600; }
.dl-tabs img{ width:24px; height:24px; }

.dl-panel{ display:none; }
.dl-panel.is-active{ display:block; }

.dl-steps{ padding:100px 0 60px; }
.dl-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:69px 0;
}
.dl-step{ position:relative; text-align:center; padding:0 20px; }
.dl-step .num{
  position:absolute; left:50%; top:-28px; transform:translateX(-50%);
  font-family:var(--font-head); font-size:78px; font-weight:700; line-height:1;
  color:rgba(30,30,30,.06); pointer-events:none;
}
.dl-step .cap{
  position:relative; height:44px; display:flex; align-items:flex-end; justify-content:center;
  font-size:14px; line-height:20px; color:#374151; margin-bottom:22px; padding:0 6px;
}
.dl-step img{ width:168px; height:336px; object-fit:contain; margin:0 auto; }
.dl-step .chev{
  position:absolute; right:-14px; top:56%; width:28px; color:rgba(30,30,30,.18); font-size:26px;
}

/* ---------------- 响应式 ---------------- */
@media (max-width:1199px){
  .dl-tabs .box{ width:100%; }
  .dl-grid{ gap:50px 0; }
  .dl-step img{ width:140px; height:280px; }
  .dl-step .num{ font-size:64px; }
}
@media (max-width:900px){
  .news-row{ height:auto; padding:14px; gap:12px; }
  .news-row .thumb{ width:110px; height:62px; }
  .news-row .info{ padding:0 8px; }
  .news-row h3{ font-size:14px; }
  .news-row .desc{ display:none; }
  .news-row .date .m,.news-row .date .d{ font-size:24px; }
  .news-row .date .y{ font-size:11px; }
  .news-head{ flex-direction:column; align-items:flex-start; gap:14px; }
  .news-head h1{ font-size:22px; }
  .cat-tabs{ gap:6px; flex-wrap:wrap; }
  .cat-tabs a{ height:28px; padding:0 12px; font-size:12px; }
  .detail h1{ font-size:18px; padding:0 16px; }
  .dl-tabs .box{ flex-direction:column; }
  .dl-grid{ grid-template-columns:repeat(2,1fr); gap:40px 0; }
  .dl-step .chev{ display:none; }
  .dl-step img{ width:120px; height:240px; }
  .dl-step .cap{ height:auto; min-height:40px; font-size:12px; }
  .dl-note{ font-size:12px; line-height:22px; padding:12px 16px; }
  .dl-status{ font-size:12px; padding:18px 0 12px; }
  .dl-page .dl-hero{ aspect-ratio:1440/690; }
}


/* ---------------- 文章详情（原站正文结构） ---------------- */
.article-page{padding-top:0;}
.article-page .outer{max-width:1200px;margin:0 auto;padding:0 20px;}
.article-page .article{width:800px;max-width:100%;margin:0 auto;padding:18px 0 70px;}
.article-head{text-align:center;padding:26px 0 24px;}
.article-head h1{font-size:20px;font-weight:600;line-height:1.5;color:#1e1e1e;}
.article-head .pub{font-size:14px;color:#9aa0a6;margin-top:6px;}
.article-body{width:720px;max-width:100%;margin:0 auto;font-size:16px;line-height:1.7;color:#1e1e1e;text-align:left;overflow-wrap:break-word;}
.article-body p{margin:12px 0;}
.article-body img{max-width:100%;height:auto;display:block;margin:12px auto;}
.article-body video{max-width:100%;width:100%;aspect-ratio:16/9;height:auto;background:#000;display:block;margin:16px auto;border-radius:6px;}
.article-body h2{font-size:20px;font-weight:700;margin:18px 0 10px;}
.article-body h3{font-size:18px;font-weight:700;margin:16px 0 8px;}
@media (max-width:900px){
  .article-page .article{padding:8px 16px 50px;}
  .article-head h1{font-size:17px;}
  .article-body{font-size:15px;}
}


/* ---------------- 滚动吸底下载条 ---------------- */
.download-bar.is-sticky{
  position:fixed;left:0;right:0;bottom:0;z-index:98;
  display:none;padding:30px 0 20px;
  background:transparent;transition:background .3s;
  pointer-events:none;
}
.download-bar.is-sticky.is-visible{display:flex;}
.download-bar.is-sticky .download-btns{pointer-events:auto;}
@media (max-width:767px){
  .download-bar.is-sticky{padding:0 0 10px;}
}
