/* 新闻中心 */
.news-page {
  --news-blue: #045afe;
  --news-blue-deep: #0849df;
  --news-cyan: #00adff;
  --news-title: #161c2d;
  --news-text: #333;
  --news-muted: #6b707a;
  --news-line: #e2e2e2;
  --news-card-shadow: 0 5px 51px rgba(0, 0, 0, 0.09);
  --news-radius: 4px;
  --news-content-w: 1400px;
  padding-top: 80px;
  background: #fff;
  min-height: 60vh;
}

.news-page a {
  text-decoration: none;
  color: inherit;
}

.news-inner {
  width: 100%;
  max-width: var(--news-content-w);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ========== Banner ========== */
.news-banner {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: linear-gradient(90deg, #f7fafd 0%, #e8f3fc 45%, #dceefb 100%);
  overflow: hidden;
}

.news-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../image/xwzx/banner.png") center right / auto 100% no-repeat;
  pointer-events: none;
}

.news-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 40px 0 60px;
}

.news-banner-text {
  max-width: 560px;
  padding-left: 20px;
}

.news-banner-title {
  position: relative;
  margin: 0 0 24px;
  line-height: 0;
}

.news-banner-title .image_3 {
  display: block;
  width: 505px;
  max-width: 100%;
  height: 177px;
  object-fit: contain;
}

.news-banner-desc {
  margin: 0;
  padding-left: 8px;
  font-size: 22px;
  color: #000;
  line-height: 1.4;
}

/* ========== Main ========== */
.news-main {
  padding: 80px 0 100px;
  background: #fff;
}

.news-section-title {
  margin: 0 0 40px;
  font-size: 40px;
  font-weight: 700;
  color: var(--news-title);
  text-align: center;
  line-height: 1.4;
}

/* Tabs */
.news-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-bottom: 20px;
}

.news-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 36px;
  padding: 0 24px;
  font-size: 18px;
  color: var(--news-text);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.news-tab:hover {
  color: var(--news-blue);
}

