.page-faq {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  background: #FFFFFF; /* Default body background */
}

.page-faq__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body padding-top is handled by shared.css */
  padding-bottom: 40px;
  background-color: #f8f8f8;
  text-align: center;
}

.page-faq__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px; /* Limit hero image height */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  display: block;
}

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Clamp for h1 */
  color: #017439;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-faq__lead-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-faq__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
  transform: translateY(-2px);
}

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

.page-faq__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  transform: translateY(-2px);
}

.page-faq__btn-large {
  min-width: 220px;
  padding: 16px 35px;
  font-size: 1.15rem;
}

.page-faq__content-section {
  padding: 60px 0;
}

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

.page-faq__dark-section .page-faq__section-title {
  color: #ffffff;
}

.page-faq__dark-section .page-faq__section-description {
  color: #f0f0f0;
}

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

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.page-faq__section-description {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-faq__dark-section .page-faq__section-description {
  color: #e0e0e0;
}

.page-faq__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

details.page-faq__faq-item[open] {
  border-color: #017439;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

details.page-faq__faq-item summary.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  position: relative;
  font-weight: 600;
  color: #333333;
}

details.page-faq__faq-item summary.page-faq__faq-question::-webkit-details-marker {
  display: none;
}

details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: #f5f5f5;
}

.page-faq__dark-section details.page-faq__faq-item summary.page-faq__faq-question {
  background-color: #00602f;
  color: #ffffff;
  border-color: #00602f;
}

.page-faq__dark-section details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background-color: #005026;
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
}

.page-faq__faq-toggle {
  font-size: 26px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

details.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg); /* Change + to X visually */
  color: #C30808; /* Red for open state */
}

.page-faq__dark-section .page-faq__faq-toggle {
  color: #ffffff;
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  color: #555555;
  line-height: 1.6;
}

.page-faq__dark-section details.page-faq__faq-item .page-faq__faq-answer {
  background-color: #005026;
  color: #e0e0e0;
}

.page-faq__faq-answer p {
  margin-top: 15px;
  margin-bottom: 0;
}

.page-faq__faq-answer ul {
  margin-top: 15px;
  padding-left: 25px;
}

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

.page-faq__call-to-action {
  background-color: #f8f8f8;
  padding: 80px 0;
  text-align: center;
}

.page-faq__call-to-action .page-faq__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-faq__cta-content {
  flex: 1;
  max-width: 600px;
}

.page-faq__cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #017439;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 30px;
}

.page-faq__cta-image {
  flex-shrink: 0;
  width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: block;
}

/* All images responsive base */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-image {
    max-height: 400px;
  }
  .page-faq__cta-image {
    width: 350px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-faq__hero-section {
    padding-top: 10px; /* Ensure small top padding */
    padding-bottom: 30px;
  }
  .page-faq__hero-image {
    object-fit: contain !important; /* HERO main image: contain, no cropping */
    aspect-ratio: unset !important; /* Reset aspect ratio */
    max-height: 300px !important; /* Adjust for mobile */
    margin-bottom: 20px;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    text-align: center;
    padding: 0 15px;
  }
  .page-faq__lead-text {
    font-size: 1rem;
    text-align: center;
    padding: 0 15px;
  }

  /* 产品展示图区域 (Not directly applicable, but general image/container rules below cover it) */
  /* .page-faq__products-grid {} */
  
  /* 装饰主标题 + 长文 SEO 区 */
  .page-faq__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    text-align: center;
    padding: 0 15px;
  }
  .page-faq__section-description {
    font-size: 0.95rem;
    text-align: center;
    padding: 0 15px;
  }
  .page-faq__faq-qtext {
    font-size: 16px;
  }
  .page-faq__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  /* 通用图片与容器 */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-faq__container,
  .page-faq__hero-section,
  .page-faq__content-section,
  .page-faq__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  /* Add specific padding to content sections to avoid content touching edges */
  .page-faq__content-section .page-faq__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-faq__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq 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-left: 15px;
    padding-right: 15px;
  }

  /* CTA Section for mobile */
  .page-faq__call-to-action .page-faq__container {
    flex-direction: column-reverse; /* Image below text on mobile */
    gap: 30px;
  }
  .page-faq__cta-content {
    max-width: 100%;
    padding: 0 15px;
  }
  .page-faq__cta-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .page-faq__cta-description {
    font-size: 1rem;
  }
  .page-faq__cta-image {
    width: 100%;
    max-width: 300px !important; /* Adjust for mobile */
    margin-bottom: 20px; /* Space between image and text */
  }

  /* FAQ items on mobile */
  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px 20px;
  }
  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 20px;
  }
}