/* 默认背景图 & 高度（可按需调整） */
:root{
  --heading-bg: url("/images/title.png");
  --heading-bg-height: clamp(80px, 14vw, 180px); /* 背景图显示高度 */
}

/* 通用小结标题：中间对齐，留出上下空隙显示背景图 */
.section-heading{
  position: relative;
  text-align: center;
  padding: clamp(24px, 5vw, 48px) 0;
}

/* 背景图：100vw 全宽出血，水平居中，按图片比例等比显示（contain） */
.section-heading::before{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  translate: 0 -50%;
  width: 100vw;                       /* 铺满页面宽度 */
  height: var(--heading-bg-height);   /* 统一高度，避免布局跳动 */
  background-image: var(--heading-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;           /* 等比显示，不裁切 */
  pointer-events: none;
  z-index: 0;
}

/* 让标题文字浮在背景图之上 */
.section-heading > *{
  position: relative;
  z-index: 1;
  display: block;
}

/* 如果你之前在 information 里内嵌过 <img class="heading-bg">，避免重复显示 */
.information .heading .heading-bg{ display: none !important; }
