.page-huong-dan-choi {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background is white */
}

.page-huong-dan-choi__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-huong-dan-choi__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #017439;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}

.page-huong-dan-choi__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  overflow: hidden;
}

.page-huong-dan-choi__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-huong-dan-choi__hero-content-wrapper {
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-huong-dan-choi__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
  /* clamp(min, preferred, max) for font-size */
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.page-huong-dan-choi__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-huong-dan-choi__btn-primary,
.page-huong-dan-choi__btn-secondary,
.page-huong-dan-choi__btn-outline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-huong-dan-choi__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-huong-dan-choi__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-huong-dan-choi__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-huong-dan-choi__btn-secondary:hover {
  background-color: #e0e0e0;
}

.page-huong-dan-choi__btn-outline {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  margin-top: 20px;
}

.page-huong-dan-choi__btn-outline:hover {
  background-color: #FFFFFF;
  color: #017439;
}

.page-huong-dan-choi__section-title {
  font-size: 2.5rem;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-huong-dan-choi__section-title--white {
  color: #FFFFFF;
}

.page-huong-dan-choi__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-huong-dan-choi__text-block--white {
  color: #f0f0f0;
}

.page-huong-dan-choi__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Section specific styles */
.page-huong-dan-choi__intro-section,
.page-huong-dan-choi__registration-guide-section,
.page-huong-dan-choi__withdrawal-guide-section,
.page-huong-dan-choi__promotion-guide-section,
.page-huong-dan-choi__responsible-gaming-section,
.page-huong-dan-choi__cta-section {
  padding: 60px 0;
}

.page-huong-dan-choi__dark-section {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-huong-dan-choi__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-huong-dan-choi__guide-overview-section {
  text-align: center;
}

.page-huong-dan-choi__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-huong-dan-choi__guide-list li {
  margin-bottom: 10px;
}

.page-huong-dan-choi__guide-link {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 8px 15px;
  border: 1px solid #FFFFFF;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-huong-dan-choi__guide-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-huong-dan-choi__guide-steps {
  margin-top: 40px;
}

.page-huong-dan-choi__guide-step-title {
  font-size: 1.8rem;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-huong-dan-choi__guide-step-title--white {
  color: #FFFFFF;
}

.page-huong-dan-choi__numbered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-huong-dan-choi__numbered-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-huong-dan-choi__numbered-list--white li {
  color: #f0f0f0;
}

.page-huong-dan-choi__game-guides-section {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-huong-dan-choi__game-guide-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark section */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-huong-dan-choi__game-guide-title {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-huong-dan-choi__game-guide-title--white {
  color: #FFFFFF;
}

.page-huong-dan-choi__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-huong-dan-choi__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-huong-dan-choi__contact-list li {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-huong-dan-choi__responsible-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 20px;
}

.page-huong-dan-choi__responsible-list li {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.page-huong-dan-choi__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-huong-dan-choi__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFFFFF;
}

.page-huong-dan-choi__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.page-huong-dan-choi__faq-item[open] > .page-huong-dan-choi__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-huong-dan-choi__faq-question::-webkit-details-marker {
  display: none;
}

.page-huong-dan-choi__faq-qtext {
  flex-grow: 1;
  color: #FFFFFF;
}

.page-huong-dan-choi__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
  color: #FFFF00; /* Register/Login font color for toggle */
}

.page-huong-dan-choi__faq-item[open] .page-huong-dan-choi__faq-toggle {
  content: '-';
}

.page-huong-dan-choi__faq-answer {
  padding: 15px 20px;
  font-size: 1rem;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-huong-dan-choi__faq-answer p {
  margin: 0;
}

/* General image and container rules for mobile */
.page-huong-dan-choi img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-huong-dan-choi__section,
.page-huong-dan-choi__card,
.page-huong-dan-choi__container,
.page-huong-dan-choi__cta-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

  .page-huong-dan-choi__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-huong-dan-choi__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .page-huong-dan-choi__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-huong-dan-choi__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-huong-dan-choi__btn-primary,
  .page-huong-dan-choi__btn-secondary,
  .page-huong-dan-choi__btn-outline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-huong-dan-choi__cta-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-huong-dan-choi__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .page-huong-dan-choi__text-block {
    font-size: 1rem;
  }

  .page-huong-dan-choi__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 15px auto;
  }

  .page-huong-dan-choi__guide-list {
    flex-direction: column;
    gap: 10px;
  }

  .page-huong-dan-choi__guide-link {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 15px;
  }

  .page-huong-dan-choi__guide-step-title {
    font-size: 1.5rem;
  }

  .page-huong-dan-choi__game-guide-item {
    padding: 15px;
  }

  .page-huong-dan-choi__game-guide-title {
    font-size: 1.7rem;
  }

  .page-huong-dan-choi__faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .page-huong-dan-choi__faq-answer {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  /* Ensure no horizontal scroll for general content containers */
  .page-huong-dan-choi__section,
  .page-huong-dan-choi__card,
  .page-huong-dan-choi__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific overrides for common homepage-only elements to ensure they are not present or correctly handled if accidentally generated */
  .page-huong-dan-choi__home-content { height: auto !important; overflow-y: visible !important; }
  .page-huong-dan-choi__slider-track { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
  .page-huong-dan-choi__game-slide { flex: 0 0 160px !important; max-width: 160px !important; scroll-snap-align: start; }
  .page-huong-dan-choi__banners-top-wrapper { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .page-huong-dan-choi__banner-item img { max-width: 100% !important;  }
  .page-huong-dan-choi__blog-masonry { grid-template-columns: 1fr !important; }
  .page-huong-dan-choi__blog-slider-track { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
  .page-huong-dan-choi__blog-slide { flex: 0 0 100% !important; max-width: 100% !important; scroll-snap-align: start; }
}