.page-the-thao-cac-loai-hinh-cuoc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

.page-the-thao-cac-loai-hinh-cuoc__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 40px;
  text-align: center;
  overflow: hidden;
}

.page-the-thao-cac-loai-hinh-cuoc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-the-thao-cac-loai-hinh-cuoc__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  position: relative; /* Ensure content is in normal flow */
  z-index: 1;
  background-color: #ffffff; /* Explicit background for text clarity */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transform: translateY(-50px); /* Lift slightly to overlap image bottom for visual interest */
  margin-bottom: -50px; /* Counteract transform for layout flow */
}

.page-the-thao-cac-loai-hinh-cuoc__main-title {
  font-size: clamp(2.2em, 4vw, 3em);
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao-cac-loai-hinh-cuoc__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao-cac-loai-hinh-cuoc__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao-cac-loai-hinh-cuoc__btn-primary,
.page-the-thao-cac-loai-hinh-cuoc__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao-cac-loai-hinh-cuoc__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-the-thao-cac-loai-hinh-cuoc__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

.page-the-thao-cac-loai-hinh-cuoc__btn-secondary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-the-thao-cac-loai-hinh-cuoc__btn-secondary:hover {
  background-color: #005c2d;
  border-color: #005c2d;
}

.page-the-thao-cac-loai-hinh-cuoc__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-the-thao-cac-loai-hinh-cuoc__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-the-thao-cac-loai-hinh-cuoc__section-title {
  font-size: 2.2em;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-the-thao-cac-loai-hinh-cuoc__paragraph {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333333;
}

.page-the-thao-cac-loai-hinh-cuoc__highlight {
  color: #017439;
  font-weight: bold;
}

.page-the-thao-cac-loai-hinh-cuoc__article-content {
  margin-top: 30px;
}

.page-the-thao-cac-loai-hinh-cuoc__article-subtitle {
  font-size: 1.6em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao-cac-loai-hinh-cuoc__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 680px;
}

.page-the-thao-cac-loai-hinh-cuoc__image-inline {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-the-thao-cac-loai-hinh-cuoc__figcaption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

.page-the-thao-cac-loai-hinh-cuoc__advantage-list,
.page-the-thao-cac-loai-hinh-cuoc__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-the-thao-cac-loai-hinh-cuoc__advantage-item,
.page-the-thao-cac-loai-hinh-cuoc__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #017439;
}

.page-the-thao-cac-loai-hinh-cuoc__dark-section .page-the-thao-cac-loai-hinh-cuoc__advantage-item,
.page-the-thao-cac-loai-hinh-cuoc__dark-section .page-the-thao-cac-loai-hinh-cuoc__tip-item {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.page-the-thao-cac-loai-hinh-cuoc__dark-section .page-the-thao-cac-loai-hinh-cuoc__paragraph,
.page-the-thao-cac-loai-hinh-cuoc__dark-section .page-the-thao-cac-loai-hinh-cuoc__figcaption {
  color: #f0f0f0;
}

.page-the-thao-cac-loai-hinh-cuoc__tip-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao-cac-loai-hinh-cuoc__dark-section .page-the-thao-cac-loai-hinh-cuoc__tip-title {
  color: #ffffff;
}

.page-the-thao-cac-loai-hinh-cuoc__step-by-step {
  margin-top: 30px;
}

.page-the-thao-cac-loai-hinh-cuoc__cta-single {
  text-align: center;
  margin: 30px 0;
}

.page-the-thao-cac-loai-hinh-cuoc__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-the-thao-cac-loai-hinh-cuoc__dark-section .page-the-thao-cac-loai-hinh-cuoc__section-title {
  color: #ffffff;
}

/* Ensure all images are responsive by default */
.page-the-thao-cac-loai-hinh-cuoc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-the-thao-cac-loai-hinh-cuoc__hero-section {
    padding-top: 10px !important; /* Small top padding, not header-offset */
    margin-bottom: 20px;
  }

  .page-the-thao-cac-loai-hinh-cuoc__hero-content {
    padding: 15px;
    transform: translateY(-30px);
    margin-bottom: -30px;
  }

  .page-the-thao-cac-loai-hinh-cuoc__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-the-thao-cac-loai-hinh-cuoc__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-the-thao-cac-loai-hinh-cuoc__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-the-thao-cac-loai-hinh-cuoc__btn-primary,
  .page-the-thao-cac-loai-hinh-cuoc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
    font-size: 0.95em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-the-thao-cac-loai-hinh-cuoc__section {
    padding: 20px 0;
    margin-bottom: 10px;
  }

  .page-the-thao-cac-loai-hinh-cuoc__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao-cac-loai-hinh-cuoc__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-the-thao-cac-loai-hinh-cuoc__paragraph {
    font-size: 1em;
    line-height: 1.7;
  }

  .page-the-thao-cac-loai-hinh-cuoc__article-subtitle {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-the-thao-cac-loai-hinh-cuoc__figure {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao-cac-loai-hinh-cuoc__image-inline {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao-cac-loai-hinh-cuoc__figcaption {
    font-size: 0.85em;
  }

  .page-the-thao-cac-loai-hinh-cuoc__advantage-item,
  .page-the-thao-cac-loai-hinh-cuoc__tip-item {
    padding: 15px;
    margin-bottom: 10px;
  }

  .page-the-thao-cac-loai-hinh-cuoc__tip-title {
    font-size: 1.2em;
  }

  .page-the-thao-cac-loai-hinh-cuoc__cta-single .page-the-thao-cac-loai-hinh-cuoc__btn-primary {
    width: calc(100% - 30px) !important; /* Adjust for container padding */
    margin: 0 15px;
  }

  /* General image responsiveness for all img elements within content */
  .page-the-thao-cac-loai-hinh-cuoc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Ensure content containers don't cause horizontal scroll */
  .page-the-thao-cac-loai-hinh-cuoc__article-wrap,
  .page-the-thao-cac-loai-hinh-cuoc__step-by-step {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-the-thao-cac-loai-hinh-cuoc__top-section {
    /* Mobile specific styles for top section, if any */
  }

  .page-the-thao-cac-loai-hinh-cuoc__top-cta {
    flex-direction: column;
    gap: 10px;
  }

  .page-the-thao-cac-loai-hinh-cuoc__cta-buttons {
    flex-direction: column !important; /* Force column for multiple buttons */
    gap: 10px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}