:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
}

.page-hoi-dap-faq {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Default text color for dark background */
  background-color: var(--background-color); /* Body background from shared.css */
}

.page-hoi-dap-faq__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background-color: var(--background-color);
}

.page-hoi-dap-faq__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 20px;
}

.page-hoi-dap-faq__hero-content {
  flex: 1;
  min-width: 300px;
}

.page-hoi-dap-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-hoi-dap-faq__intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-main-color);
  margin-bottom: 30px;
}

.page-hoi-dap-faq__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-hoi-dap-faq__btn-primary,
.page-hoi-dap-faq__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-hoi-dap-faq__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-hoi-dap-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

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

.page-hoi-dap-faq__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--background-color);
  transform: translateY(-2px);
}

.page-hoi-dap-faq__hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-hoi-dap-faq__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-hoi-dap-faq__faq-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.page-hoi-dap-faq__dark-section {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-hoi-dap-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-hoi-dap-faq__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-hoi-dap-faq__section-description {
  font-size: 1.1rem;
  color: var(--text-main-color);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

.page-hoi-dap-faq__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-hoi-dap-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main-color);
  list-style: none; /* For details/summary */
  transition: background-color 0.3s ease;
}

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

.page-hoi-dap-faq__faq-item[open] > .page-hoi-dap-faq__faq-question {
  background-color: #1e1e1e; /* Slightly darker on open */
}

.page-hoi-dap-faq__faq-question:hover {
  background-color: #1a1a1a;
}

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

.page-hoi-dap-faq__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 24px;
  text-align: center;
  color: var(--secondary-color);
}

.page-hoi-dap-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #ccc;
}

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

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

.page-hoi-dap-faq__call-to-action-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--background-color);
}

.page-hoi-dap-faq__btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-hoi-dap-faq__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-hoi-dap-faq__hero-content {
    order: 2;
  }
  .page-hoi-dap-faq__hero-image {
    order: 1;
  }
  .page-hoi-dap-faq__main-title,
  .page-hoi-dap-faq__intro-text {
    text-align: center;
  }
  .page-hoi-dap-faq__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-hoi-dap-faq__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

  .page-hoi-dap-faq__hero-container {
    padding: 20px 15px;
    gap: 20px;
  }

  .page-hoi-dap-faq__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

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

  .page-hoi-dap-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-hoi-dap-faq__btn-primary,
  .page-hoi-dap-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  /* General content sections */
  .page-hoi-dap-faq__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 15px;
  }

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

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

  .page-hoi-dap-faq__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-hoi-dap-faq__faq-toggle {
    font-size: 1.3rem;
    width: 20px;
  }

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

  .page-hoi-dap-faq__call-to-action-section {
    padding: 60px 15px;
  }

  .page-hoi-dap-faq__btn-large {
    font-size: 1rem;
    padding: 14px 28px;
  }

  /* All images must be responsive */
  .page-hoi-dap-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-hoi-dap-faq__content-image {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Containers for images and buttons */
  .page-hoi-dap-faq__hero-image,
  .page-hoi-dap-faq__faq-list,
  .page-hoi-dap-faq__call-to-action-section > .page-hoi-dap-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}