/* News List */
.news-list-section {
  padding: 80px 0 70px;
  background: white;
}
.news-list-title {
  font-size: var(--big-font-size);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  /* border: 2px solid rgba(0, 19, 47, 0.08); */
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}
.news-card-image {
  width: 100%;
  aspect-ratio: 91/51;
  overflow: hidden;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card-image img {
  transform: scale(1.05);
}
.news-card-body {
  padding: 24px;
  background: #fff;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.news-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  position: relative;
  padding: 1px 8px;
  border-radius: 4px;
}
.news-card-tag::before {
  position: absolute;
  left: -10px;
  top: 0;
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.news-card-tag.tag-blue {
  background: #bae8ff;
  color: #0066FF;
}
.news-card-tag.tag-orange {
  background: transparent;
  color: #FF9500;
}
.news-card-tag.tag-green {
  background: #e1ebd3;
  color: #34C759;
}
.news-card-tag.tag-purple {
  background: #eccffd;
  color: #AF52DE;
}
.news-card-date {
  font-size: 14px;
  color: var(--color-text-lighter);
}
.news-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-more-wrap {
  text-align: center;
  margin-top: 72px;
}
/* 底部分页器：上一页 / 指定页码 / 下一页 */
.news-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 72px;
}
.news-pager-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-pager-page,
.news-pager-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(0, 19, 47, 0.14);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: all 0.25s ease;
}
.news-pager-page:hover,
.news-pager-arrow:not(.is-disabled):hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.news-pager-page.is-current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.news-pager-arrow.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.news-pager-arrow svg {
  flex-shrink: 0;
}
.news-pager-dots {
  min-width: 24px;
  text-align: center;
  color: var(--color-text-lighter);
}
/* 输入指定页码跳转 */
.news-pager-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
}
.news-pager-jump-label {
  font-size: 14px;
  color: var(--color-text-lighter);
  white-space: nowrap;
}
.news-pager-input {
  width: 64px;
  height: 42px;
  padding: 0 8px;
  border: 1px solid rgba(0, 19, 47, 0.14);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: border-color 0.25s ease;
  -moz-appearance: textfield;
  appearance: textfield;
}
.news-pager-input::-webkit-outer-spin-button,
.news-pager-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.news-pager-input:focus {
  border-color: var(--color-primary);
}
.news-pager-jump-btn {
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.news-pager-jump-btn:hover {
  opacity: 0.85;
}
.news-more-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.news-more-link .dots-next-icon{
  transform: rotate(90deg);
}
.news-more-link span {
  font-size: 16px;
  transition: transform 0.3s ease;
}
.news-more-link:hover {
  opacity: 0.8;
}
.news-more-link:hover span {
  transform: translateY(3px);
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-list-title {
    font-size: 28px;
  }
  .news-card-image{
    height: 210px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-pager {
    margin-top: 48px;
    gap: 8px;
  }
  .news-pager-page,
  .news-pager-arrow {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
    border-radius: 8px;
  }
  .news-pager-jump {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 4px;
  }
  .news-pager-input,
  .news-pager-jump-btn {
    height: 38px;
    border-radius: 8px;
  }
  .news-pager-input {
    width: 58px;
    font-size: 14px;
  }
}
