/* ================= 重置 & 容器 ================= */

.fw-page {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1px 0px 0px 0px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.6;
  color: #1f2937;
}

[id] {
  scroll-margin-top: 31px;
}

/* ================= 左侧边栏 ================= */
.fw-sidebar {
  flex: 0 0 260px;
  width: 260px;
  max-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: none;   /* 关键：清除原来的四周阴影 */
  padding: 13px;
  position: sticky;
  top: 10px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-top: 0;
  border-right: 4px solid #16345c;
  border-bottom: 0;
  border-left: 0;
}
.fw-sidebar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #16345c;
  padding-bottom: 14px;
  margin-bottom: 16px;
  position: relative;
}
.fw-sidebar-title::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #d3d3d3; /* 浅灰 */
  border-radius: 2px;
}
.fw-sidebar-title-dot {
  width: 10px; height: 10px;
  background: #c82423;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(200,36,35,.15);
}
.fw-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fw-nav-item {
  display: block;
  padding: 4px 12px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  border-radius: 6px;
  border-left: 3px solid transparent;
  transition: all .15s;
  position: relative;
  text-align: right; /* 文字靠右 */
}
.fw-nav-item:not(:last-child)::after {
  content: "";
  display: block;
  height: 1px;
  border-bottom: 1px dashed #d1d5db;
  margin: 6px 0px 6px 0px; /* 上下6px，左右缩进12px，和文字padding对齐 */
}
.fw-nav-item:hover {
  color: #c82423;
  background: #fef2f2;
  border-left-color: #c82423;
}
.fw-nav-item.fw-active {
  color: #c82423;
  background: #fef2f2;
  border-left-color: #c82423;
  font-weight: 600;
}

/* 边栏内部分块 */
.fw-sidebar-section {
  margin-bottom: 19px;
}


/* 手机端隐藏左侧边栏 */
@media screen and (max-width:767px) {
  .fw-sidebar {
    display: none !important;
  }
}

/* ================= 右侧主内容 ================= */
.fw-main {
  flex: 0 0 auto;
  width: calc(100% - 235px - 24px);
  max-width: calc(100% - 235px - 24px);
  min-width: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  padding: 0 18px 0 18px;
}

