.page-huong-dan-choi-game-bai {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #FFFFFF;
}

.page-huong-dan-choi-game-bai__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body already has offset */
  margin-bottom: 40px;
  text-align: center;
  background-color: #f5f5f5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-huong-dan-choi-game-bai__hero-image-wrap {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-huong-dan-choi-game-bai__hero-content {
  position: relative;
  z-index: 10;
  padding: 30px 20px 50px;
  max-width: 900px;
  text-align: center;
}

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

.page-huong-dan-choi-game-bai__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-huong-dan-choi-game-bai__btn-primary,
.page-huong-dan-choi-game-bai__btn-secondary,
.page-huong-dan-choi-game-bai__btn-link,
.page-huong-dan-choi-game-bai__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-huong-dan-choi-game-bai__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-huong-dan-choi-game-bai__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-huong-dan-choi-game-bai__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-huong-dan-choi-game-bai__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #005a2e;
  border-color: #005a2e;
}

.page-huong-dan-choi-game-bai__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.page-huong-dan-choi-game-bai__section-title {
  font-size: clamp(24px, 3vw, 38px);
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.page-huong-dan-choi-game-bai__section-description {
  font-size: 18px;
  color: #666666;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-huong-dan-choi-game-bai__content-area {
  font-size: 17px;
  line-height: 1.7;
  color: #333333;
  text-align: justify;
}

.page-huong-dan-choi-game-bai__content-area p {
  margin-bottom: 15px;
}

.page-huong-dan-choi-game-bai__content-area .text-highlight {
  color: #017439;
  font-weight: bold;
}

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

.page-huong-dan-choi-game-bai__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-huong-dan-choi-game-bai__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-huong-dan-choi-game-bai__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-huong-dan-choi-game-bai__game-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
  font-weight: 600;
}

.page-huong-dan-choi-game-bai__game-description {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-huong-dan-choi-game-bai__btn-text {
  color: #017439;
  border: 1px solid #017439;
  background-color: transparent;
  padding: 8px 18px;
  font-size: 16px;
  margin: 0 auto;
}

.page-huong-dan-choi-game-bai__btn-text:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-huong-dan-choi-game-bai__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-huong-dan-choi-game-bai__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e0e0e0;
}

