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

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

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

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

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-the-thao__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: left;
}

.page-the-thao__description--center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 8px;
}

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

.page-the-thao__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-the-thao__main-title {
  font-size: 3em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__cta-buttons--left {
  justify-content: flex-start;
}

.page-the-thao__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-the-thao__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-the-thao__btn-link {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 1em;
}

.page-the-thao__btn-link:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Reason Section */
.page-the-thao__reason-section h3 {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

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

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

.page-the-thao__info-card h3 {
  color: #26A9E0;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-the-thao__info-card p {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

/* Popular Sports Section */
.page-the-thao__popular-sports h2 {
  color: #FFFFFF;
}

.page-the-thao__popular-sports .page-the-thao__description {
  color: #e0f2f7;
}

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

.page-the-thao__sport-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.page-the-thao__sport-card h3 {
  font-size: 1.4em;
  color: #26A9E0;
  margin: 15px 10px 10px;
}

.page-the-thao__sport-card p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  padding: 0 15px 20px;
}

/* Guide Section */
.page-the-thao__guide-section h2 {
  color: #26A9E0;
}

.page-the-thao__guide-section .page-the-thao__description {
  color: #555555;
}

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

.page-the-thao__step-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-the-thao__step-card h3 {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-the-thao__step-card p {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
}

/* Tips Section */
.page-the-thao__tips-section h2 {
  color: #26A9E0;
}

.page-the-thao__tips-section .page-the-thao__description {
  color: #555555;
}

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

.page-the-thao__tips-list li {
  background-color: #FFFFFF;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__tips-list .page-the-thao__list-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-the-thao__tips-list p {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  margin: 0;
}

/* Promo Section */
.page-the-thao__promo-section h2 {
  color: #FFFFFF;
}

.page-the-thao__promo-section .page-the-thao__description {
  color: #e0f2f7;
}

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

.page-the-thao__promo-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-the-thao__promo-card h3 {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-the-thao__promo-card p {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

/* Download App Section */
.page-the-thao__download-content {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 40px 20px;
  max-width: 1150px;
  margin: 0 auto;
}

.page-the-thao__download-text {
  flex: 1;
}

.page-the-thao__download-text h2 {
  text-align: left;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-the-thao__download-text p {
  text-align: left;
  color: #555555;
  margin-bottom: 30px;
}

.page-the-thao__download-image-wrapper {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__download-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

/* FAQ Section */
.page-the-thao__faq-section h2 {
  color: #26A9E0;
}

.page-the-thao__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For <summary> tag */
}

.page-the-thao__faq-item[open] > .page-the-thao__faq-question {
  border-bottom: 1px solid transparent;
  background-color: #f0f8ff;
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
  margin-left: 15px;
  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: 1em;
  line-height: 1.7;
  color: #555555;
}

/* Final CTA Section */
.page-the-thao__final-cta {
  text-align: center;
  padding: 60px 0;
}

.page-the-thao__final-cta-content {
  max-width: 900px;
}

.page-the-thao__final-cta h2 {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-the-thao__final-cta .page-the-thao__description {
  color: #e0f2f7;
  margin-bottom: 40px;
}

/* General image styling for content area */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-the-thao figure {
  margin: 30px auto;
  text-align: center;
  max-width: 800px;
}

.page-the-thao figcaption {
  font-style: italic;
  font-size: 0.9em;
  color: #777;
  margin-top: 10px;
}

/* Ensure all content area images are at least 200px */
.page-the-thao__article-wrap img,
.page-the-thao__reason-grid img,
.page-the-thao__sports-grid img,
.page-the-thao__download-app img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: 2.5em;
  }

  .page-the-thao__section-title {
    font-size: 2em;
  }

  .page-the-thao__download-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .page-the-thao__download-text h2,
  .page-the-thao__download-text p {
    text-align: center;
  }

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

  .page-the-thao__hero-image-wrapper {
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  /* 顶区标题 + 双 CTA */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
  }

  .page-the-thao__main-title {
    font-size: 2em !important;
    margin-bottom: 10px !important;
  }

  .page-the-thao__description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 15px;
  }

  .page-the-thao__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__article-wrap {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__section-title {
    font-size: 1.8em !important;
  }

  .page-the-thao__info-card,
  .page-the-thao__sport-card,
  .page-the-thao__step-card,
  .page-the-thao__promo-card {
    padding: 20px !important;
  }

  .page-the-thao__info-card h3,
  .page-the-thao__sport-card h3,
  .page-the-thao__step-card h3,
  .page-the-thao__promo-card h3 {
    font-size: 1.4em !important;
  }

  .page-the-thao__info-card p,
  .page-the-thao__sport-card p,
  .page-the-thao__step-card p,
  .page-the-thao__promo-card p {
    font-size: 0.9em !important;
  }

  /* 通用图片与 figure */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Allow smaller images on mobile if needed by content */
    min-height: unset !important;
  }

  .page-the-thao__hero-image-wrapper,
  .page-the-thao__download-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-the-thao__sport-image {
    height: 180px !important; /* Adjust height for mobile */
  }

  /* 按钮与按钮容器 */
  .page-the-thao__cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column !important; /* Force vertical stacking for multiple buttons */
  }

  .page-the-thao__download-content {
    padding: 30px 0 !important;
  }

  .page-the-thao__download-text h2,
  .page-the-thao__download-text p {
    text-align: center !important;
  }

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

  /* FAQ 区块 */
  .page-the-thao__faq-list {
    padding: 0 15px !important;
    max-width: 100% !important;
  }

  .page-the-thao__faq-question {
    font-size: 1.1em !important;
    padding: 15px !important;
  }

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

  .page-the-thao__tips-list li {
    padding: 20px !important;
  }

  .page-the-thao__tips-list .page-the-thao__list-title {
    font-size: 1.2em !important;
  }

  .page-the-thao__tips-list p {
    font-size: 0.95em !important;
  }

  .page-the-thao__final-cta {
    padding: 40px 0 !important;
  }
}