.page-the-thao {
  color: #333333; /* Default text color for light body background */
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background: #ffffff;
  color: #333333;
}

.page-the-thao__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  gap: 24px;
}

.page-the-thao__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-the-thao__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
  color: #017439;
}

.page-the-thao__hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-the-thao__hero-image {
  flex: 1 1 45%;
  text-align: center;
  min-width: 300px;
}

.page-the-thao__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-the-thao__btn-primary {
  background: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

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

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

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

.page-the-thao__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-the-thao__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

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

.page-the-thao__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

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

.page-the-thao__intro-section {
  background: #ffffff;
  padding: 60px 0;
}

.page-the-thao__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__feature-item {
  text-align: center;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-the-thao__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439;
}

.page-the-thao__feature-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #555555;
}

.page-the-thao__sports-categories {
  background: #017439; /* Brand primary color */
  padding: 60px 0;
}

.page-the-thao__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__category-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
}

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

.page-the-thao__category-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439;
  padding: 0 15px;
}

.page-the-thao__category-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-the-thao__betting-features {
  background: #ffffff;
  padding: 60px 0;
}

.page-the-thao__features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-the-thao__feature-item-large {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__feature-item-large:nth-child(even) {
  flex-direction: row-reverse;
}

.page-the-thao__feature-item-large img {
  flex: 1 1 400px;
  max-width: 50%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px;
}

.page-the-thao__feature-item-large:nth-child(even) img {
  margin-left: 0;
  margin-right: auto;
}

.page-the-thao__feature-details {
  flex: 1 1 400px;
}

.page-the-thao__promotions-section {
  background: #017439;
  padding: 60px 0;
}

.page-the-thao__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__promo-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
}

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

.page-the-thao__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439;
  padding: 0 15px;
}

.page-the-thao__promo-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-the-thao__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-the-thao__guide-section {
  background: #ffffff;
  padding: 60px 0;
}

.page-the-thao__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__guide-step {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 20px;
}

.page-the-thao__guide-step img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-the-thao__guide-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439;
  padding: 0 15px;
}

.page-the-thao__guide-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
  padding: 0 15px;
}

.page-the-thao__faq-section {
  background: #f5f5f5;
  padding: 60px 0;
}

.page-the-thao__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-the-thao__faq-item {
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-the-thao__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: #017439;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  content: "−";
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-the-thao__final-cta-section {
  background: #017439;
  padding: 60px 0;
  text-align: center;
}

/* General image responsiveness */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-the-thao__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 20px;
  }

  .page-the-thao__hero-content,
  .page-the-thao__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-the-thao__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    text-align: center;
  }

  .page-the-thao__hero-description {
    font-size: 1rem;
    text-align: center;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao a[class*="button"],
  .page-the-thao 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__content-area,
  .page-the-thao__card,
  .page-the-thao__section,
  .page-the-thao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__section-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

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

  .page-the-thao__intro-section,
  .page-the-thao__sports-categories,
  .page-the-thao__betting-features,
  .page-the-thao__promotions-section,
  .page-the-thao__guide-section,
  .page-the-thao__faq-section,
  .page-the-thao__final-cta-section {
    padding: 40px 0;
  }

  .page-the-thao__features-grid,
  .page-the-thao__categories-grid,
  .page-the-thao__promo-cards,
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__icon-box-media {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
  }

  .page-the-thao__feature-item-large {
    flex-direction: column !important;
    padding: 20px;
    gap: 20px;
  }

  .page-the-thao__feature-item-large img {
    max-width: 100%;
    width: 100% !important;
    height: auto !important;
    min-width: unset;
  }

  .page-the-thao__category-card img,
  .page-the-thao__promo-card img,
  .page-the-thao__guide-step img {
    
  }

  .page-the-thao__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-the-thao__faq-answer {
    padding: 0 20px 15px;
  }

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