/* 基础重置与全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "微软雅黑", "思源黑体", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


/* 容器与段落样式 */
.container {
  padding: 2rem 0;
}

p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: #4a5568;
  text-align: justify;
}

/* 标题层级样式 */
h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #e2e8f0;
}

h2 + div > p[role="heading"][aria-level="3"] {
  font-size: 1.2rem;
  font-weight: 500;
  color: #2b6cb0;
  margin: 1.5rem 0 0.8rem;
}

/* 列表样式 */
ul {
  padding-left: 1.8rem;
  margin-bottom: 1.2rem;
}

li {
  margin-bottom: 0.8rem;
  color: #4a5568;
}

/* 表格专业样式 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

th, td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

th {
  background-color: #f7fafc;
  font-weight: 500;
  color: #2d3748;
  white-space: nowrap;
}

td[data-label]::before {
  content: attr(data-label);
  font-weight: 500;
  color: #4a5568;
  display: inline-block;
  min-width: 120px;
}

tfoot td {
  background-color: #f7fafc;
  font-size: 0.875rem;
  color: #718096;
  border-top: 1px solid #e2e8f0;
}

/* 引用标注样式 */
sup {
  vertical-align: super;
  font-size: 0.75rem;
  color: #2b6cb0;
  margin-left: 0.2rem;
}

small {
  font-size: 0.875rem;
  color: #718096;
  display: block;
  margin-top: 0.5rem;
}

/* 响应式调整 */
@media (min-width: 1024px) {
  body {
    font-size: 1.0625rem; /* 接近17px，更适合大屏阅读 */
  }
  
  h2 {
    font-size: 1.625rem; /* 约26px */
  }
  
  .text-sm {
    font-size: 0.9375rem; /* 约15px */
  }
  
  .lg:text-base {
    font-size: 1rem; /* 保持基础字号 */
  }
}

/* 细节优化 */
section {
  margin-bottom: 3rem;
}

strong {
  color: #2d3748;
  font-weight: 500;
}

/* FAQ模块容器样式 */
.about-edication {
  margin: 3rem 0; /* 与前序章节保持一致间距 */
  padding: 0 1rem; /* 兼容小屏内边距 */
}

/* FAQ标题样式（延续章节标题体系） */
.heading-title.sub-heading {
  font-size: 1.25rem; /* 约20px，略小于主标题 */
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #e2e8f0; /* 与章节标题下划线统一 */
}

/* FAQ列表网格布局（保持紧凑感） */
.list.d-grid {
  gap: 1rem; /* 对应gap_12，调整为更符合阅读的间距 */
}

/* FAQ卡片基础样式（强化卡片感，区分内容块） */
details.faq {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* 轻微阴影提升层次感 */
  transition: box-shadow 0.3s ease;
}

details.faq:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /*  hover时增强阴影，引导交互 */
}

/* FAQ标题栏（点击区域优化） */
summary.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  cursor: pointer;
  background-color: #fff;
  transition: background-color 0.3s ease;
  list-style: none; /* 移除默认三角箭头 */
  position: relative;
}

/* 自定义点击提示（可选，若需替代默认箭头） */
summary.faq-header::after {
  content: "▼";
  font-size: 0.75rem;
  color: #718096;
  transition: transform 0.3s ease;
}

details[open] summary.faq-header::after {
  transform: rotate(180deg); /* 展开时箭头旋转 */
}

summary.faq-header:hover {
  background-color: #f7fafc; /*  hover时背景变浅 */
}

/* FAQ内容区样式（与标题栏衔接自然） */
.faq-body {
  padding: 1rem 1.2rem;
  background-color: #f7fafc;
  border-top: 1px solid #e2e8f0;
}

.faq-body p {
  margin: 0; /* 清除默认段落边距 */
  color: #4a5568;
  line-height: 1.8;
  font-size: 0.9375rem; /* 略小字号，适配问答紧凑感 */
}

/* 展开状态标题样式（强化交互反馈） */
details[open] summary.faq-header {
  color: #2b6cb0; /* 主色强调展开状态 */
  font-weight: 500;
}

/* 响应式优化（小屏适配） */
@media (max-width: 768px) {
  .list.d-grid {
    gap: 0.75rem; /* 小屏缩小间距 */
  }
  
  summary.faq-header,
  .faq-body {
    padding: 0.8rem 1rem; /* 缩小内边距，节省空间 */
  }
}


/* 第二种类型FAQ容器 */
.report_faq_box {
  max-width: 800px; /* 限制最大宽度提升可读性 */
  margin: 2.5rem auto; /* 垂直间距+水平居中 */
  padding: 0 1.25rem; /* 响应式内边距 */
}

/* 清除浮动（兼容旧版布局） */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* 折叠面板容器 */
#accordion2.panel-group {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* 柔和阴影提升层次 */
}

/* 单个FAQ项目 */
.panel.panel-default {
  border: 1px solid #e2e8f0;
  border-bottom: none; /* 移除重复边框 */
  background-color: #fff;
  transition: all 0.3s ease;
}

.panel.panel-default:last-child {
  border-bottom: 1px solid #e2e8f0; /* 最后一项补全边框 */
}

/* 鼠标悬停效果 */
.panel.panel-default:hover {
  border-color: #cbd5e0;
}

/* FAQ标题栏 */
.p-heading {
  padding: 0; /* 重置内边距 */
}

.p-heading a {
  display: block;
  padding: 1.25rem 1.5rem; /* 舒适点击区域 */
  text-decoration: none;
  color: #2d3748; /* 主文字色 */
  font-weight: 600;
  font-size: 1.0625rem; /* 17px */
  position: relative;
  transition: all 0.3s ease;
  background-color: #fff;
}

/* 标题栏悬停效果 */
.p-heading a:hover {
  background-color: #f7fafc; /* 浅蓝灰背景 */
  color: #2b6cb0; /* 强调色 */
}

/* 展开状态指示器（自定义箭头） */
.p-heading a::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: #718096; /* 辅助色 */
  transition: all 0.3s ease;
}

/* 展开状态箭头变化 */
.p-heading a[aria-expanded="true"]::after {
  content: "−"; /* 减号表示展开 */
  color: #2b6cb0; /* 强调色 */
  transform: translateY(-50%) rotate(0deg);
}

/* 折叠内容区域 */
.panel-collapse.crash {
  background-color: #f7fafc; /* 浅蓝灰背景 */
  border-top: 1px solid #e2e8f0; /* 与标题分隔 */
}

/* 内容区域内部 */
.panel-body {
  padding: 1.25rem 1.5rem 1.5rem; /* 上 左右 下 */
}

/* 答案文本样式 */
.m-faq-ans {
  margin: 0;
  color: #4a5568; /* 辅助文字色 */
  line-height: 1.7; /* 舒适行高 */
  font-size: 0.9375rem; /* 15px */
}

/* 答案前缀样式 */
.m-faq-ans span {
  font-weight: 700;
  color: #2b6cb0; /* 强调色 */
  margin-right: 0.5rem;
}

/* 响应式优化 */
@media (max-width: 768px) {
  .p-heading a,
  .panel-body {
    padding: 1rem 1.25rem; /* 小屏缩小内边距 */
  }
  
  .p-heading a::after {
    right: 1.25rem; /* 调整箭头位置 */
  }
}