:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg-color: #D32F2F;
  --main-bg-color: #B71C1C; /* This is for elements that use this specific background color, not the body */
  --main-text-color: #333333; /* Default for light backgrounds */
  --dark-text-color: #FFF5E1; /* For dark backgrounds */
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--main-text-color); /* Default text color for light body background */
  background-color: var(--background-color); /* Inherited from shared.css */
}

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

.page-about__section {
  padding: 60px 0;
  overflow: hidden; /* For mobile responsiveness */
}

/* Light background sections */
.page-about__light-bg {
  background-color: #ffffff; /* Explicitly white for light sections */
  color: var(--main-text-color);
}

/* Dark background sections */
.page-about__dark-bg {
  background-color: var(--main-bg-color); /* Deep red background */
  color: var(--dark-text-color); /* Light text for dark background */
}

.page-about__section-title {
  font-size: 3em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color); /* Use primary color for titles on light backgrounds */
}

.page-about__dark-bg .page-about__section-title {
  color: var(--dark-text-color); /* Light text for titles on dark backgrounds */
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  /* ☠️ 页头由 shared 的 body { padding-top: var(--header-offset); } 承担；此处仅用小额顶距，禁止 var(--header-offset) 以免双倍空白 */
  padding-top: 10px;
  background-color: var(--main-bg-color); /* Use a brand color for the hero section background */
  color: var(--dark-text-color);
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width within max-width */
}

.page-about__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-about__hero-image:hover {
  transform: scale(1.02);
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for responsive font size */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color); /* Gold color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__main-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--dark-text-color);
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient); /* Custom button gradient */
  color: var(--main-text-color); /* Text color for the button */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--border-color);
  max-width: 100%; /* For mobile */
  box-sizing: border-box; /* For mobile */
  white-space: normal; /* For mobile */
  word-wrap: break-word; /* For mobile */
}

.page-about__cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* Intro Section */
.page-about__intro-section .page-about__section-title {
  color: var(--primary-color);
}

.page-about__feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.page-about__feature-item {
  flex: 1;
  min-width: 280px;
  max-width: 45%;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 2px solid var(--border-color);
}

.page-about__feature-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__feature-description {
  font-size: 1em;
  color: var(--main-text-color);
}

/* History Section */
.page-about__history-section {
  background-color: var(--deep-red-color); /* Using deep red for history section */
  color: var(--dark-text-color);
}

.page-about__history-section .page-about__section-title {
  color: var(--gold-color);
}

.page-about__history-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__history-text {
  flex: 1;
  min-width: 300px;
  text-align: justify;
}

.page-about__history-image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color);
}

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

/* Why Choose Section */
.page-about__why-choose-section .page-about__section-title {
  color: var(--primary-color);
}

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

.page-about__advantage-card.page-about__card {
  background-color: var(--card-bg-color); /* Custom card background */
  color: var(--dark-text-color); /* Light text on dark card */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-about__advantage-card.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__card-title {
  font-size: 1.6em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__card-description {
  font-size: 1em;
  color: var(--dark-text-color);
}

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

/* Commitment Section */
.page-about__commitment-section {
  background-color: var(--primary-color); /* Primary color for commitment section */
  color: var(--dark-text-color);
}

.page-about__commitment-section .page-about__section-title {
  color: var(--gold-color);
}

.page-about__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__commitment-item {
  text-align: center;
  background-color: var(--deep-red-color); /* Darker background for items */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-about__commitment-icon {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid var(--border-color);
}

.page-about__commitment-title {
  font-size: 1.7em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__commitment-description {
  font-size: 1em;
  color: var(--dark-text-color);
}

/* Team Section */
.page-about__team-section .page-about__section-title {
  color: var(--primary-color);
}

.page-about__team-intro {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.page-about__team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__team-member.page-about__card {
  background-color: #ffffff; /* White background for team cards */
  color: var(--main-text-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-about__team-member.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__member-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  border: 3px solid var(--border-color);
  box-shadow: 0 0 0 5px rgba(244, 211, 77, 0.3); /* Gold glow */
}

.page-about__member-name {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 5px;
  font-weight: 700;
}

.page-about__member-role {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
}

.page-about__member-description {
  font-size: 0.95em;
  color: var(--main-text-color);
}

/* FAQ Section */
.page-about__faq-section .page-about__section-title {
  color: var(--primary-color);
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
details.page-about__faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
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;
  color: var(--primary-color); /* Question text color */
  font-weight: bold;
}
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: 1.1em;
  line-height: 1.5;
  text-align: left;
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color); /* Toggle icon color */
  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;
  color: var(--main-text-color); /* Answer text color */
}

/* Conclusion Section */
.page-about__conclusion-section {
  background-color: var(--main-bg-color);
  color: var(--dark-text-color);
  text-align: center;
}

.page-about__conclusion-section .page-about__section-title {
  color: var(--gold-color);
}

.page-about__conclusion-section .page-about__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2.5em;
  }
  .page-about__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-about__feature-item,
  .page-about__advantage-card,
  .page-about__commitment-item,
  .page-about__team-member {
    max-width: 48%;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-about__main-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px; /* Add padding for mobile */
    padding-right: 15px; /* Add padding for mobile */
  }

  /* Image responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__container,
  .page-about__feature-grid,
  .page-about__advantages-grid,
  .page-about__commitment-grid,
  .page-about__team-grid {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__feature-item,
  .page-about__advantage-card,
  .page-about__commitment-item,
  .page-about__team-member {
    max-width: 100%;
    flex-basis: 100%;
  }

  .page-about__history-content {
    flex-direction: column;
  }
  .page-about__history-text,
  .page-about__history-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-about__faq-qtext {
    font-size: 15px;
  }
  details.page-about__faq-item summary.page-about__faq-question { padding: 15px; }
  .page-about__faq-toggle { font-size: 20px; }
  details.page-about__faq-item .page-about__faq-answer { padding: 0 15px 15px; }

  /* Button container mobile adaptations */
  .page-about__cta-bottom {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }
  .page-about__feature-image,
  .page-about__commitment-icon {
    height: 150px;
  }
  .page-about__feature-title,
  .page-about__card-title,
  .page-about__commitment-title {
    font-size: 1.4em;
  }
  .page-about__member-photo {
    width: 120px;
    height: 120px;
  }
  .page-about__member-name {
    font-size: 1.3em;
  }
}