/* ========== 主题变量 ========== */
/* ========== 基础重置 ========== */
* {
  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;
}
/* ========== 机构页 ========== */
body.agency-page {
  background: #F8F6EF;
}
/* page-header 底部：通栏灰色延长线 */
.agency-page .page-header {
  position: relative;
  padding-bottom: 0.09375rem;
  border-bottom: 0.00520833rem solid #DAD5C8;
}
/* 红色短横线压在灰色底线上（前 48/@rem） */
.agency-page .page-title-bar {
  position: absolute;
  bottom: -0.00520833rem;
  left: 0;
  width: 0.25rem;
  height: 0.015625rem;
  background: #8b2e2e;
}
.agency-intro {
  display: flex;
  gap: 0.20833333rem;
  margin: 0.20833333rem 0 0.26041667rem;
  border-radius: 0.02083333rem;
}
.agency-intro-left {
  width: 2.8125rem;
  flex-shrink: 0;
}
.agency-intro-pic {
  width: 100%;
  height: 1.875rem;
  overflow: hidden;
  position: relative;
  background: #ddd;
}
.agency-intro-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.agency-intro-right {
  flex: 1;
}
/* 保护区介绍正文：段落实块级 + 首行缩进 + 段落间距 */
.agency-intro-content {
  font-size: 0.078125rem;
  line-height: 2;
  color: #555;
  word-break: break-word;
}
.agency-intro-content p,
.agency-intro-content div {
  display: block;
  text-indent: 2em;
  margin: 0 0 0.11458333rem 0;
}
.agency-intro-content p:last-child,
.agency-intro-content div:last-child {
  margin-bottom: 0;
}
.dept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.125rem;
}
.dept-card {
  background: #fffdf8;
  border: 0.00520833rem solid #DAD5C8;
  padding: 0.125rem 0.14583333rem;
  font-size: 0.08333333rem;
  color: #2b2b2b;
  border-left: 0.03125rem solid #8b2e2e;
  transition: box-shadow 0.2s;
}
.dept-card:hover {
  box-shadow: 0 0.02083333rem 0.08333333rem rgba(0, 0, 0, 0.08);
}
.dept-card a {
  color: #2b2b2b;
  display: block;
}
/* 左列卡片：左边框朱红 #A53832 */
.dept-grid > .dept-card:nth-child(odd) {
  border-left-color: #A53832;
}
/* 右列卡片：左边框金棕 #937546 */
.dept-grid > .dept-card:nth-child(even) {
  border-left-color: #937546;
}
