.section-title {
  font-size: 30px;
  font-weight: 700;
  color: #203891;
  margin-bottom: 20px;
  display: block;
  width: 100%;
}

.part-main {
  position: relative;
  width: 100%;
  height: 100%;
}


.part-main .sidebar {
  position: sticky;
  top: 0;
  height: calc(100vh - 100px);
  background-color: transparent;
  z-index: 1000;
  padding: 24px 24px 24px 35px;
  overflow-y: visible;
}


.part-main .sidebar h2 {
  font-size: 30px;
  font-weight: 700;
  color: #203891;
  margin-bottom: 20px;
}

.sidebar-list {
  list-style: none;
  padding-left: 12px;
  position: relative; 
}

.sidebar-list li {
  margin-bottom: 10px;
  width: 100%;
  height: 38px;
  position: relative;
  display: flex;
  align-items: center;
  z-index: 2; 
}

.sidebar-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 12.5px;
  border-radius: 50%;
  background-color: #FFFFFF; 
  border: 2px solid #2C4FCF;
  margin-right: 8px;
  display: inline-block;
  flex-shrink: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.progress-bar {
  position: absolute;
  left: 6.5px;
  top: 30.5px;
  width: 7px;
  background-color: #2C4FCF;
  transition: height 0.2s ease;
  z-index: 1;
}


.circle-link {
  padding-left: 25px;
  box-sizing: border-box;
  color: #000000;
  transition: all 0.3s ease;
  line-height: 50px;
  font-size: 20px;
  text-align: center;
  display: -webkit-box;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}

.sidebar-list li:hover .circle-link {
  padding-left: 30px;
}

.sidebar-list li:hover::before {
  transform: translateY(-20%) scale(1.15);
}

.sidebar-list li.text-active {
  color: #203891;
  font-weight: bold;
}

.sidebar-list li.active::before {
  background-color: #2C4FCF;
  transform: scale(1.2);
}


.sidebar-list li.visited::before {
  background-color: #2C4FCF;
}


.part-main .content {
  width: 75%; /* 内容区域占剩余宽度 */
  flex-grow: 1;
    background-color: #FFFFFF;
    border: 5px solid #BED4EB;
    padding: 30px;
    line-height: 24px;
}

.part-main .content section {
  margin-bottom: 40px;
}

/* 优化选择器特异性并统一字体定义 */
.part-main .content h2 {
  font-size: 30px;
  font-weight: 700;
  color: #203891;
  margin-bottom: 20px;
  line-height: 1.3;
}

.part-main .content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #203891;
  margin-bottom: 15px;
  line-height: 1.3;
}

.part-main .content .section-content{
  margin-left: 20px;
  font-size: 15px;
  line-height: 24px; /* 增加section-content的行距 */
}

/* 通用列表样式 - 确保有序列表序号显示 */
.part-main .content ol {
  padding-left: 25px;
  list-style-type: decimal;
  line-height: 24px; 
}

.part-main .content ul {
  padding-left: 25px;
  list-style-type: disc;
  line-height: 24px; 
}

.part-main .content li {
  /* margin-bottom: 12px;  */
  line-height: 35px; 
}

/* 段落和表格文本行距 */
.part-main .content p {
  line-height: 35px;
  /* margin-bottom: 15px; */
}

.part-main .content table {
  line-height: 24px;
}

