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

.page-the-thao__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #f0f8ff; /* Light blue background for hero */
  position: relative;
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-the-thao__hero-description {
  font-size: 1.25rem;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn--primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

.page-the-thao__btn--outline {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-the-thao__btn--outline:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-the-thao__btn--link {
  background: none;
  border: none;
  color: #26A9E0;
  padding: 0;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: underline;
}

.page-the-thao__btn--link:hover {
  color: #1e87c0;
}

.page-the-thao__section {
  padding: 60px 0;
  border-bottom: 1px solid #eeeeee;
}

.page-the-thao__section:last-of-type {
  border-bottom: none;
}

.page-the-thao__section-title {
  font-size: 2.2rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-the-thao__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333333;
}

.page-the-thao__sport-category {
  margin-bottom: 40px;
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
}

.page-the-thao__sport-title {
  font-size: 1.8rem;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-the-thao__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-the-thao__list-item {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #333333;
}

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

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

.page-the-thao__figcaption {
  font-size: 0.95rem;
  color: #666666;
  margin-top: 10px;
  text-align: center;
}

.page-the-thao__step-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__step-title {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__step-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-the-thao__promo-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-the-thao__promo-card .page-the-thao__image {
  margin-bottom: 20px;
}

.page-the-thao__promo-title {
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__promo-description {
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

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

.page-the-thao__feature-item {
  background-color: #f0f8ff; /* Light blue background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-the-thao__feature-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao__feature-description {
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 15px;
}

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

.page-the-thao__faq-question {
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
}

.page-the-thao__faq-answer {
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
}

.page-the-thao__section--conclusion .page-the-thao__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-the-thao__section--conclusion .page-the-thao__text-block a:hover {
  color: #1e87c0;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

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

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

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

  .page-the-thao__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* 1. Top section (title + CTA) */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-the-thao__main-title {
    font-size: 2.2rem !important;
    margin-bottom: 10px;
  }

  .page-the-thao__hero-description {
    font-size: 1rem !important;
    margin-bottom: 20px;
  }

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

  /* 4. Buttons and button containers */
  .page-the-thao__btn,
  .page-the-thao__btn--primary,
  .page-the-thao__btn--secondary,
  .page-the-thao__btn--outline,
  .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-bottom {
    padding: 0 15px;
    box-sizing: border-box !important;
  }

  .page-the-thao__cta-bottom .page-the-thao__btn {
    width: 100% !important;
  }

  /* 2. Single-column long text container */
  .page-the-thao__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-the-thao__text-block,
  .page-the-thao__list-item,
  .page-the-thao__step-description,
  .page-the-thao__promo-description,
  .page-the-thao__feature-description,
  .page-the-thao__faq-answer {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }

  .page-the-thao__sport-category,
  .page-the-thao__step-card,
  .page-the-thao__promo-card,
  .page-the-thao__feature-item,
  .page-the-thao__faq-item {
    padding: 20px !important;
    margin-bottom: 20px !important;
  }

  .page-the-thao__sport-title {
    font-size: 1.5rem !important;
  }

  .page-the-thao__step-title,
  .page-the-thao__promo-title,
  .page-the-thao__feature-title {
    font-size: 1.3rem !important;
  }

  .page-the-thao__faq-question {
    font-size: 1.1rem !important;
  }

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

  .page-the-thao__figure {
    margin: 20px 0;
  }

  .page-the-thao__figcaption {
    font-size: 0.85rem;
  }

  /* 5. Registration tutorial and FAQ sections (already covered by step-card and faq-item above) */
  /* Ensure all containers with images also adapt */
  .page-the-thao__hero-image-wrapper,
  .page-the-thao__promo-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .page-the-thao__feature-list {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}