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

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

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  background-color: #f0f8ff; /* Light background for hero section */
  text-align: center;
}

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

.page-the-thao__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-the-thao__description {
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  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: #1a8cc7;
  border-color: #1a8cc7;
}

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

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

.page-the-thao__section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-the-thao__dark-section {
  background-color: #26A9E0;
  color: #ffffff; /* White text for dark background */
}

.page-the-thao__dark-section .page-the-thao__section-title,
.page-the-thao__dark-section .page-the-thao__sub-title,
.page-the-thao__dark-section .page-the-thao__text-block,
.page-the-thao__dark-section .page-the-thao__figcaption,
.page-the-thao__dark-section .page-the-thao__list-item,
.page-the-thao__dark-section .page-the-thao__promo-title {
  color: #ffffff;
}

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

.page-the-thao__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-the-thao__dark-section .page-the-thao__text-block {
  color: #f0f0f0;
}

.page-the-thao__sub-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__dark-section .page-the-thao__sub-title {
  color: #ffffff;
}

.page-the-thao__image-wrapper {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
}

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

.page-the-thao__figcaption {
  font-size: 0.9em;
  color: #777777;
  margin-top: 10px;
}

.page-the-thao__dark-section .page-the-thao__figcaption {
  color: #e0e0e0;
}

.page-the-thao__ordered-list,
.page-the-thao__unordered-list {
  list-style-position: inside;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-the-thao__list-item {
  font-size: 1.05em;
  margin-bottom: 10px;
  color: #333333;
  padding-left: 20px;
  text-indent: -20px;
}

.page-the-thao__ordered-list .page-the-thao__list-item {
  list-style-type: decimal;
}

.page-the-thao__unordered-list .page-the-thao__list-item {
  list-style-type: disc;
}

.page-the-thao__dark-section .page-the-thao__list-item {
  color: #f0f0f0;
}

.page-the-thao__list-item strong {
  color: #26A9E0;
}

.page-the-thao__dark-section .page-the-thao__list-item strong {
  color: #ffffff;
}

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

.page-the-thao__grid-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

.page-the-thao__grid-item .page-the-thao__sub-title {
  color: #ffffff;
}

.page-the-thao__grid-item .page-the-thao__text-block {
  color: #f0f0f0;
}

.page-the-thao__cta-block {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background-color: #f5f5f5;
  border-radius: 10px;
}

.page-the-thao__promo-section {
  background-color: #e6f7ff; /* Light blue background for promo section */
  padding: 60px 0;
}

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

.page-the-thao__promo-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-the-thao__promo-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__promo-card .page-the-thao__text-block {
  color: #555555;
}

.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: 20px;
  font-size: 1.15em;
  color: #26A9E0;
  cursor: pointer;
  font-weight: 600;
  margin: 0;
}

.page-the-thao__faq-question::after {
  content: '+';
  font-size: 1.2em;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item.active .page-the-thao__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-the-thao__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 20px;
}

.page-the-thao__faq-item.active .page-the-thao__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-bottom: 20px;
}

.page-the-thao__faq-answer .page-the-thao__text-block {
  padding-top: 10px;
  margin-bottom: 0;
  color: #555555;
}

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

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

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

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

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

  .page-the-thao__description {
    font-size: 1em;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    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: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 2. 单栏长文容器 */
  .page-the-thao__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-the-thao__text-block,
  .page-the-thao__list-item {
    font-size: 0.95em;
    padding: 0 5px;
    text-indent: 0;
  }

  .page-the-thao__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
    padding: 0 5px;
  }

  .page-the-thao__content-grid,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-the-thao__grid-item,
  .page-the-thao__promo-card {
    padding: 25px;
  }

  .page-the-thao__promo-title {
    font-size: 1.2em;
  }

  .page-the-thao__cta-block {
    padding: 20px 15px;
  }

  /* 3. 通用图片与 figure */
  .page-the-thao__image-wrapper {
    margin: 20px auto;
  }

  .page-the-thao__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__figcaption {
    font-size: 0.85em;
    padding: 0 10px;
  }

  /* 4. 按钮与按钮容器 (already handled in .page-the-thao__cta-buttons and .page-the-thao__btn-primary/.page-the-thao__btn-secondary) */

  /* 5. 注册教程与 FAQ 区块 (FAQ is h3 based, no accordion JS, but ensure readability) */
  .page-the-thao__faq-item {
    margin-bottom: 10px;
  }

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

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

  .page-the-thao__faq-answer .page-the-thao__text-block {
    padding-top: 5px;
    padding-bottom: 15px;
  }

  .page-the-thao__final-cta {
    padding-bottom: 60px;
  }
}