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

.page-the-thao__content-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-the-thao__hero-section {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 60px;
  color: #ffffff;
}

.page-the-thao__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-the-thao__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-the-thao__main-title {
  font-size: clamp(2.5em, 5vw, 3.2em); /* Responsive H1 font size */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-the-thao__hero-cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-the-thao__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-the-thao__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  display: block;
}

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-the-thao__btn-text {
  display: inline-block;
  color: #E53935;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-the-thao__btn-text:hover {
  color: #FF5A4F;
  text-decoration: underline;
}

/* Intro Section (Module 1) */
.page-the-thao__intro-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.page-the-thao__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-the-thao__feature-item {
  padding: 20px;
  border-radius: 12px;
  background-color: #f8f8f8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-the-thao__feature-item:hover {
  transform: translateY(-5px);
}

.page-the-thao__icon-box-media {
  width: 200px;
  height: 200px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #E53935;
  box-shadow: 0 0 0 8px rgba(229, 57, 53, 0.2);
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-the-thao__feature-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 10px;
}

.page-the-thao__feature-text {
  font-size: 1em;
  color: #555555;
}

/* Sports Categories Section */
.page-the-thao__sports-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

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

.page-the-thao__sport-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-the-thao__sport-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-the-thao__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__card-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-the-thao__card-title a {
  color: #E53935;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-the-thao__card-title a:hover {
  color: #FF5A4F;
  text-decoration: underline;
}

.page-the-thao__card-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
}

/* Promo Section */
.page-the-thao__promo-section {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  padding: 60px 0;
  color: #ffffff;
}

.page-the-thao__promo-section .page-the-thao__section-title,
.page-the-thao__promo-section .page-the-thao__section-description {
  color: #ffffff;
}

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

.page-the-thao__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-the-thao__promo-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-the-thao__promo-card .page-the-thao__card-content {
  padding: 20px;
  color: #333333;
}

.page-the-thao__promo-card .page-the-thao__card-title a {
  color: #E53935;
}

.page-the-thao__promo-card .page-the-thao__card-text {
  color: #555555;
}

.page-the-thao__promo-card .page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  width: 100%;
  margin-top: auto;
}

/* Guide Section */
.page-the-thao__guide-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

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

.page-the-thao__guide-item {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-the-thao__guide-item:hover {
  transform: translateY(-5px);
}

.page-the-thao__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-the-thao__guide-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__guide-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-the-thao__guide-title a {
  color: #E53935;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-the-thao__guide-title a:hover {
  color: #FF5A4F;
  text-decoration: underline;
}

.page-the-thao__guide-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-the-thao__faq-item {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fcfcfc;
  transition: background-color 0.3s ease;
}

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

.page-the-thao__faq-item summary:hover {
  background-color: #f0f0f0;
}

.page-the-thao__faq-qtext {
  flex-grow: 1;
  color: #E53935;
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #E53935;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  content: '−';
}

.page-the-thao__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-answer {
  max-height: 500px; /* Arbitrary large value for smooth transition */
}

.page-the-thao__faq-answer p {
  margin-top: 10px;
}

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

/* Media Queries */
@media (max-width: 1024px) {
  .page-the-thao__hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-the-thao__hero-content {
    text-align: center;
  }

  .page-the-thao__hero-cta-group {
    justify-content: center;
  }

  .page-the-thao__icon-box-media {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding, assuming body handles header offset */
    padding-bottom: 40px;
  }

  .page-the-thao__hero-container {
    padding: 20px 15px;
    gap: 20px;
  }

  .page-the-thao__main-title {
    font-size: clamp(2em, 8vw, 2.5em); /* Adjust H1 for mobile */
  }

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

  .page-the-thao__hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }

  /* Buttons (General) */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .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__hero-cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking on mobile */
  }

  /* Intro Section (Module 1) */
  .page-the-thao__intro-section {
    padding: 40px 0;
  }

  .page-the-thao__content-container {
    padding: 20px 15px;
  }

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

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

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

  .page-the-thao__icon-box-media {
    width: 160px; /* Keep round, adjust size */
    height: 160px;
    border-width: 3px;
    box-shadow: 0 0 0 6px rgba(229, 57, 53, 0.2);
  }

  /* Sports Categories Section */
  .page-the-thao__sports-section {
    padding: 40px 0;
  }

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

  .page-the-thao__sport-card {
    margin: 0 15px; /* Add horizontal padding to cards */
  }

  .page-the-thao__sport-image {
    height: 180px;
  }

  .page-the-thao__card-title {
    font-size: 1.2em;
  }

  .page-the-thao__card-text {
    font-size: 0.9em;
  }

  /* Promo Section */
  .page-the-thao__promo-section {
    padding: 40px 0;
  }

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

  .page-the-thao__promo-card {
    margin: 0 15px;
  }

  .page-the-thao__promo-image {
    height: 180px;
  }

  /* Guide Section */
  .page-the-thao__guide-section {
    padding: 40px 0;
  }

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

  .page-the-thao__guide-item {
    margin: 0 15px;
  }

  .page-the-thao__guide-image {
    height: 180px;
  }

  .page-the-thao__guide-title {
    font-size: 1.2em;
  }

  .page-the-thao__guide-text {
    font-size: 0.9em;
  }

  /* FAQ Section */
  .page-the-thao__faq-section {
    padding: 40px 0;
  }

  .page-the-thao__faq-item {
    margin: 0 15px 15px; /* Add horizontal padding to items */
  }

  .page-the-thao__faq-item summary {
    padding: 15px;
    font-size: 1em;
  }

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

  /* General Image & Container Responsiveness */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__content-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Specific override for intro section to avoid double padding */
  .page-the-thao__intro-section .page-the-thao__content-container,
  .page-the-thao__sports-section .page-the-thao__content-container,
  .page-the-thao__promo-section .page-the-thao__content-container,
  .page-the-thao__guide-section .page-the-thao__content-container,
  .page-the-thao__faq-section .page-the-thao__content-container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-the-thao__hero-container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-the-thao__section-title {
    font-size: 1.8em;
  }
}