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

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

.page-the-thao-huong-dan-ca-cuoc__hero-section {
  padding-top: 10px; /* Rely on body for header offset */
  background: linear-gradient(135deg, #017439, #005f2f);
  color: #ffffff;
  text-align: center;
  padding-bottom: 40px;
}

.page-the-thao-huong-dan-ca-cuoc__hero-section .page-the-thao-huong-dan-ca-cuoc__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-the-thao-huong-dan-ca-cuoc__hero-content {
  max-width: 800px;
}

.page-the-thao-huong-dan-ca-cuoc__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
  color: #FFFF00; /* Register and Login font color for emphasis */
}

.page-the-thao-huong-dan-ca-cuoc__description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-the-thao-huong-dan-ca-cuoc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-the-thao-huong-dan-ca-cuoc__btn-primary,
.page-the-thao-huong-dan-ca-cuoc__btn-secondary {
  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;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao-huong-dan-ca-cuoc__btn-primary {
  background: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-the-thao-huong-dan-ca-cuoc__btn-primary:hover {
  background: #a00606;
  border-color: #a00606;
}

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

.page-the-thao-huong-dan-ca-cuoc__btn-secondary:hover {
  background: #f0f0f0;
  color: #005f2f;
  border-color: #005f2f;
}

.page-the-thao-huong-dan-ca-cuoc__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-the-thao-huong-dan-ca-cuoc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao-huong-dan-ca-cuoc__content-section {
  padding: 40px 0;
}

.page-the-thao-huong-dan-ca-cuoc__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-the-thao-huong-dan-ca-cuoc__dark-bg {
  background: #017439;
  color: #ffffff;
}

.page-the-thao-huong-dan-ca-cuoc__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
  color: inherit;
}

.page-the-thao-huong-dan-ca-cuoc__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-the-thao-huong-dan-ca-cuoc__text-block {
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-the-thao-huong-dan-ca-cuoc__image-wrapper {
  margin: 30px 0;
  text-align: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-the-thao-huong-dan-ca-cuoc__ordered-list,
.page-the-thao-huong-dan-ca-cuoc__unordered-list {
  margin-bottom: 20px;
  padding-left: 25px;
}

.page-the-thao-huong-dan-ca-cuoc__ordered-list li,
.page-the-thao-huong-dan-ca-cuoc__unordered-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-the-thao-huong-dan-ca-cuoc__faq-section {
  padding: 50px 0;
}

.page-the-thao-huong-dan-ca-cuoc__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-the-thao-huong-dan-ca-cuoc__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao-huong-dan-ca-cuoc__faq-item[open] .page-the-thao-huong-dan-ca-cuoc__faq-question {
  background: rgba(255, 255, 255, 0.2);
}

.page-the-thao-huong-dan-ca-cuoc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
  user-select: none; /* Prevent text selection on toggle */
}

.page-the-thao-huong-dan-ca-cuoc__faq-question::-webkit-details-marker,
.page-the-thao-huong-dan-ca-cuoc__faq-question::marker {
  display: none;
  content: "";
}

.page-the-thao-huong-dan-ca-cuoc__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-the-thao-huong-dan-ca-cuoc__faq-item[open] .page-the-thao-huong-dan-ca-cuoc__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao-huong-dan-ca-cuoc__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #ffffff;
}

.page-the-thao-huong-dan-ca-cuoc__call-to-action-section {
  padding: 50px 0;
  text-align: center;
}

/* Placeholder styles for elements explicitly required in CSS output, but not used in HTML for this non-homepage */
.page-the-thao-huong-dan-ca-cuoc__hero-carousel-section {
  padding-top: 10px; /* Consistent with non-homepage hero section */
  background: #f0f0f0; /* Neutral background */
  min-height: 300px; /* Ensure some visibility for the placeholder */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  text-align: center;
}

.page-the-thao-huong-dan-ca-cuoc__hero-slider {
  width: 100%;
  position: relative;
}

.page-the-thao-huong-dan-ca-cuoc__hero-slide {
  display: none;
  width: 100%;
}

.page-the-thao-huong-dan-ca-cuoc__hero-slide.is-active {
  display: block;
}

.page-the-thao-huong-dan-ca-cuoc__hero-slider-prev, .page-the-thao-huong-dan-ca-cuoc__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.page-the-thao-huong-dan-ca-cuoc__hero-slider-prev { left: 10px; }
.page-the-thao-huong-dan-ca-cuoc__hero-slider-next { right: 10px; }

.page-the-thao-huong-dan-ca-cuoc__guide-box {
  padding: 16px 20px 24px;
  background: #f5e6d3; /* Example background from prompt */
  border-radius: 4px;
  margin: 20px auto;
  max-width: 1200px;
}

.page-the-thao-huong-dan-ca-cuoc__guide-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns for desktop */
  gap: 8px;
  justify-content: center;
}

.page-the-thao-huong-dan-ca-cuoc__guide-card {
  flex: 0 0 auto; /* Ensure cards don't shrink */
  max-width: 100%;
  text-align: center;
}

.page-the-thao-huong-dan-ca-cuoc__guide-card img {
  aspect-ratio: 250 / 350; /* Fixed aspect ratio for vertical team images */
  object-fit: contain;
  width: 100%;
  height: auto;
  display: block;
}

