.page-hoi-dap-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f5f5f5;
}

.page-hoi-dap-faq__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, main offset from body */
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-hoi-dap-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.page-hoi-dap-faq__hero-content {
  position: relative;
  z-index: 1;
  padding: 30px 20px;
  background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white for readability */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin-top: -80px; /* Overlap with image for visual effect, but not overlaying text on image */
}

.page-hoi-dap-faq__hero-title {
  font-size: 2.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 800px; /* Constrain H1 width */
  margin-left: auto;
  margin-right: auto;
}

.page-hoi-dap-faq__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-hoi-dap-faq__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-hoi-dap-faq__section-description {
  font-size: 1.05em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-hoi-dap-faq__faq-main-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for FAQ content */
}

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

.page-hoi-dap-faq__faq-category-group {
  margin-bottom: 50px;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-hoi-dap-faq__faq-category-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 25px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 15px;
}

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

.page-hoi-dap-faq__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.page-hoi-dap-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #fefefe;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

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

.page-hoi-dap-faq__faq-item[open] .page-hoi-dap-faq__faq-question {
  background-color: #e6f7ff; /* Light blue on open */
  color: #26A9E0;
}

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

.page-hoi-dap-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  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: 20px 25px 25px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

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

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

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

.page-hoi-dap-faq__cta-bottom-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
}

.page-hoi-dap-faq__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-hoi-dap-faq__cta-description {
  font-size: 1.15em;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

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

.page-hoi-dap-faq__btn-primary,
.page-hoi-dap-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-hoi-dap-faq__btn-primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-hoi-dap-faq__btn-primary:hover {
  background: #d66c00;
  border-color: #d66c00;
}

.page-hoi-dap-faq__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-hoi-dap-faq__btn-secondary:hover {
  background: #e6f7ff;
  color: #1a8cc7;
  border-color: #1a8cc7;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-hoi-dap-faq__hero-title {
    font-size: 2.4em;
  }
  .page-hoi-dap-faq__hero-description {
    font-size: 1em;
  }
  .page-hoi-dap-faq__section-title {
    font-size: 2em;
  }
  .page-hoi-dap-faq__faq-category-title {
    font-size: 1.6em;
  }
  .page-hoi-dap-faq__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-hoi-dap-faq__faq-answer {
    padding: 15px 20px 20px;
  }
  .page-hoi-dap-faq__cta-title {
    font-size: 2.2em;
  }
  .page-hoi-dap-faq__cta-description {
    font-size: 1.05em;
  }
  .page-hoi-dap-faq__btn-primary,
  .page-hoi-dap-faq__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-hoi-dap-faq__hero-section {
    padding-top: 10px; /* Small top padding, main offset from body */
    margin-bottom: 20px;
  }
  .page-hoi-dap-faq__hero-image {
    max-height: 300px;
  }
  .page-hoi-dap-faq__hero-content {
    padding: 20px 15px;
    margin-top: -50px;
    max-width: calc(100% - 30px);
  }
  .page-hoi-dap-faq__hero-title {
    font-size: 1.8em;
    max-width: 100% !important;
  }
  .page-hoi-dap-faq__hero-description {
    font-size: 0.95em;
    max-width: 100% !important;
  }

  /* 通用图片与容器 */
  .page-hoi-dap-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-hoi-dap-faq__container,
  .page-hoi-dap-faq__faq-category-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-hoi-dap-faq__faq-main-section,
  .page-hoi-dap-faq__cta-bottom-section {
    padding: 40px 0;
  }

  /* 按钮与按钮容器 */
  .page-hoi-dap-faq__btn-primary,
  .page-hoi-dap-faq__btn-secondary,
  .page-hoi-dap-faq a[class*="button"],
  .page-hoi-dap-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-hoi-dap-faq__cta-buttons,
  .page-hoi-dap-faq__button-group,
  .page-hoi-dap-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 15px;
  }

  /* FAQ specific */
  .page-hoi-dap-faq__section-title {
    font-size: 1.6em;
  }
  .page-hoi-dap-faq__section-description {
    font-size: 0.9em;
  }
  .page-hoi-dap-faq__faq-category-title {
    font-size: 1.4em;
  }
  .page-hoi-dap-faq__faq-question {
    font-size: 1em;
    padding: 12px 18px;
  }
  .page-hoi-dap-faq__faq-answer {
    font-size: 0.95em;
    padding: 15px 18px 18px;
  }
  .page-hoi-dap-faq__cta-title {
    font-size: 1.8em;
  }
  .page-hoi-dap-faq__cta-description {
    font-size: 1em;
  }
}

/* Ensure no filter is used for images */
.page-hoi-dap-faq img {
  filter: none; /* Explicitly ensure no filter is applied */
}

/* Color contrast safety for various elements */
.page-hoi-dap-faq__light-bg {
  color: #333333; /* For sections with light background */
}

.page-hoi-dap-faq__dark-bg {
  color: #ffffff; /* For sections with dark brand color background */
}

.page-hoi-dap-faq__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

/* No special CSS for home-content, row-games, slider-track, banners-top-wrapper, blog-masonry, blog-slider-track as these are homepage specific and not present here. */