@charset "utf-8";
/* ==========================================================================
   2026 版 PC 端样式
   设计语言与移动端统一（主色 #449ffa / 强调 #ff6666 / 卡片圆角 / 虚线分隔）
   框架宽度 1200px：主内容区 860 + 间距 40 + 侧栏 300
   ========================================================================== */

/* ---------- 基础 ---------- */
html, body { background: #f5f6f7; }
html { scrollbar-gutter: stable; }
body {
  margin: 0; padding: 0;
  color: #333;
  font: 14px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: #333; text-decoration: none; }
a:hover { color: #449ffa; text-decoration: none; }
img { border: 0; -ms-interpolation-mode: bicubic; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
i, em { font-style: normal; }
.clearfix:after { content: ""; display: block; clear: both; }
.s-wrap { width: 1200px; margin: 0 auto; position: relative; }

/* ---------- 顶部 Header ---------- */
#header.s-header { background: #fff; border-bottom: 1px solid #eee; }
.s-header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.s-logo { display: block; }
.s-logo img { display: block; height: 44px; width: auto; }
.s-header-right { display: flex; align-items: center; }
.s-header-search { display: flex; align-items: center; width: 340px; height: 38px; border: 2px solid #449ffa; border-radius: 19px; overflow: hidden; background: #fff; }
.s-header-search input.s-k { flex: 1; height: 34px; border: 0; outline: 0; font-size: 14px; color: #333; padding: 0 14px; background: transparent; }
.s-header-search button.s-go { width: 72px; height: 34px; border: 0; background: #449ffa; color: #fff; font-size: 14px; cursor: pointer; border-radius: 0 17px 17px 0; }
.s-header-search button.s-go:hover { background: #379be9; }

/* ---------- 导航 ---------- */
#nav.s-nav { background: #449ffa; }
.s-nav-inner { width: 1200px; margin: 0 auto; }
#nav.s-nav ul { display: flex; }
#nav.s-nav ul li { position: relative; }
#nav.s-nav ul li a {
  display: block; padding: 0 26px; height: 46px; line-height: 46px;
  color: #fff; font-size: 15px;
}
#nav.s-nav ul li a:hover, #nav.s-nav ul li.current a { background: #379be9; color: #fff; }

/* ---------- 面包屑 ---------- */
.s-crumb { padding: 16px 0 12px; font-size: 13px; color: #999; }
.s-crumb a { color: #666; }
.s-crumb a:hover { color: #449ffa; }
.s-crumb em { color: #449ffa; font-style: normal; }

/* ---------- 主栅格 1200 ---------- */
#main.s-main { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 30px; }
.s-main-left { width: 860px; }
.s-main-right { width: 300px; }

/* ---------- 通用卡片 ---------- */
.s-card { background: #fff; border-radius: 6px; margin-bottom: 20px; overflow: hidden; }
.s-card-t { position: relative; height: 46px; line-height: 46px; padding: 0 16px; border-bottom: 1px solid #f0f0f0; }
.s-card-t:before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: #449ffa; }
.s-card-t h2, .s-card-t h3 { margin: 0; font-size: 17px; font-weight: 600; color: #333; float: left; }
.s-card-t .s-more { float: right; font-size: 13px; color: #999; font-weight: normal; }
.s-card-t .s-more:hover { color: #449ffa; }
.s-card-b { padding: 12px 16px; }

/* ---------- 首页：焦点区 ---------- */
.s-focus { display: flex; background: #fff; border-radius: 6px; overflow: hidden; margin-bottom: 20px; }
.s-slider { width: 620px; height: 340px; position: relative; overflow: hidden; background: #eef1f4; }
.s-slider ul { position: relative; }
.s-slider li { position: relative; float: left; width: 620px; height: 340px; }
.s-slider li a { display: block; width: 100%; height: 100%; }
.s-slider li img { width: 620px; height: 340px; object-fit: cover; }
.s-slider-mask {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px;
  background: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.62));
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.62));
}
.s-slider-mask p { margin: 0; color: #fff; font-size: 17px; line-height: 1.5; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.s-slider-dots { position: absolute; right: 14px; bottom: 10px; z-index: 5; }
.s-slider-dots i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); margin-left: 6px; cursor: pointer; }
.s-slider-dots i.on { background: #fff; }

.s-focus-side { width: 240px; padding: 0 14px; }
.s-focus-side .s-fs-t { height: 46px; line-height: 46px; font-size: 16px; font-weight: 600; color: #333; border-bottom: 1px solid #f0f0f0; position: relative; }
.s-focus-side .s-fs-t:before { content: ""; position: absolute; left: 0; bottom: -1px; width: 42px; height: 3px; background: #449ffa; }
.s-focus-side ul li {
  height: 38px; line-height: 38px; border-bottom: 1px dashed #eee;
  font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.s-focus-side ul li a { color: #555; }
.s-focus-side ul li a:hover { color: #449ffa; }
.s-focus-side ul li i { display: inline-block; min-width: 20px; height: 20px; line-height: 20px; text-align: center; background: #eef1f4; color: #999; font-size: 12px; border-radius: 3px; margin-right: 8px; padding:0 3px }
.s-focus-side ul li:nth-child(-n+3) i { background: #ff6666; color: #fff; }

/* ---------- 首页：分类卡片区 ---------- */
.s-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.s-cat-card .s-card-b { padding: 14px 16px 6px; }
.s-cat-top { display: flex; margin-bottom: 10px; }
.s-cat-top a.s-cat-img { display: block; width: 150px; height: 100px; flex-shrink: 0; margin-right: 12px; border-radius: 4px; overflow: hidden; }
.s-cat-top a.s-cat-img img { width: 150px; height: 100px; object-fit: cover; }
.s-cat-tx { flex: 1; overflow: hidden; }
.s-cat-tx h4 { margin: 0 0 6px; font-size: 15px; line-height: 1.45; font-weight: 600; }
.s-cat-tx h4 a { color: #333; }
.s-cat-tx h4 a:hover { color: #449ffa; }
.s-cat-tx p { margin: 0; font-size: 12px; line-height: 19px; color: #888; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-cat-list li {
  position: relative; height: 32px; line-height: 32px; padding-left: 14px;
  font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.s-cat-list li:before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: #449ffa; }
.s-cat-list li a { color: #555; }
.s-cat-list li a:hover { color: #449ffa; }

/* ---------- 首页：热门标签 ---------- */
.s-tags a {
  display: inline-block; background: #f3f4f6; color: #555; font-size: 13px;
  padding: 5px 13px; border-radius: 15px; margin: 0 8px 9px 0;
}
.s-tags a:hover { background: #449ffa; color: #fff; }

/* ---------- 列表页：图文列表 ---------- */
.s-list-item { display: flex; padding: 16px; border-bottom: 1px dashed #eee; }
.s-list-item:last-child { border-bottom: 0; }
.s-list-item a.s-li-img { display: block; width: 150px; height: 100px; flex-shrink: 0; margin-right: 16px; border-radius: 4px; overflow: hidden; }
.s-list-item a.s-li-img img { width: 150px; height: 100px; object-fit: cover; }
/* 图片链接 hover 缓慢放大 */
.s-list-item a.s-li-img img, .s-cat-top a.s-cat-img img { transition: transform .45s ease; }
.s-list-item a.s-li-img:hover img, .s-cat-top a.s-cat-img:hover img { transform: scale(1.08); }
.s-li-r { flex: 1; overflow: hidden; }
.s-li-t { display: block; font-size: 17px; font-weight: 600; color: #333; line-height: 1.4; margin: 2px 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.s-li-t:hover { color: #449ffa; }
.s-li-d { font-size: 13px; color: #888; line-height: 20px; height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.s-li-meta { margin-top: 8px; font-size: 12px; color: #aaa; }
.s-li-meta a.s-li-cat { color: #449ffa; margin-right: 14px; }
.s-li-meta span { margin-right: 14px; }

/* ---------- 分页 ---------- */
.s-pagination { text-align: center; padding: 22px 0 6px; }
.s-pagination a, .s-pagination span {
  display: inline-block; min-width: 34px; height: 34px; line-height: 34px;
  padding: 0 11px; margin: 0 4px; border-radius: 4px; font-size: 14px;
  border: 1px solid #ddd; background: #fff; color: #666;
}
.s-pagination a:hover { background: #449ffa; border-color: #449ffa; color: #fff; }
.s-pagination span.current, .s-pagination .pageinfo, .s-pagination span.thisclass {
  background: #379be9; border-color: #379be9; color: #fff;
}

/* ---------- 内容页 ---------- */
.s-article { padding: 26px 30px 20px; }
.s-art-t { margin: 0 0 12px; font-size: 27px; line-height: 1.45; color: #222; text-align: center; font-weight: 700; }
.s-art-meta { text-align: center; font-size: 13px; color: #999; margin-bottom: 18px; }
.s-art-meta a { color: #449ffa; }
.s-art-meta span { margin: 0 12px; }
.s-art-sum {
  background: #ebf5fd; border-left: 3px solid #70b8f0;
  padding: 12px 16px; font-size: 14px; line-height: 24px; color: #444;
  border-radius: 0 4px 4px 0; margin-bottom: 20px;
}
#content { font-size: 16px; line-height: 30px; color: #333; word-break: break-word; overflow: hidden; }
#content p { margin: 0 0 16px; text-align: justify; }
#content a { color: #1b78d6; }
#content a:hover { color: #ff6666; }
#content img { max-width: 100%; height: auto; display: block; margin: 12px auto; border-radius: 4px; }
#content h2 {
  background: #6FA8DC; font-size: 20px; padding: 8px 16px; margin: 22px 0 14px;
  color: #fff; border-radius: 0 20px 20px 0; font-weight: 600;
}
#content h3 {
  position: relative; margin: 20px 0 12px; color: #479ac1; background: #f1f7fd;
  border: 1px solid #cae0f3; border-left: 2px solid #479ac1; padding: 8px 14px;
  font-size: 17px; font-weight: 600; border-radius: 5px;
}
#content h4 {
  color: #535e67; margin: 18px 0 10px; border-radius: 6px; padding: 8px 14px;
  background: #eef2f3; font-size: 16px;
}
#content h5, #content h6 { margin: 16px 0 8px; color: #222; font-size: 15px; }
#content ul, #content ol { margin: 0 0 16px 26px; }
#content li { list-style: disc; margin: 5px 0; }
#content blockquote {
  border-left: 3px solid #74cde6; background: #f4f9fb; padding: 10px 16px;
  margin: 14px 0; color: #555; border-radius: 0 4px 4px 0;
}
#content blockquote p { margin: 0; }
#content table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
#content table th, #content table td { border: 1px solid #C1DAD7; padding: 8px 10px; line-height: 24px; }
#content table th { background: #CAE8EA; font-weight: 600; }
#content table tr:nth-child(even) { background: #f5fafa; }
#content pre, #content code { font-family: Consolas, Monaco, "Courier New", monospace; }
#content pre { background: #fcfcfc; color: #333; font-size: 14px; padding: 12px 14px; line-height: 24px; overflow-x: auto; border-radius: 4px; border-left: 3px solid #6ce26c; }
#content strong { font-weight: 700; }

/* 内容页标签 */
.s-art-tags { border-top: 1px dashed #eee; margin-top: 10px; padding: 14px 0 4px; }
.s-art-tags a {
  display: inline-block; background: #f3f4f6; color: #555; font-size: 13px;
  padding: 4px 12px; border-radius: 13px; margin: 0 8px 8px 0;
}
.s-art-tags a:hover { background: #449ffa; color: #fff; }

/* 上一篇 / 下一篇 */
.s-prevnext { display: flex; gap: 24px; border-top: 1px dashed #eee; padding: 14px 0 0; margin-top: 10px; }
.s-prevnext a { flex: 1; font-size: 14px; color: #555; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.s-prevnext a b { color: #449ffa; font-weight: normal; margin-right: 6px; }
.s-prevnext a:hover { color: #449ffa; }

/* 相关文章 */
.s-rel-list li { display: flex; padding: 12px 0; border-bottom: 1px dashed #eee; }
.s-rel-list li:last-child { border-bottom: 0; }
.s-rel-list a.s-rel-img { display: block; width: 150px; height: 100px; flex-shrink: 0; margin-right: 14px; border-radius: 4px; overflow: hidden; }
.s-rel-list a.s-rel-img img { width: 150px; height: 100px; object-fit: cover; }
.s-rel-list a.s-rel-img img { transition: transform .45s ease; }
.s-rel-list a.s-rel-img:hover img { transform: scale(1.08); }
.s-rel-r { flex: 1; overflow: hidden; }
.s-rel-r h4 { margin: 0 0 6px; font-size: 15px; line-height: 1.45; font-weight: 600; }
.s-rel-r h4 a { color: #333; }
.s-rel-r h4 a:hover { color: #449ffa; }
.s-rel-r p { margin: 0; font-size: 12px; line-height: 19px; color: #888; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-rel-meta { margin-top: 6px; font-size: 12px; color: #aaa; }

/* ---------- 侧栏 ---------- */
.s-rank li { height: 34px; line-height: 34px; font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.s-rank li a { color: #555; }
.s-rank li a:hover { color: #449ffa; }
.s-rank li em { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; text-align: center; background: #eef1f4; color: #999; font-size: 12px; border-radius: 3px; margin-right: 8px; font-style: normal; }
.s-rank li:nth-child(-n+3) em { background: #ff6666; color: #fff; }
.s-link-list li { height: 32px; line-height: 32px; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.s-link-list li a { color: #555; }
.s-link-list li a:hover { color: #449ffa; }

/* ---------- 下载详情页侧栏（复用 soft.css 的 .main-Left 作用域） ---------- */
.s-main-right.main-Left { width: 300px; float: none; position: static; }
.s-main-right.main-Left #sidebar { width: auto; float: none; padding: 0; background: transparent; }
.s-main-right .xgtj-list, .s-main-right .zjgx-list { border-radius: 6px; }
.s-main-right .zjbb-list { border-radius: 6px; }
.s-main-right .side-box { border-radius: 6px; }

/* ---------- 下载列表页 ---------- */
.s-card .subcatec { padding: 4px 2px 8px; }
.s-card .list_soft { padding-top: 6px; }
.s-card .list_soft li { width: 23%; }
.s-card .s-pagination { clear: both; }

/* ---------- 页脚 ---------- */
#footer.s-footer { background: #fff; border-top: 1px solid #eee; margin-top: 10px; padding: 26px 0 30px; text-align: center; font-size: 13px; color: #888; }
#footer.s-footer a { color: #666; }
#footer.s-footer a:hover { color: #449ffa; }
#footer.s-footer p { margin: 4px 0; }

/* ---------- 返回顶部 ---------- */
.s-backtop {
  position: fixed; right: calc(50% - 654px); bottom: 110px; z-index: 999;
  width: 44px; height: 44px; line-height: 44px; text-align: center;
  background: #449ffa; color: #fff; font-size: 20px; border-radius: 6px;
  display: none; box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: pointer;
}
.s-backtop:hover { background: #379be9; color: #fff; }
.s-backtop.show { display: block; }

/* ---------- 移动端适配兜底（平板以下降级为单栏） ---------- */
@media (max-width: 1200px) {
  .s-wrap, .s-nav-inner { width: 100%; padding: 0 10px; box-sizing: border-box; }
  #main.s-main { display: block; }
  .s-main-left, .s-main-right { width: 100%; }
  .s-focus { display: block; }
  .s-slider, .s-slider li, .s-slider li img { width: 100%; height: 320px; }
  .s-focus-side { width: auto; }
  .s-backtop { right: 10px; }
}
