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

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

/* --- Hero Section --- */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #F5F7FA; /* Light background for hero, consistent with body */
}

.page-the-thao__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
}

.page-the-thao__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #333333; /* Dark text on light background */
}

.page-the-thao__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #E53935; /* Brand color for main title */
}

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

.page-the-thao__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
  box-sizing: border-box;
  transition: all 0.3s ease;
  min-width: 160px; /* Ensure minimum width for buttons */
}

.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: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

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

.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: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* --- General Section Styling --- */
.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-the-thao__section-title--light {
  color: #ffffff;
}

.page-the-thao__text-block {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333333;
}

.page-the-thao__text-block--light {
  color: #f0f0f0;
}

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

.page-the-thao__light-bg {
  background-color: #F5F7FA; /* Light gray background */
  color: #333333; /* Dark text */
}

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

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

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

.page-the-thao__icon-box-media {
  width: 240px; /* Fixed width for circle */
  height: 240px; /* Fixed height for circle */
  aspect-ratio: 1/1;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #E53935; /* Brand color border */
}

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

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

.page-the-thao__feature-description {
  font-size: 1rem;
  color: #555555;
}

/* --- Popular Sports Section --- */
.page-the-thao__popular-sports-section {
  padding: 60px 0;
}

.page-the-thao__dark-bg {
  background-color: #E53935; /* Main brand color for dark background */
  color: #ffffff; /* Light text */
}

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

.page-the-thao__sports-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-the-thao__sports-image {
  width: 100%;
  height: auto;
  display: block;
}

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

.page-the-thao__sports-description {
  font-size: 0.95rem;
  color: #555555;
  padding: 0 15px 20px;
}

.page-the-thao__button-group {
  margin-top: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

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

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

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

.page-the-thao__advantage-icon {
  width: 200px; /* Minimum display size for icons */
  height: 200px;
  margin-bottom: 20px;
  object-fit: contain; /* Ensure icons are fully visible */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__advantage-description {
  font-size: 0.95rem;
  color: #555555;
}

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

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

.page-the-thao__guide-step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

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

.page-the-thao__guide-step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
}

.page-the-thao__guide-step-description {
  font-size: 1rem;
  color: #555555;
}

/* --- Promotions Section --- */
.page-the-thao__promotions-section {
  padding: 60px 0;
}

.page-the-thao__promo-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.1);
  text-align: left;
  transition: transform 0.3s ease;
}

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

.page-the-thao__promo-image {
  width: 100%;
  height: auto;
  display: block;
}

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

.page-the-thao__promo-description {
  font-size: 0.95rem;
  color: #555555;
  padding: 0 20px 15px;
}

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

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

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

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

.page-the-thao__faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* For details tag transition */
}

.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: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* Remove default marker for summary */
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  color: #E53935;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg); /* Rotate to form an 'x' or 'minus' */
}

.page-the-thao__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
  border-top: 1px solid #f0f0f0;
}

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

/* --- Final CTA Section --- */
.page-the-thao__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-the-thao__cta-final-content {
  background-color: #ffffff;
  padding: 50px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-the-thao__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-the-thao__hero-content,
  .page-the-thao__hero-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-the-thao__main-title,
  .page-the-thao__hero-description,
  .page-the-thao__cta-buttons {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* General mobile adaptations */
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-the-thao__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-the-thao__hero-container {
    padding: 30px 0 !important;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    margin-bottom: 15px !important;
  }

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

  /* Buttons & Button Groups */
  .page-the-thao__cta-buttons,
  .page-the-thao__button-group {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important; /* Ensure padding for button containers */
  }

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

  /* Section titles and text blocks */
  .page-the-thao__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
    margin-bottom: 15px !important;
  }

  .page-the-thao__text-block {
    font-size: 1rem !important;
    margin-bottom: 30px !important;
  }

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

  .page-the-thao__feature-grid {
    grid-template-columns: 1fr !important; /* Single column */
  }

  .page-the-thao__feature-item {
    padding: 25px !important;
  }

  .page-the-thao__icon-box-media {
    width: 200px !important; /* Still square, smaller */
    height: 200px !important;
    margin-bottom: 20px !important;
  }

  .page-the-thao__feature-title {
    font-size: 1.2rem !important;
  }

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

  .page-the-thao__sports-grid {
    grid-template-columns: 1fr !important;
  }

  .page-the-thao__sports-title {
    font-size: 1.2rem !important;
  }

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

  .page-the-thao__advantages-grid {
    grid-template-columns: 1fr !important;
  }

  .page-the-thao__advantage-item {
    padding: 25px !important;
  }

  .page-the-thao__advantage-icon {
    width: 150px !important; /* Adjusting for mobile display, still >= 200px source */
    height: 150px !important;
    margin-bottom: 15px !important;
  }

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

  .page-the-thao__guide-steps {
    grid-template-columns: 1fr !important;
  }

  .page-the-thao__guide-step-item {
    padding: 50px 25px 25px !important;
  }

  .page-the-thao__guide-step-number {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.6rem !important;
    top: -15px !important;
  }

  .page-the-thao__guide-step-title {
    font-size: 1.2rem !important;
  }

  /* Promotions Section */
  .page-the-thao__promotions-section {
    padding: 40px 0 !important;
  }

  .page-the-thao__promo-grid {
    grid-template-columns: 1fr !important;
  }

  .page-the-thao__promo-title {
    font-size: 1.2rem !important;
  }
}