.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #F5F7FA; /* Custom background color */
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding to account for fixed header */
  padding-bottom: 60px;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

.page-the-thao__hero-content {
  flex: 1 1 500px; /* Allow content to grow but have a base width */
  max-width: 50%;
  color: #333333;
}

.page-the-thao__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #E53935;
}

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

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

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

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

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.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;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-the-thao__btn-secondary:hover {
  background-color: #E53935;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-the-thao__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 6px;
}

.page-the-thao__btn-large {
  padding: 16px 40px;
  font-size: 1.2rem;
  border-radius: 10px;
}

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

.page-the-thao__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

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

.page-the-thao__section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333333;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

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

.page-the-thao__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.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.6rem;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 15px;
}

.page-the-thao__feature-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
}

.page-the-thao__sport-categories-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

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

.page-the-thao__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.page-the-thao__category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #E53935;
  margin: 20px 15px 10px;
}

.page-the-thao__category-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-the-thao__category-card .page-the-thao__btn {
  margin: 0 15px 20px;
}

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

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

.page-the-thao__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  text-align: center;
}

.page-the-thao__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.page-the-thao__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #E53935;
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-the-thao__step-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
}

.page-the-thao__guide-cta {
  text-align: center;
  margin-top: 50px;
}

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

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

.page-the-thao__faq-item {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-the-thao__faq-item[open] {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
  background-color: #f0f0f0;
  border-bottom-color: #E0E0E0;
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 20px;
  color: #E53935;
  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: 15px 25px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
}

.page-the-thao__faq-answer p {
  margin-bottom: 0;
}

.page-the-thao__faq-link {
  color: #E53935;
  text-decoration: underline;
}

.page-the-thao__faq-link:hover {
  color: #FF5A4F;
}

.page-the-thao__cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #FF5A4F 0%, #E53935 100%);
  text-align: center;
  color: #ffffff;
}

.page-the-thao__cta-content-wrapper {
  max-width: 900px;
}

.page-the-thao__cta-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-the-thao__cta-description {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: #ffffff;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-the-thao__hero-container {
    padding: 30px 20px;
    gap: 30px;
  }

  .page-the-thao__hero-content,
  .page-the-thao__hero-image {
    max-width: 100%;
    flex: 1 1 100%;
  }

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

  .page-the-thao__hero-image {
    order: 1;
  }

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

  .page-the-thao__section-description {
    font-size: 1rem;
  }

  .page-the-thao__feature-grid,
  .page-the-thao__category-grid,
  .page-the-thao__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

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

  .page-the-thao__feature-title {
    font-size: 1.4rem;
  }

  .page-the-thao__category-title {
    font-size: 1.3rem;
  }

  .page-the-thao__cta-title {
    font-size: 2.4rem;
  }

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

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

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

  .page-the-thao__hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem); /* Adjust clamp for smaller screens */
    margin-bottom: 15px;
  }

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

  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .page-the-thao__btn,
  .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 !important;
    padding-right: 15px !important;
  }

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

  /* General Content Area & Images */
  .page-the-thao__content-area,
  .page-the-thao__intro-section .page-the-thao__content-area,
  .page-the-thao__sport-categories-section .page-the-thao__content-area,
  .page-the-thao__guide-section .page-the-thao__content-area,
  .page-the-thao__faq-section .page-the-thao__content-area,
  .page-the-thao__cta-section .page-the-thao__content-area {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

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

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

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

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

  .page-the-thao__icon-box-media {
    width: 150px; /* Maintain square aspect ratio */
    height: 150px; /* Maintain square aspect ratio */
    margin-bottom: 20px;
  }

  .page-the-thao__feature-title {
    font-size: 1.3rem;
  }

  .page-the-thao__feature-text {
    font-size: 0.9rem;
  }

  /* Sport Categories Section */
  .page-the-thao__sport-categories-section {
    padding: 40px 0;
  }

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

  .page-the-thao__category-img {
    
  }

  .page-the-thao__category-title {
    font-size: 1.2rem;
  }

  .page-the-thao__category-text {
    font-size: 0.9rem;
  }

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

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

  .page-the-thao__step-item {
    padding: 25px;
  }

  .page-the-thao__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
    top: -22px;
  }

  .page-the-thao__step-title {
    font-size: 1.2rem;
    margin-top: 35px;
  }

  .page-the-thao__step-text {
    font-size: 0.9rem;
  }

  .page-the-thao__guide-cta {
    margin-top: 40px;
  }

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

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

  .page-the-thao__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
  }

  .page-the-thao__faq-answer {
    padding: 10px 20px 20px;
    font-size: 0.9rem;
  }

  /* CTA Section */
  .page-the-thao__cta-section {
    padding: 50px 0;
  }

  .page-the-thao__cta-title {
    font-size: 1.8rem;
  }

  .page-the-thao__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-the-thao__btn-large {
    padding: 14px 30px;
    font-size: 1.1rem;
  }
}