.page-faq {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text on light body background */
  line-height: 1.6;
  background-color: #FFFFFF;
}

.page-faq__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  position: relative;
  background-color: #f8f8f8;
  text-align: center;
  padding-bottom: 40px;
}

.page-faq__hero-image-wrap {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

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

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

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-faq__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-faq__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-faq__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-faq__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87c0;
}

.page-faq__cta-buttons--inline {
    margin-top: 20px;
    justify-content: flex-start;
}

.page-faq__content-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-faq__article-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #26A9E0;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.page-faq__section-description {
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  user-select: none;
}

.page-faq__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  font-weight: 500;
  color: #26A9E0;
  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 20px 25px;
  font-size: 1.05rem;
  color: #555555;
  border-top: 1px solid #eee;
  line-height: 1.7;
}

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

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

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

.page-faq__faq-answer .page-faq__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-faq__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-faq__link:hover {
  text-decoration: underline;
  color: #1e87c0;
}

.page-faq__contact-promo-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-faq__section-title--light {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-faq__promo-text {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

.page-faq__copyright-section {
    background-color: #f2f2f2;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #666666;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
  .page-faq {
    font-size: 15px;
    line-height: 1.5;
  }

  /* 1. 顶区标题 + 双 CTA */
  .page-faq__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
    padding-bottom: 30px;
  }

  .page-faq__hero-content {
    padding: 0 15px;
  }

  .page-faq__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-faq__intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-faq__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px;
  }

  /* 4. 按钮与按钮容器 */
  .page-faq__cta-button,
  .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: 12px 20px !important;
    font-size: 0.95rem !important;
  }

  .page-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-faq__cta-buttons--inline {
      flex-direction: column;
      align-items: flex-start;
  }

  /* 2. 单栏长文容器 */
  .page-faq__content-section {
    padding: 40px 0;
  }

  .page-faq__article-wrap {
    padding: 0 15px;
  }

  .page-faq__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 20px;
  }

  .page-faq__section-description {
      font-size: 0.95rem;
      margin-bottom: 30px;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-faq__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  /* 3. 通用图片与 figure */
  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__image {
      margin: 15px auto !important;
  }

  .page-faq__contact-promo-section {
    padding: 50px 0;
  }

  .page-faq__section-title--light {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  }

  .page-faq__promo-text {
    font-size: 1rem;
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .page-faq__copyright-section {
      padding: 15px 0;
  }
  .page-faq__copyright {
      font-size: 0.85rem;
  }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-faq__article-wrap {
    padding: 0 30px;
  }
  .page-faq__hero-content {
    padding: 0 30px;
  }
  .page-faq__main-title {
    font-size: clamp(2.5rem, 5vw, 3rem);
  }
  .page-faq__intro-text {
    font-size: 1.05rem;
  }
  .page-faq__section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }
  .page-faq__faq-question {
    font-size: 1.15rem;
  }
  .page-faq__faq-answer {
    font-size: 1rem;
  }
  .page-faq__contact-promo-section {
    padding: 60px 0;
  }
  .page-faq__promo-text {
      font-size: 1.1rem;
  }
  .page-faq__cta-buttons {
      gap: 15px;
  }
}