.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #F5F7FA); /* Ensure default if shared is not loaded */
}

.page-faq__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
  color: #ffffff;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand gradient background */
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for image */
  margin-bottom: 30px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-faq__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-faq__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.page-faq__subtitle {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.9;
}

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

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.4);
}

.page-faq__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  margin-left: 15px;
}

.page-faq__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.2);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #F5F7FA; /* Background color for content area */
  color: #333333; /* Main text color */
}

.page-faq__section-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
}

.page-faq__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto;
  color: #555555;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

.page-faq__faq-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: #333333;
}

.page-faq__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15em;
  color: #E53935;
  transition: background-color 0.3s ease;
}

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

.page-faq__faq-item summary:hover {
  background-color: #f9f9f9;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #E53935;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-faq__faq-answer {
  padding: 0 25px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

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

.page-faq__faq-answer ul {
  margin-left: 20px;
  margin-bottom: 15px;
  list-style-type: disc;
}

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

.page-faq__faq-answer strong {
  color: #E53935;
}

.page-faq__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-faq__faq-answer .page-faq__btn-secondary {
  margin-top: 20px;
  margin-left: 0;
}

.page-faq__contact-cta {
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__contact-title {
  font-size: clamp(1.6em, 2.5vw, 2.2em);
  font-weight: 700;
  color: #E53935;
  margin-bottom: 15px;
}

.page-faq__contact-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-section {
    padding-bottom: 40px;
  }

  .page-faq__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-faq__subtitle {
    font-size: clamp(0.9em, 1.8vw, 1.1em);
  }

  .page-faq__content-area {
    padding: 40px 20px;
  }

  .page-faq__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.5em);
  }

  .page-faq__faq-item summary {
    font-size: 1.1em;
    padding: 18px 20px;
  }

  .page-faq__faq-answer {
    padding: 0 20px 20px;
  }

  .page-faq__contact-cta {
    padding: 30px 20px;
  }

  .page-faq__contact-title {
    font-size: clamp(1.4em, 2.8vw, 2em);
  }
}

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

  /* HERO 主图区域 */
  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-faq__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-faq__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-faq__subtitle {
    font-size: 1em;
    margin-bottom: 25px;
  }

  /* 其他内容模块 (FAQ) */
  .page-faq__content-area {
    padding: 30px 15px !important;
  }

  .page-faq__section-header {
    margin-bottom: 30px;
  }

  .page-faq__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-faq__section-description {
    font-size: 0.95em;
  }

  .page-faq__faq-list {
    gap: 15px;
    margin-bottom: 40px;
  }

  .page-faq__faq-item summary {
    font-size: 1em;
    padding: 15px 18px;
  }

  .page-faq__faq-answer {
    padding: 0 18px 18px;
    font-size: 0.95em;
  }

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

  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__image-content {
    min-width: unset;
    min-height: unset;
  }

  /* 按钮与按钮容器 */
  .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;
    margin-left: 0 !important; /* Override margin-left for secondary button */
    margin-bottom: 10px; /* Add space between stacked buttons */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    gap: 10px; /* Space between buttons */
  }

  .page-faq__contact-cta {
    padding: 25px 15px !important;
  }

  .page-faq__contact-title {
    font-size: clamp(1.2em, 5vw, 1.8em);
  }

  .page-faq__contact-description {
    font-size: 0.9em;
  }
}