.page-the-thao {
  font-family: Arial, sans-serif;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
}

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

.page-the-thao__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #E53935; /* Main Color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 18px;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-the-thao__card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-the-thao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button Gradient */
  color: #ffffff;
  border: none;
}

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

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

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

.page-the-thao__btn-text-link {
  color: #E53935; /* Main Color */
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.page-the-thao__btn-text-link:hover {
  color: #FF5A4F; /* Auxiliary Color */
  text-decoration: underline;
}

/* HERO Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  background-color: #F5F7FA; /* Background */
}

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

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

.page-the-thao__hero-title {
  font-size: clamp(32px, 4vw, 48px); /* Use clamp for H1 */
  font-weight: 900;
  color: #E53935; /* Main Color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333333;
}

.page-the-thao__hero-cta-buttons {
  display: flex;
  gap: 20px;
  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;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-the-thao__icon-box-media {
  width: 180px;
  height: 180px;
  aspect-ratio: 1/1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FF5A4F;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Ensure image itself is circular within the box */
  display: block;
}

.page-the-thao__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: #E53935;
  margin-bottom: 10px;
}

.page-the-thao__feature-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

/* Popular Sports Section */
.page-the-thao__popular-sports-section {
  padding: 60px 0;
  background-color: #E53935; /* Main Color */
  color: #ffffff;
}

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

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

.page-the-thao__sport-card {
  text-align: left;
  padding: 0;
  overflow: hidden;
  color: #333333;
}

.page-the-thao__sport-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: block;
}

.page-the-thao__sport-content {
  padding: 25px;
}

.page-the-thao__sport-title {
  font-size: 22px;
  font-weight: bold;
  color: #E53935;
  margin-bottom: 10px;
}

.page-the-thao__sport-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333333;
}

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

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

.page-the-thao__advantage-item {
  text-align: left;
}

.page-the-thao__advantage-title {
  font-size: 22px;
  font-weight: bold;
  color: #E53935;
  margin-bottom: 10px;
}

.page-the-thao__advantage-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

.page-the-thao__cta-center {
  text-align: center;
}

/* Promo Section */
.page-the-thao__promo-section {
  padding: 60px 0;
  background-color: #FF5A4F; /* Auxiliary Color */
  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-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-the-thao__promo-item {
  text-align: left;
  padding: 0;
  overflow: hidden;
  color: #333333;
}

.page-the-thao__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: block;
}

.page-the-thao__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #E53935;
  margin-bottom: 10px;
  padding: 15px 15px 0;
}

.page-the-thao__promo-text {
  font-size: 16px;
  line-height: 1.6;
  padding: 0 15px 15px;
  color: #333333;
}

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

.page-the-thao__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-the-thao__faq-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #E53935;
  cursor: pointer;
  list-style: none;
}

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

.page-the-thao__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 0 25px 18px;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

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

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

  .page-the-thao__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* HERO Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Fixed header spacing */
    padding-bottom: 40px;
  }

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

  .page-the-thao__hero-content {
    text-align: center;
    flex: 1 1 100%;
  }

  .page-the-thao__hero-title {
    font-size: clamp(28px, 8vw, 36px); /* Adjust clamp for mobile */
    margin-bottom: 15px;
  }

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

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

  .page-the-thao__hero-cta-buttons .page-the-thao__btn-primary,
  .page-the-thao__hero-cta-buttons .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-the-thao__hero-image {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-the-thao__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

  .page-the-thao__icon-box-media {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
    border-width: 3px;
  }

  .page-the-thao__feature-title {
    font-size: 20px;
  }

  .page-the-thao__feature-text {
    font-size: 15px;
  }

  /* Popular Sports Section (Sports Grid) */
  .page-the-thao__popular-sports-section {
    padding: 40px 0;
  }

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

  .page-the-thao__sport-image {
    height: 180px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__sport-title {
    font-size: 20px;
  }

  .page-the-thao__sport-text {
    font-size: 15px;
  }

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

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

  .page-the-thao__advantage-title {
    font-size: 20px;
  }

  .page-the-thao__advantage-text {
    font-size: 15px;
  }

  .page-the-thao__cta-center .page-the-thao__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

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

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

  .page-the-thao__promo-image {
    height: 150px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__promo-title {
    font-size: 20px;
  }

  .page-the-thao__promo-text {
    font-size: 15px;
  }

  .page-the-thao__promo-section .page-the-thao__cta-center .page-the-thao__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

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

  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

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

  /* General image and container rules for mobile */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons and button containers (general) */
  .page-the-thao__cta-button,
  .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__cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
  }
}