.news_bg {
  width: 19.2rem;
  height: 23.43rem;
  background-image: url('../images/news/article_bg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  box-sizing: border-box;
}

/* 标签页样式 */
.news_tabs {
  display: flex;
  justify-content: left;
  gap: 0.5rem;
  width: 50%;
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
}

.tab {
  position: relative;
  cursor: url('../images/p1/pointer.png'), pointer;
  text-align: center;
}

.tab img {
  width: 1.28rem;
  height: .57rem;
}

.tab img.hover {
  position: absolute;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  top: 0.4rem;
}

.tab:hover img.hover,
.tab.active img.hover {
  opacity: 1;
}

.tab:hover img.normal,
.tab.active img.normal {
  opacity: 0;
}

/* 新闻列表样式 */
.news_list {
  position: absolute;
  top: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  overflow-y: auto;
  max-height: 15rem;
  box-sizing: border-box;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.news_list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.news_list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.news_list li {
  width: 80%;
  min-height: 1.83rem;
  height: auto;
  background-image: url('../images/news/list.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 0.3rem;
  box-sizing: border-box;
  color: #fff;
  font-size: 0.28rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  margin-left: 10%;
}
.news_list li:hover {
  transform: translateX(-80px);
}
.news_list a{
  text-decoration: none;
}
.news_item_title {
  color: #000;
  font-size: 0.28rem;
}

.news_item_content {
  color: #846e5f;
  margin: .15rem 0;
  font-size: 0.18rem;
  word-wrap: break-word;
  word-break: break-all;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news_item_time {
  color: #000;
  text-align: right;
  width: 100%;

}



.news_list li:last-child {
  border-bottom: none;
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.prev, .next {
  padding: 0.2rem 0.4rem;
  border: 1px solid rgba(132, 110, 95, 0.3);
  border-radius: 0.1rem;
  cursor: url('../images/p1/pointer.png'), pointer;
  color: #846e5f;
  font-size: 0.24rem;
}

.prev:hover, .next:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page_numbers {
  display: flex;
  gap: 0.2rem;
}

.page_numbers span {
  width: 0.6rem;
  height: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(132, 110, 95, 0.3);
  border-radius: 0.1rem;
  cursor: url('../images/p1/pointer.png'), pointer;
  color: #846e5f;
  font-size: 0.24rem;
}

.page_numbers span.active {
  background-color: rgba(132, 110, 95, 0.3);
  color: #846e5f;
  border-color: #846e5f;
}

.page_numbers span:hover:not(.active) {
  background-color: rgba(132, 110, 95, 0.1);
}