.page-huong-dan-ca-cuoc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff; /* Default body background */
}

.page-huong-dan-ca-cuoc__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 20px 16px;
  box-sizing: border-box;
}

.page-huong-dan-ca-cuoc__section-title {
  font-size: 2.2em;
  color: #113B7A;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-huong-dan-ca-cuoc__sub-title {
  font-size: 1.5em;
  color: #113B7A;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-huong-dan-ca-cuoc__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-huong-dan-ca-cuoc__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
  padding-bottom: 60px;
  background-color: #f8f8f8;
}

.page-huong-dan-ca-cuoc__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-huong-dan-ca-cuoc__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #333333;
}

.page-huong-dan-ca-cuoc__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  color: #113B7A;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-huong-dan-ca-cuoc__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
  line-height: 1.7;
  text-align: justify;
}

.page-huong-dan-ca-cuoc__cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-huong-dan-ca-cuoc__btn-primary,
.page-huong-dan-ca-cuoc__btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-huong-dan-ca-cuoc__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: 2px solid transparent;
}

.page-huong-dan-ca-cuoc__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 4px 15px rgba(17, 67, 166, 0.4);
}

.page-huong-dan-ca-cuoc__btn-secondary {
  background-color: #ffffff;
  color: #113B7A;
  border: 2px solid #113B7A;
}

.page-huong-dan-ca-cuoc__btn-secondary:hover {
  background-color: #113B7A;
  color: #ffffff;
}

.page-huong-dan-ca-cuoc__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-huong-dan-ca-cuoc__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
}

/* Intro Section */
.page-huong-dan-ca-cuoc__intro-section {
  padding: 60px 0;
  background-color: #ffffff;
}

/* Principles Section */
.page-huong-dan-ca-cuoc__principles-section {
  padding: 60px 0;
  background-color: #113B7A;
  color: #F3F8FF; /* Light text for dark background */
}

.page-huong-dan-ca-cuoc__principles-section .page-huong-dan-ca-cuoc__section-title {
  color: #F3F8FF;
}

.page-huong-dan-ca-cuoc__principles-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-huong-dan-ca-cuoc__principles-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-huong-dan-ca-cuoc__principles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-huong-dan-ca-cuoc__principles-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23F2C14E" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-huong-dan-ca-cuoc__principles-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-huong-dan-ca-cuoc__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

/* Types Section */
.page-huong-dan-ca-cuoc__types-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-huong-dan-ca-cuoc__type-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-huong-dan-ca-cuoc__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-huong-dan-ca-cuoc__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-huong-dan-ca-cuoc__type-card .page-huong-dan-ca-cuoc__card-title {
  font-size: 1.4em;
  color: #113B7A;
  margin: 20px 20px 10px;
  font-weight: bold;
}

.page-huong-dan-ca-cuoc__type-card .page-huong-dan-ca-cuoc__card-description {
  font-size: 1em;
  margin: 0 20px 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-huong-dan-ca-cuoc__btn-text {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1D5FD1;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  margin: 0 20px 20px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-huong-dan-ca-cuoc__btn-text:hover {
  background-color: #113B7A;
}

/* Banking Section */
.page-huong-dan-ca-cuoc__banking-section {
  padding: 60px 0;
  background-color: #08162B;
  color: #F3F8FF;
}

.page-huong-dan-ca-cuoc__banking-section .page-huong-dan-ca-cuoc__section-title {
  color: #F3F8FF;
}

.page-huong-dan-ca-cuoc__banking-section .page-huong-dan-ca-cuoc__sub-title {
  color: #F2C14E;
}

.page-huong-dan-ca-cuoc__banking-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-huong-dan-ca-cuoc__banking-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-huong-dan-ca-cuoc__banking-content {
  flex: 1 1 50%;
  min-width: 300px;
}

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

.page-huong-dan-ca-cuoc__banking-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* Tips Section */
.page-huong-dan-ca-cuoc__tips-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-huong-dan-ca-cuoc__tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-huong-dan-ca-cuoc__tips-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #1D5FD1;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  line-height: 1.5;
  color: #333333;
}

/* FAQ Section */
.page-huong-dan-ca-cuoc__faq-section {
  padding: 60px 0;
  background-color: #10233F;
  color: #F3F8FF;
}

.page-huong-dan-ca-cuoc__faq-section .page-huong-dan-ca-cuoc__section-title {
  color: #F3F8FF;
}

.page-huong-dan-ca-cuoc__faq-list {
  margin-top: 40px;
}

.page-huong-dan-ca-cuoc__faq-item {
  background-color: #08162B;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-huong-dan-ca-cuoc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: #F3F8FF;
  background-color: #113B7A;
  border-bottom: 1px solid #1B3357;
  list-style: none; /* For details/summary */
}

.page-huong-dan-ca-cuoc__faq-question::-webkit-details-marker, /* Hide default marker */
.page-huong-dan-ca-cuoc__faq-question::marker {
  display: none;
}

.page-huong-dan-ca-cuoc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #F2C14E;
}

