/* 主体内容 */
.main {
  padding: 40px 0 60px;
}

.container {
  width: 1200px;
  margin: 0 auto;
}

/* 新闻中心标题 */
.news-title {
  margin-bottom: 48px;
}

.news-title h2 {
  font-size: 32px;
  font-weight: 600;
  color: #7c1419;
  line-height: 1.4;
  margin-bottom: 8px;
}

.title-line {
  width: 64px;
  height: 6px;
  background-color: #7c1419;
}

/* 新闻轮播 */
.news-carousel {
  position: relative;
  width: 100%;
  height: 640px;
  /* margin: 0 auto 60px; */
  overflow: visible;
}

.swiper {
  width: 100%;
  height: 600px;
  overflow: visible;
}

.swiper-slide {
  width: 800px !important;
  transition: transform 0.3s ease;
  opacity: 0.6;
  transform: scale(0.9);
}

.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.carousel-item {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 8px;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 28px;
  background: linear-gradient(
    180deg,
    rgba(65, 0, 3, 0) 0%,
    rgba(65, 0, 3, 1) 100%
  );
}

.carousel-caption h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* Swiper 按钮样式自定义 */
.swiper-button-prev,
.swiper-button-next {
  width: 120px;
  height: 120px;
  margin-top: -60px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/* 分页器样式 */
.carousel-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.swiper-pagination {
  position: static !important;
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 16px;
}

.swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  background: #cccccc !important;
  opacity: 1 !important;
  margin: 0 !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  width: 60px !important;
  height: 8px !important;
  border-radius: 4px !important;
  background: #7c1419 !important;
}

.swiper-button-prev {
  left: 50px;
}

.swiper-button-next {
  right: 50px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 1;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  display: none;
}

.swiper-button-prev img,
.swiper-button-next img {
  width: 100%;
  height: 100%;
}

/* Swiper 分页器样式自定义 */
.swiper-pagination {
  bottom: 30px !important;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ccc;
  opacity: 1;
  margin: 0 4px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #7c1419;
  transform: scale(1.2);
}

/* 新闻列表 */
.news-list {
  margin-bottom: 40px;
}

.news-item {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid #ccc;
  transition: all 0.3s ease;
}
.wp_paging{
font-size: 20px;
}

.wp_paging li input{
width: 48px;
    height: 30px;
    margin-top: 0px
}

div#wp_paging_w02 {
    display: flex;
    align-items: center;
    /* width: 100%; */
    justify-content: center;
    margin-top: 32px;
}

.news-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.1);
}

.news-image {
  width: 480px;
  height: 270px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.news-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 174px;
  background: linear-gradient(
    180deg,
    rgba(65, 0, 3, 0) 0%,
    rgba(65, 0, 3, 1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-item:hover .news-image::after {
  opacity: 0;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 4px;
}
.news-meta {
  margin-bottom: 8px;
}

.news-date {
  font-size: 20px;
  font-weight: 500;
  color: #333;
}

.news-type-wrapper {
  margin-bottom: 16px;
 display: none;
}

.news-type {
  display: inline-block;
  font-size: 16px;
  font-weight: 400;
  color: #999;
  line-height: 22px;
}

.news-content h3.news-title {
  font-size: 24px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  margin: 20px 0;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-item:hover .news-title {
  color: #7c1419;
}

.news-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.875;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 22px;
  align-items: center;
  font-size: 20px;
  /* color: #333; */
  color: #666;
}

.page-info {
  display: flex;
  gap: 26px;
}

.page-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.page-link {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-link:hover:not(.disabled) {
  color: #7c1419;
}

.page-link.disabled {
  color: #999;
  cursor: not-allowed;
}

.page-current {
  /* color: #333; */
}

.page-goto {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-input {
  width: 48px;
  height: 34px;
  border: 1px solid #999;
  border-radius: 4px;
  text-align: center;
  font-size: 20px;
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-title,
.news-carousel,
.news-item {
  animation: fadeIn 0.8s ease forwards;
}
