/* 
 * 公共样式文件
 * 包含所有页面共用的样式规则
 */

/* ==================== 导航栏占位符 ==================== */
.navbar-padding {
  height: 61px;
}

/* ==================== 章节标题样式 ==================== */
/* 章节标题容器 */
.section-header {
  display: flex;
  align-items: center;
}

/* 反向布局 - 红色条在右侧 */
.section-header-reverse {
  justify-content: flex-end;
}

.section-header-reverse .section-title {
  order: 1;
}

.section-header-reverse .line {
  order: 2;
  margin-right: 0;
  margin-left: 21px;
}

/* 左侧红色装饰线 */
.section-header .line {
  width: 12px;
  height: 40px;
  background-color: #ef4444;
  margin-right: 21px;
  flex-shrink: 0;
  border-radius: 2px;
}

/* 标题文字 */
.section-title {
  font-size: 34px;
  font-weight: bold;
  color: #181818;
  margin-bottom: 0;
  letter-spacing: 2px;
  white-space: nowrap;
}

/* 大尺寸版本 - 60px 标题 */
.section-header-lg .line {
  width: 12px;
  height: 55px;
}

.section-header-lg .section-title {
  font-size: 60px;
}


/* 中尺寸版本 - 50px 标题 */
.section-header-md{
  
}

.section-header-md.section-header-reverse {
  margin-left: 0;
  margin-right: 0px;
}
.section-header-md .line {
  width: 12px;
  height: 40px;
}

.section-header-md .section-title {
  font-size: 50px;
}

.section-header-center{
  justify-content: center;
}

/* ==================== 圆形导航按钮 ==================== */
/* 基础圆形按钮样式 */
.circle-nav-btn {
  border-radius: 50%;
  background: #E4E5E7;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.circle-nav-btn:hover {
  background: #E5E7EB;
}

.circle-nav-btn:active {
  transform: scale(0.95);
}

/* 大尺寸: 42x42 */
.circle-nav-btn-lg {
  width: 42px;
  height: 42px;
}

.circle-nav-btn-lg svg {
  width: 32px;
  height: 32px;
}

/* 小尺寸: 26x26 */
.circle-nav-btn-sm {
  width: 26px;
  height: 26px;
}

.circle-nav-btn-sm svg {
  width: 12px;
  height: 12px;
}

/* SVG 箭头颜色 */
.circle-nav-btn svg path {
  stroke: #323333;
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 992px) {
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.2rem;
  }
  .section-header .line {
    width: 6px;
    height: 24px;
    margin-right: 12px;
  }
}



.root-footer{
  border-top:1px solid #d9d9d9;
}