/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff; /* Explicitly set for content area if body is default white */
}

.page-about__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-about__top-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
  padding-bottom: 40px;
  background-color: #f8f9fa;
  text-align: center;
}

.page-about__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Using clamp for responsive H1 font size */
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #555555;
}

.page-about__top-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-about__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
  background-color: #1a8cc7;
  border-color: #1a8cc7;
}

.page-about__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background-color: #e0f2f7;
}

.page-about__section {
  padding: 50px 0;
  background-color: #ffffff;
}

.page-about__section:nth-of-type(even) {
  background-color: #f8f9fa;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__content-block p {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 1.05em;
}

.page-about__content-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-about__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-about__list li {
  margin-bottom: 8px;
}

.page-about__figure {
  margin: 30px 0;
  text-align: center;
}

.page-about__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-about__figcaption {
  font-style: italic;
  font-size: 0.9em;
  color: #777777;
  margin-top: 10px;
}

.page-about__product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
}

.page-about__product-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-about__product-item img {
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-about__product-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__product-title a {
  text-decoration: none;
  color: inherit;
}

.page-about__product-title a:hover {
  text-decoration: underline;
}

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

.page-about__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

.page-about__cta-bottom p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #333333;
  font-weight: 600;
}

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

  /* 1. 顶区标题 + 双 CTA */
  .page-about__top-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }

  .page-about__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
    margin-bottom: 15px;
  }

  .page-about__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
    padding: 0 15px; /* Add padding to prevent overflow */
  }

  .page-about__top-cta {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px;
  }

  .page-about__btn {
    width: 100% !important; /* Full width for buttons */
    max-width: 100% !important;
    padding: 12px 15px !important; /* Adjust padding */
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* 2. 单栏长文容器 */
  .page-about__article-wrap {
    padding: 0 15px !important; /* Ensure content has side padding */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__section {
    padding: 30px 0;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-about__sub-title {
    font-size: 1.4em;
  }

  .page-about__content-block p,
  .page-about__list li {
    font-size: 0.95em;
  }

  .page-about__product-list {
    grid-template-columns: 1fr; /* Stack product items */
    gap: 20px;
  }

  .page-about__product-item {
    padding: 20px;
  }

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

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

  .page-about__figure {
    margin: 20px 0;
  }

  .page-about__figcaption {
    font-size: 0.85em;
  }

  /* 4. 按钮与按钮容器 */
  .page-about__cta-buttons,
  .page-about__cta-bottom {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    margin-top: 20px;
    padding: 0 15px; /* Add padding to container */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .page-about__cta-bottom p {
    font-size: 1.05em;
    margin-bottom: 15px;
  }

  /* No specific registration tutorial or FAQ accordion sections on this About Us page. */
  /* General content blocks are covered by .page-about__article-wrap and .page-about__content-block */
}