.page-the-thao {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top margin, as body handles header offset */
  padding-bottom: 60px;
  background-color: #F4F7FB; /* Light background for the section */
}

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

.page-the-thao__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
}

.page-the-thao__hero-description {
  font-size: 1.125rem;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  text-align: center;
  box-sizing: border-box;
  max-width: 250px; /* Max width for desktop buttons */
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  border: none;
}

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

.page-the-thao__btn-secondary {
  background: #FFFFFF;
  color: #2F6BFF; /* Main color for text */
  border: 2px solid #2F6BFF; /* Border color */
}

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

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

.page-the-thao__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* General Section Styles */
.page-the-thao__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
}

.page-the-thao__section-description {
  font-size: 1.1rem;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-the-thao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Intro Section */
.page-the-thao__intro-section {
  background-color: #F4F7FB; /* Background */
}

.page-the-thao__light-bg {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.page-the-thao__dark-bg {
  background-color: #2F6BFF; /* Main color */
  color: #FFFFFF;
}

.page-the-thao__dark-bg .page-the-thao__section-title,
.page-the-thao__dark-bg .page-the-thao__section-description {
  color: #FFFFFF;
}

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

.page-the-thao__feature-item {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__icon-box-media {
  width: 180px; /* Reduced slightly for better fit */
  height: 180px; /* Reduced slightly for better fit */
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #A5C4FF; /* Glow color */
  box-shadow: 0 0 15px rgba(165, 196, 255, 0.5); /* Soft glow effect */
}

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

.page-the-thao__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
}

.page-the-thao__feature-text {
  font-size: 1rem;
  color: #1F2D3D; /* Text Main */
}

/* Sports Categories Section */
.page-the-thao__sports-categories {
  background-color: #2F6BFF; /* Main color */
}

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

.page-the-thao__category-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #1F2D3D; /* Text Main */
}

.page-the-thao__category-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-the-thao__category-card .page-the-thao__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  padding: 20px 20px 10px;
}

.page-the-thao__category-card .page-the-thao__card-text {
  font-size: 0.95rem;
  color: #1F2D3D; /* Text Main */
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-the-thao__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  margin: 0 20px 20px;
  max-width: fit-content;
}

/* Guide Section */
.page-the-thao__guide-section {
  background-color: #F4F7FB; /* Background */
}

.page-the-thao__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: guide-step;
}

.page-the-thao__guide-item {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__guide-icon {
  width: 60px;
  height: 60px;
  background-color: #2F6BFF; /* Main color */
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(47, 107, 255, 0.4);
}

.page-the-thao__guide-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 10px;
}

.page-the-thao__guide-text {
  font-size: 1rem;
  color: #1F2D3D; /* Text Main */
}

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

/* Promotion Section */
.page-the-thao__promo-section {
  background-color: #2F6BFF; /* Main color */
}

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

.page-the-thao__promo-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #1F2D3D; /* Text Main */
}

.page-the-thao__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-the-thao__promo-card .page-the-thao__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  padding: 20px 20px 10px;
}

.page-the-thao__promo-card .page-the-thao__card-text {
  font-size: 0.95rem;
  color: #1F2D3D; /* Text Main */
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-the-thao__promo-content {
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-the-thao__promo-content .page-the-thao__btn-small {
  margin-top: auto; /* Push button to bottom */
}

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

/* FAQ Section */
.page-the-thao__faq-section {
  background-color: #F4F7FB; /* Background */
}

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

.page-the-thao__faq-item {
  background-color: #FFFFFF; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  cursor: pointer;
  background-color: #FFFFFF; /* Card BG */
  border-bottom: 1px solid #D6E2FF; /* Border color */
  list-style: none; /* For details/summary */
}

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

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
  border-bottom: none;
}

.page-the-thao__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #2F6BFF; /* Main color */
  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 20px 20px;
  font-size: 1rem;
  color: #1F2D3D; /* Text Main */
  line-height: 1.7;
}

/* Related Articles Section */
.page-the-thao__related-articles {
  background-color: #2F6BFF; /* Main color */
}

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

.page-the-thao__article-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #1F2D3D; /* Text Main */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.page-the-thao__article-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-the-thao__article-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-the-thao__article-card .page-the-thao__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 10px;
}

.page-the-thao__article-card .page-the-thao__card-text {
  font-size: 0.95rem;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-the-thao__read-more {
  display: inline-block;
  color: #2F6BFF; /* Main color */
  font-weight: 600;
}

.page-the-thao__view-all-articles {
  text-align: center;
  margin-top: 50px;
}

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

  .page-the-thao__hero-content {
    order: 2; /* Content below image */
  }

  .page-the-thao__hero-image {
    order: 1; /* Image above content */
    margin-bottom: 30px;
  }

  .page-the-thao__cta-buttons {
    justify-content: center;
  }

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

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

  .page-the-thao__container {
    padding: 40px 15px;
  }

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

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

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

  /* Hero Section specific */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding as body handles header offset */
    padding-bottom: 30px;
  }

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

  .page-the-thao__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Intro Section specific */
  .page-the-thao__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__icon-box-media {
    width: 200px; /* Maintain square aspect ratio */
    height: 200px; /* Maintain square aspect ratio */
    border: 3px solid #A5C4FF; /* Adjust border for mobile */
  }

  /* Sports Categories, Promo, Related Articles Sections */
  .page-the-thao__category-grid,
  .page-the-thao__promo-grid,
  .page-the-thao__article-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__category-image,
  .page-the-thao__promo-image,
  .page-the-thao__article-image {
    height: 180px; /* Adjust image height for mobile cards */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* Ensure responsiveness */
  }

  .page-the-thao__category-card,
  .page-the-thao__promo-card,
  .page-the-thao__article-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-the-thao__btn-small {
    margin: 0 15px 15px;
  }

  /* Guide Section specific */
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
  }

  /* FAQ Section specific */
  .page-the-thao__faq-list {
    padding: 0 15px;
  }

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

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

  /* Generic image and container responsive styles for content area */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }
}