.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

.page-the-thao__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  color: #ffffff;
  background-color: #26A9E0; /* Fallback for content background */
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit image height to avoid excessive scroll */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim image for text readability */
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Overlap with image for visual appeal, but not cover entirely */
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-the-thao__btn,
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-the-thao__btn-primary:hover {
  background-color: #1a7fb3;
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-the-thao__btn-small {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  background-color: #26A9E0;
  color: #ffffff;
  border: 1px solid #26A9E0;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao__btn-small:hover {
  background-color: #1a7fb3;
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-the-thao__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-the-thao__introduction p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-the-thao__card-image,
.page-the-thao__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-the-thao__sport-card h3,
.page-the-thao__promo-card h3,
.page-the-thao__feature-card h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #26A9E0;
  padding: 0 15px;
}

.page-the-thao__sport-card p,
.page-the-thao__promo-card p,
.page-the-thao__feature-card p {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-the-thao__step-figure {
  margin: 0;
  padding: 0;
  margin-bottom: 15px;
}

.page-the-thao__step-caption {
  font-weight: bold;
  color: #26A9E0;
  margin-top: 10px;
  font-size: 1.1em;
  padding: 0 15px;
}

.page-the-thao__step-title {
  font-size: 1.6em;
  color: #333333;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-the-thao__step-item p {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-the-thao__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-the-thao__dark-bg .page-the-thao__sport-card,
.page-the-thao__dark-bg .page-the-thao__promo-card,
.page-the-thao__dark-bg .page-the-thao__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__dark-bg .page-the-thao__sport-card h3,
.page-the-thao__dark-bg .page-the-thao__promo-card h3,
.page-the-thao__dark-bg .page-the-thao__feature-card h3 {
  color: #FFFFFF;
}

.page-the-thao__dark-bg .page-the-thao__sport-card p,
.page-the-thao__dark-bg .page-the-thao__promo-card p,
.page-the-thao__dark-bg .page-the-thao__feature-card p {
  color: #f0f0f0;
}

.page-the-thao__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

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

.page-the-thao__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-the-thao__strategy-list li {
  background-color: #ffffff;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
}

.page-the-thao__strategy-list li strong {
  color: #26A9E0;
}

.page-the-thao__faq-list {
  margin-top: 30px;
}

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

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-the-thao__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  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 20px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

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

.page-the-thao__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-the-thao__final-cta {
  text-align: center;
  padding-bottom: 80px;
}

.page-the-thao__final-cta p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-the-thao__hero-content {
    margin-top: -100px;
  }
  .page-the-thao__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-the-thao__section-title {
    font-size: 2em;
  }
  .page-the-thao__sports-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__promo-grid,
  .page-the-thao__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
    padding-bottom: 30px;
  }
  .page-the-thao__hero-image-wrapper {
    max-height: 300px;
  }
  .page-the-thao__hero-content {
    margin-top: -80px; /* Adjust overlap for smaller screens */
    padding: 15px;
  }
  .page-the-thao__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important; /* Smaller H1 for mobile */
    margin-bottom: 10px;
  }
  .page-the-thao__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
  }
  .page-the-thao__btn,
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao a[class*="btn"] {
    padding: 10px 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. 单栏长文容器 */
  .page-the-thao__section {
    padding: 40px 0;
  }
  .page-the-thao__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px;
  }
  .page-the-thao__article-wrap {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__introduction p {
    font-size: 1em;
  }

  /* 3. 通用图片与 figure */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__card-image,
  .page-the-thao__step-image {
    height: 180px;
    margin-bottom: 10px;
  }
  .page-the-thao__step-figure {
    margin-bottom: 10px;
  }

  /* 4. 按钮与按钮容器 (already covered in top-section's .page-the-thao__btn rules) */
  .page-the-thao__full-width-cta .page-the-thao__btn {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__btn-container,
  .page-the-thao__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 5. 注册教程与 FAQ 区块 */
  .page-the-thao__sports-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__promo-grid,
  .page-the-thao__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__sport-card,
  .page-the-thao__step-item,
  .page-the-thao__promo-card,
  .page-the-thao__feature-card {
    padding-bottom: 15px;
  }
  .page-the-thao__sport-card h3,
  .page-the-thao__promo-card h3,
  .page-the-thao__feature-card h3,
  .page-the-thao__step-title {
    font-size: 1.3em;
    margin-bottom: 8px;
    padding: 0 10px;
  }
  .page-the-thao__sport-card p,
  .page-the-thao__promo-card p,
  .page-the-thao__feature-card p,
  .page-the-thao__step-item p {
    font-size: 0.95em;
    padding: 0 10px 15px;
  }
  .page-the-thao__strategy-list li {
    font-size: 1em;
    padding: 15px;
  }
  .page-the-thao__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-the-thao__faq-answer {
    font-size: 0.95em;
    padding: 10px 20px 15px;
  }
  .page-the-thao__final-cta p {
    font-size: 1.1em;
  }
}