.news-tab.active {
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(4, 90, 254, 0.28);
  background: linear-gradient(90deg, #045AFE, #3048FF, #359FFF);
  border-radius: 18px;
}

.news-tabs-line {
  height: 2px;
  background: var(--news-line);
  margin-bottom: 40px;
}

/* ========== Cards ========== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news-card {
  display: flex;
  align-items: stretch;
  gap: 40px;
  min-height: 340px;
  padding: 40px;
  background: #fff;
  box-shadow: var(--news-card-shadow);
  border-radius: var(--news-radius);
  box-sizing: border-box;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.news-card-cover {
  flex: 0 0 470px;
  width: 470px;
  height: 264px;
  overflow: hidden;
  border-radius: 2px;
  background: #f4f4f4;
  box-shadow: 0 1px 24px rgba(212, 212, 212, 0.4);
  align-self: center;
}

.news-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

.news-card-title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: var(--news-text);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.news-card-divider {
  width: 100%;
  height: 2px;
  margin: 12px 0 20px;
  background: #f4f4f4;
  transition: background 0.25s ease;
}

.news-card-desc {
  margin: 0;
  font-size: 18px;
  line-height: 27px;
  color: var(--news-text);
  text-align: justify;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-weight: 400;
  opacity: 0.8;
  transition: color 0.25s ease;
}

.news-card-meta {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 28px;
  gap: 40px;
}

.news-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--news-muted);
  line-height: 1;
  transition: color 0.25s ease;
}

.news-meta-item img,
.news-meta-item i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.news-meta-item .iconfont {
  font-size: 16px;
  color: inherit;
}

.news-card-more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 36px;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(90deg, #0849df, #00adff);
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
}

.news-card-more span {
  color: #fff;
  transition: color 0.25s ease, -webkit-text-fill-color 0.25s ease;
}

/* 悬停：蓝底、文字白、「了解更多」白底 */
.news-card:hover {
  background: linear-gradient(90deg, #004de6 0%, #00a3ff 100%);
  box-shadow: 0 10px 40px rgba(0, 77, 230, 0.28);
}

.news-card:hover .news-card-title,
.news-card:hover .news-card-desc,
.news-card:hover .news-meta-item,
.news-card:hover .news-meta-item .iconfont {
  color: #fff;
}

.news-card:hover .news-card-divider {
  background: rgba(255, 255, 255, 0.3);
}

.news-card:hover .news-card-more {
  background: #fff;
  color: #0849df;
}

.news-card:hover .news-card-more span {
  color: #0849df;
  background: none;
  -webkit-text-fill-color: #0849df;
}

/* ========== Pagination ========== */
.news-pagination {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.news-pagination .articleListPageList,
.news-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 60px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-pagination li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-pagination li a,
.news-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: auto;
  height: 46px;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  color: #666;
  box-sizing: border-box;
  transition: color 0.2s;
  text-decoration: none;
}

.news-pagination li a:hover {
  color: #2078e2;
}

/* 当前页：蓝圈图标（仅当前页占 46×46） */
.news-pagination li.active a,
.news-pagination li.thisclass a,
.news-pagination li.active span,
.news-pagination li.thisclass span {
  width: 46px;
  min-width: 46px;
  color: #2078e2;
  border: none;
  background: url("../image/xwzx/page-active.png") center / 46px 46px no-repeat;
}

/* 上一页 / 下一页：箭头图标（首尾项）设计稿 7×15，与页码同高并居中 */
.news-pagination li:first-child a,
.news-pagination li:last-child a {
  width: 24px;
  min-width: 24px;
  height: 46px;
  padding: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
  overflow: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 7px 15px;
}

.news-pagination li:first-child a {
  background-image: url("../image/xwzx/left.png");
}

.news-pagination li:last-child a {
  background-image: url("../image/xwzx/right.png");
}

.news-pagination li:first-child a:hover,
.news-pagination li:last-child a:hover {
  opacity: 0.85;
}

.news-pagination li.disabled a,
.news-pagination li:first-child a:not([href]) {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* ========== Responsive ========== */
@media (max-width: 1440px) {
  .news-page {
    --news-content-w: 1200px;
  }

  .news-card-cover {
    flex-basis: 400px;
    width: 400px;
    height: 225px;
  }

  .news-card-title {
    font-size: 26px;
  }

  .news-card-desc {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 1100px) {
  .news-banner {
    min-height: 380px;
  }

  .news-banner-inner {
    min-height: 380px;
  }

  .news-banner::before {
    opacity: 0.85;
    background-size: auto 90%;
  }

  .news-card {
    gap: 24px;
    padding: 28px;
    min-height: auto;
  }

  .news-card-cover {
    flex-basis: 320px;
    width: 320px;
    height: 180px;
  }

  .news-card-title {
    font-size: 22px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .news-card-body {
    padding: 0;
  }

  .news-card-meta {
    gap: 20px;
    padding-top: 20px;
  }
}

@media (max-width: 768px) {
  .news-page {
    padding-top: 64px;
  }

  .news-banner {
    min-height: 260px;
  }

  .news-banner-inner {
    min-height: 260px;
    padding: 30px 0;
  }

  .news-banner::before {
    background-position: right -40px center;
    background-size: auto 70%;
    opacity: 0.55;
  }

  .news-banner-text {
    max-width: 70%;
    padding-left: 0;
  }

  .news-banner-title .image_3 {
    width: 260px;
    height: auto;
  }

  .news-banner-desc {
    font-size: 16px;
  }

  .news-main {
    padding: 40px 0 60px;
  }

  .news-section-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .news-tabs {
    gap: 8px 12px;
    justify-content: flex-start;
  }

  .news-tab {
    min-width: auto;
    height: 32px;
    padding: 0 16px;
    font-size: 15px;
  }

  .news-tabs-line {
    margin-bottom: 24px;
  }

  .news-list {
    gap: 20px;
  }

  .news-card {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }

  .news-card-cover {
    width: 100%;
    flex-basis: auto;
    height: 200px;
  }

  .news-card-title {
    font-size: 18px;
  }

  .news-card-desc {
    font-size: 14px;
    line-height: 22px;
    -webkit-line-clamp: 2;
  }

  .news-card-meta {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .news-card-more {
    margin-left: 0;
    margin-top: 4px;
  }

  .news-meta-item {
    font-size: 13px;
  }

  .news-pagination {
    margin-top: 40px;
  }

  .news-pagination ul {
    gap: 8px 16px;
  }

  .news-pagination li a,
  .news-pagination li span {
    height: 36px;
    font-size: 14px;
  }

  .news-pagination li.active a,
  .news-pagination li.thisclass a,
  .news-pagination li.active span,
  .news-pagination li.thisclass span {
    width: 36px;
    min-width: 36px;
    background-size: 36px 36px;
  }

  .news-pagination li:first-child a,
  .news-pagination li:last-child a {
    width: 20px;
    min-width: 20px;
    height: 36px;
    background-size: 7px 15px;
  }
}