/* 新闻动态页 */
.m-news-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #f0f5fb;
}
.u-news-banner-bg {
  width: 100%;
  height: 100%;
  background: url('../images/news/news_banner.jpg') center/cover no-repeat;
}
.u-news-banner-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/*新闻列表区*/
.m-news-main {
  padding: 64px 0 96px;
  background: #f7f8fa;
}
.m-news-wrap {
  width: 1200px;
  margin: 0 auto;
}

.m-news-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #eee;
  border-left: 1px solid #eee;
  transition: opacity 0.3s ease;
}
.m-news-list.is-loading {
  opacity: 0.4;
  pointer-events: none;
}

.m-news-item {
  position: relative;
  width: 33.3333%;
  box-sizing: border-box;
  padding: 34px 32px 26px;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: #fff;
  transition: all 0.36s ease;
  animation: newsFadeUp 0.5s ease both;
}
.m-news-item:hover {
  z-index: 2;
  box-shadow: 0 0 37px 0 rgba(0, 0, 0, 0.1);
}

.u-news-card {
  display: block;
  height: 100%;
  text-decoration: none;
  outline: none;
}
.u-news-card:hover,
.u-news-card:hover *,
.u-news-card:focus,
.u-news-card:focus *,
.u-news-card:active {
  text-decoration: none;
}
.u-news-card--static {
  cursor: default;
}

.u-news-date {
  display: flex;
  align-items: baseline;
  height: 48px;
  margin-bottom: 10px;
  color: #666;
  font-family: DINCond-Medium, DINCond, Arial, sans-serif;
  transition: color 0.36s ease;
}
.u-news-date em {
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1;
}
.u-news-date span {
  margin-left: 8px;
  font-size: 14px;
  color: #b0b0b0;
}
.m-news-item:hover .u-news-date {
  color: #222;
}

.u-news-title {
  margin: 0 0 12px;
  height: 52px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: #222;
  text-align: left;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.36s ease;
}
.m-news-item:hover .u-news-title {
  color: #fb4747;
}

.u-news-desc {
  margin: 0 0 20px;
  height: 72px;
  font-size: 14px;
  line-height: 24px;
  color: #999;
  text-align: justify;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.u-news-cover {
  height: 190px;
  margin-bottom: 20px;
  overflow: hidden;
  background: #f2f2f2;
}
.u-news-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.m-news-item:hover .u-news-cover img {
  transform: scale(1.06);
}

.u-news-more {
  display: inline-block;
  width: 100px;
  height: 32px;
  line-height: 30px;
  box-sizing: border-box;
  border: 1px solid #e4e4e4;
  border-radius: 2px;
  background: #fff;
  font-size: 14px;
  color: #b8b8b8;
  text-align: center;
  transition: all 0.36s ease;
}
.m-news-item:hover .u-news-more {
  border-color: #fb4747;
  background: #fb4747;
  color: #fff;
}

@keyframes newsFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 减少动态效果时直接显示内容，不做入场位移 */
@media (prefers-reduced-motion: reduce) {
  .m-news-item {
    animation: none;
  }
}

/*空状态*/
.m-news-empty {
  margin: 96px 0;
  font-size: 16px;
  color: #999;
  text-align: center;
}

/*分页*/
.m-news-pager {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 56px;
}
.m-news-pager:empty {
  margin-top: 0;
}
.u-pager-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid #ededed;
  border-radius: 2px;
  background: #fff;
  font-size: 14px;
  line-height: 36px;
  color: #999;
  text-align: center;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}
.u-pager-btn:hover {
  border-color: #fb4747;
  color: #fb4747;
}
.u-pager-btn.is-active {
  border-color: #fb4747;
  background: #fb4747;
  color: #fff;
}
.u-pager-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  color: #999;
  border-color: #ededed;
}
.u-pager-btn--step {
  padding: 0 14px;
  font-size: 12px;
}
.u-pager-more {
  width: 38px;
  font-size: 14px;
  line-height: 38px;
  color: #999;
  text-align: center;
}