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

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

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #ffffff;
  color: #333333;
}

.page-the-thao__hero-image-wrap {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
}

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

.page-the-thao__main-title {
  font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size */
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  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: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

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

.page-the-thao__btn-secondary:hover {
  background-color: #e0f4ff;
  color: #1a8cc2;
  border-color: #1a8cc2;
}

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

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

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

.page-the-thao__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
  color: inherit; /* Inherits color from section background */
}

.page-the-thao__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  color: inherit; /* Inherits color from section background */
}

.page-the-thao__article-wrap {
  max-width: 900px;
  line-height: 1.8;
}

.page-the-thao__article-wrap p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-the-thao__highlight {
  font-weight: bold;
  color: inherit;
}

.page-the-thao__figure {
  margin: 30px 0;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
}

.page-the-thao__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__figcaption {
  font-style: italic;
  font-size: 0.95em;
  margin-top: 10px;
  color: inherit;
}

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

.page-the-thao__numbered-list {
  list-style-type: decimal;
}

.page-the-thao__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-the-thao__list-item strong {
  color: inherit;
}

.page-the-thao__inline-link {
  color: #EA7C07;
  text-decoration: underline;
  font-weight: bold;
}

.page-the-thao__inline-link:hover {
  color: #b86205;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Enforce small top padding */
    padding-bottom: 20px;
  }

  .page-the-thao__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__main-title {
    font-size: 2em; /* Adjust H1 for mobile */
  }

  .page-the-thao__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  .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;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .page-the-thao__sub-title {
    font-size: 1.2em;
    margin-top: 25px;
  }

  .page-the-thao__article-wrap p,
  .page-the-thao__list-item {
    font-size: 0.95em;
  }

  .page-the-thao__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Ensure all content containers are responsive */
  .page-the-thao__hero-section,
  .page-the-thao__section,
  .page-the-thao__article-wrap {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 0 25px;
  }

  .page-the-thao__article-wrap {
    max-width: 800px;
  }
}