.page-huong-dan-choi {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-huong-dan-choi__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
  margin-bottom: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-huong-dan-choi__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height for desktop */
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
}

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

.page-huong-dan-choi__hero-content {
  max-width: 900px;
  padding: 0 15px;
}

.page-huong-dan-choi__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-huong-dan-choi__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #1F2D3D;
  margin-bottom: 30px;
}

.page-huong-dan-choi__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Common Section Styles */
.page-huong-dan-choi__content-section {
  padding: 40px 0;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-choi__content-section:last-of-type {
  margin-bottom: 0;
}

.page-huong-dan-choi__section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: #2F6BFF;
  text-align: center;
  margin-bottom: 30px;
}

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

.page-huong-dan-choi__sub-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: #1F2D3D;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-huong-dan-choi__text-block {
  font-size: 17px;
  color: #1F2D3D;
  margin-bottom: 15px;
  text-align: justify;
}

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

.page-huong-dan-choi__ordered-list,
.page-huong-dan-choi__unordered-list {
  margin-bottom: 20px;
  padding-left: 25px;
  color: #1F2D3D;
  font-size: 17px;
}

.page-huong-dan-choi__ordered-list li,
.page-huong-dan-choi__unordered-list li {
  margin-bottom: 10px;
}

/* Buttons */
.page-huong-dan-choi__btn-primary,
.page-huong-dan-choi__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto;
  text-align: center;
}

.page-huong-dan-choi__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-huong-dan-choi__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-huong-dan-choi__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-choi__btn-secondary:hover {
  background: #F4F7FB;
  color: #1a4fcc;
  border-color: #1a4fcc;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-huong-dan-choi__btn-secondary--full-width {
  width: 100%;
  max-width: 350px;
  margin: 30px auto 0 auto;
  display: block;
}

.page-huong-dan-choi__cta-buttons--inline {
    margin-top: 20px;
    justify-content: flex-start;
    gap: 15px;
}

.page-huong-dan-choi__cta-buttons--center {
    justify-content: center;
}

/* Grid Layouts */
.page-huong-dan-choi__grid-2-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-huong-dan-choi__grid-2-columns--reverse {
  grid-template-areas: "image text";
}

.page-huong-dan-choi__grid-2-columns--reverse .page-huong-dan-choi__text-column {
  grid-area: text;
}

.page-huong-dan-choi__grid-2-columns--reverse .page-huong-dan-choi__image-column {
  grid-area: image;
}

.page-huong-dan-choi__image-column img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-huong-dan-choi__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-huong-dan-choi__card {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-huong-dan-choi__card img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-huong-dan-choi__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-huong-dan-choi__card p {
  font-size: 16px;
  color: #1F2D3D;
  text-align: justify;
}

/* Dark Section */
.page-huong-dan-choi__dark-section {
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #ffffff;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
}

/* FAQ Section */
details.page-huong-dan-choi__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #fff;
}
details.page-huong-dan-choi__faq-item summary.page-huong-dan-choi__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #1F2D3D;
}
details.page-huong-dan-choi__faq-item summary.page-huong-dan-choi__faq-question::-webkit-details-marker {
  display: none;
}
details.page-huong-dan-choi__faq-item summary.page-huong-dan-choi__faq-question:hover {
  background: #f5f5f5;
}
.page-huong-dan-choi__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}
.page-huong-dan-choi__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-huong-dan-choi__faq-item .page-huong-dan-choi__faq-answer {
  padding: 0 20px 20px;
  background: #F4F7FB;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
}
.page-huong-dan-choi__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    text-align: justify;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-huong-dan-choi__hero-image {
    max-height: 500px;
  }
  .page-huong-dan-choi__grid-2-columns {
    gap: 30px;
  }
  .page-huong-dan-choi__card {
    padding: 20px;
  }
}

@media (max-width: 849px) {
  .page-huong-dan-choi__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
}

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

  .page-huong-dan-choi__hero-section {
    padding-top: 10px; /* Ensure small top padding */
    margin-bottom: 30px;
  }
  .page-huong-dan-choi__hero-image {
    max-height: 300px;
    border-radius: 0;
  }
  .page-huong-dan-choi__hero-image img {
    border-radius: 0;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }

  .page-huong-dan-choi__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-huong-dan-choi__hero-description {
    font-size: 16px;
  }
  .page-huong-dan-choi__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-huong-dan-choi__btn-primary, .page-huong-dan-choi__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-huong-dan-choi__cta-buttons--inline {
    justify-content: center;
    flex-direction: column;
  }

  .page-huong-dan-choi__content-section {
    padding: 30px 0;
    margin-bottom: 15px;
    border-radius: 0;
    box-shadow: none;
  }
  .page-huong-dan-choi__section-title {
    font-size: clamp(20px, 6vw, 30px);
    margin-bottom: 25px;
    padding: 0 15px;
  }
  .page-huong-dan-choi__sub-title {
    font-size: clamp(18px, 5vw, 24px);
    padding: 0 15px;
  }
  .page-huong-dan-choi__text-block {
    font-size: 16px;
    padding: 0 15px;
  }
  .page-huong-dan-choi__ordered-list, .page-huong-dan-choi__unordered-list {
    padding-left: 40px;
    padding-right: 15px;
    font-size: 16px;
  }

  .page-huong-dan-choi__grid-2-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-huong-dan-choi__grid-2-columns--reverse {
    grid-template-areas: unset;
  }
  .page-huong-dan-choi__grid-2-columns--reverse .page-huong-dan-choi__text-column,
  .page-huong-dan-choi__grid-2-columns--reverse .page-huong-dan-choi__image-column {
    grid-area: unset;
  }
  .page-huong-dan-choi__image-column img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-huong-dan-choi__grid-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    padding: 0 15px;
  }
  .page-huong-dan-choi__card {
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-huong-dan-choi__card img {
    max-height: 200px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-huong-dan-choi__card-title {
    font-size: 20px;
  }
  .page-huong-dan-choi__card p {
    font-size: 15px;
  }

  .page-huong-dan-choi__dark-section {
    padding: 40px 20px;
    border-radius: 0;
  }

  details.page-huong-dan-choi__faq-item summary.page-huong-dan-choi__faq-question {
    padding: 15px;
  }
  .page-huong-dan-choi__faq-qtext {
    font-size: 15px;
  }
  .page-huong-dan-choi__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-huong-dan-choi__faq-item .page-huong-dan-choi__faq-answer {
    padding: 0 15px 15px;
  }
  .page-huong-dan-choi__faq-answer p {
    font-size: 15px;
  }

  .page-huong-dan-choi__container {
    padding: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Ensure all content sections / containers have mobile padding */
  .page-huong-dan-choi__intro-section > .page-huong-dan-choi__container,
  .page-huong-dan-choi__guide-steps > .page-huong-dan-choi__container,
  .page-huong-dan-choi__transaction-guide > .page-huong-dan-choi__container,
  .page-huong-dan-choi__gameplay-rules > .page-huong-dan-choi__container,
  .page-huong-dan-choi__tips-strategies > .page-huong-dan-choi__container,
  .page-huong-dan-choi__support-contact > .page-huong-dan-choi__container,
  .page-huong-dan-choi__faq-section > .page-huong-dan-choi__container,
  .page-huong-dan-choi__cta-final-section > .page-huong-dan-choi__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-huong-dan-choi__btn-secondary--full-width {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
  }

  .page-huong-dan-choi img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}