/* 公共页面布局样式 */

/* 页面专用背景样式 - 高度根据内容自适应 */
.page-hero-bg {
  background-color: #2e3b4e;
  background-image: url("../images/hero.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  position: relative;
  overflow: hidden;
  min-height: auto; /* 根据内容高度自适应 */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* 确保背景图片始终覆盖整个容器 - 简化版本 */
.page-hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2e3b4e;
  z-index: -2;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/hero.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  z-index: -1;
}

/* 页面标题区域通用样式 */
.page-title-section {
  position: relative;
  padding: 4rem 0;
  text-align: center;
}

.page-title {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.page-subtitle {
  color: white;
  font-size: 1.25rem;
  opacity: 0.9;
}

/* 响应式调整 */
@media (min-width: 768px) {
  .page-title {
    font-size: 3rem;
  }
}
