.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
}

.page-the-thao__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-the-thao__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-the-thao__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  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;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background-color: #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-color: #a00606;
  border-color: #a00606;
}

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

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

.page-the-thao__introduction-section,
.page-the-thao__featured-sports-section,
.page-the-thao__guide-section,
.page-the-thao__bet-types-section,
.page-the-thao__promotions-section,
.page-the-thao__why-choose-section,
.page-the-thao__faq-section,
.page-the-thao__cta-bottom-section {
  padding: 60px 0;
}

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.page-the-thao__dark-bg .page-the-thao__section-title {
  color: #FFFFFF;
}

.page-the-thao__light-bg .page-the-thao__section-title {
  color: #017439;
}

.page-the-thao__section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-align: center;
  margin-bottom: 40px;
  color: #666;
}

.page-the-thao__dark-bg .page-the-thao__section-subtitle {
  color: #f0f0f0;
}

.page-the-thao__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__cta-buttons--center {
  margin-top: 30px;
}

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

.page-the-thao__sport-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-the-thao__sport-description {
  font-size: 0.95rem;
  color: #555;
}

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

.page-the-thao__step-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-the-thao__step-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #017439;
  color: #017439;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-outline:hover {
  background-color: #017439;
  color: #FFFFFF;
}

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

.page-the-thao__bet-type-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
}

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

.page-the-thao__bet-type-description {
  font-size: 0.95rem;
  color: #555;
}

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

.page-the-thao__promo-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-the-thao__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-the-thao__promo-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__why-choose-section .page-the-thao__section-title {
  color: #FFFFFF;
}

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

.page-the-thao__advantage-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.page-the-thao__advantage-description {
  font-size: 0.95rem;
  color: #555;
}

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

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

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

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

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 0 25px 18px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

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

.page-the-thao__cta-bottom-section {
  background-color: #017439;
  padding: 80px 0;
  text-align: center;
}

.page-the-thao__cta-bottom-content .page-the-thao__section-title,
.page-the-thao__cta-bottom-content .page-the-thao__section-subtitle {
  color: #FFFFFF;
}

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

.page-the-thao__section,
.page-the-thao__card,
.page-the-thao__container,
.page-the-thao__hero-image-wrapper,
.page-the-thao__cta-buttons,
.page-the-thao__guide-steps,
.page-the-thao__bet-types-grid,
.page-the-thao__promotion-cards,
.page-the-thao__advantages-grid,
.page-the-thao__faq-list {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

  .page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 30px;
  }

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

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

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    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__section-title {
    font-size: 2rem;
  }

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

  .page-the-thao__introduction-section,
  .page-the-thao__featured-sports-section,
  .page-the-thao__guide-section,
  .page-the-thao__bet-types-section,
  .page-the-thao__promotions-section,
  .page-the-thao__why-choose-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-bottom-section {
    padding: 40px 0;
  }

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

  .page-the-thao__sports-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__bet-types-grid,
  .page-the-thao__promotion-cards,
  .page-the-thao__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__sport-card,
  .page-the-thao__step-item,
  .page-the-thao__bet-type-card,
  .page-the-thao__promo-card,
  .page-the-thao__advantage-item {
    padding: 20px;
  }

  .page-the-thao__sport-image,
  .page-the-thao__promo-image {
    height: 150px;
  }

  .page-the-thao__faq-item {
    margin-bottom: 10px;
  }

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

  .page-the-thao__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9rem;
  }

  .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-image-wrapper,
  .page-the-thao__cta-buttons,
  .page-the-thao__guide-steps,
  .page-the-thao__bet-types-grid,
  .page-the-thao__promotion-cards,
  .page-the-thao__advantages-grid,
  .page-the-thao__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-the-thao__cta-buttons {
    flex-wrap: wrap !important;
  }

  /* No specific long text gold frame or game/partner carousels for this page type based on outline */
  /* Placeholder for required mobile media queries not directly applicable but must be present */
  .page-the-thao__home-content { /* Not applicable to this page type */ }
  .page-the-thao__slider-track { /* Not applicable to this page type */ }
  .page-the-thao__banners-top-wrapper { /* Not applicable to this page type */ }
  .page-the-thao__blog-masonry { /* Not applicable to this page type */ }
  .page-the-thao__blog-slider-track { /* Not applicable to this page type */ }
}