/* ========== 主题变量 ========== */
/* ========== 基础重置 ========== */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html,
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Source Han Sans CN", Arial, sans-serif;
  background: #f6f3ed;
  font-size: 0.08333333rem;
  color: #2b2b2b;
  -webkit-font-smoothing: antialiased;
}
html {
  height: 100%;
}
body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
/* 全屏滚动由 .fullpage-wrap(100vh+overflow:hidden) 控制，html/body 保持可滚动以便露出页脚 */
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}
.container {
  width: 6.875rem;
  margin: 0 auto;
  padding: 0 0.10416667rem;
}
/* ========== 内页公共 ========== */
.inner-main {
  width: 6.875rem;
  margin: 0 auto;
  padding: 0 0.10416667rem 0.3125rem;
}
.page-header {
  padding: 0.1875rem 0 0.14583333rem;
}
.crumb {
  font-size: 0.06770833rem;
  color: #aaa;
  margin-bottom: 0.08333333rem;
}
.crumb a {
  color: #aaa;
  transition: color 0.2s;
}
.crumb a:hover {
  color: #8b2e2e;
}
.crumb .sep {
  margin: 0 0.04166667rem;
  color: #ccc;
}
.crumb .current {
  color: #2b2b2b;
}
.page-title {
  font-size: 0.1875rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}
