.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for clarity */
}

.page-the-thao__section {
  padding: 40px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

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

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

.page-the-thao__main-title,
.page-the-thao__section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  color: inherit; /* Inherit from section background */
}

.page-the-thao__section-description {
  text-align: center;
  margin-bottom: 30px;
  font-size: 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-bottom: 60px;
}

.page-the-thao__hero-slider {
  position: relative;
  width: 100%;
  height: 675px; /* Aspect ratio 16:9 for 1200x675 */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-the-thao__hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.page-the-thao__hero-slide.is-active {
  opacity: 1;
}

.page-the-thao__hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__hero-slider-prev,
.page-the-thao__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.page-the-thao__hero-slider-prev:hover,
.page-the-thao__hero-slider-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.page-the-thao__hero-slider-prev {
  left: 10px;
}

.page-the-thao__hero-slider-next {
  right: 10px;
}

.page-the-thao__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.page-the-thao__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #333333;
}

.page-the-thao__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

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

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

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

.page-the-thao__feature-card img {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 15px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: inherit;
}

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

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

.page-the-thao__sport-item img {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin-bottom: 15px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__sport-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #017439;
}

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

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

.page-the-thao__step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFFF00;
}

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

.page-the-thao__promo-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
  text-align: center;
}

.page-the-thao__promo-card img {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin-bottom: 15px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__app-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 0 20px;
  color: #ffffff;
}

.page-the-thao__app-showcase img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__app-features {
  max-width: 500px;
}

.page-the-thao__app-features h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #FFFF00;
}

.page-the-thao__app-features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-the-thao__app-features li {
  margin-bottom: 10px;
  font-size: 18px;
  position: relative;
  padding-left: 25px;
}

.page-the-thao__app-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFFF00;
  font-weight: bold;
}

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

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

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

.page-the-thao__cta-bottom {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-the-thao__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

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

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

.page-the-thao__faq-toggle {
  font-size: 24px;
  line-height: 1;
  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: 16px;
  line-height: 1.6;
  color: #ffffff;
}

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

.page-the-thao__blog-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #333333;
}

.page-the-thao__blog-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-the-thao__blog-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* For 800x450 */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__blog-card .page-the-thao__card-title {
  font-size: 20px;
  font-weight: 600;
  margin: 15px 15px 10px;
  color: #017439;
  text-align: left;
}

.page-the-thao__blog-card .page-the-thao__card-meta {
  font-size: 14px;
  color: #666666;
  margin: 0 15px 10px;
  text-align: left;
}

.page-the-thao__blog-card .page-the-thao__card-excerpt {
  font-size: 16px;
  color: #555555;
  margin: 0 15px 20px;
  text-align: left;
}

.page-the-thao__view-all-button {
  text-align: center;
  margin-top: 40px;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-the-thao__section {
    padding: 20px 15px;
  }

  .page-the-thao__main-title,
  .page-the-thao__section-title {
    font-size: 32px; /* Adjusted for mobile */
    margin-bottom: 15px;
  }

  .page-the-thao__section-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

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

  .page-the-thao__hero-slider {
    height: 250px; /* Smaller height for mobile hero */
    margin-bottom: 20px;
  }

  .page-the-thao__hero-slider-prev,
  .page-the-thao__hero-slider-next {
    padding: 8px 12px;
    font-size: 20px;
  }

  .page-the-thao__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  .page-the-thao__feature-grid,
  .page-the-thao__sports-list,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-grid,
  .page-the-thao__trust-factors,
  .page-the-thao__blog-grid {
    grid-template-columns: 1fr; /* Single column layout for most grids */
    gap: 20px;
    padding: 0 15px;
  }

  .page-the-thao__app-showcase {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }

  .page-the-thao__app-showcase img {
    max-width: 100%;
  }

  .page-the-thao__app-features h3 {
    font-size: 24px;
  }

  .page-the-thao__app-features li {
    font-size: 16px;
  }

  .page-the-thao__cta-bottom {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

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

  .page-the-thao__blog-card .page-the-thao__card-title,
  .page-the-thao__blog-card .page-the-thao__card-meta,
  .page-the-thao__blog-card .page-the-thao__card-excerpt {
    margin-left: 15px;
    margin-right: 15px;
  }

  /* Mandatory image and container rules for mobile */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__section,
  .page-the-thao__hero-section,
  .page-the-thao__feature-grid,
  .page-the-thao__feature-card,
  .page-the-thao__sports-list,
  .page-the-thao__sport-item,
  .page-the-thao__guide-steps,
  .page-the-thao__step-card,
  .page-the-thao__promo-grid,
  .page-the-thao__promo-card,
  .page-the-thao__app-showcase,
  .page-the-thao__app-features,
  .page-the-thao__trust-factors,
  .page-the-thao__trust-item,
  .page-the-thao__faq-list,
  .page-the-thao__faq-item,
  .page-the-thao__blog-section,
  .page-the-thao__blog-grid,
  .page-the-thao__blog-card,
  .page-the-thao__view-all-button,
  .page-the-thao__hero-cta-buttons,
  .page-the-thao__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Specific mobile layout for guide-grid if it were a complex grid, not just flex-wrap */
  /* For this page's guide-steps, single column is fine. If it were the 5-card layout from homepage */
  /* .page-the-thao__guide-grid { display: grid; grid-template-columns: repeat(6, 1fr); } */
  /* .page-the-thao__guide-card--pos-1, .page-the-thao__guide-card--pos-2 { grid-column: span 3; } */
  /* .page-the-thao__guide-card--pos-3, .page-the-thao__guide-card--pos-4, .page-the-thao__guide-card--pos-5 { grid-column: span 2; } */
  /* The current guide-steps are simple cards, so 1fr is sufficient. */
}