.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__hero-image-container {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Slightly overlap with image for visual flow */
  background: rgba(1, 116, 57, 0.9); /* Semi-transparent brand color background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for prominence */
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-about__dark-bg {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #FFFF00; /* Yellow for titles */
  margin-bottom: 30px;
  font-weight: 600;
  line-height: 1.3;
}

.page-about__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-about__image-wrapper {
  margin: 40px auto;
  max-width: 1000px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #FFFF00; /* Yellow for feature titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__feature-description {
  font-size: 0.95em;
  line-height: 1.7;
  flex-grow: 1;
}

.page-about__product-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 20px;
  width: 100%;
}

.page-about__product-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
}

.page-about__cta-content {
  background-color: #0a0a0a;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-about__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background-color: #e01b1b;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-about__btn-secondary:hover {
  background-color: #C30808;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Global image responsive styles */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Image container responsive styles */
.page-about__image-wrapper,
.page-about__product-gallery {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-about__hero-content {
    padding: 20px;
    margin-top: -40px; /* Adjust overlap for mobile */
    border-radius: 5px;
  }

  .page-about__main-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }

  .page-about__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* 其他内容模块 */
  .page-about__section {
    padding: 40px 0;
  }

  .page-about__content-area {
    padding: 0 15px !important;
  }

  .page-about__section-title {
    font-size: 1.8em !important;
    margin-bottom: 20px;
  }

  .page-about__paragraph {
    font-size: 0.95em;
    text-align: justify;
  }

  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__feature-card {
    padding: 20px;
  }

  .page-about__feature-title {
    font-size: 1.3em;
  }

  /* 产品展示图区域 */
  .page-about__product-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .page-about__product-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 通用图片与容器 */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__image-wrapper,
  .page-about__card,
  .page-about__container,
  .page-about__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-about__cta-content {
    padding: 30px 15px;
  }
}