.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Ensures consistency with body background */
}

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

.page-about__hero-section {
  position: relative;
  padding-top: 0; /* Assumes shared.css handles body padding-top */
  padding-bottom: 80px;
  color: #ffffff;
  text-align: center;
  background-color: #017439; /* Brand primary color for hero */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  font-weight: bold;
  color: #ffffff;
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.page-about__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-about__btn-register {
  background-color: #C30808; /* Custom color for register */
  color: #ffffff; /* Forced white text for contrast */
  border: 2px solid #C30808;
}

.page-about__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-about__btn-login {
  background-color: #C30808; /* Custom color for login */
  color: #ffffff; /* Forced white text for contrast */
  border: 2px solid #C30808;
}

.page-about__btn-login:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

.page-about__btn-primary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

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

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2d;
  border-color: #005a2d;
}

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

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-about__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  font-weight: bold;
  color: inherit;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  color: inherit;
}

.page-about__text-link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-about__dark-section .page-about__text-link {
  color: #FFFF00; /* Yellow for links on dark background */
  text-decoration: underline;
}

.page-about__text-link:hover {
  text-decoration: none;
}

.page-about__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

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

.page-about__value-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #333333;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-about__value-card .page-about__value-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
  font-weight: bold;
}

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

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

.page-about__service-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #ffffff;
  height: 100%; /* Ensure items have equal height */
  display: flex;
  flex-direction: column;
}

.page-about__service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-about__service-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: bold;
}

.page-about__service-title a {
  color: #ffffff;
  text-decoration: none;
}

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

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

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

.page-about__advantage-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-about__advantage-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: inherit;
}

.page-about__advantage-item::before {
  content: '✓';
  color: #017439;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-about__dark-section .page-about__advantage-item::before {
  color: #FFFF00;
}

.page-about__contact-info {
  margin-top: 30px;
  margin-bottom: 40px;
  text-align: center;
}

.page-about__contact-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: inherit;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }

  .page-about__hero-description {
    font-size: 1.1em;
  }

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__values-grid,
  .page-about__service-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-about__value-card,
  .page-about__service-item {
    padding: 20px;
  }
}

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

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

  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Adjust if shared.css doesn't set body padding */
    padding-bottom: 60px !important;
  }

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

  .page-about__hero-description {
    font-size: 1em !important;
    margin-bottom: 30px !important;
  }

  .page-about__hero-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

  /* 按钮与按钮容器 */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-register,
  .page-about__btn-login,
  .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 15px !important;
  }

  .page-about__hero-buttons,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-direction: column !important;
    gap: 15px !important;
  }

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

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

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

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

  .page-about__text-block {
    font-size: 1em !important;
    text-align: left !important;
  }

  .page-about__values-grid,
  .page-about__service-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-about__value-card,
  .page-about__service-item {
    padding: 20px !important;
  }

  .page-about__service-image {
    height: 180px !important;
  }

  .page-about__advantage-item {
    font-size: 1em !important;
    padding-left: 25px !important;
  }

  .page-about__advantage-item::before {
    font-size: 0.9em !important;
    left: 0 !important;
  }
}