/* -------------------------------------------------------------------------- */
/*                            Page About Base Styles                          */
/* -------------------------------------------------------------------------- */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: var(--background-color, #ffffff);
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

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

.page-about__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__sub-title {
  color: #ffffff;
}

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

.page-about__sub-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #333333;
  text-align: left;
}

.page-about p {
  margin-bottom: 15px;
  text-align: left;
}

.page-about ul {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
  margin-bottom: 15px;
}

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

/* -------------------------------------------------------------------------- */
/*                                 Hero Section                               */
/* -------------------------------------------------------------------------- */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  padding-bottom: 40px;
  background-color: #f5f5f5;
}

.page-about__hero-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 20px 15px;
}

.page-about__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-size: clamp(30px, 4.5vw, 48px); /* Responsive font size */
}

.page-about__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  text-align: center;
  color: #555555;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7bbd;
  border-color: #1a7bbd;
}

/* -------------------------------------------------------------------------- */
/*                            Content Grid Layout                             */
/* -------------------------------------------------------------------------- */
.page-about__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  min-width: 300px;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

/* -------------------------------------------------------------------------- */
/*                                 Value Cards                                */
/* -------------------------------------------------------------------------- */
.page-about__value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__card:hover {
  transform: translateY(-5px);
}

.page-about__card-title {
  font-size: 20px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
}

.page-about__card img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 400px; /* Specific width for card images as per prompt */
  height: 300px; /* Specific height for card images as per prompt */
  object-fit: cover; /* Ensure images fill their space */
}

.page-about__card p {
  font-size: 15px;
  color: #555555;
  text-align: center;
  flex-grow: 1; /* Allow paragraph to take available space */
}

/* -------------------------------------------------------------------------- */
/*                                    FAQ Section                             */
/* -------------------------------------------------------------------------- */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #f5f5f5;
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  text-align: left;
}

.page-about__cta-buttons--centered {
  margin-top: 30px;
}

/* -------------------------------------------------------------------------- */
/*                               Media Queries                                */
/* -------------------------------------------------------------------------- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 32px;
  }

  .page-about__sub-title {
    font-size: 22px;
  }

  .page-about__hero-content {
    padding: 15px;
  }

  .page-about__main-title {
    font-size: clamp(28px, 4.5vw, 42px);
  }

  .page-about__intro-text {
    font-size: 16px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 10px 25px;
    font-size: 16px;
  }

  .page-about__content-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__content-grid--reverse {
    flex-direction: column;
  }

  .page-about__card {
    padding: 25px;
  }

  .page-about__card-title {
    font-size: 18px;
  }

  .page-about__card p {
    font-size: 14px;
  }
}

/* Mobile Specific */
@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px; /* Keep small top padding */
    padding-bottom: 30px;
  }
  .page-about__hero-image img {
    object-fit: contain !important; /* Mobile: prevent cropping */
    aspect-ratio: unset !important; /* Mobile: unset aspect ratio */
    height: auto !important; /* Ensure height adjusts */
  }

  .page-about__main-title {
    font-size: clamp(24px, 7vw, 36px) !important; /* Mobile specific font size for H1 */
    line-height: 1.3;
  }

  .page-about__intro-text {
    font-size: 15px;
  }

  /* 按钮与按钮容器 */
  .page-about__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !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 !important;
    font-size: 16px !important;
  }

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

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

  /* 装饰主标题 + 长文 SEO 区 */
  .page-about__section-title {
    font-size: 28px !important;
    margin-bottom: 30px;
    text-align: center;
  }

  .page-about__sub-title {
    font-size: 20px !important;
    text-align: center;
  }

  .page-about p,
  .page-about li {
    font-size: 15px;
    text-align: left;
  }

  .page-about__content-grid {
    gap: 20px;
  }

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

  .page-about__card {
    padding: 20px;
  }

  .page-about__card img {
    width: 100% !important; /* Ensure card images are 100% width on mobile */
    height: auto !important;
  }

  /* FAQ Section Mobile */
  details.page-about__faq-item summary.page-about__faq-question { padding: 15px; }
  .page-about__faq-qtext { font-size: 15px; }
  details.page-about__faq-item .page-about__faq-answer { padding: 0 15px 15px; }
}