/* ---- 顶部标题区 ---- */
.fw-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}
.fw-header-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  color: #c82423;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.fw-main h1 {
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  font-weight: 800;
  color: #16345c;
  line-height: 1.3;
  position: relative;
  padding-left: 20px;
  margin-bottom: 16px;
}
.fw-main h1 .fw-title-bar {
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 6px;
  background: linear-gradient(180deg, #16345c 0%, #c82423 100%);
  border-radius: 3px;
}
.fw-main h1 .fw-title-en {
  display: block;
  font-size: 0.5em;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: .5px;
  margin-top: 4px;
}
.cmc-sec {padding: 0px; /* 备用 */ }
	
/* ---- 二级标题（匹配 class="fw-h2"） ---- */
.fw-main h2.fw-h2 {
  font-size: 1.13rem;
  font-weight: 700;
  color: #16345c;
  display: block;
  margin: 12 0 12px 0;
  padding: 0 0 6px 0;
  border-bottom: 2px solid #e5e7eb;
  background-image: linear-gradient(#c82423, #c82423);
  background-repeat: no-repeat;
  background-size: 60px 2px;
  background-position: 0 calc(100% - 2px);
  line-height: 1.6;
}
.fw-main h2.fw-h2::after { display: none; }
.fw-h2-icon {
  color: #c82423;
  font-size: 0.8em;
  margin-right: 8px;
  display: inline-block;
}

/* ---- 三级标题（匹配 class="fw-h3"） ---- */
.fw-main h3.fw-h3 {
  font-size: 1.13rem;
  font-weight: 700;
  color: #16345c;
  display: block;
  margin: 12 0 12px 0;
  padding: 0 0 6px 0;
  border-bottom: 2px solid #e5e7eb;
  background-image: linear-gradient(#c82423, #c82423);
  background-repeat: no-repeat;
  background-size: 60px 2px;
  background-position: 0 calc(100% - 2px);
  line-height: 1.6;
}
.fw-main h3.fw-h3::after { display: none; }
.fw-h3-icon {
  color: #c82423;
  font-size: 0.8em;
  margin-right: 8px;
  display: inline-block;
}

/* ---- 普通段落/列表 ---- */
.fw-main p { margin-bottom: 14px; color: #374151; font-size:15px; line-height: 1.6; }
.fw-muted { color: #6b7280; }
.fw-link { color: #2563eb; text-decoration: underline; }

.fw-section {
  background: #fff;
  border-radius: 8px;
  padding: 6px; /* h2 左右 */
  margin-bottom: 41px;  /* h2 下空 */
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  border-left: 0px solid #ccc;
}
.fw-section-plain {
  box-shadow: none;
  padding: 0;
  background: transparent;
  border-left: none;
}

.fw-main ul,
.fw-main ol { margin-bottom: 12px; padding-left: 1.5rem; }
.fw-main ul { list-style: disc; padding-left: 1.5rem; }
.fw-main ol { list-style: decimal; }
.fw-main li { margin-bottom: 4px; font-style: italic;}

/* ---- 三格 ---- */
.fw-section-three {
  background: #fff;
  border-radius: 8px;
  padding: 6px; /* h2 左右 */
  margin-bottom: 41px;  /* h2 下空 */
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  border-left: 1px solid #ccc;
}
.fw-section-three-plain {
  box-shadow: none;
  padding: 0;
  background: transparent;
  border-left: none;
}

/* ---- 提示框 ---- */
.fw-note {
  margin-top: 16px;
  padding: 14px 16px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 6px;
  color: #92400e;
}

/* ---- 表格 ---- */
.fw-table-wrap { overflow-x: auto; }
.fw-main table {
  width: 100%;
  table-layout: fixed;        /* 关键：让 col 百分比严格生效 */
  border-collapse: collapse;
  font-size: 14px;
}
.fw-main thead tr { background: #16345c; color: #fff; }
.fw-main th { font-weight: 600; padding: 12px 16px; border: 1px solid #16345c; text-align: left; }
.fw-main td { border: 1px solid #e5e7eb; padding: 10px 16px; text-align: left; vertical-align: top; background: #fff; }
.fw-main tbody tr:nth-child(even) td { background: #f8fafc; }

/* fixed 布局下防止长英文/长词溢出 */
.fw-main th,
.fw-main td { word-break: break-word; overflow-wrap: anywhere; }

/* ---- 页脚 ---- */
.fw-footer {
  margin-top: 1px;
  padding-top: 1px;
  border-top: 1px solid #e5e7eb;
  font-size: 9px;
  color: #6b7280;
  text-align: center;
}

/* ---- 移动端 ---- */
@media (max-width: 900px) {
  .fw-page { flex-direction: column; gap: 16px; padding: 9px; }
  .fw-sidebar { position: static; width: 100%; max-width: 100%; flex: none; max-height: none; }
  .fw-main { width: 100%; max-width: 100%; padding: 3px; }
  .fw-main h1 { padding-left: 16px; }
}

/* ================= 正文下面相关推荐 ================= */
  .related-links-section {
    margin-top: 10px;
    padding: 3px;
    background-color: #;
    border-radius: 9px;
    border: 0px solid #e2e8f0;
  }
  .related-links-section h3 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 18px;
    font-weight: 700;
  }
  .related-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .related-list li {
    flex: 1;
    min-width: 200px;
  }
  .related-list a {
    display: flex;
    flex-direction: column;
    padding: 6px;
    background: #ffffff;
    border-radius: 8px;
    border: 0px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .related-list a:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
  }
  .region-name {
    font-size: 0.68rem;
    font-weight: 400;
    color: #2563eb;
    margin-bottom: 4px;
  }
  .region-desc {
    font-size: 0.6rem;
    color: #64748b;
  }
  
/* ================= 三格 ================= */
 .related-section {
    margin-top: 40px;
    padding: 24px;
    background-color: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
  }
  .related-section h3 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 16px;
    font-weight: 700;
  }
  .related-list-three {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .related-list-three li {
    flex: 1;
    min-width: 200px;
  }
  .related-list-three a {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .related-list-three a:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
  }
  .region-name-three {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 4px;
  }
  .region-desc-three {
    font-size: 0.9rem;
    color: #64748b;
  }