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

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

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

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

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

.page-the-thao__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-the-thao__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-the-thao__btn-primary:hover {
  background-color: #005f2f;
  border-color: #005f2f;
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2f;
  border-color: #005f2f;
}

.page-the-thao__btn-tertiary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-the-thao__btn-tertiary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-the-thao__content-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

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

.page-the-thao__section-title {
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

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

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

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

.page-the-thao__feature-item {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-the-thao__feature-item .page-the-thao__feature-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao__feature-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

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

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

.page-the-thao__sport-card .page-the-thao__sport-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao__sport-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

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

.page-the-thao__step-item {
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-the-thao__step-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 15px;
}

.page-the-thao__more-info {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
}

.page-the-thao__more-info a {
  color: #017439;
  text-decoration: underline;
}

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

.page-the-thao__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFFFFF;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 0 8px 8px 0;
}

.page-the-thao__tip-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

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

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

.page-the-thao__promo-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-the-thao__promo-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
}

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

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

.page-the-thao__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

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

.page-the-thao__faq-toggle {
  margin-left: 15px;
  font-size: 1.5em;
  line-height: 1;
  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 20px;
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95em;
}

.page-the-thao__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #f0f0f0;
}

.page-the-thao__cta-final .page-the-thao__section-title {
  color: #017439;
}

/* General image styling for content sections */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__article-wrap {
    padding: 0 15px;
  }

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

  .page-the-thao__feature-grid, .page-the-thao__sport-categories, .page-the-thao__guide-steps, .page-the-thao__promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-the-thao__hero-content {
    padding: 15px;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }

  .page-the-thao__sub-description {
    font-size: 1em;
  }
}

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

  /* 1. 顶区标题 + 双 CTA */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 10px;
  }

  .page-the-thao__sub-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 2. 单栏长文容器 */
  .page-the-thao__article-wrap,
  .page-the-thao__feature-item,
  .page-the-thao__sport-card,
  .page-the-thao__step-item,
  .page-the-thao__promo-card,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__content-section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

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

  .page-the-thao__feature-grid, .page-the-thao__sport-categories, .page-the-thao__guide-steps, .page-the-thao__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__feature-item, .page-the-thao__sport-card, .page-the-thao__step-item, .page-the-thao__promo-card {
    padding: 15px;
  }

  .page-the-thao__feature-title, .page-the-thao__sport-title, .page-the-thao__step-title, .page-the-thao__promo-title {
    font-size: 1.2em;
  }

  /* 3. 通用图片与 figure */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 4. 按钮与按钮容器 */
  .page-the-thao__btn,
  .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__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;
  }

  /* 5. FAQ 区块 */
  .page-the-thao__faq-list {
    padding: 0 15px;
  }

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

  .page-the-thao__faq-toggle {
    font-size: 1.2em;
  }

  .page-the-thao__faq-answer {
    padding: 12px 15px;
    font-size: 0.9em;
  }

  .page-the-thao__tip-item {
    padding: 15px;
  }
  .page-the-thao__tip-title {
    font-size: 1.2em;
  }
}