/* ================================================
   龙妈升学规划 · 公司简介专用样式 about.css
   配色：绿色系温暖系 — 森林绿 + 暖米色
   兼容后台编辑器输出结构（全部 <p> + 内联样式）
   ================================================ */

/* === 全局覆盖 === */
.about-page {
  background: #faf7f2;
  color: #1f2937;
  font-family: "Open Sans", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", Arial, Verdana, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}

/* === Hero 区域 === */
.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(30, 74, 52, 0.92), rgba(45, 106, 79, 0.85));
}

.about-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
}

.about-hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.about-hero-subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.9);
  margin: 0;
  font-weight: 400;
  letter-spacing: 1px;
}

/* === 面包屑 === */
.about-breadcrumb {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
  font-size: 14px;
  color: #6b7280;
}

.about-breadcrumb a {
  color: #2d6a4f;
  text-decoration: none;
}

.about-breadcrumb a:hover {
  color: #1a4731;
  text-decoration: underline;
}

/* === 主体容器 === */
.about-main {
  padding: 40px 0 60px;
}

.about-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 40px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

/* ================================================
   内容排版 — 兼容后台编辑器输出的纯 <p> 结构
   ================================================ */

/* --- 段落基础排版：只控制间距/结构，编辑器样式穿透 --- */
.about-content p {
  line-height: 1.75 !important;
  margin: 0 0 14px 0 !important;
}

/* 防止编辑器 text-wrap-mode:nowrap 导致文字超框，其他编辑器样式保留 */
.about-content p span,
.about-content p strong,
.about-content p b {
  text-wrap: wrap !important;
  white-space: normal !important;
}

/* --- 图片 --- */
.about-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px auto;
  display: block;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* --- 链接 --- */
.about-content a {
  color: #2d6a4f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-content a:hover {
  color: #1a4731;
}

/* ================================================
   响应式
   ================================================ */

@media (max-width: 768px) {
  .about-hero {
    min-height: 200px;
  }

  .about-hero-content {
    padding: 50px 20px;
  }

  .about-hero-content h1 {
    font-size: 28px;
  }

  .about-hero-subtitle {
    font-size: 16px;
  }

  .about-content {
    padding: 30px 24px;
    border-radius: 0;
  }

  .about-content p span[style*="color: rgb(0, 176, 80)"] {
    font-size: 22px !important;
  }

  .about-content p[style*="text-align: center"] strong span,
  .about-content p[style*="text-align: center"] strong {
    font-size: 22px !important;
  }

  .about-content p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .about-hero-content h1 {
    font-size: 22px;
  }

  .about-hero-subtitle {
    font-size: 14px;
  }

  .about-content {
    padding: 24px 16px;
  }
}
