/* 资讯中心（前台展示栏目） */
.news-page {
  padding: 60px 0;
}
.news-cats {
  margin-bottom: 20px;
}
.news-cat {
  float: left;
  margin: 0 12px 10px 0;
  padding: 6px 18px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: all 0.2s;
}
.news-cat:hover {
  border-color: #488bff;
  color: #488bff;
}
.news-cat.on {
  background: #488bff;
  border-color: #488bff;
  color: #fff;
}
.news-item {
  padding: 18px 20px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.news-item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.news-item .news-cat-badge {
  display: inline-block;
  padding: 1px 8px;
  margin-right: 8px;
  background: #eaf2ff;
  color: #488bff;
  border-radius: 3px;
  font-size: 12px;
  vertical-align: 2px;
}
.news-item .news-title {
  display: inline;
  color: #333;
  font-size: 17px;
  font-weight: 700;
}
.news-item .news-meta {
  margin-top: 10px;
  color: #999;
  font-size: 12px;
}
.news-item .news-meta span {
  margin-right: 16px;
}
.news-item .news-summary {
  margin-top: 8px;
  color: #777;
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.news-item .news-thumb {
  float: right;
  width: 120px;
  height: 80px;
  margin: 4px 0 0 16px;
  object-fit: cover;
  border-radius: 4px;
}
.news-empty {
  padding: 60px 0;
  color: #999;
  font-size: 15px;
}

/* 降级提示 */
.news-tip {
  margin-bottom: 14px;
  padding: 10px 14px;
  background: #fff7e6;
  border: 1px solid #ffe7ba;
  border-radius: 4px;
  color: #d48806;
  font-size: 13px;
}

/* 分页 */
.news-pager {
  margin-top: 26px;
}
.news-pager .pg-btn {
  padding: 7px 20px;
  margin: 0 6px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}
.news-pager .pg-btn:hover:not([disabled]) {
  border-color: #488bff;
  color: #488bff;
}
.news-pager .pg-btn[disabled] {
  color: #ccc;
  cursor: not-allowed;
}
.news-pager .pg-info {
  margin: 0 10px;
  color: #888;
  font-size: 14px;
}

/* 详情模态 */
.zhy-news-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
}
.zhy-news-modal.on {
  display: block;
}
.zhy-news-modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  max-width: 92vw;
  max-height: 86vh;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.zhy-news-modal-head {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.zhy-news-modal-head .m-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  padding-right: 30px;
}
.zhy-news-modal-head .m-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  font-size: 22px;
  color: #999;
}
.zhy-news-modal-head .m-close:hover {
  color: #333;
}
.zhy-news-modal-body {
  padding: 16px 20px 24px;
  overflow-y: auto;
}
.zhy-news-modal-body .m-meta {
  color: #999;
  font-size: 12px;
  margin-bottom: 14px;
}
.zhy-news-modal-body .m-content {
  color: #444;
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}
.zhy-news-modal-body .m-images {
  margin-top: 16px;
}
.zhy-news-modal-body .m-images img {
  max-width: 100%;
  margin-bottom: 10px;
  border-radius: 4px;
  display: block;
}
