.page-the-thao-cac-mon-ca-cuoc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on default light body background */
  background-color: #ffffff; /* Explicit background for page content area */
}

.page-the-thao-cac-mon-ca-cuoc__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-the-thao-cac-mon-ca-cuoc__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-the-thao-cac-mon-ca-cuoc__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #f5fafd; /* Light blue tint for hero background */
}

.page-the-thao-cac-mon-ca-cuoc__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 16px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-the-thao-cac-mon-ca-cuoc__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #333333;
}

.page-the-thao-cac-mon-ca-cuoc__hero-title {
  font-size: 3em; /* Use em for H1, will clamp in media queries if needed */
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-the-thao-cac-mon-ca-cuoc__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-the-thao-cac-mon-ca-cuoc__hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao-cac-mon-ca-cuoc__btn-primary,
.page-the-thao-cac-mon-ca-cuoc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Crucial for button max-width */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-the-thao-cac-mon-ca-cuoc__btn-primary {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-the-thao-cac-mon-ca-cuoc__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-the-thao-cac-mon-ca-cuoc__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-the-thao-cac-mon-ca-cuoc__btn-secondary:hover {
  background-color: #f0fafd;
  color: #1e87c0;
  border-color: #1e87c0;
}

.page-the-thao-cac-mon-ca-cuoc__hero-image-wrapper {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

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

/* Intro Section */
.page-the-thao-cac-mon-ca-cuoc__intro-section {
  padding: 60px 0;
}

/* Sports Categories Section */
.page-the-thao-cac-mon-ca-cuoc__sports-categories {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-the-thao-cac-mon-ca-cuoc__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao-cac-mon-ca-cuoc__category-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-the-thao-cac-mon-ca-cuoc__card-image-wrapper {
  width: 100%;
  height: 200px; /* Fixed height for consistent card image display */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-the-thao-cac-mon-ca-cuoc__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-the-thao-cac-mon-ca-cuoc__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-the-thao-cac-mon-ca-cuoc__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-the-thao-cac-mon-ca-cuoc__card-title a:hover {
  text-decoration: underline;
}

.page-the-thao-cac-mon-ca-cuoc__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-the-thao-cac-mon-ca-cuoc__card-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push link to bottom */
}

.page-the-thao-cac-mon-ca-cuoc__card-link:hover {
  background-color: #1e87c0;
}

/* Why Choose Us Section */
.page-the-thao-cac-mon-ca-cuoc__why-choose-us {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark background from brand primary */
  color: #ffffff; /* White text for contrast */
}

.page-the-thao-cac-mon-ca-cuoc__why-choose-us .page-the-thao-cac-mon-ca-cuoc__section-title {
  color: #ffffff; /* White title on dark background */
}

.page-the-thao-cac-mon-ca-cuoc__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-the-thao-cac-mon-ca-cuoc__feature-item {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-the-thao-cac-mon-ca-cuoc__feature-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-the-thao-cac-mon-ca-cuoc__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Call to Action Section */
.page-the-thao-cac-mon-ca-cuoc__cta-section {
  padding: 80px 0;
  background-color: #f5fafd; /* Light background */
  text-align: center;
}

.page-the-thao-cac-mon-ca-cuoc__cta-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao-cac-mon-ca-cuoc__cta-content .page-the-thao-cac-mon-ca-cuoc__section-title {
  margin-bottom: 20px;
}

.page-the-thao-cac-mon-ca-cuoc__cta-content .page-the-thao-cac-mon-ca-cuoc__section-description {
  margin-bottom: 40px;
}

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

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao-cac-mon-ca-cuoc__hero-title {
    font-size: 2.5em;
  }
  .page-the-thao-cac-mon-ca-cuoc__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  /* General page content adjustments */
  .page-the-thao-cac-mon-ca-cuoc {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Hero Section - Stack columns, adjust padding */
  .page-the-thao-cac-mon-ca-cuoc__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px;
  }
  .page-the-thao-cac-mon-ca-cuoc__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }
  .page-the-thao-cac-mon-ca-cuoc__hero-content,
  .page-the-thao-cac-mon-ca-cuoc__hero-image-wrapper {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-the-thao-cac-mon-ca-cuoc__hero-title {
    font-size: 2em !important; /* Smaller H1 on mobile */
    text-align: center;
  }
  .page-the-thao-cac-mon-ca-cuoc__hero-description {
    font-size: 1em;
    text-align: center;
  }
  .page-the-thao-cac-mon-ca-cuoc__hero-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to button container */
  }

  /* Buttons - Ensure full width and text wrap */
  .page-the-thao-cac-mon-ca-cuoc__btn-primary,
  .page-the-thao-cac-mon-ca-cuoc__btn-secondary,
  .page-the-thao-cac-mon-ca-cuoc a[class*="button"],
  .page-the-thao-cac-mon-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; /* Ensure text padding within button */
    padding-right: 15px;
  }
  .page-the-thao-cac-mon-ca-cuoc__hero-buttons,
  .page-the-thao-cac-mon-ca-cuoc__button-group,
  .page-the-thao-cac-mon-ca-cuoc__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-the-thao-cac-mon-ca-cuoc__hero-buttons {
    display: flex;
    flex-direction: column;
  }


  /* Section Titles & Descriptions */
  .page-the-thao-cac-mon-ca-cuoc__section-title {
    font-size: 1.8em !important; /* Smaller section titles */
    margin-bottom: 15px;
  }
  .page-the-thao-cac-mon-ca-cuoc__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* Intro Section */
  .page-the-thao-cac-mon-ca-cuoc__intro-section {
    padding: 40px 0;
  }

  /* Sports Categories Section */
  .page-the-thao-cac-mon-ca-cuoc__sports-categories {
    padding: 40px 0;
  }
  .page-the-thao-cac-mon-ca-cuoc__category-grid {
    grid-template-columns: 1fr; /* Single column for cards */
  }
  .page-the-thao-cac-mon-ca-cuoc__card-image-wrapper {
    height: 180px; /* Adjust card image height */
  }
  .page-the-thao-cac-mon-ca-cuoc__card-title {
    font-size: 1.3em;
  }
  .page-the-thao-cac-mon-ca-cuoc__card-text {
    font-size: 0.9em;
  }

  /* Why Choose Us Section */
  .page-the-thao-cac-mon-ca-cuoc__why-choose-us {
    padding: 50px 0;
  }
  .page-the-thao-cac-mon-ca-cuoc__features-grid {
    grid-template-columns: 1fr; /* Single column for features */
  }
  .page-the-thao-cac-mon-ca-cuoc__feature-item {
    padding: 25px;
  }
  .page-the-thao-cac-mon-ca-cuoc__feature-title {
    font-size: 1.4em;
  }

  /* CTA Section */
  .page-the-thao-cac-mon-ca-cuoc__cta-section {
    padding: 50px 0;
  }

  /* Generic image and container responsive styles */
  .page-the-thao-cac-mon-ca-cuoc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao-cac-mon-ca-cuoc__section,
  .page-the-thao-cac-mon-ca-cuoc__card,
  .page-the-thao-cac-mon-ca-cuoc__container,
  .page-the-thao-cac-mon-ca-cuoc__hero-container,
  .page-the-thao-cac-mon-ca-cuoc__category-grid,
  .page-the-thao-cac-mon-ca-cuoc__features-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}