@charset "utf-8";
/*Npcink

	版本：1.0
	整理：Muze
	帮助：https://www.npc.ink/19686.html
*/

.HomeNewsRecent {
  padding: 64px 0 50px 0;
  background: #fafafa;
}

/*标题*/

.HomeTitle {
  text-align: center;
}
.HomeTitle .title {
  font-size: 30px;
  line-height: 42px;
  font-family: PingFangSC-Medium;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
}
.HomeTitle .title.reverse {
  color: #ffffff;
}
.HomeTitle img {
  margin-top: 16px;
}

/*内容*/

.HomeNewsRecent .new-recents {
  width: 1200px;
  display: flex;
  justify-content: space-between;
  margin: 48px auto 0;
}
.HomeNewsRecent .new-recent-item {
  width: 384px;
  height: 420px;
  position: relative;
  background: #ffffff;
  box-shadow: 0px 4px 24px 0px rgba(220, 220, 220, 0.45);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease-in;
}
.HomeNewsRecent .new-recent-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 4px;
  background: red;
  transition: width 0.2s ease-in;
}
.HomeNewsRecent .new-recent-item:hover {
  transform: translateY(-10px);
}
.HomeNewsRecent .new-recent-item:hover::after {
  width: 100%;
}
.HomeNewsRecent .new-recent-item .img {
  width: 100%;
  height: 218px;
  background-size: cover;
}
.HomeNewsRecent .new-recent-item .title {
  min-height: 50px;
  margin-top: 32px;
  padding: 0 32px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  cursor: pointer;
  font-family: PingFangSC-Medium;
}
.HomeNewsRecent .new-recent-item .title:hover {
  text-decoration: underline;
}
.HomeNewsRecent .new-recent-item .content {
  height: 72px;
  margin-top: 16px;
  padding: 0 32px;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.HomeNewsRecent .more {
  margin-top: 32px;
  text-align: center;
}
.HomeNewsRecent .more-btn {
  width: 160px;
  height: 44px;
  background: linear-gradient(171deg, #ed2642 0%, #ff523b 100%);
  border-radius: 22px;
  padding: 11px;
  font-size: 16px;
  line-height: 22px;
  color: #ffffff;
}
