.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-size: 1rem;
}

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

.page-the-thao__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Adjusted for shared header offset */
  margin-bottom: 40px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

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

.page-the-thao__hero-content {
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6);
  margin-top: -5px; /* Slight overlap with image for design */
}

.page-the-thao__hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #FFF3E6; /* Text Main */
  max-width: 800px;
  margin: 0 auto 30px;
}

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

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff; /* Ensures contrast on dark background */
  border: none;
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FFA53A; /* Auxiliary color for text */
  border: 2px solid #A84F0C; /* Border */
}

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

.page-the-thao__intro-section,
.page-the-thao__sports-types-section,
.page-the-thao__how-to-section,
.page-the-thao__promo-section,
.page-the-thao__tips-section,
.page-the-thao__faq-section,
.page-the-thao__cta-section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-the-thao__intro-section {
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  margin: 40px auto;
  max-width: 1200px;
}

.page-the-thao__intro-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #FF8C1A; /* Primary color */
  text-align: center;
  margin-bottom: 25px;
}

.page-the-thao__intro-text {
  font-size: 1.1rem;
  text-align: justify;
  color: #FFF3E6; /* Text Main */
}

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #FF8C1A; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-the-thao__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #FFA53A 0%, #D96800 100%);
  margin: 10px auto 0;
}

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

.page-the-thao__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-the-thao__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-the-thao__card-title {
  font-size: 1.5rem;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-the-thao__card-text {
  font-size: 1rem;
  color: #FFF3E6; /* Text Main */
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-the-thao__btn-tertiary {
  background: #D96800; /* Deep Orange */
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
}

.page-the-thao__btn-tertiary:hover {
  background: #FFA53A; /* Auxiliary color */
}

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

.page-the-thao__step-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__step-title {
  font-size: 1.4rem;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-the-thao__step-text {
  font-size: 1rem;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 20px;
}

.page-the-thao__btn-link {
  color: #FFA53A; /* Auxiliary color */
  text-decoration: underline;
  font-weight: bold;
}

.page-the-thao__btn-link:hover {
  color: #FF8C1A; /* Primary color */
}

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

.page-the-thao__promo-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-the-thao__promo-card-title {
  font-size: 1.4rem;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-the-thao__promo-card-text {
  font-size: 1rem;
  color: #FFF3E6; /* Text Main */
  padding: 0 15px;
  margin-bottom: 20px;
}

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

.page-the-thao__tips-list li {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.1rem;
  color: #FFF3E6; /* Text Main */
}

.page-the-thao__tip-icon {
  font-size: 1.5rem;
  color: #FFA53A; /* Auxiliary color */
  flex-shrink: 0;
}

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

.page-the-thao__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  background-color: #17191F; /* Card BG */
  user-select: none;
  list-style: none;
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFA53A;
  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: 1rem;
  color: #FFF3E6; /* Text Main */
  border-top: 1px solid #A84F0C;
}

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

.page-the-thao__cta-section {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  border-radius: 10px;
  margin: 40px auto;
  max-width: 1200px;
  color: #ffffff;
}

.page-the-thao__cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  margin-bottom: 15px;
}

.page-the-thao__cta-description {
  font-size: 1.2rem;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

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

/* General button responsiveness */
.page-the-thao a[class*="btn"],
.page-the-thao a[class*="button"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__hero-buttons,
.page-the-thao__cta-buttons {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 20px 30px;
  }

  .page-the-thao__grid,
  .page-the-thao__promo-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-the-thao__hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
  }

  .page-the-thao__hero-description {
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  }
}

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

  .page-the-thao__container {
    padding: 0 15px; /* Important for mobile content padding */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

  .page-the-thao__hero-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .page-the-thao__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-the-thao__hero-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* 按钮与按钮容器 */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-tertiary,
  .page-the-thao__btn-link,
  .page-the-thao a[class*="btn"],
  .page-the-thao a[class*="button"] {
    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__hero-buttons,
  .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;
  }

  /* 深色导语区 */
  .page-the-thao__intro-section {
    padding: 20px 15px;
    margin: 20px 0;
  }

  .page-the-thao__intro-title,
  .page-the-thao__section-title,
  .page-the-thao__cta-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 25px;
  }

  .page-the-thao__intro-text {
    font-size: 1rem;
  }

  /* 博客网格 (Sports types grid acts like blog grid here) */
  .page-the-thao__grid,
  .page-the-thao__promo-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .page-the-thao__card,
  .page-the-thao__promo-card,
  .page-the-thao__step-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .page-the-thao__card-image,
  .page-the-thao__promo-image {
    height: 180px;
  }

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

  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__promo-section,
  .page-the-thao__how-to-section,
  .page-the-thao__tips-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ 与其他模块 */
  .page-the-thao__faq-list {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

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

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

  .page-the-thao__tips-list li {
    font-size: 1rem;
    padding: 15px;
  }

  .page-the-thao__cta-section {
    padding: 30px 15px;
    margin: 20px 0;
  }

  .page-the-thao__cta-description {
    font-size: 1rem;
  }
}

@media (max-width: 549px) {
  .page-the-thao__grid,
  .page-the-thao__promo-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr;
  }
}