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

.page-the-thao__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 20px; /* Small padding below content */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #017439; /* Dark background for the section */
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 1920px; /* Max width for large screens */
  margin: 0 auto;
  border-radius: 8px; /* Slightly rounded corners for visual appeal */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__hero-content {
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
  color: #FFFFFF;
}

.page-the-thao__main-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for main title for impact */
}

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

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background-color: #C30808; /* Red for primary action */
  color: #FFFF00; /* Yellow text for contrast */
  border-color: #C30808;
}

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

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

.page-the-thao__btn-secondary:hover {
  background-color: #02944b;
  border-color: #02944b;
}

.page-the-thao__section {
  padding: 60px 0;
}

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

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

.page-the-thao__section-intro {
  font-size: 17px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

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

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

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

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

.page-the-thao__feature-item,
.page-the-thao__type-card,
.page-the-thao__promo-card,
.page-the-thao__tip-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.page-the-thao__dark-bg .page-the-thao__type-card,
.page-the-thao__dark-bg .page-the-thao__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.page-the-thao__feature-item:hover,
.page-the-thao__type-card:hover,
.page-the-thao__promo-card:hover,
.page-the-thao__tip-item:hover {
  transform: translateY(-5px);
}

.page-the-thao__feature-icon,
.page-the-thao__type-image,
.page-the-thao__promo-image,
.page-the-thao__tip-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  max-width: 100%;
}

.page-the-thao__feature-title,
.page-the-thao__type-title,
.page-the-thao__promo-title,
.page-the-thao__tip-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #017439;
}

.page-the-thao__dark-bg .page-the-thao__type-title,
.page-the-thao__dark-bg .page-the-thao__promo-title {
  color: #FFFF00; /* Yellow for titles on dark background */
}

.page-the-thao__feature-text,
.page-the-thao__type-text,
.page-the-thao__promo-text,
.page-the-thao__tip-text {
  font-size: 16px;
  color: #555555;
}

.page-the-thao__dark-bg .page-the-thao__type-text,
.page-the-thao__dark-bg .page-the-thao__promo-text {
  color: #e0e0e0;
}

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

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

.page-the-thao__step-number {
  width: 50px;
  height: 50px;
  background-color: #017439;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

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

.page-the-thao__step-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

.page-the-thao__step-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #C30808;
  color: #FFFF00;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__step-button:hover {
  background-color: #e02020;
}

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

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

.page-the-thao__faq-list {
  margin-top: 40px;
}

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: #333333;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}
details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: #f0f0f0;
}
.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
  color: #017439;
}
.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

.page-the-thao__final-cta {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
}

.page-the-thao__final-cta .page-the-thao__section-title {
  color: #FFFF00;
}

.page-the-thao__final-cta .page-the-thao__section-intro {
  color: #FFFFFF;
  margin-bottom: 50px;
}

.page-the-thao__cta-buttons-bottom {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding for first section */
  }

  .page-the-thao__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

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

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

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__step-button,
  .page-the-thao__btn-primary.page-the-thao__start-btn,
  .page-the-thao__btn-secondary.page-the-thao__download-btn,
  .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__cta-buttons-bottom {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-the-thao__section {
    padding: 40px 0;
  }

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

  .page-the-thao__section-intro {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-the-thao__features-grid,
  .page-the-thao__types-grid,
  .page-the-thao__promo-cards,
  .page-the-thao__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__feature-item,
  .page-the-thao__type-card,
  .page-the-thao__promo-card,
  .page-the-thao__tip-item {
    padding: 20px;
  }

  .page-the-thao__feature-title,
  .page-the-thao__type-title,
  .page-the-thao__promo-title,
  .page-the-thao__tip-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .page-the-thao__feature-text,
  .page-the-thao__type-text,
  .page-the-thao__promo-text,
  .page-the-thao__tip-text {
    font-size: 15px;
  }

  .page-the-thao__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__step-item {
    padding: 20px;
  }

  .page-the-thao__step-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin-bottom: 15px;
  }

  .page-the-thao__step-title {
    font-size: 18px;
  }

  .page-the-thao__step-text {
    font-size: 15px;
    margin-bottom: 15px;
  }

  details.page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px;
  }
  .page-the-thao__faq-qtext {
    font-size: 15px;
  }
  .page-the-thao__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-the-thao__faq-item .page-the-thao__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .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;
  }
}

/* General image and container responsive rules for all content area images */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-the-thao__section,
.page-the-thao__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}