.page-hoi-dap-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--Text-Main);
  background-color: var(--Deep-Navy);
}

.page-hoi-dap-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--Deep-Navy);
}

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

.page-hoi-dap-faq__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: var(--Gold);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-hoi-dap-faq__subtitle {
  font-size: 1.1em;
  color: var(--Text-Secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-hoi-dap-faq__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-hoi-dap-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(79, 168, 255, 0.5);
}

.page-hoi-dap-faq__content-section {
  padding: 60px 0;
}

.page-hoi-dap-faq__dark-section {
  background-color: var(--Card-BG);
  color: var(--Text-Main);
}

.page-hoi-dap-faq__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-hoi-dap-faq__section-title {
  font-size: 2.5em;
  color: var(--Gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-hoi-dap-faq__section-description {
  font-size: 1.1em;
  color: var(--Text-Secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-hoi-dap-faq__faq-item {
  background-color: var(--Deep-Navy);
  border: 1px solid var(--Divider);
  border-radius: 8px;
  overflow: hidden;
  color: var(--Text-Main);
  transition: all 0.3s ease;
}

.page-hoi-dap-faq__faq-item[open] {
  background-color: var(--Deep-Navy);
  border-color: var(--Glow);
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.3);
}

.page-hoi-dap-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--Text-Main);
  list-style: none; /* For details tag */
  position: relative;
}

.page-hoi-dap-faq__faq-question::-webkit-details-marker {
  display: none;
}

.page-hoi-dap-faq__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-hoi-dap-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: var(--Glow);
  transition: transform 0.3s ease;
}

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

.page-hoi-dap-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--Text-Secondary);
}

.page-hoi-dap-faq__faq-answer p {
  margin-bottom: 15px;
  color: var(--Text-Secondary);
}

.page-hoi-dap-faq__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
}

.page-hoi-dap-faq__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 20px;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-hoi-dap-faq__btn--primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: none;
  box-shadow: 0 5px 15px rgba(17, 68, 166, 0.4);
}

.page-hoi-dap-faq__btn--primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 8px 20px rgba(17, 68, 166, 0.6);
}

.page-hoi-dap-faq__btn--secondary {
  background: transparent;
  color: var(--Glow);
  border: 2px solid var(--Glow);
  margin-left: 15px;
}

.page-hoi-dap-faq__btn--secondary:hover {
  background: var(--Glow);
  color: var(--Deep-Navy);
}

.page-hoi-dap-faq__cta-bottom {
  text-align: center;
  padding: 50px 20px;
  margin-top: 40px;
  background-color: var(--Deep-Navy);
  border-radius: 10px;
  border: 1px solid var(--Border);
  box-shadow: 0 0 20px rgba(79, 168, 255, 0.3);
}

.page-hoi-dap-faq__cta-title {
  font-size: 2em;
  color: var(--Gold);
  margin-bottom: 15px;
}

.page-hoi-dap-faq__cta-description {
  font-size: 1.1em;
  color: var(--Text-Secondary);
  margin-bottom: 30px;
}

.page-hoi-dap-faq__cta-bottom .page-hoi-dap-faq__btn {
  margin: 10px;
}

/* General image responsiveness */
.page-hoi-dap-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-hoi-dap-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-hoi-dap-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

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

  .page-hoi-dap-faq__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-hoi-dap-faq__subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-hoi-dap-faq__hero-image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-hoi-dap-faq__content-section {
    padding: 40px 0;
  }

  .page-hoi-dap-faq__container {
    padding: 0 15px;
  }

  .page-hoi-dap-faq__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

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

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

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

  .page-hoi-dap-faq__btn {
    display: block;
    margin: 10px auto !important;
    max-width: 100% !important;
    width: calc(100% - 30px) !important; /* Account for padding */
    padding: 12px 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-hoi-dap-faq__btn--secondary {
    margin-left: auto !important; /* Center if only one, or stack */
  }

  .page-hoi-dap-faq__cta-bottom {
    padding: 30px 15px;
  }

  .page-hoi-dap-faq__cta-title {
    font-size: 1.5em;
  }

  .page-hoi-dap-faq__cta-description {
    font-size: 1em;
  }

  .page-hoi-dap-faq__cta-bottom .page-hoi-dap-faq__btn {
    margin: 10px auto;
    max-width: 100% !important;
    width: calc(100% - 20px) !important; /* Adjust for internal padding */
  }
  
  /* Ensure all img tags inside .page-hoi-dap-faq are responsive */
  .page-hoi-dap-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Ensure all containers with images/buttons are responsive */
  .page-hoi-dap-faq__hero-image-container,
  .page-hoi-dap-faq__faq-answer,
  .page-hoi-dap-faq__cta-bottom,
  .page-hoi-dap-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* For button groups, ensure they stack or wrap */
  .page-hoi-dap-faq__cta-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .page-hoi-dap-faq__cta-bottom .page-hoi-dap-faq__btn {
    width: 100%;
    margin: 0;
  }
}