.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
  padding-bottom: 40px;
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px;
  background-color: #B71C1C;
}

.page-faq__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-faq__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-faq__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-faq__main-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #FFD700; /* Gold for emphasis */
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-faq__description {
  font-size: 18px;
  color: #FFF5E1; /* Text Main */
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-faq__cta-button:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #FFF5E1;
  background-color: #B71C1C;
}

.page-faq__section-title {
  font-size: clamp(24px, 3vw, 36px);
  color: #FFD700; /* Gold for emphasis */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-faq__section-description {
  font-size: 17px;
  color: #FFF5E1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-faq__faq-list {
  margin-top: 30px;
}

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #FFF5E1;
}

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, border-color 0.3s ease;
  background-color: #C91F17; /* Main color */
  color: #FFF5E1;
  border-bottom: 1px solid #F2B544;
}

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-color: #E53935; /* Auxiliary color */
}

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

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

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

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background-color: #D32F2F; /* Card BG */
  border-radius: 0 0 8px 8px;
  color: #FFF5E1;
}

.page-faq__faq-answer p {
  margin-top: 15px;
  font-size: 16px;
  color: #FFF5E1;
}

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

.page-faq__faq-answer a:hover {
  color: #E6B800;
}

.page-faq__image-wrapper {
  margin-top: 20px;
  text-align: center;
}

.page-faq__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-faq__call-to-action {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #C91F17; /* Main color */
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #F2B544;
}

.page-faq__cta-title {
  font-size: clamp(22px, 2.5vw, 30px);
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-faq__cta-description {
  font-size: 17px;
  color: #FFF5E1;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.page-faq__download-button {
  margin-top: 20px;
}

/* 移动端图片适配强制要求 */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

.page-faq__image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* 移动端按钮适配强制要求 */
.page-faq__cta-button,
.page-faq__download-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* 移动端强制适配 */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__main-title {
    font-size: 28px;
  }

  .page-faq__description {
    font-size: 16px;
  }

  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important;
  }

  .page-faq__content-area {
    padding: 30px 15px;
  }

  .page-faq__section-title {
    font-size: 24px;
  }

  .page-faq__section-description {
    font-size: 15px;
  }

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

  .page-faq__faq-qtext {
    font-size: 15px;
  }

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

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

  .page-faq__faq-answer p {
    font-size: 15px;
  }

  .page-faq__image-wrapper img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__call-to-action {
    margin-top: 40px;
    padding: 30px 15px;
  }

  .page-faq__cta-title {
    font-size: 22px;
  }

  .page-faq__cta-description {
    font-size: 15px;
  }
  
  /* Ensure all image containers are responsive */
  .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;
  }

  /* Buttons specific */
  .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;
  }
  
  .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 {
    display: flex;
    flex-direction: column;
  }
}