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

.page-the-thao__article-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-the-thao__hero-section {
  position: relative;
  text-align: center;
  background-color: #017439; /* Brand color for hero background */
  padding-bottom: 40px;
}

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

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-the-thao__hero-content-wrap {
  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
  color: #FFFFFF;
  position: relative;
  z-index: 1;
}

.page-the-thao__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFF00; /* Yellow for prominence */
}

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

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

.page-the-thao__section {
  padding: 40px 0;
  background-color: #FFFFFF;
}

.page-the-thao__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 10px;
  position: relative;
}

.page-the-thao__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C30808;
  border-radius: 2px;
}

.page-the-thao__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-the-thao p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-the-thao a {
  color: #017439;
  text-decoration: none;
}

.page-the-thao a:hover {
  text-decoration: underline;
}

.page-the-thao__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-the-thao__list li {
  margin-bottom: 8px;
}

.page-the-thao__image-container {
  text-align: center;
  margin: 30px 0;
}

.page-the-thao__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-the-thao__advantages-list li {
  background: #e6f7ed; /* Light green background for list items */
  padding: 10px 15px;
  border-left: 5px solid #017439;
  margin-bottom: 10px;
  border-radius: 4px;
}

.page-the-thao__faq-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  border: 1px solid #e0e0e0;
}

.page-the-thao__faq-item h3 {
  color: #017439;
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-the-thao__faq-item p {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 0;
}

.page-the-thao__cta-buttons--single {
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-the-thao__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 20px;
  justify-content: center;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__article-wrap {
    padding: 15px;
  }

  .page-the-thao__hero-image {
    max-height: 500px;
  }

  .page-the-thao__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

  .page-the-thao__section-title {
    font-size: 2em;
  }

  .page-the-thao__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  /* 1. Top Section (Hero) & CTA */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Fixed top spacing */
    padding-bottom: 30px;
  }

  .page-the-thao__hero-image {
    max-height: 300px !important;
  }

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

  .page-the-thao__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important; /* Ensure smaller font size on mobile */
  }

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

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

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. Single Column Long Text Container */
  .page-the-thao__article-wrap {
    padding: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__section-title {
    font-size: 1.8em !important;
    margin-bottom: 25px;
  }

  .page-the-thao__sub-title {
    font-size: 1.4em !important;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-the-thao p,
  .page-the-thao__list li {
    font-size: 1em;
  }

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

  .page-the-thao__image-container {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 4. Buttons and Button Containers (already handled above with .page-the-thao__cta-buttons) */
  .page-the-thao__cta-buttons--single,
  .page-the-thao__cta-buttons--center {
    padding: 0 15px;
  }

  /* 5. Registration Tutorial and FAQ Blocks */
  .page-the-thao__faq-item {
    padding: 15px;
  }

  .page-the-thao__faq-item h3 {
    font-size: 1.2em;
  }

  .page-the-thao__faq-item p {
    font-size: 0.95em;
  }

  .page-the-thao__advantages-list li {
    padding: 8px 12px;
    font-size: 1em;
  }
}