/* ========== 重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; }
body {
  font-family: "Microsoft YaHei", "微软雅黑", "宋体", Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { border: 0; max-width: 100%; display: block; }
h1, h2, h3, h4 { font-weight: normal; }

/* ========== 顶部导航 ========== */
.site-header {
  position: fixed;
  z-index: 99999;
  top: 0; left: 0; right: 0;
  height: 76px;
  background: url("https://dev-x-1256885213.cos.ap-shanghai.myqcloud.com/sanli/sanlichuf_tophent02.png") center top no-repeat;
  background-size: auto 76px;
}
.header-inner {
  width: 1400px;
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.nav { display: flex; align-items: center; }
.nav-item {
  display: inline-block;
  width: 100px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  line-height: 76px;
  cursor: pointer;
  transition: color .2s;
}
.nav-item:hover, .nav-item.active { color: #009fd2 !important; }

/* ========== 底部 ========== */
.site-footer {
  height: 50px;
  background: #000;
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-link { color: #fff; cursor: pointer; }
.footer-link:hover { color: #009fd2; }

/* ========== 通用容器 ========== */
.container { width: 1400px; margin: 0 auto; }

/* 子页顶部 banner */
.page-banner { height: 400px; background-position: center top; background-repeat: no-repeat; background-size: cover; }

/* 子页内容区 */
.page-body { width: 1400px; min-height: 80vh; margin: 0 auto; padding: 20px; display: flex; }

/* ========== 侧边分类（产品/案例） ========== */
.type-side { width: 120px; flex-shrink: 0; }
.type-item {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-bottom: 1px dashed #999;
  color: #333;
  transition: all .2s;
}
.type-item:hover, .type-item-active { color: #fff; background: #009fd2; }

/* 列表主区 */
.list-main { flex: 1; }
.list-wrap { display: flex; flex-wrap: wrap; min-height: 400px; padding: 20px; }
.card-item { display: flex; margin-bottom: 20px; cursor: pointer; width: 33.33%; }
.card-item .card-inner { width: 400px; margin: 0 auto; }
.card-item .card-img { width: 400px; height: 200px; object-fit: contain; }
.card-item .card-name { font-size: 20px; text-align: center; margin-top: 20px; }

/* 空数据 */
.empty { width: 400px; margin: 40px auto; text-align: center; }
.empty img { width: 400px; display: block; margin: 0 auto; }
.empty .empty-text { margin-top: 20px; font-size: 16px; color: #666; }

/* ========== 分页 ========== */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 20px; }
.pager-info { color: #666; margin-right: 12px; }
.pager-btn {
  min-width: 36px; height: 32px; padding: 0 10px;
  border: 1px solid #dcdfe6; background: #fff; color: #606266;
  cursor: pointer; border-radius: 3px; font-size: 13px;
}
.pager-btn:hover { color: #009fd2; border-color: #009fd2; }
.pager-btn.active { background: #009fd2; color: #fff; border-color: #009fd2; }
.pager-btn.disabled { color: #c0c4cc; cursor: not-allowed; background: #f5f7fa; }
.pager-btn.disabled:hover { color: #c0c4cc; border-color: #dcdfe6; }

/* ========== 新闻列表（文字行样式，复刻原站） ========== */
.news-row { display: flex; align-items: center; font-size: 20px; font-family: '宋体'; line-height: 44px; border-bottom: 1px solid #eee; cursor: pointer; padding: 0 10px; transition: color .2s; }
.news-row:hover { color: #999; }
.news-row-title { flex: 1; }
.news-row-date { color: #999; font-size: 16px; }

/* ========== 新闻列表 ========== */
.news-list { padding: 20px 0; }
.news-item {
  display: flex; padding: 25px 0; border-bottom: 1px solid #eee; cursor: pointer;
}
.news-item:hover .news-item-title { color: #009fd2; }
.news-item-cover { width: 240px; height: 150px; object-fit: cover; flex-shrink: 0; margin-right: 30px; }
.news-item-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.news-item-title { font-size: 20px; color: #333; font-weight: bold; transition: color .2s; }
.news-item-meta { margin-top: 12px; color: #999; font-size: 13px; }
.news-item-meta span { margin-right: 20px; }
.news-item-desc { margin-top: 12px; color: #666; font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ========== 详情页 ========== */
.detail-wrap { width: 1200px; margin: 0 auto; padding: 40px 20px; min-height: 80vh; }
.detail-title { font-size: 30px; text-align: center; color: #222; }
.detail-meta { text-align: center; color: #999; font-size: 13px; margin-top: 15px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.detail-meta span { margin: 0 10px; }
.detail-content { margin-top: 30px; font-size: 15px; line-height: 1.9; color: #444; }
.detail-content img { max-width: 100%; height: auto; margin: 15px auto; }
.detail-content p { margin-bottom: 15px; }

/* 产品/案例详情图册 */
.detail-gallery { margin-top: 20px; }
.detail-gallery img { width: 500px; display: inline-block; margin: 0 10px 10px 0; vertical-align: top; }
.detail-back { display: inline-block; margin: 30px 0; color: #009fd2; cursor: pointer; }

/* ========== 招聘 ========== */
.recruit-list { padding: 20px 0; }
.recruit-item { border: 1px solid #eee; padding: 20px 25px; margin-bottom: 15px; border-radius: 4px; transition: box-shadow .2s; }
.recruit-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.recruit-head { display: flex; justify-content: space-between; align-items: center; }
.recruit-post { font-size: 20px; font-weight: bold; color: #222; }
.recruit-treatment { font-size: 16px; color: #009fd2; }
.recruit-type { display: inline-block; margin-top: 8px; padding: 2px 10px; background: #ecf8ff; color: #009fd2; border-radius: 3px; font-size: 12px; }
.recruit-info { margin-top: 12px; color: #666; font-size: 14px; line-height: 1.8; }

/* ========== 静态内容页（关于/联系） ========== */
.static-wrap { width: 1200px; margin: 0 auto; padding: 40px 20px; min-height: 80vh; font-size: 15px; line-height: 1.9; color: #444; }
.static-wrap h2 { font-size: 24px; color: #222; margin-bottom: 20px; }
.zz-item { float: left; margin-bottom: 20px; margin-right: 20px; }

/* ========== 404 ========== */
.not-found { padding: 120px 0; text-align: center; min-height: 70vh; }
.not-found .nf-title { font-size: 10em; font-weight: 400; color: rgb(55,71,79); margin: 20px 0 15px; }
.not-found .nf-desc { font-size: 26px; color: rgb(118,131,143); margin-bottom: 30px; }
.not-found .nf-desc em { font-style: normal; color: #ee8145; }
.not-found .nf-btn { display: inline-block; padding: 10px 24px; border: 1px solid #dcdfe6; color: #606266; border-radius: 4px; margin: 0 10px; cursor: pointer; font-size: 14px; }
.not-found .nf-btn.primary { background: #009fd2; color: #fff; border-color: #009fd2; }
