.newsPage {
  background: url(/static/images/pc/news-bg.jpg) top center no-repeat;
  background-size: cover;
  width: 100%;
  height: 17.39rem;
  position: relative;
}


.main {
  width: 12rem;
  margin: 2.6rem auto 0;
}
.main .news-title img{
  width: 3.53rem;
  height: 0.57rem;
  object-fit: cover;
}





.news-tab {
  width: 100%;
  margin-top: 0.4rem;
}

.tab-buttons {
display: flex;
    align-items: center;
    position: relative;
    gap: 0.4rem;
}
.tab-buttons::after{
  content: '';
  position: absolute;
      bottom: -0.22rem;
  left: 0;
  width: 100%;
  height: 0.06rem;
  background: url(/static/images/pc/news-border-line.png) no-repeat;
  background-size: cover;
}
.tab-btn {
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn a {
  display: inline-block;
  width: 0.55rem;
  height: 0.26rem;
  background: url(/static/images/pc/index-news-btn.png) no-repeat;
  background-size: cover;
  transition: all 0.3s ease;
}

.tab-btn:nth-child(2) a {
  background-position-y: -0.27rem;
}

.tab-btn:nth-child(3) a {
  background-position-y: -0.54rem;
}

.tab-btn:nth-child(4) a {
  background-position-y: -0.79rem;
}


.tab-btn a:hover {
  display: inline-block;
  width: 0.88rem;
  height: 0.47rem;
  background: url(/static/images/pc/index-news-btn-active.png) no-repeat;
  background-size: cover;
}

.tab-btn:nth-child(2) a:hover {
  background-position-y: -0.47rem;
}

.tab-btn:nth-child(3) a:hover {
  background-position-y: -0.94rem;
}

.tab-btn:nth-child(4) a:hover {
  background-position-y: -1.41rem;
}

.tab-btn.active a {
  display: inline-block;
  width: 0.88rem;
  height: 0.47rem;
  background: url(/static/images/pc/index-news-btn-active.png) no-repeat;
  background-size: cover;
}

.tab-btn.active:nth-child(2) a {
  background-position-y: -0.47rem;
}

.tab-btn.active:nth-child(3) a {
  background-position-y: -0.94rem;
}

.tab-btn.active:nth-child(4) a {
  background-position-y: -1.41rem;
}

.tab-content {
  width: 100%;
  margin: 0.4rem auto 0;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-pane.active {
  display: block;
}



.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 8rem;
  overflow: hidden;
  /* overflow-y: auto;
  scrollbar-width: none; */
}

.news-list li {
  width: 100%;
  height: 0.69rem;
  background: rgba(130, 82, 40, 0.15);
  margin-top: 0.1rem;
  border-radius: 0.05rem;
  line-height: 0.69rem;
}

.news-list li:hover {
  background: rgba(130, 82, 40, 0.3);
}


.news-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #411d03;
  padding: 0 0.2rem;
}

.news-list li a p {
  font-size: 0.16rem;

  line-height: 0.69rem;
}

.news-list li a p:first-child {
  width: 3.6rem;
  overflow: hidden;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-list li a:hover {
  color: #411d03;
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.15rem;
  margin-top: 0.15rem;
}

.page-btn {
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.prev-btn{
width: 1.24rem;
height: 0.47rem;
background: url(/static/images/pc/prev-btn.png) no-repeat;
background-size: cover;
}
.next-btn{
width: 1.24rem;
height: 0.47rem;
background: url(/static/images/pc/next-btn.png) no-repeat;
background-size: cover;
}
.page-btn:hover:not(:disabled) {
   opacity: 0.5;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


