.page-the-thao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF;
}

.page-the-thao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #f0f0f0;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-the-thao__hero-content {
  background-color: #ffffff; /* Default light background */
  color: #333333;
  padding: 40px 20px;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}

.page-the-thao__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #017439;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-the-thao__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-the-thao__btn-primary:hover {
  background-color: #005f2c;
  border-color: #005f2c;
}

.page-the-thao__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-the-thao__btn-secondary:hover {
  background-color: #f0f0f0;
}

.page-the-thao__btn-tertiary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  font-size: 0.9em;
  padding: 8px 15px;
}

.page-the-thao__btn-tertiary:hover {
  background-color: #005f2c;
  border-color: #005f2c;
}

.page-the-thao__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-the-thao__section-title--white {
  color: #ffffff;
}

.page-the-thao__section-description {
  text-align: center;
  font-size: 1.05em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-the-thao__section-description--white {
  color: #f0f0f0;
}

.page-the-thao__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-the-thao__dark-bg {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

/* Intro Section */
.page-the-thao__intro-section p {
  margin-bottom: 1em;
  font-size: 1.05em;
}

/* Bet Types Section */
.page-the-thao__bet-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-the-thao__bet-type-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-the-thao__bet-type-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__bet-type-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-the-thao__bet-type-card .page-the-thao__card-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-the-thao__bet-type-card .page-the-thao__card-text {
  font-size: 0.95em;
  padding: 0 15px;
}

/* Guide Section */
.page-the-thao__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao__guide-item {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__guide-step-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

.page-the-thao__guide-item p {
  margin-bottom: 15px;
}

/* Strategy Section */
.page-the-thao__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-the-thao__strategy-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 10px;
  padding-bottom: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-the-thao__strategy-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__strategy-card img {
  width: 100%;
  height: 200px; /* Fixed height */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-the-thao__strategy-card .page-the-thao__card-title--white {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-the-thao__strategy-card .page-the-thao__card-text--white {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px;
}

/* Promo Section */
.page-the-thao__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-the-thao__promo-item {
  background-color: #f9f9f9;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
}

.page-the-thao__promo-cta {
  margin-top: 30px;
}

/* Why Choose Section */
.page-the-thao__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-the-thao__reason-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 10px;
  padding-bottom: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-the-thao__reason-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__reason-card img {
  width: 100%;
   /* Fixed height */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-the-thao__reason-card .page-the-thao__card-title--white {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-the-thao__reason-card .page-the-thao__card-text--white {
  font-size: 0.9em;
  color: #f0f0f0;
  padding: 0 15px;
}

/* FAQ Section */
.page-the-thao__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e6f7ed; /* Lighter brand color */
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}

.page-the-thao__faq-qtext {
  flex-grow: 1;
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-the-thao__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  color: #555555;
}

.page-the-thao__faq-answer p {
  margin-bottom: 1em;
}

/* Conclusion Section */
.page-the-thao__conclusion-cta {
  margin-top: 40px;
}

/* General Image & Button Responsive Styles */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary,
.page-the-thao a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__cta-group,
.page-the-thao__button-group,
.page-the-thao__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-the-thao {
    font-size: 15px;
  }

  .page-the-thao__container {
    padding: 15px;
  }

  /* Hero Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
  }

  .page-the-thao__hero-content {
    padding: 30px 15px;
  }

  .page-the-thao__main-title {
    font-size: 2.2em;
  }

  .page-the-thao__intro-text {
    font-size: 1em;
  }

  .page-the-thao__cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-tertiary,
  .page-the-thao a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  /* Section Titles & Descriptions */
  .page-the-thao__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-the-thao__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* Bet Types Section */
  .page-the-thao__bet-types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__bet-type-card img {
     /* Adjust height for mobile */
  }

  /* Guide Section */
  .page-the-thao__guide-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Strategy Section */
  .page-the-thao__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__strategy-card img {
     /* Adjust height for mobile */
  }

  /* Promo Section */
  .page-the-thao__promo-list {
    margin-top: 30px;
  }

  .page-the-thao__promo-item {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-the-thao__promo-cta {
    margin-top: 25px;
  }

  /* Why Choose Section */
  .page-the-thao__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__reason-card img {
     /* Adjust height for mobile */
  }

  /* FAQ Section */
  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-the-thao__faq-answer {
    padding: 10px 20px 20px;
    font-size: 0.95em;
  }

  /* General Images */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}