.page-sub {
  font-size: 0.0625rem;
  color: #c8a97e;
  letter-spacing: 0.02083333rem;
  margin-top: 0.04166667rem;
  text-transform: uppercase;
  font-weight: 500;
}
.page-title-bar {
  width: 0.25rem;
  height: 0.015625rem;
  background: #8b2e2e;
  margin-top: 0.08333333rem;
}
/* 区块标题（带金色短下划线） */
.block-title {
  font-size: 0.11458333rem;
  font-weight: 700;
  color: #8b2e2e;
  padding-bottom: 0.05208333rem;
  margin-bottom: 0.125rem;
  border-bottom: 0.01041667rem solid #c8a97e;
  display: inline-block;
}
.block-title-wrap {
  margin-bottom: 0.125rem;
}
.block-title small {
  font-size: 0.0625rem;
  color: #c8a97e;
  letter-spacing: 0.01041667rem;
  margin-left: 0.05208333rem;
  font-weight: 400;
}
/* 通用红色按钮 */
.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 0.20833333rem;
  padding: 0 0.14583333rem;
  background: #8b2e2e;
  color: #fff;
  font-size: 0.07291667rem;
  letter-spacing: 0.01041667rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-red:hover {
  background: #a33838;
}
/* 分页（圆形） */
.pager-circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.20833333rem 0;
  gap: 0.05208333rem;
}
.pager-circle .page-info {
  position: absolute;
  left: 0;
  font-size: 0.06770833rem;
  color: #aaa;
}
.pager-circle a,
.pager-circle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.20833333rem;
  height: 0.20833333rem;
  border-radius: 50%;
  border: 0.00520833rem solid #ddd;
  font-size: 0.07291667rem;
  color: #666;
  transition: all 0.2s;
}
.pager-circle a:hover {
  border-color: #8b2e2e;
  color: #8b2e2e;
}
.pager-circle .current {
  background: #8b2e2e;
  border-color: #8b2e2e;
  color: #fff;
}
/* ========== 清单页面 ========== */
/* tab 行 —— Grid 6列等宽，填满整行 */
.cata-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.0625rem;
  margin: 0.125rem 0 0.1875rem;
}
.cata-tab {
  box-sizing: border-box;
  padding: 0.05208333rem 0.02083333rem;
  font-size: 0.06770833rem;
  color: #292C29;
  cursor: pointer;
  border: 0.00520833rem solid #DAD5C8;
  background: #F8F6EF;
  transition: all 0.2s;
  border-radius: 0.01041667rem;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
}
.cata-tab.active {
  background: #A53832;
  color: #fff;
  font-weight: 700;
  border-color: #A53832;
}
.cata-tab:hover:not(.active) {
  color: #A53832;
}
/* 介绍 */
.cata-intro {
  background: #FFFDF8;
  border: 0.00520833rem solid #DAD5C8;
  padding: 0.16666667rem 0.1875rem;
  border-radius: 0.02083333rem;
  margin-bottom: 0.1875rem;
}
.cata-intro * {
  margin: 0!important;
  padding: 0!important;
}
.cata-intro p,
.cata-intro div,
.cata-intro section {
  font-size: 0.07291667rem;
  line-height: 2;
  color: #333;
  text-align: justify;
  text-indent: 2em;
  margin-bottom: 0.07291667rem !important;
}
.cata-intro img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.05208333rem auto !important;
  border-radius: 0.02083333rem;
  text-indent: 0;
}
/* 当前 tab 的大标题（介绍区最上方） */
.cata-cur-title {
  font-size: 0.125rem;
  font-weight: 700;
  color: #292C29;
  margin: 0.08333333rem 0 0.125rem;
  border-bottom: none;
}
.cata-cur-title::after {
  content: '';
  display: block;
  width: 0.25rem;
  height: 0.015625rem;
  background: #8b2e2e;
  margin-top: 0.08333333rem;
}
/* 整个 section 块：标题 + 筛选 + 表格 + 分页 — 外边框 + 米底色 */
.cata-section {
  border: 0.00520833rem solid #DAD5C8;
  background: #F8F6EF;
  padding: 0.125rem 0.14583333rem 0.14583333rem;
  border-radius: 0.02083333rem;
  margin-top: 0.16666667rem;
  margin-bottom: 0.1875rem;
}
/* section 内标题 —— 和 .cata-cur-title 字号一致 24/@rem */
.cata-section-title {
  font-size: 0.125rem;
  font-weight: 700;
  color: #292C29;
  padding-left: 0.07291667rem;
  border-left: 0.02083333rem solid #A53832;
  margin-bottom: 0.08333333rem;
  border-bottom: none;
}
.cata-section-title::after {
  display: none;
}
/* 筛选栏 */
.cata-filter {
  margin-bottom: 0.10416667rem;
  padding: 0.08333333rem 0.10416667rem;
  background: #FFFDF8;
  border: 0.00520833rem solid #DAD5C8;
  border-radius: 0.02083333rem;
}
.cata-filter .cf-row {
  display: flex;
  align-items: center;
  gap: 0.0625rem;
  flex-wrap: nowrap;
}
.cata-filter label {
  font-size: 0.06770833rem;
  color: #555;
  white-space: nowrap;
}
.cata-filter select {
  height: 0.16666667rem;
  padding: 0 0.04166667rem;
  border: 0.00520833rem solid #DAD5C8;
  border-radius: 0.01041667rem;
  background: #fff;
  font-size: 0.06770833rem;
  color: #333;
  outline: none;
  cursor: pointer;
  min-width: 0.46875rem;
}
.cata-filter select:focus {
  border-color: #A53832;
}
.cata-filter .cf-right {
  margin-left: auto;
  display: flex;
  gap: 0.05208333rem;
}
.cata-filter .cf-right input[type=text] {
  height: 0.16666667rem;
  padding: 0 0.0625rem;
  border: 0.00520833rem solid #DAD5C8;
  border-radius: 0.01041667rem;
  font-size: 0.06770833rem;
  width: 1.04166667rem;
  outline: none;
  background: #fff;
}
.cata-filter .cf-right input[type=text]:focus {
  border-color: #A53832;
}
.cata-filter .cf-right button {
  height: 0.16666667rem;
  padding: 0 0.125rem;
  background: #A53832;
  color: #fff;
  border: none;
  border-radius: 0.01041667rem;
  font-size: 0.06770833rem;
  cursor: pointer;
}
.cata-filter .cf-right button:hover {
  background: #8a2e29;
}
/* 表格 */
.cata-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 0.00520833rem solid #DAD5C8;
  border-radius: 0.02083333rem;
  overflow: hidden;
}
.cata-table th,
.cata-table td {
  padding: 0.10416667rem 0.10416667rem;
  font-size: 0.07291667rem;
  color: #333;
  text-align: center;
  border-bottom: 0.00520833rem solid #ece7da;
}
.cata-table thead th {
  background: #21342F;
  font-weight: 600;
  color: #fff;
  border-bottom: none;
  font-size: 0.07291667rem;
  letter-spacing: 0.00520833rem;
}
.cata-table tbody tr {
  background: #FFFDF8;
}
.cata-table tbody tr:nth-child(even) {
  background: #F8F4EA;
}
.cata-table tbody tr:hover {
  background: #F0EADB;
}
.cata-table tbody tr:last-child td {
  border-bottom: none;
}
.cata-table tbody tr.clickable-row {
  cursor: pointer;
}
.cata-table .row-link {
  color: #333;
  text-decoration: none;
}
.cata-table .row-link:hover {
  color: #A53832;
}
/* 分页 */
.pager-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.125rem;
}
.pager-info {
  font-size: 0.06770833rem;
  color: #9b9689;
}
.pager-btns {
  display: flex;
  gap: 0.05208333rem;
}
.pager-btns a {
  width: 0.1875rem;
  height: 0.1875rem;
  line-height: 0.17708333rem;
  text-align: center;
  display: inline-block;
  border-radius: 50%;
  border: 0.00520833rem solid #DAD5C8;
  background: #fff;
  color: #555;
  font-size: 0.07291667rem;
  text-decoration: none;
  cursor: pointer;
}
.pager-btns a.active {
  background: #A53832;
  color: #fff;
  border-color: #A53832;
  font-weight: 700;
}
.pager-btns a.disabled {
  background: #f3f0e8;
  color: #bbb;
  cursor: not-allowed;
  pointer-events: none;
}
.pager-btns a:hover:not(.active):not(.disabled) {
  border-color: #A53832;
  color: #A53832;
}
