/* ===== About Page Banner ===== */
.nav-accent-line {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  height: 5px;
  background: #00A2E9;
  z-index: 999;
}

.about-banner {
  margin-top: calc(var(--header-h) + 5px);
  background-image: url('../assets/images/about/banner.png');
}

.about-banner::before {
  display: none;
}

/* Blue banner state: culture / honor tabs */
.about-banner--blue {
  background-image: url('../assets/images/about/banner_blue.png');
}

.about-banner--blue h2,
.about-banner--blue p {
  display: none;
}

/* 蓝色横幅附加元素：默认隐藏，仅蓝色状态显示 */
.about-banner .banner-blue-line,
.about-banner .banner-blue-en {
  display: none;
}

.about-banner.about-banner--blue .banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-banner.about-banner--blue .page-title {
  color: #fff;
  font-size: 36px;
  font-weight: 200;
  border-top: none;
  padding-top: 0;
}

.about-banner.about-banner--blue .banner-blue-line {
  display: block;
  width: 60px;
  height: 2px;
  margin-top: 30px;
  background: #fff;
}

.about-banner.about-banner--blue .banner-blue-en {
  display: block;
  margin: 30px 0 0;
  font-size: 15px;
  font-weight: 200;
  letter-spacing: 5px;
  color: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1;
}

.about-banner h2,
.about-banner p {
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  margin: 0 0 20px;
  font-family: "Microsoft JhengHei UI Light", "Microsoft JhengHei UI", "Microsoft JhengHei", "PingFang SC", sans-serif;
  color: #00A2E9;
}

.about-banner .page-title {
  font-size: 22px;
  line-height: 1;
  margin-top: 0;
  text-align: center;
  font-family: "Source Han Sans SC", "Source Han Sans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: #6C6B6B;
  border-top: none;
  padding-top: 0;
}

/* 标题上方固定 60px 横线（蓝色状态除外，蓝色状态有独立横线元素） */
.about-banner:not(.about-banner--blue) .page-title::before {
  content: '';
  display: block;
  width: 60px;
  height: 1.5px;
  margin: 0 auto 8px;
  background: #6C6B6B;
}

/* ===== Tab Bar (full-width white module) ===== */
.about-tabs-bar {
  width: 100%;
  height: 75px;
  background: #fff;
}

.about-tabs-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
}

.about-tabs-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.about-tabs-nav button {
  position: relative;
  background: none;
  border: none;
  padding: 4px 2px 12px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  color: #333;
  transition: color var(--transition);
  white-space: nowrap;
}

.about-tabs-nav button:hover {
  color: #00A2E9;
}

.about-tabs-nav button.active {
  color: #00A2E9;
  font-weight: 400;
}

.about-tabs-nav button::after {
  content: none;
}

.about-tabs-nav button.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #00A2E9;
}

.about-tabs-nav .divider {
  color: #ccc;
  font-size: 16px;
  user-select: none;
}

/* ===== Content Panels ===== */
.about-page {
  padding: 0;
}

.about-panel {
  display: none;
}

.about-panel.active {
  display: block;
}

.about-content {
  width: 100%;
  padding: 40px 20px 80px;
}

.about-content--intro {
  background: url('../assets/images/about/intro-pattern.png') no-repeat;
  background-size: 100% 100%;
}

.about-content--honor {
  background: url('../assets/images/about/intro-pattern.png') no-repeat;
  background-size: 100% 100%;
}

.about-content-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 50px 40px 60px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== Section Title with Watermark ===== */
.about-section-title {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-section-title .watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 400;
  color: #EDEDED;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: 3px;
  line-height: 1;
  user-select: none;
}

.about-section-title h3 {
  position: relative;
  top: 30px;
  z-index: 1;
  font-size: 32px;
  font-weight: 200;
  line-height: 1.2;
}

.about-section-title h3 .plain {
  color: #000;
}

.about-section-title h3 .accent {
  color: #00A2E9;
}

/* ===== Body Text ===== */
.about-body {
  width: 100%;
  max-width: 960px;
  margin-bottom: 40px;
}

.about-body p {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
  text-align: justify;
  color: var(--text-dark);
}

.about-body p:last-child {
  margin-bottom: 0;
}

.culture-body p strong {
  font-weight: 700;
  color: var(--text-dark);
}

/* ===== Media / Images ===== */
.about-media {
  width: 100%;
  max-width: 960px;
}

.about-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.honor-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 40px;
  width: 100%;
}

.honor-stats span {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.honor-media {
  max-width: 100%;
}

.honor-media img {
  margin: 0 auto;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-tabs-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .about-tabs-bar {
    height: auto;
    min-height: 75px;
    padding: 16px 0;
  }

  .about-tabs-inner {
    align-items: flex-start;
  }

  .honor-stats {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .about-banner h2,
  .about-banner p {
    font-size: 32px;
  }

  .about-section-title h3 {
    font-size: 26px;
    top: 10px; /* 移动端中文标题相对英文水印上移 20px（PC 端保持 top: 30px） */
  }

  .about-section-title .watermark {
    font-size: 40px;
  }

  .about-content {
    padding: 30px 20px 60px;
  }

  .about-content-inner {
    padding: 40px 24px 50px;
  }
}

@media (max-width: 576px) {
  .about-banner h2,
  .about-banner p {
    font-size: 24px;
  }

  .about-banner .page-title {
    font-size: 18px;
  }

  .about-banner.about-banner--blue .banner-blue-en {
    font-size: 13px;
    letter-spacing: 3px;
  }

  .about-tabs-nav .divider {
    display: none;
  }

  /* 移动端子导航：胶囊分段控件样式（与顶部语言切换一致的视觉语言） */
  .about-tabs-bar {
    min-height: auto;
    padding: 10px 0;
  }

  .about-tabs-inner {
    align-items: center;
  }

  .about-tabs-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    padding: 4px;
    background: var(--bg-gray);
    border-radius: 24px;
  }

  .about-tabs-nav button {
    flex: 1;
    text-align: center;
    padding: 9px 4px;
    font-size: 14px;
    color: var(--text-gray);
    border-radius: 20px;
    /* 消除点击时的方形高亮闪烁（默认 -webkit-tap-highlight-color 为方形蓝色块，不跟随圆角） */
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  }

  /* 键盘焦点：用跟随圆角的柔和光环替代默认方形 outline，保持可访问性 */
  .about-tabs-nav button:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 162, 233, 0.35);
  }

  .about-tabs-nav button.active,
  .about-tabs-nav button.active:hover {
    background: #00A2E9;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 162, 233, 0.3);
  }

  .about-tabs-nav button.active::after {
    display: none;
  }

  .about-section-title .watermark {
    font-size: 28px;
  }

  .about-content-inner {
    padding: 30px 20px 40px;
  }
}
