.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: #f8f8f8;
}

.page-huong-dan-ca-cuoc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-huong-dan-ca-cuoc__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, shared.css handles body padding */
  background-color: #140C0C;
  color: #FFF1E8;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
}

.page-huong-dan-ca-cuoc__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-huong-dan-ca-cuoc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers area */
}

.page-huong-dan-ca-cuoc__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px 50px; /* Padding at bottom for CTA */
  box-sizing: border-box;
}

.page-huong-dan-ca-cuoc__main-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F3C54D; /* Gold color for main title */
  line-height: 1.2;
}

.page-huong-dan-ca-cuoc__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF1E8;
}

.page-huong-dan-ca-cuoc__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

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

.page-huong-dan-ca-cuoc__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
}

.page-huong-dan-ca-cuoc__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  transform: translateY(-2px);
}

.page-huong-dan-ca-cuoc__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
  border: 2px solid #6A1E1E; /* Border color */
}

.page-huong-dan-ca-cuoc__btn-secondary:hover {
  background: #6A1E1E;
  color: #FFF1E8;
  transform: translateY(-2px);
}

/* Section Titles */
.page-huong-dan-ca-cuoc__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #C61F1F; /* Main brand color */
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-huong-dan-ca-cuoc__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #F3C54D, #D86A14);
  border-radius: 2px;
}

.page-huong-dan-ca-cuoc__section-title--light {
  color: #F3C54D;
}

/* Introduction Section */
.page-huong-dan-ca-cuoc__introduction-section {
  padding: 60px 0;
  background-color: #f8f8f8; /* Light background */
  color: #333333;
}

.page-huong-ca-cuoc__introduction-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Guide Section */
.page-huong-dan-ca-cuoc__guide-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background color */
  color: #FFF1E8; /* Text Main */
}

.page-huong-dan-ca-cuoc__guide-step {
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E; /* Border color */
}

.page-huong-dan-ca-cuoc__step-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #F3C54D; /* Gold color */
  margin-bottom: 25px;
  text-align: center;
}

.page-huong-dan-ca-cuoc__step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.page-huong-dan-ca-cuoc__step-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-huong-dan-ca-cuoc__step-content p,
.page-huong-dan-ca-cuoc__step-content ul,
.page-huong-dan-ca-cuoc__step-content ol {
  font-size: 1.05em;
  line-height: 1.8;
  color: #FFF1E8;
  text-align: justify;
  max-width: 800px;
}

.page-huong-dan-ca-cuoc__step-content ul,
.page-huong-dan-ca-cuoc__step-content ol {
  list-style-position: inside;
  padding-left: 20px;
}

.page-huong-dan-ca-cuoc__step-content li {
  margin-bottom: 10px;
}

.page-huong-dan-ca-cuoc__btn-block {
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
}

/* Promotions Section */
.page-huong-dan-ca-cuoc__promotions-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  color: #333333;
}

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

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

.page-huong-dan-ca-cuoc__card:hover {
  transform: translateY(-5px);
}

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

.page-huong-dan-ca-cuoc__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #C61F1F;
  margin: 20px 15px 10px;
}

.page-huong-dan-ca-cuoc__card p {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-huong-dan-ca-cuoc__card .page-huong-dan-ca-cuoc__btn-secondary {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
  background: #C61F1F;
  color: #ffffff;
  border: none;
}

.page-huong-dan-ca-cuoc__card .page-huong-dan-ca-cuoc__btn-secondary:hover {
  background: #E53030;
}

.page-huong-dan-ca-cuoc__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-huong-dan-ca-cuoc__faq-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background color */
  color: #FFF1E8; /* Text Main */
}

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

details.page-huong-dan-ca-cuoc__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #2A1212;
}

details.page-huong-dan-ca-cuoc__faq-item summary.page-huong-dan-ca-cuoc__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-ca-cuoc__faq-item summary.page-huong-dan-ca-cuoc__faq-question::-webkit-details-marker {
  display: none;
}

