.page-faq {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #08160F;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 675px; /* Fixed height for desktop, will be adjusted for mobile */
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Desktop: cover to fill space */
  display: block;
}

.page-faq__hero-content {
  text-align: center;
  padding: 40px 20px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Clamp for responsive H1 */
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__intro-text {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* For responsive button container */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Button responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button custom color */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-faq__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Green from primary button */
  border: 2px solid #2AD16F; /* Deep Green border */
}

.page-faq__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.2);
}

/* General Section Styling */
.page-faq__section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-faq__section:last-of-type {
  border-bottom: none;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-faq__section-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Item Styling (Details/Summary) */
details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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;
  color: #F2FFF6; /* Text Main */
  font-weight: 600;
  font-size: 1.1rem;
}

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: #1E3A2A; /* Divider for hover */
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}

.page-faq__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 20px;
  background: #0A4B2C; /* Deep Green for answer background */
  border-radius: 0 0 8px 8px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95rem;
}

.page-faq__faq-answer p {
  margin: 0;
  padding: 0;
}

.page-faq__faq-answer a {
  color: #57E38D; /* Glow for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-faq__faq-answer a:hover {
  text-decoration: underline;
  color: #F2C14E; /* Gold on hover */
}

/* Conclusion Section specific styles */
.page-faq__conclusion {
  padding-bottom: 80px;
}

.page-faq__cta-buttons--bottom {
  margin-top: 50px;
}

/* General image styling for content areas */
.page-faq img:not(.page-faq__hero-image) {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* Ensure images don't get cropped */
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .page-faq__hero-image-wrapper {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-faq__container {
    padding: 0 15px !important;
  }

  /* HERO 主图区域 */
  .page-faq__hero-section {
    padding-top: 10px !important; /* Small top padding */
  }
  .page-faq__hero-image-wrapper {
    height: 300px !important; /* Adjust height for mobile */
  }
  .page-faq__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important;
  }
  .page-faq__hero-content {
    padding: 30px 15px 40px !important;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    margin-bottom: 15px !important;
  }
  .page-faq__intro-text {
    font-size: 0.95rem !important;
    margin-bottom: 30px !important;
  }

  /* 按钮与按钮容器 */
  .page-faq__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* 通用图片与容器 */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Section Titles and Descriptions */
  .page-faq__section {
    padding: 40px 0 !important;
  }
  .page-faq__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    margin-bottom: 15px !important;
  }
  .page-faq__section-description {
    font-size: 0.9rem !important;
    margin-bottom: 30px !important;
  }

  /* FAQ Item Styling */
  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px 20px !important;
    font-size: 1rem !important;
  }
  .page-faq__faq-qtext {
    font-size: 0.95rem !important;
  }
  .page-faq__faq-toggle {
    font-size: 20px !important;
    width: 24px !important;
    height: 24px !important;
    margin-left: 10px !important;
  }
  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 15px !important;
    font-size: 0.85rem !important;
  }
}