.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #F4F7FB; /* Body background from shared.css */
  line-height: 1.6;
}

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

.page-the-thao__section {
  padding: 40px 0;
}

.page-the-thao__section--grey {
  background-color: #F8FBFD;
}

.page-the-thao__dark-section {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Using button gradient for dark section */
  color: #ffffff;
}

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

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-the-thao__hero-image {
  width: 100%;
  height: 675px; /* Fixed height for desktop hero image */
  overflow: hidden;
}

.page-the-thao__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 30px 15px;
  background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent background for readability */
  border-radius: 10px;
  margin-top: -100px; /* Pull content up over the image */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-the-thao__intro-text {
  font-size: 1.1rem;
  color: #1F2D3D;
  margin-bottom: 30px;
}

.page-the-thao__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 30px;
}

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

.page-the-thao__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-the-thao__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-the-thao__content-grid--reverse {
  grid-template-areas: "image text";
}

.page-the-thao__content-grid--reverse .page-the-thao__image-block {
  grid-area: image;
}

.page-the-thao__content-grid--reverse .page-the-thao__text-block {
  grid-area: text;
}

.page-the-thao__text-block p {
  margin-bottom: 15px;
  color: #1F2D3D;
}

.page-the-thao__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-the-thao__link {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: 600;
}

.page-the-thao__link:hover {
  text-decoration: underline;
}

/* Buttons */
.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-card,
.page-the-thao__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #F0F5FF;
  color: #2F6BFF;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.2);
}

.page-the-thao__btn-card {
  background-color: #2F6BFF;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 5px;
  margin-top: 15px;
}

.page-the-thao__btn-card:hover {
  background-color: #4A8BFF;
}

.page-the-thao__btn-link {
  background-color: #6FA3FF;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 5px;
  margin-top: 15px;
}

.page-the-thao__btn-link:hover {
  background-color: #2F6BFF;
}

.page-the-thao__text-center-cta {
  text-align: center;
  margin-top: 40px;
}

/* Sport Cards Grid */
.page-the-thao__sport-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__sport-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__sport-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-the-thao__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F2D3D;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-the-thao__sport-card p {
  font-size: 0.95rem;
  color: #555555;
  padding: 0 20px;
  flex-grow: 1;
}

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

.page-the-thao__guide-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__guide-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-the-thao__guide-item p {
  color: #1F2D3D;
  margin-bottom: 20px;
}

/* Promotion Cards Grid */
.page-the-thao__promotion-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__promotion-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__promotion-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-the-thao__promotion-card .page-the-thao__card-title {
  color: #ffffff;
}

.page-the-thao__promotion-card p {
  color: #f0f0f0;
  padding: 0 20px;
  flex-grow: 1;
}

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

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

.page-the-thao__advantage-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-the-thao__advantage-item p {
  color: #1F2D3D;
}

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

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

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F2D3D;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #2F6BFF;
  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 20px 25px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
}

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

/* Call to Action Section */
.page-the-thao__call-to-action {
  background-color: #2F6BFF;
  color: #ffffff;
  text-align: center;
  padding: 60px 0;
}

.page-the-thao__call-to-action .page-the-thao__section-title,
.page-the-thao__call-to-action .page-the-thao__section-description {
  color: #ffffff;
}

.page-the-thao__call-to-action .page-the-thao__btn-primary {
  background: #ffffff;
  color: #2F6BFF;
}

.page-the-thao__call-to-action .page-the-thao__btn-primary:hover {
  background-color: #f0f0f0;
}

.page-the-thao__call-to-action .page-the-thao__btn-secondary {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.page-the-thao__call-to-action .page-the-thao__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-content {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__container {
    padding: 15px 15px;
  }

  .page-the-thao__section {
    padding: 30px 0;
  }

  /* HERO Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-the-thao__hero-image {
    height: 400px; /* Adjust hero image height for mobile */
  }
  .page-the-thao__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__hero-content {
    margin-top: -60px; /* Adjust pull-up margin */
    padding: 20px 15px;
  }
  .page-the-thao__main-title {
    font-size: 2rem;
  }
  .page-the-thao__intro-text {
    font-size: 1rem;
  }

  /* Content Grid */
  .page-the-thao__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-the-thao__content-grid--reverse {
    grid-template-areas: unset; /* Reset grid area for mobile */
  }
  .page-the-thao__content-grid--reverse .page-the-thao__image-block,
  .page-the-thao__content-grid--reverse .page-the-thao__text-block {
    grid-area: unset;
  }

  /* General Images */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons */
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-card,
  .page-the-thao__btn-link,
  .page-the-thao a[class*="button"],
  .page-the-thao a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-the-thao__text-center-cta {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Sport Cards Grid */
  .page-the-thao__sport-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__sport-card img {
    height: 200px; /* Adjust card image height */
  }

  /* Guide Steps */
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Promotion Cards Grid */
  .page-the-thao__promotion-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__promotion-card img {
    height: 200px; /* Adjust card image height */
  }

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

  /* FAQ */
  .page-the-thao__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-the-thao__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  /* Long text / general content area */
  .page-the-thao__text-block p,
  .page-the-thao__advantage-item p,
  .page-the-thao__guide-item p {
    font-size: 0.95rem;
  }
  .page-the-thao__section-title {
    font-size: 1.8rem;
  }
  .page-the-thao__sub-title {
    font-size: 1.3rem;
  }
  .page-the-thao__guide-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .page-the-thao__hero-image {
    height: 300px;
  }
  .page-the-thao__hero-content {
    margin-top: -40px;
  }
  .page-the-thao__main-title {
    font-size: 1.8rem;
  }
  .page-the-thao__section-title {
    font-size: 1.6rem;
  }
}