@charset "utf-8";

/* 文章列表优化 */
.art-list {
  padding: 8px 0 20px;
}

.art-list .art-item {
  display: flex;
  gap: 28px;
  padding: 28px 8px;
  border-bottom: 1px solid #eee;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.art-list .art-item:hover {
  background: #fff8f7;
}

.art-list .art-cover {
  flex: 0 0 240px;
  width: 240px;
  height: 160px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

.art-list .art-cover a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}

.art-list .art-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.art-list .art-item:hover .art-cover img {
  transform: scale(1.05);
}

.art-list .art-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 8px;
}

.art-list .art-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.art-list .art-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 4px 10px;
  background: #cb0401;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.art-list .art-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.art-list .art-title a {
  color: #222;
  padding: 0 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.art-list .art-title a:hover {
  color: #cb0401;
  text-decoration: none !important;
}

.art-list .art-desc {
  margin: 0;
  color: #777;
  font-size: 14px;
  line-height: 1.8;
  padding: 0;
}

.art-list .art-desc a {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  padding: 0 !important;
  text-decoration: none;
}

.art-list .art-desc a:hover {
  color: #cb0401 !important;
  text-decoration: none !important;
}

.art-list .art-more {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cb0401;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0 !important;
}

.art-list .art-more:hover {
  color: #a50301;
  text-decoration: none !important;
}

.art-list .art-more::after {
  content: "→";
  transition: transform 0.25s ease;
}

.art-list .art-item:hover .art-more::after {
  transform: translateX(4px);
}

/* 图文卡片列表（新闻中心） */
.news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 22px;
  width: 100%;
  margin: 0;
  padding: 10px 0 20px;
}

.news-card {
  width: calc(33.333% - 15px);
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  float: none;
  margin: 0;
}

.news-card:hover {
  border-color: #cb0401;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(203, 4, 1, 0.1);
}

.news-card .nc-cover {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #f3f3f3;
  font-size: 0;
}

.news-card .nc-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-card:hover .nc-cover img {
  transform: scale(1.06);
}

.news-card .nc-date {
  position: absolute;
  left: 0;
  bottom: 0;
  min-width: 64px;
  padding: 8px 10px 6px;
  background: #cb0401;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}

.news-card .nc-date span {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

.news-card .nc-date em {
  display: block;
  font-style: normal;
  font-size: 12px;
  opacity: 0.9;
  margin-top: 2px;
}

.news-card .nc-body {
  padding: 18px 18px 20px;
  height: auto;
  border: 0;
  background: #fff;
}

.news-card .nc-body a {
  display: block;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  padding: 0 0 10px;
  min-height: 48px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-card .nc-body a:hover {
  color: #cb0401;
  text-decoration: none;
}

.news-card .nc-body p {
  margin: 0;
  color: #888;
  font-size: 13px;
  line-height: 1.7;
  padding: 0;
  max-height: 66px;
  overflow: hidden;
}

/* 案例/产品网格封面兜底 */
.zy_ul li img {
  background: #f5f5f5;
  object-fit: cover;
  min-height: 180px;
}

.pagexx ul li.thisclass,
.pagexx ul li.thisclass a,
.pagexx ul li.thisclass a:hover {
  background-color: #cb0401;
  color: #fff;
}

.pagexx ul li a:hover {
  color: #cb0401;
}

@media (max-width: 1100px) {
  .news-card {
    width: calc(50% - 12px);
  }
  .art-list .art-cover {
    flex-basis: 200px;
    width: 200px;
    height: 140px;
  }
}

@media (max-width: 768px) {
  .art-list .art-item {
    flex-direction: column;
    gap: 14px;
  }
  .art-list .art-cover {
    width: 100%;
    flex-basis: auto;
    height: 200px;
  }
  .news-card {
    width: 100%;
  }
}