details.page-huong-dan-ca-cuoc__faq-item summary.page-huong-dan-ca-cuoc__faq-question:hover {
  background: #3A1A1A;
}

.page-huong-dan-ca-cuoc__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF1E8;
}

.page-huong-dan-ca-cuoc__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-huong-dan-ca-cuoc__faq-item .page-huong-dan-ca-cuoc__faq-answer {
  padding: 0 20px 20px;
  background: #1F0F0F;
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

.page-huong-dan-ca-cuoc__faq-answer p {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 10px;
  text-align: justify;
}

/* Conclusion Section */
.page-huong-dan-ca-cuoc__conclusion-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  color: #333333;
  text-align: center;
}

.page-huong-dan-ca-cuoc__conclusion-section p {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
}

/* General image styling for content sections */
.page-huong-dan-ca-cuoc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-huong-dan-ca-cuoc__main-title {
    font-size: 2.5em;
  }
  .page-huong-dan-ca-cuoc__section-title {
    font-size: 2em;
  }
  .page-huong-dan-ca-cuoc__hero-image-wrapper {
    max-height: 500px;
  }
}

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

@media (max-width: 768px) {
  .page-huong-dan-ca-cuoc__container {
    padding: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-huong-dan-ca-cuoc__hero-section {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 40px;
  }
  .page-huong-dan-ca-cuoc__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-huong-dan-ca-cuoc__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  .page-huong-dan-ca-cuoc__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
    margin-bottom: 15px;
  }
  .page-huong-dan-ca-cuoc__description {
    font-size: 1em;
    margin-bottom: 20px;
    text-align: center;
  }
  .page-huong-dan-ca-cuoc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-huong-dan-ca-cuoc__btn-primary,
  .page-huong-dan-ca-cuoc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* Section Titles */
  .page-huong-dan-ca-cuoc__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  /* Content Images & Containers */
  .page-huong-dan-ca-cuoc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-huong-dan-ca-cuoc__introduction-section,
  .page-huong-dan-ca-cuoc__guide-section,
  .page-huong-dan-ca-cuoc__promotions-section,
  .page-huong-dan-ca-cuoc__faq-section,
  .page-huong-dan-ca-cuoc__conclusion-section {
    padding: 40px 0;
  }

  /* Guide Section */
  .page-huong-dan-ca-cuoc__guide-step {
    padding: 20px;
    margin-bottom: 30px;
  }
  .page-huong-dan-ca-cuoc__step-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  .page-huong-dan-ca-cuoc__step-content p,
  .page-huong-dan-ca-cuoc__step-content ul,
  .page-huong-dan-ca-cuoc__step-content ol {
    font-size: 0.95em;
    text-align: left;
  }

  /* Promotions Section */
  .page-huong-dan-ca-cuoc__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-huong-dan-ca-cuoc__card-image {
    height: 180px;
  }
  .page-huong-dan-ca-cuoc__card-title {
    font-size: 1.2em;
    margin: 15px 10px 8px;
  }
  .page-huong-dan-ca-cuoc__card p {
    font-size: 0.9em;
    padding: 0 10px 15px;
  }
  .page-huong-dan-ca-cuoc__card .page-huong-dan-ca-cuoc__btn-secondary {
    margin: 0 10px 15px;
    width: calc(100% - 20px);
  }

  /* FAQ Section */
  details.page-huong-dan-ca-cuoc__faq-item summary.page-huong-dan-ca-cuoc__faq-question {
    padding: 15px;
  }
  .page-huong-dan-ca-cuoc__faq-qtext {
    font-size: 1em;
  }
  .page-huong-dan-ca-cuoc__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-huong-dan-ca-cuoc__faq-item .page-huong-dan-ca-cuoc__faq-answer {
    padding: 0 15px 15px;
  }
  .page-huong-dan-ca-cuoc__faq-answer p {
    font-size: 0.95em;
  }

  /* Conclusion Section */
  .page-huong-dan-ca-cuoc__conclusion-section p {
    font-size: 1em;
    text-align: center;
  }
}