/* 通用表格样式 */
.part-main .content .table-style {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.part-main .content .table-style th {
  background-color: #203891;
  color: white;
  text-align: left;
  padding: 12px 15px;
  font-weight: 600;
  border: 1px solid #BED4EB;
}

.part-main .content .table-style td {
  padding: 12px 15px;
  border: 1px solid #ddd;
}

.part-main .content .table-style tr:nth-child(even) {
  background-color: #f8f9fa;
}

.part-main .content .table-style tr:hover {
  background-color: #e9f0ff;
}

.part-main .part .table-style tr:hover {
  background: none;
}

.part-main .part .table-style tr a:hover{
  color: #d6470f;
}

.part-main .part .table-style tr a{
  color: blue;
  font-weight: bold;
}

.part-main .content .table-style caption {
  caption-side: top;
  font-weight: bold;
  margin-bottom: 10px;
  color: #203891;
  font-size: 16px;
  text-align: center;
}


@media (min-width: 426px) {
  .part-main {
    display: flex;
  }
  .part-main .content {
    margin-left: 0;
  }
}

.figure-container {
  text-align: center;
  margin: 25px 0;
  padding: 15px;
  width: 100%;
  box-sizing: border-box;
}


.figure-container img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 为figure标签内的图片添加阴影和立体感效果 */
figure img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

figure img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

figure {
  margin: 25px 0;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e6eef8;
  text-align: center;
}


/* 响应式图片处理 */
@media (max-width: 768px) {
  .figure-container {
    margin: 15px 0;
    padding: 10px;
  }
  
  .figure-caption {
    font-size: 14px;
  }
}
/* 子菜单样式 */
.sidebar-list .submenu {
  list-style: none;
  padding-left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: transparent;
  border-top: none;
  margin-left: 0;
  margin-top: 0;
  border-left: none;
}

.sidebar-list .submenu.show {
  max-height: 500px;
}

.sidebar-list .submenu li {
  margin-bottom: 0;
  height: 40px;
  border-bottom: 1px solid #f0f5fd;
  margin-left: 25px;
  border-left: none;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sidebar-list .submenu li:last-child {
  border-bottom: none;
}

/* 移除子菜单前的圆圈 */
.sidebar-list .submenu li::before {
  display: none;
}

/* 确保子菜单整个行都可点击 */
.sidebar-list .submenu li {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sidebar-list .submenu li:hover {
  background-color: transparent;
}

.sidebar-list .submenu li.active {
  background-color: transparent;
}

.sidebar-list .submenu .submenu-link {
  font-size: 16px;
  padding: 8px 15px 8px 15px;
  line-height: 24px;
  color: #555;
  font-weight: normal;
  display: block;
  width: 100%;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-list .submenu .submenu-link:hover {
  background-color: rgba(44, 79, 207, 0.05);
  color: #203891;
  padding-left: 20px;
}

.sidebar-list li.has-submenu {
  height: auto;
  min-height: 50px;
  border-bottom: 1px solid #e6eef8;
  display: block;
}

.sidebar-list li.has-submenu:last-child {
  border-bottom: none;
}

.sidebar-list li.has-submenu.active {
  background-color: transparent;
}

.sidebar-list li.has-submenu.active .arrow-icon {
  transform: rotate(90deg);
}

.sidebar-list li.has-submenu.active .submenu {
  border-top-color: transparent;
}

/* 父菜单项文本激活状态 */
.sidebar-list li.has-submenu.text-active {
  background-color: transparent;
}

.sidebar-list li.has-submenu.text-active .circle-link {
  color: #203891;
  font-weight: bold;
}
/* 修复小圆点变色问题 */
.sidebar-list li.active::before,
.sidebar-list li.visited::before {
  background-color: #2C4FCF; 
  transform: scale(1.2);
}

.sidebar-list .submenu li.active::before,
.sidebar-list .submenu li.visited::before {
  background-color: #2C4FCF; 
  transform: scale(1.2);
}


/* 子菜单文字激活状态 */
.sidebar-list .submenu li.text-active .submenu-link {
  color: #203891;
  font-weight: bold;
}

/* 确保circle-link正确布局 */
.sidebar-list li.has-submenu > .circle-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 25px;
  position: relative;
  z-index: 2;
}

/* 父菜单项文本截断样式 */
.circle-link .link-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

/* 优化子菜单选择区域 */
.sidebar-list li.has-submenu > .circle-link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 30px;
  cursor: pointer;
}


.overflow-auto::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.overflow-auto::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 4px;
}
.overflow-auto::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 4px;
}
.overflow-auto::-webkit-scrollbar-thumb:hover {
  background-color: #bbb;
}

/* 图片容器样式优化 */
.picture-book-container {
  counter-reset: picture-counter;
}
.picture-book-figure {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.picture-book-figure:hover {
  transform: translateY(-5px);
}
.picture-book-figure img {
  transition: transform 0.5s ease;
  border-radius: 8px;
}
.picture-book-figure:hover img {
  transform: scale(1.05);
}
.picture-book-figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 8px 12px;
  border-radius: 0 0 8px 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.picture-book-figure:hover .picture-book-figcaption {
  opacity: 1;
}

.text-callout {
  background-color: #203891;
  font-family: Quicksand;
  font-size: 1.8rem;
  line-height: 2.5rem;
  position: relative;
  border-width: initial;
  border-style: initial;
  border-color: #BED4EB;
  -o-border-image: initial;
     border-image: initial;
  border-radius: 10px;
  padding: 1rem 2rem;
}
.text-callout .text-content-p {
  color: #ffffff;
  text-align: justify;
  font-family: Quicksand;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6 !important;
  margin: 15px 0px;
}