.page-the-thao-cac-loai-keo-cuoc {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  padding-bottom: 40px;
  background-color: #F5F7FA; /* Ensure consistent background for the page */
}

/* Hero Section */
.page-the-thao-cac-loai-keo-cuoc__hero-section {
  padding-top: 10px; /* Rely on body padding for header offset, then a small top padding */
  padding-bottom: 60px;
  background-color: #F5F7FA; /* Light background */
}

.page-the-thao-cac-loai-keo-cuoc__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 20px;
}

.page-the-thao-cac-loai-keo-cuoc__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: #333333; /* Text color for hero content */
}

.page-the-thao-cac-loai-keo-cuoc__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Using clamp for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #E53935; /* Brand color for H1 */
}

.page-the-thao-cac-loai-keo-cuoc__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-the-thao-cac-loai-keo-cuoc__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-the-thao-cac-loai-keo-cuoc__btn-primary,
.page-the-thao-cac-loai-keo-cuoc__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao-cac-loai-keo-cuoc__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-the-thao-cac-loai-keo-cuoc__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
}

.page-the-thao-cac-loai-keo-cuoc__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-the-thao-cac-loai-keo-cuoc__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

.page-the-thao-cac-loai-keo-cuoc__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-the-thao-cac-loai-keo-cuoc__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Content Area */
.page-the-thao-cac-loai-keo-cuoc__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* White background for content */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: -40px; /* Overlap with hero slightly for visual flow */
  position: relative;
  z-index: 1;
}

.page-the-thao-cac-loai-keo-cuoc__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
}

.page-the-thao-cac-loai-keo-cuoc__section-title--spacing {
  margin-top: 60px;
}

.page-the-thao-cac-loai-keo-cuoc__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao-cac-loai-keo-cuoc__bet-type-card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao-cac-loai-keo-cuoc__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao-cac-loai-keo-cuoc__card-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #FF5A4F;
  margin-bottom: 15px;
}

.page-the-thao-cac-loai-keo-cuoc__card-text {
  font-size: 1rem;
  color: #333333;
}

/* Strategy Grid */
.page-the-thao-cac-loai-keo-cuoc__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-the-thao-cac-loai-keo-cuoc__strategy-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao-cac-loai-keo-cuoc__strategy-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao-cac-loai-keo-cuoc__strategy-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FF5A4F;
  margin-bottom: 10px;
}

.page-the-thao-cac-loai-keo-cuoc__strategy-text {
  font-size: 0.95rem;
  color: #333333;
}

/* CTA Banner */
.page-the-thao-cac-loai-keo-cuoc__cta-banner {
  background: linear-gradient(90deg, #E53935 0%, #FF5A4F 100%);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.3);
}

.page-the-thao-cac-loai-keo-cuoc__cta-banner-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-the-thao-cac-loai-keo-cuoc__cta-banner-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao-cac-loai-keo-cuoc__btn-primary--large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* General image responsive rules */
.page-the-thao-cac-loai-keo-cuoc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-the-thao-cac-loai-keo-cuoc {
    padding-bottom: 20px;
  }

  .page-the-thao-cac-loai-keo-cuoc__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

  .page-the-thao-cac-loai-keo-cuoc__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }

  .page-the-thao-cac-loai-keo-cuoc__hero-content {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-the-thao-cac-loai-keo-cuoc__hero-image {
    flex: 1 1 100%;
  }

  .page-the-thao-cac-loai-keo-cuoc__main-title {
    font-size: 2rem;
  }

  .page-the-thao-cac-loai-keo-cuoc__hero-description {
    font-size: 1rem;
  }

  .page-the-thao-cac-loai-keo-cuoc__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to container */
  }

  .page-the-thao-cac-loai-keo-cuoc__btn-primary,
  .page-the-thao-cac-loai-keo-cuoc__btn-secondary,
  .page-the-thao-cac-loai-keo-cuoc a[class*="button"],
  .page-the-thao-cac-loai-keo-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;
    padding-right: 15px;
  }

  .page-the-thao-cac-loai-keo-cuoc__content-area {
    padding: 40px 15px;
    margin-top: -20px; /* Adjust overlap for mobile */
  }

  .page-the-thao-cac-loai-keo-cuoc__section-title {
    font-size: 1.6rem;
  }

  .page-the-thao-cac-loai-keo-cuoc__section-description {
    font-size: 0.95rem;
  }

  .page-the-thao-cac-loai-keo-cuoc__bet-type-card {
    padding: 20px;
  }

  .page-the-thao-cac-loai-keo-cuoc__card-title {
    font-size: 1.4rem;
  }

  .page-the-thao-cac-loai-keo-cuoc__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao-cac-loai-keo-cuoc__cta-banner {
    padding: 30px 20px;
  }

  .page-the-thao-cac-loai-keo-cuoc__cta-banner-title {
    font-size: 1.5rem;
  }

  .page-the-thao-cac-loai-keo-cuoc__cta-banner-description {
    font-size: 1rem;
  }

  /* General image responsive rules for mobile */
  .page-the-thao-cac-loai-keo-cuoc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure content containers also adapt */
  .page-the-thao-cac-loai-keo-cuoc__hero-section,
  .page-the-thao-cac-loai-keo-cuoc__content-area,
  .page-the-thao-cac-loai-keo-cuoc__bet-type-card,
  .page-the-thao-cac-loai-keo-cuoc__strategy-item,
  .page-the-thao-cac-loai-keo-cuoc__cta-banner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}