.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Sử dụng Text Main */
  background-color: var(--bg); /* Sử dụng Background */
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Nhỏ顶距 */
  background-color: var(--bg);
  text-align: center;
  overflow: hidden;
}

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

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.page-faq__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main); /* Sử dụng Text Main */
  margin-bottom: 20px;
}

.page-faq__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary); /* Sử dụng Text Secondary */
  margin-bottom: 30px;
}

.page-faq__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Cho phép xuống dòng trên mobile */
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.page-faq__cta-buttons--inline {
  margin-top: 20px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Sử dụng Button Color */
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-faq__btn-secondary {
  background: none;
  color: var(--text-main); /* Sử dụng Text Main */
  border: 2px solid var(--border); /* Sử dụng Border Color */
}

.page-faq__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-faq__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--bg);
}

.page-faq__dark-section {
  background-color: var(--background); /* Sử dụng Background */
  color: var(--text-main); /* Sử dụng Text Main */
}

.page-faq__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--text-main); /* Sử dụng Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__section-description {
  font-size: 1.1em;
  color: var(--text-secondary); /* Sử dụng Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-faq__faq-item {
  background-color: var(--card-b-g); /* Sử dụng Card BG */
  border-radius: 10px;
  overflow: hidden;
  color: var(--text-main); /* Sử dụng Text Main */
  border: 1px solid var(--border); /* Sử dụng Border Color */
}

.page-faq__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--text-main); /* Sử dụng Text Main */
  list-style: none;
  outline: none;
}

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-faq__faq-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  margin-left: 15px;
  font-size: 1.5em;
  line-height: 1;
  color: var(--gold); /* Sử dụng Gold */
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-secondary); /* Sử dụng Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq__faq-item[open] .page-faq__faq-answer {
  max-height: 1000px; /* Arbitrary large value for smooth transition */
  padding-top: 10px;
}

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

.page-faq__faq-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 15px;
  margin-bottom: 15px;
  min-width: 200px; /* Minimum size */
  min-height: 200px;
}

.page-faq__contact-promo {
  background-color: var(--deep-green); /* Sử dụng Deep Green */
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-faq__contact-content {
  max-width: 700px;
  color: var(--text-main); /* Sử dụng Text Main */
}

.page-faq__contact-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--text-main); /* Sử dụng Text Main */
  margin-bottom: 20px;
}

.page-faq__contact-description {
  font-size: 1.1em;
  color: var(--text-secondary); /* Sử dụng Text Secondary */
  margin-bottom: 30px;
}

.page-faq__contact-image-wrapper {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-faq__contact-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  min-width: 200px; /* Minimum size */
  min-height: 200px;
}

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

  .page-faq__hero-image-wrapper,
  .page-faq__contact-image-wrapper,
  .page-faq__content-area,
  .page-faq__contact-promo {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-faq__hero-image,
  .page-faq__faq-image,
  .page-faq__contact-image,
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .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__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  .page-faq__contact-promo {
    flex-direction: column;
    gap: 30px;
    padding: 40px 15px;
  }
}

@media (min-width: 769px) {
  .page-faq__contact-promo {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .page-faq__contact-content {
    text-align: left;
    max-width: 50%;
  }

  .page-faq__contact-image-wrapper {
    max-width: 40%;
  }

  .page-faq__cta-buttons {
    justify-content: flex-start;
  }
}