.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--secondary-color, #FFFFFF); /* Inherit from shared or default to white */
}

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

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

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background-color: #017439;
}

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

.page-the-thao__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-the-thao__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-the-thao__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  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: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

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

.page-the-thao__section {
  padding: 60px 0;
  background-color: var(--secondary-color, #FFFFFF);
}

.page-the-thao__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-the-thao__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #017439;
  margin-top: 35px;
  margin-bottom: 15px;
}

.page-the-thao p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #333333;
}

.page-the-thao__list {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-the-thao__list li {
  margin-bottom: 8px;
  color: #333333;
}

.page-the-thao__ordered-list {
  list-style: decimal inside;
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-the-thao__ordered-list li {
  margin-bottom: 8px;
  color: #333333;
}

.page-the-thao__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

.page-the-thao__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-the-thao__figcaption {
  font-style: italic;
  font-size: 0.9rem;
  color: #555555;
  margin-top: 10px;
}

.page-the-thao__step-card {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-the-thao__step-title {
  font-size: 1.5rem;
  color: #017439;
  margin-bottom: 20px;
}

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

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

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

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #017439;
  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;
  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;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

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

.page-the-thao__link {
  color: #017439;
  text-decoration: underline;
}

.page-the-thao__link:hover {
  color: #005f2e;
}

.page-the-thao__final-cta {
  margin-bottom: 20px;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
  }
  .page-the-thao__section-title {
    font-size: 2.2rem;
  }
  .page-the-thao__sub-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding, header offset handled by body */
    padding-bottom: 30px;
  }
  .page-the-thao__hero-image {
    margin-bottom: 20px;
  }
  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-the-thao__description {
    font-size: 1rem;
    margin-bottom: 25px;
    padding: 0 15px;
  }
  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 1. 顶区标题 + 双 CTA */
  .page-the-thao__container,
  .page-the-thao__article-wrap {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 2. 单栏长文容器 */
  .page-the-thao__section {
    padding: 40px 0;
  }
  .page-the-thao__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-the-thao__sub-title {
    font-size: 1.4rem;
    margin-top: 25px;
  }
  .page-the-thao p,
  .page-the-thao__list li,
  .page-the-thao__ordered-list li {
    font-size: 0.95rem;
  }
  .page-the-thao__step-card {
    padding: 20px;
  }
  .page-the-thao__step-title {
    font-size: 1.3rem;
  }

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

  /* 4. 按钮与按钮容器 */
  .page-the-thao__cta-buttons,
  .page-the-thao__button-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* 5. FAQ 区块 */
  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-the-thao__faq-answer {
    padding: 0 20px 15px;
  }
  .page-the-thao__faq-toggle {
    font-size: 1.2rem;
  }
}