@charset "utf-8";
/* ============================================================
   新闻动态 · 图文版列表样式
   用法：把本文件内容追加到 css/style.css 末尾，
        或单独引入 <link rel="stylesheet" href="css/news-list.css">
   前缀统一用 nl-，不会与站内既有样式冲突
   ============================================================ */

.nl-wrap {
  width: 1200px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

/* ---------- 单条 ---------- */
.nl-item {
  display: block;
  position: relative;
  padding: 36px 0;
  border-bottom: 1px dashed #cfcfcf;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}
.nl-item::after { content: ""; display: table; clear: both; }

/* 图片 */
.nl-thumb {
  float: left;
  width: 360px;
  height: 225px;
  overflow: hidden;
  border-radius: 4px;
  background: #f2f2f2;
}
.nl-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* 统一裁切，比例一致 */
  border: 0;
  transition: transform .5s ease;
}
.nl-item:hover .nl-thumb img { transform: scale(1.05); }

/* 文字区 */
.nl-body {
  margin-left: 388px;         /* 360 + 28 间距 */
  padding-top: 2px;
}

/* 栏目小标签：仅「行业资讯」保留，放在日期行内，不占标题上方空间 */
.nl-cat {
  display: inline-block;
  margin-right: 10px;
  padding: 0 7px;
  font-size: 12px;
  line-height: 18px;
  color: #ff9900;
  background: #fff8ec;
  border: 1px solid #ffdcae;
  border-radius: 2px;
  vertical-align: 1px;
}

.nl-title {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: normal;
  color: #333;
  transition: color .25s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nl-item:hover .nl-title { color: #ff9900; }

.nl-desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.9;
  color: #777;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nl-meta {
  font-size: 13px;
  color: #999;
  line-height: 20px;
}
.nl-meta span { margin-right: 4px; }
.nl-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 12px;
  background: #ddd;
  vertical-align: -1px;
}
.nl-more {
  font-style: normal;
  color: #bbb;
  transition: color .25s;
}
.nl-item:hover .nl-more { color: #ff9900; }

/* ---------- 无图占位（后台未配图时） ---------- */
.nl-thumb.is-empty {
  position: relative;
  background: #f5f6f8;
}
.nl-thumb.is-empty img { display: none; }
.nl-thumb.is-empty::before {
  content: "德创科技";
  position: absolute;
  left: 0; top: 50%;
  width: 100%;
  margin-top: -12px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 2px;
  color: #c9ccd1;
}

/* ---------- 分页区 ---------- */
.nl-wrap .neiyPag { padding-top: 46px; }

/* ---------- 小屏兜底（站点是 1200 定宽，这里只做保险） ---------- */
@media screen and (max-width: 1240px) {
  .nl-wrap { width: 100%; padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
  .nl-thumb { width: 30%; height: auto; }
  .nl-body { margin-left: 33%; }
}
@media screen and (max-width: 750px) {
  .nl-thumb { float: none; width: 100%; height: 200px; margin-bottom: 16px; }
  .nl-body { margin-left: 0; padding-top: 0; }
  .nl-title { font-size: 17px; }
}
