.page-hoi-dap-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for main content on light background */
  background: var(--bg-color, #f8f8f8); /* Assuming --bg-color is light or default to light gray */
}

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

.page-hoi-dap-faq__section {
  padding: 40px 20px;
  margin-bottom: 20px;
}

.page-hoi-dap-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as per rule */
  padding-bottom: 40px;
  background: #B71C1C; /* Custom Background color */
  color: #FFF5E1; /* Custom Text Main color */
  position: relative;
  overflow: hidden;
}

.page-hoi-dap-faq__hero-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

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

.page-hoi-dap-faq__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-hoi-dap-faq__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF5E1;
}

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

.page-hoi-dap-faq__section-title {
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: #C91F17;
}

.page-hoi-dap-faq__section-title--alt {
  color: #FFF5E1;
}

.page-hoi-dap-faq__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-hoi-dap-faq__section-subtitle--alt {
  color: #FFF5E1;
}

.page-hoi-dap-faq__faq-list-section {
  background: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-hoi-dap-faq__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

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

details.page-hoi-dap-faq__faq-item summary.page-hoi-dap-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;
  font-size: 1.1em;
  font-weight: 600;
  color: #FFF5E1;
}

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

details.page-hoi-dap-faq__faq-item summary.page-hoi-dap-faq__faq-question:hover {
  background: #7A0E0E; /* Deep Red for hover */
}

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

.page-hoi-dap-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F4D34D; /* Custom Gold color */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-hoi-dap-faq__faq-item .page-hoi-dap-faq__faq-answer {
  padding: 0 25px 25px;
  background: #B71C1C; /* Custom Background color */
  color: #FFF5E1; /* Custom Text Main color */
  border-radius: 0 0 8px 8px;
}

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

.page-hoi-dap-faq__link-text {
  color: #F4D34D; /* Custom Gold color */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-hoi-dap-faq__link-text:hover {
  color: #FFCC66; /* Custom Glow color */
}

.page-hoi-dap-faq__game-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

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

.page-hoi-dap-faq__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom Button gradient */
  color: #7A0E0E; /* Deep Red for text on gold button for contrast */
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-hoi-dap-faq__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-hoi-dap-faq__btn-secondary {
  background: transparent;
  color: #F4D34D; /* Custom Gold color */
  border: 2px solid #F4D34D; /* Custom Gold color for border */
}

.page-hoi-dap-faq__btn-secondary:hover {
  background: #F4D34D;
  color: #7A0E0E; /* Deep Red for text on gold button for contrast */
}

.page-hoi-dap-faq__btn-primary--large, .page-hoi-dap-faq__btn-secondary--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-hoi-dap-faq__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
  background: #E53935; /* Auxiliary color */
  color: #FFF5E1; /* Text Main color */
  border-radius: 25px;
}

.page-hoi-dap-faq__btn-small:hover {
  background: #C91F17; /* Main color */
}

.page-hoi-dap-faq__additional-info {
  background: #B71C1C; /* Custom Background color */
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-hoi-dap-faq__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-hoi-dap-faq__info-card {
  background: #D32F2F; /* Custom Card BG color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: #FFF5E1; /* Custom Text Main color */
  border: 1px solid #F2B544; /* Custom Border color */
}

.page-hoi-dap-faq__info-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-hoi-dap-faq__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F4D34D; /* Custom Gold color */
}

.page-hoi-dap-faq__info-card p {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-hoi-dap-faq__cta-bottom {
  background: #7A0E0E; /* Deep Red color */
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

.page-hoi-dap-faq__container--center {
  max-width: 900px;
}

.page-hoi-dap-faq__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-hoi-dap-faq__hero-image {
    height: 400px;
  }
  .page-hoi-dap-faq__main-title {
    font-size: 2.5em;
  }
  .page-hoi-dap-faq__section-title {
    font-size: 2em;
  }
  .page-hoi-dap-faq__info-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-hoi-dap-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-hoi-dap-faq__hero-image {
    height: 300px;
    margin-bottom: 20px;
  }
  .page-hoi-dap-faq__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-hoi-dap-faq__hero-content {
    padding: 0 15px;
  }
  .page-hoi-dap-faq__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
    margin-bottom: 15px;
  }
  .page-hoi-dap-faq__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-hoi-dap-faq__hero-cta {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  /* General container and section padding */
  .page-hoi-dap-faq__container,
  .page-hoi-dap-faq__section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-hoi-dap-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }
  .page-hoi-dap-faq__section-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* FAQ section */
  details.page-hoi-dap-faq__faq-item summary.page-hoi-dap-faq__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-hoi-dap-faq__faq-qtext {
    font-size: 16px;
  }
  .page-hoi-dap-faq__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 24px;
  }
  details.page-hoi-dap-faq__faq-item .page-hoi-dap-faq__faq-answer {
    padding: 0 20px 20px;
  }

  /* Additional Info Cards */
  .page-hoi-dap-faq__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-hoi-dap-faq__info-card {
    padding: 25px;
  }
  .page-hoi-dap-faq__card-title {
    font-size: 1.3em;
  }

  /* Buttons responsiveness */
  .page-hoi-dap-faq__btn-primary,
  .page-hoi-dap-faq__btn-secondary,
  .page-hoi-dap-faq__btn-small,
  .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 !important; /* Ensure inner padding is not lost */
    padding-right: 15px !important;
  }
  .page-hoi-dap-faq__button-group {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-hoi-dap-faq__game-links {
    flex-direction: column;
    gap: 10px;
  }

  /* General images */
  .page-hoi-dap-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Allow smaller images on mobile if needed for layout, but still respect 200px rule for content images */
    min-height: unset !important;
  }

  /* No products-grid section on this page, but if it existed, it would have: */
  /* .page-hoi-dap-faq__products-grid { grid-template-columns: 1fr 1fr; overflow-x: hidden; } */

  /* No article-body section on this page, but if it existed, it would have: */
  /* .page-hoi-dap-faq__article-body { max-width: 100%; padding: 0 15px; } */

  /* .page-hoi-dap-faq__cta-bottom .page-hoi-dap-faq__section-title--alt { font-size: 1.8em; } */
}