.page-faq__hero-section {
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  background-color: #F5F7FA;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  height: 450px; /* Default height for desktop */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-faq__hero-content {
  position: relative;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 2;
  text-align: center;
}

.page-faq__main-title {
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  color: #E53935;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-faq__description {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  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: none;
}

.page-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-faq__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-faq__section {
  padding: 60px 20px;
  background-color: #F5F7FA;
  text-align: center;
}

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

.page-faq__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #E53935;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

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

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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 0.3s ease;
}

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: #fdf2f2; /* Lighter shade of red for hover */
  color: #E53935;
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
}

details.page-faq__faq-item[open] .page-faq__faq-qtext {
  color: #E53935;
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FF5A4F;
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-faq__faq-item[open] .page-faq__faq-toggle {
  color: #E53935;
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: #333333;
  line-height: 1.7;
  font-size: 1rem;
}

.page-faq__faq-answer p {
  margin-bottom: 1em;
}

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-left: 20px;
  margin-bottom: 1em;
  list-style-type: disc;
}

.page-faq__faq-answer ol {
  list-style-type: decimal;
}

.page-faq__faq-answer li {
  margin-bottom: 0.5em;
}

.page-faq__faq-answer a {
  color: #E53935;
  text-decoration: underline;
}

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

.page-faq__cta-section {
  padding: 80px 20px;
  background-color: #E53935;
  color: #ffffff;
  text-align: center;
}

.page-faq__cta-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-section .page-faq__btn-primary {
  background: #ffffff;
  color: #E53935;
  border: none;
}

.page-faq__cta-section .page-faq__btn-primary:hover {
  background: #f0f0f0;
}

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

.page-faq__cta-section .page-faq__btn-secondary:hover {
  background: #ffffff;
  color: #E53935;
}

/* ---------------------------------------------------------------------- */
/* 响应式设计 - 针对平板和移动设备 */
/* ---------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .page-faq__hero-image-wrapper {
    height: 350px;
  }

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

  .page-faq__description {
    font-size: 1rem;
  }

  .page-faq__section,
  .page-faq__cta-section {
    padding: 50px 15px;
  }

  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px 20px;
  }

  .page-faq__faq-qtext {
    font-size: 1.05rem;
  }

  .page-faq__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 25px;
  }

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-faq__hero-section {
    padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  }

  .page-faq__hero-image-wrapper {
    height: 250px;
  }

  .page-faq__hero-image {
    object-fit: contain !important; /* Mobile: prevent cropping */
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-faq__description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  /* 按钮与按钮容器 */
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .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;
  }

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

  .page-faq__section,
  .page-faq__cta-section {
    padding: 40px 0;
  }

  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-faq__faq-qtext {
    font-size: 1rem;
    width: calc(100% - 40px);
  }

  .page-faq__faq-toggle {
    font-size: 22px;
    margin-left: 10px;
    width: 28px;
    height: 28px;
  }

  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 15px 15px;
  }
  
  .page-faq__faq-answer p,
  .page-faq__faq-answer li {
    font-size: 0.95rem;
  }

  /* 装饰主标题 + 长文 SEO 区 (if present, general text styling) */
  .page-faq__article-body {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-faq__article-body p,
  .page-faq__article-body li {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .page-faq__article-figure {
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}