.page-huong-dan-ca-cuoc__faq-item[open] .page-huong-dan-ca-cuoc__faq-question {
  background-color: #1D5FD1;
}

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

.page-huong-dan-ca-cuoc__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #AFC4E8;
  background-color: #08162B;
}

/* Final CTA Section */
.page-huong-dan-ca-cuoc__cta-final-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-huong-dan-ca-cuoc__cta-final-section .page-huong-dan-ca-cuoc__cta-buttons {
  justify-content: center;
}

/* Dark background text color override for specific elements */
.page-huong-dan-ca-cuoc__dark-section p,
.page-huong-dan-ca-cuoc__dark-section li {
  color: #AFC4E8;
}

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

  .page-huong-dan-ca-cuoc__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-huong-dan-ca-cuoc__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  /* HERO Section */
  .page-huong-dan-ca-cuoc__hero-section {
    padding-top: 10px !important; /* Ensures small top padding */
    padding-bottom: 30px;
  }

  .page-huong-dan-ca-cuoc__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 20px;
  }

  .page-huong-dan-ca-cuoc__hero-content,
  .page-huong-dan-ca-cuoc__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-huong-dan-ca-cuoc__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    text-align: center;
  }

  .page-huong-dan-ca-cuoc__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
    text-align: center;
  }

  .page-huong-dan-ca-cuoc__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-huong-dan-ca-cuoc__btn-primary,
  .page-huong-dan-ca-cuoc__btn-secondary,
  .page-huong-dan-ca-cuoc a[class*="button"],
  .page-huong-dan-ca-cuoc 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;
    padding-right: 15px !important;
  }

  .page-huong-dan-ca-cuoc__hero-side-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* General Image Responsiveness */
  .page-huong-dan-ca-cuoc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Principles Section */
  .page-huong-dan-ca-cuoc__principles-grid {
    flex-direction: column;
    gap: 20px;
  }

  .page-huong-dan-ca-cuoc__principles-content,
  .page-huong-dan-ca-cuoc__principles-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-huong-dan-ca-cuoc__principles-list li {
    font-size: 1em;
  }

  /* Types Section */
  .page-huong-dan-ca-cuoc__type-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-huong-dan-ca-cuoc__card-image {
    height: 180px; /* Adjust height for mobile card images */
  }

  /* Banking Section */
  .page-huong-dan-ca-cuoc__banking-grid {
    flex-direction: column-reverse; /* Content above image for banking */
    gap: 20px;
  }

  .page-huong-dan-ca-cuoc__banking-image,
  .page-huong-dan-ca-cuoc__banking-content {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-huong-dan-ca-cuoc__banking-list li {
    font-size: 1em;
  }

  /* Tips Section */
  .page-huong-dan-ca-cuoc__tips-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-huong-dan-ca-cuoc__tips-list li {
    font-size: 1em;
    padding: 15px;
  }

  /* FAQ Section */
  .page-huong-dan-ca-cuoc__faq-item {
    margin-bottom: 10px;
  }

  .page-huong-dan-ca-cuoc__faq-question {
    padding: 15px;
    font-size: 1.05em;
  }

  .page-huong-dan-ca-cuoc__faq-answer {
    padding: 15px;
    font-size: 0.95em;
  }

  /* Final CTA Section */
  .page-huong-dan-ca-cuoc__cta-final-section .page-huong-dan-ca-cuoc__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* Placeholder for Module 1 three-column circular images, if they existed */
  /* .page-huong-dan-ca-cuoc__icon-box-media { width: 200px; height: 200px; } */
  /* .page-huong-dan-ca-cuoc__icon-box-media img { height: 100%; object-fit: cover; } */
}

/* No game-tabs or icon-box-media (circular) for this page type */