<style>
h3 {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #222;
  margin: 100px 0 80px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

h3 a {
  color: #222;
  text-decoration: none;
  background: none;
}

h3 a:hover {
  color: #222;
  background: none;
  text-decoration: none;
}

.custom-hr {
  border: none;
  border-top: 1px solid #007bff;
  width: 1000px;
  margin: 15px auto;
  border-radius: 5px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto 40px auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
}

.page-btn, .page-number {
  padding: 10px 16px;
  min-width: 40px;
  height: 42px;
  line-height: 42px;
  border-radius: 10px;
  border: 2px solid #007bff;
  background-color: white;
  color: #007bff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  user-select: none;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.page-btn:hover, .page-number:hover {
  background-color: white;
  color: #007bff;
  border-color: #007bff;
  box-shadow: none;
  text-decoration: none;
}

.page-number.active {
  background-color: #0056b3;
  color: white;
  border-color: #003d80;
  cursor: default;
  box-shadow: none;
}

.page-btn:disabled {
  background-color: #e0e0e0;
  border-color: #b0b0b0;
  color: #777;
  cursor: not-allowed;
  box-shadow: none;
}

/* 返回顶部按钮样式 */
/* 返回顶部按钮现在作为内联按钮放进分页区 */
.back-to-top-inline {
  padding: 10px 16px;
  min-width: 40px;
  height: 42px;
  line-height: 42px;
  border-radius: 10px;
  border: 2px solid #007bff;
  background-color: #007bff;
  color: white;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.back-to-top-inline:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  color: white;
}

/* 原浮动的返回顶部按钮禁用 */
.back-to-top {
  display: none;
}


/* 移动端适配 */
@media (max-width: 600px) {
  .pagination {
    gap: 6px;
  }
  .page-btn, .page-number {
    padding: 8px 12px;
    min-width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .custom-hr {
    width: 90%;
  }
  .back-to-top {
    bottom: 60px;
    left: 10px;
    padding: 8px 10px;
    font-size: 14px;
  }
}
</style>
