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

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #017439;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-the-thao__hero-image {
  position: relative;
  width: 100%;
  height: 500px; /* Fixed height for desktop hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop, contain for mobile */
  display: block;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 15px;
}

.page-the-thao__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive H1 font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color for H1 */
}

.page-the-thao__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

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

.page-the-thao__content-area {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #333333;
}

.page-the-thao__content-area p {
  margin-bottom: 20px;
}

.page-the-thao__content-area strong {
  color: #017439;
}

.page-the-thao__article-figure {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

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

.page-the-thao__btn-tertiary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
  font-size: 0.95rem;
  padding: 10px 20px;
}

.page-the-thao__btn-tertiary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-the-thao__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-the-thao__description--light {
  color: #f0f0f0;
}

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

.page-the-thao__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-the-thao__product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-the-thao__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 20px 15px 10px;
  color: #017439;
}

.page-the-thao__card-text {
  font-size: 1rem;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-the-thao__card .page-the-thao__btn-tertiary {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
}

.page-the-thao__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-the-thao__feature-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-the-thao__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #017439;
  margin-top: 0;
  margin-bottom: 10px;
}

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

.page-the-thao__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-the-thao__step-card img {
  
  
  margin-bottom: 20px;
  object-fit: contain;
}

.page-the-thao__step-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #017439;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-the-thao__step-text {
  font-size: 0.95rem;
  flex-grow: 1;
}

.page-the-thao__promo-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-the-thao__promo-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #C30808; /* Use register/login color for promo titles */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-the-thao__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

.page-the-thao__tips-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFFF00; /* Use register/login font color for accent */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-the-thao__tip-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFFF00; /* Use register/login font color for titles */
  margin-top: 0;
  margin-bottom: 10px;
}

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

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: #f5f5f5;
}

.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

.page-the-thao__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-the-thao__cta-final-section .page-the-thao__cta-buttons {
  margin-top: 40px;
}

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

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-the-thao {
    font-size: 15px;
    line-height: 1.5;
  }

  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-the-thao__hero-image {
    height: 300px; /* Adjust height for mobile */
  }

  .page-the-thao__hero-image img {
    object-fit: contain !important; /* Force contain for mobile hero */
    aspect-ratio: unset !important; /* Allow aspect ratio to adjust */
    width: 100% !important;
    height: auto !important;
  }

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

  .page-the-thao__main-title {
    font-size: 1.8rem; /* Smaller H1 for mobile */
    margin-bottom: 15px;
  }

  .page-the-thao__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-the-thao__hero-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  /* 所有按钮和容器的移动端强制适配 */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-tertiary,
  .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; /* Ensure buttons wrap */
    gap: 10px;
  }

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

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

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

  .page-the-thao__content-area {
    font-size: 1rem;
  }

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

  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* 产品展示图区域 */
  .page-the-thao__grid-container {
    grid-template-columns: 1fr; /* Single column for product cards */
    gap: 20px;
    overflow-x: hidden; /* Ensure no horizontal overflow */
  }

  .page-the-thao__product-card img {
    height: 200px; /* Adjust image height for mobile cards */
  }

  .page-the-thao__card-title {
    font-size: 1.2rem;
  }

  .page-the-thao__feature-list li,
  .page-the-thao__promo-list li,
  .page-the-thao__tips-list li {
    padding: 15px;
  }

  .page-the-thao__feature-title,
  .page-the-thao__promo-title,
  .page-the-thao__tip-title {
    font-size: 1.1rem;
  }

  .page-the-thao__steps-grid {
    grid-template-columns: 1fr; /* Single column for steps */
    gap: 20px;
  }

  .page-the-thao__step-card {
    padding: 20px 15px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-the-thao__section-title-wrap,
  .page-the-thao__article-body,
  .page-the-thao__article-figure {
    text-align: center;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.6;
    word-wrap: break-word;
  }

  .page-the-thao__article-body h2,
  .page-the-thao__article-body h3 {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

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

  details.page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px;
  }

  .page-the-thao__faq-qtext {
    font-size: 15px;
  }

  .page-the-thao__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

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

  .page-the-thao__cta-final-section {
    padding: 50px 0;
  }
}

/* --- Tablet Responsive Styles (max-width: 1024px) --- */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-the-thao__hero-image {
    height: 400px;
  }

  .page-the-thao__main-title {
    font-size: 2.5rem;
  }

  .page-the-thao__description {
    font-size: 1.05rem;
  }

  .page-the-thao__grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }

  .page-the-thao__steps-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for steps */
  }

  .page-the-thao__section-title {
    font-size: 2.2rem;
  }

  .page-the-thao__card-title {
    font-size: 1.3rem;
  }
}