.page-huong-dan-choi-game-bai__step-icon {
  width: 60px;
  height: 60px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-huong-dan-choi-game-bai__step-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-huong-dan-choi-game-bai__step-description {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-huong-dan-choi-game-bai__btn-link {
  color: #C30808; /* Use custom color for register/login type links */
  border: 1px solid #C30808;
  background-color: transparent;
  padding: 8px 18px;
  font-size: 16px;
}

.page-huong-dan-choi-game-bai__btn-link:hover {
  background-color: #C30808;
  color: #FFFF00; /* Use custom color for register/login font */
}

.page-huong-dan-choi-game-bai__strategy-list {
  list-style: disc inside;
  padding-left: 20px;
  margin-bottom: 25px;
  font-size: 17px;
  color: #333333;
  line-height: 1.8;
}

.page-huong-dan-choi-game-bai__strategy-list li {
  margin-bottom: 10px;
}

.page-huong-dan-choi-game-bai__strategy-list strong {
  color: #017439;
}

.page-huong-dan-choi-game-bai__article-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-huong-dan-choi-game-bai__advantage-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-huong-dan-choi-game-bai__advantage-card:hover {
  background-color: #e6f7ed; /* Lighter green tint on hover */
}

.page-huong-dan-choi-game-bai__advantage-title {
  font-size: 20px;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-huong-dan-choi-game-bai__advantage-description {
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
}

.page-huong-dan-choi-game-bai__faq-list {
  margin-top: 30px;
}

details.page-huong-dan-choi-game-bai__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-huong-dan-choi-game-bai__faq-item summary.page-huong-dan-choi-game-bai__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;
}
details.page-huong-dan-choi-game-bai__faq-item summary.page-huong-dan-choi-game-bai__faq-question::-webkit-details-marker {
  display: none;
}
details.page-huong-dan-choi-game-bai__faq-item summary.page-huong-dan-choi-game-bai__faq-question:hover {
  background: #f5f5f5;
}
.page-huong-dan-choi-game-bai__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-huong-dan-choi-game-bai__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-huong-dan-choi-game-bai__faq-item .page-huong-dan-choi-game-bai__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-huong-dan-choi-game-bai__cta-final {
  text-align: center;
  padding: 60px 20px;
  background-color: #e6f7ed;
  border-radius: 15px;
  margin-bottom: 60px;
}

.page-huong-dan-choi-game-bai__cta-final .page-huong-dan-choi-game-bai__section-title {
  color: #017439;
}

.page-huong-dan-choi-game-bai__cta-final .page-huong-dan-choi-game-bai__section-description {
  color: #444444;
}

/* General image responsive styles */
.page-huong-dan-choi-game-bai img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-huong-dan-choi-game-bai__hero-section {
    padding-top: 10px; /* Keep small top padding */
    margin-bottom: 30px;
  }

  .page-huong-dan-choi-game-bai__hero-image-wrap {
    max-height: 300px;
  }

  .page-huong-dan-choi-game-bai__hero-image {
    object-fit: contain !important; /* Mobile: contain to prevent cropping */
    aspect-ratio: unset !important; /* Mobile: unset aspect ratio */
    width: 100% !important;
    height: auto !important;
  }

  .page-huong-dan-choi-game-bai__hero-content {
    padding: 20px 15px 30px;
  }

  .page-huong-dan-choi-game-bai__main-title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .page-huong-dan-choi-game-bai__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-huong-dan-choi-game-bai__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-huong-dan-choi-game-bai__btn-primary,
  .page-huong-dan-choi-game-bai__btn-secondary,
  .page-huong-dan-choi-game-bai__btn-link,
  .page-huong-dan-choi-game-bai__btn-text {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 16px;
    padding: 12px 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-huong-dan-choi-game-bai__section {
    padding: 30px 15px;
    margin-bottom: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-huong-dan-choi-game-bai__section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .page-huong-dan-choi-game-bai__section-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-huong-dan-choi-game-bai__content-area {
    font-size: 16px;
    text-align: left;
  }

  .page-huong-dan-choi-game-bai__games-grid,
  .page-huong-dan-choi-game-bai__steps-container,
  .page-huong-dan-choi-game-bai__advantages-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden; /* Ensure no horizontal scroll */
  }

  .page-huong-dan-choi-game-bai__game-card,
  .page-huong-dan-choi-game-bai__step-card,
  .page-huong-dan-choi-game-bai__advantage-card {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-huong-dan-choi-game-bai__game-image {
    height: 180px;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-huong-dan-choi-game-bai__game-title,
  .page-huong-dan-choi-game-bai__step-title,
  .page-huong-dan-choi-game-bai__advantage-title {
    font-size: 20px;
  }

  .page-huong-dan-choi-game-bai__game-description,
  .page-huong-dan-choi-game-bai__step-description,
  .page-huong-dan-choi-game-bai__advantage-description {
    font-size: 14px;
  }

  .page-huong-dan-choi-game-bai__step-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .page-huong-dan-choi-game-bai__strategy-list {
    padding-left: 10px;
    font-size: 16px;
  }

  .page-huong-dan-choi-game-bai__article-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

  details.page-huong-dan-choi-game-bai__faq-item summary.page-huong-dan-choi-game-bai__faq-question { padding: 15px; }
  .page-huong-dan-choi-game-bai__faq-qtext { font-size: 15px; }
  details.page-huong-dan-choi-game-bai__faq-item .page-huong-dan-choi-game-bai__faq-answer {
    padding: 0 15px 15px;
  }

  .page-huong-dan-choi-game-bai__cta-final {
    padding: 40px 15px;
    margin-bottom: 40px;
  }
}

/* Additional mobile adjustments for products grid if it were present and needed 2 cols */
@media (min-width: 481px) and (max-width: 768px) {
  .page-huong-dan-choi-game-bai__games-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

/* General container and image overflow prevention */
.page-huong-dan-choi-game-bai__section,
.page-huong-dan-choi-game-bai__card,
.page-huong-dan-choi-game-bai__container,
.page-huong-dan-choi-game-bai__hero-section,
.page-huong-dan-choi-game-bai__games-grid,
.page-huong-dan-choi-game-bai__steps-container,
.page-huong-dan-choi-game-bai__advantages-grid,
.page-huong-dan-choi-game-bai__faq-list {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.page-huong-dan-choi-game-bai img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure text contrast for dark background elements if any */
.page-huong-dan-choi-game-bai__dark-section {
  background: #017439;
  color: #ffffff; /* Forced white text */
}