body {
  background-color: #f8f9fa;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  padding-bottom: 0px !important;
}

.container {
  border-radius: 12px;
}

.news-list {
  list-style: none;
  padding: 0;
}

.news-list li {
  padding: 20px 0px 20px 0px;
  border-bottom: 1px dotted #cccccc;
}

.news-item {
  transition: all 0.3s ease;
  padding-left: 0px;
}

.news-item:hover {
  background-color: #f1f1f1;
}

.news-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-link:hover {
  color: inherit;
}

.img-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 180px;
  background-color: #eef2f7;
  background-image: url('http://guest-zhld-com.njmu.s5.bt8.net/zhldok/images/img_fix.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 智能图片处理 */
.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;

}

/* 当没有实际图片时，隐藏img元素，显示背景默认图片 */
.img-container img:not([src]),
.img-container img[src=""] {
  opacity: 0;
  position: absolute;
}

.news-item:hover .news-img {
  transform: scale(1.05);
}

.news-content {
  padding: 0 1.2rem;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: #2c3e50;

}

.news-item:hover .news-title {
  color: #d31212;
}

.news-summary {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.65;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 仅在大屏（≥ lg）时应用 2 行截断 */
@media (min-width: 992px) {
  .news-summary.d-lg-block {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  }
}
.news-date {
  color: #7f8c8d;
  font-size: 0.9rem;

}

.date-icon {
  margin-right: 8px;
  color: #a4a4a4;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .img-container {
    height: 200px;
    margin-bottom: 1rem;
  }

  .container {
    padding-left: 1.8rem;
    padding-right: 1.8rem;
  }

  .news-list li {
    padding-top: 10px;
    padding-bottom: 10px;
  }
.news-title{
   font-size: 1rem;
   line-height: 1.5;
       font-weight:normal;
  }
}
@media (min-width: 768px) {    
  .news-title {
    font-size: 1.15rem;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 0.9rem;
    color: #2c3e50;
   }
}

/* 专题样式 */
.zy {
  font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 10px 20px 10px 20px;
  font-size: 18px;
  line-height: 2;
  color: rgb(255, 255, 255);
  background: #F4670F;
  text-indent: 2em;

}

.zt_bt {
  font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: lighter;
  line-height: 2;
  color: #ffffff;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .zt_bt {
    font-size: 18px;
    color: #f2ff00;
    text-align: center;
    margin: 10px 0 10px 0;
  }
}