/* Example positioning from prompt for guide cards, if they were used */
.page-the-thao-huong-dan-ca-cuoc__guide-card--pos-1, .page-the-thao-huong-dan-ca-cuoc__guide-card--pos-5 { padding-top: 50px; }
.page-the-thao-huong-dan-ca-cuoc__guide-card--pos-2, .page-the-thao-huong-dan-ca-cuoc__guide-card--pos-4 { padding-top: 25px; }

.page-the-thao-huong-dan-ca-cuoc__home-content-box {
  max-width: 91%;
  margin: 0 auto;
  padding: 10px 16px;
  border: 5px solid #017439; /* Using brand color for consistency */
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(1, 116, 57, 0.5); /* Using brand color for shadow */
  height: 700px;
}

.page-the-thao-huong-dan-ca-cuoc__home-content-inner {
  height: 100%;
  overflow-y: auto;
}

.page-the-thao-huong-dan-ca-cuoc__blog-section {
  padding: 40px 0;
  background: #f8f8f8;
}

.page-the-thao-huong-dan-ca-cuoc__blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
  gap: 20px;
}

.page-the-thao-huong-dan-ca-cuoc__blog-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-the-thao-huong-dan-ca-cuoc__blog-card-image {
  width: 100%;
  height: 200px; /* Example fixed height for blog card image */
  object-fit: cover;
}

.page-the-thao-huong-dan-ca-cuoc__blog-card-content {
  padding: 15px;
}

.page-the-thao-huong-dan-ca-cuoc__blog-card-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-the-thao-huong-dan-ca-cuoc__blog-card-excerpt {
  font-size: 0.9em;
  color: #666;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao-huong-dan-ca-cuoc__main-title {
    font-size: 2.5em;
  }

  .page-the-thao-huong-dan-ca-cuoc__section-title {
    font-size: 2em;
  }

  /* Placeholder responsive for guide grid */
  .page-the-thao-huong-dan-ca-cuoc__guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Placeholder responsive for blog grid */
  .page-the-thao-huong-dan-ca-cuoc__blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

  .page-the-thao-huong-dan-ca-cuoc__hero-section {
    padding-top: 10px !important; /* Consistent with non-homepage hero section */
    padding-bottom: 30px;
  }

  .page-the-thao-huong-dan-ca-cuoc__main-title {
    font-size: 2em;
  }

  .page-the-thao-huong-dan-ca-cuoc__description {
    font-size: 1em;
  }

  .page-the-thao-huong-dan-ca-cuoc__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao-huong-dan-ca-cuoc__btn-primary,
  .page-the-thao-huong-dan-ca-cuoc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-the-thao-huong-dan-ca-cuoc__section-title {
    font-size: 1.8em;
  }

  .page-the-thao-huong-dan-ca-cuoc__sub-title {
    font-size: 1.4em;
  }

  .page-the-thao-huong-dan-ca-cuoc__content-section,
  .page-the-thao-huong-dan-ca-cuoc__faq-section,
  .page-the-thao-huong-dan-ca-cuoc__call-to-action-section {
    padding: 30px 0;
  }

  .page-the-thao-huong-dan-ca-cuoc__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-the-thao-huong-dan-ca-cuoc__faq-answer {
    padding: 10px 20px 15px;
  }

  /* REQUIRED PLACEHOLDER STYLES FOR HOMEPAGE SECTIONS - DO NOT REMOVE */
  /* 1. 顶区轮播 */
  .page-the-thao-huong-dan-ca-cuoc__hero-carousel-section {
    padding-top: 10px !important;
    min-height: 200px;
  }

  .page-the-thao-huong-dan-ca-cuoc__hero-slider-prev,
  .page-the-thao-huong-dan-ca-cuoc__hero-slider-next {
    padding: 8px;
  }

  /* 2. 操作指引外框 + 五张 `team` 竖型卡 */
  .page-the-thao-huong-dan-ca-cuoc__guide-box {
    padding: 10px 15px;
  }

  .page-the-thao-huong-dan-ca-cuoc__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 2 on top (span 3), 3 below (span 2) */
    gap: 5px;
  }

  .page-the-thao-huong-dan-ca-cuoc__guide-card {
    padding-top: 0 !important; /* Reset desktop padding */
  }

  .page-the-thao-huong-dan-ca-cuoc__guide-card--pos-1,
  .page-the-thao-huong-dan-ca-cuoc__guide-card--pos-2 {
    grid-column: span 3;
  }

  .page-the-thao-huong-dan-ca-cuoc__guide-card--pos-3,
  .page-the-thao-huong-dan-ca-cuoc__guide-card--pos-4,
  .page-the-thao-huong-dan-ca-cuoc__guide-card--pos-5 {
    grid-column: span 2;
  }

  .page-the-thao-huong-dan-ca-cuoc__guide-card img {
    aspect-ratio: 250 / 350; /* Maintain vertical aspect ratio */
    width: 100%;
    height: auto;
  }

  /* 3. `home_content` 外框 */
  .page-the-thao-huong-dan-ca-cuoc__home-content-box {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    margin: 20px auto;
    padding: 10px 15px;
  }

  .page-the-thao-huong-dan-ca-cuoc__home-content-inner {
    height: auto !important;
    overflow: visible !important;
  }

  /* 4. 博客卡片区 */
  .page-the-thao-huong-dan-ca-cuoc__blog-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
  }

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

  /* 5. 通用图片与按钮 (already covered above) */
}