.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #F5F7FA;
  line-height: 1.6;
}

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

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

.page-the-thao__dark-section {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  color: #ffffff;
}

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

.page-the-thao__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 20px;
  color: inherit;
}

.page-the-thao__section-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 40px;
  color: inherit;
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.page-the-thao__hero-image img {
  width: 100%;
  height: 675px; /* Fixed height for desktop to maintain aspect ratio */
  object-fit: cover; /* Ensures the image covers the area, may crop */
  display: block;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -120px; /* Pull content up over the image, but not overlap text on image */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-the-thao__main-title {
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-the-thao__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  color: #f0f0f0;
}

.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,
.page-the-thao__btn-card,
.page-the-thao__btn-step,
.page-the-thao__read-more-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  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: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

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

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

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

.page-the-thao__read-more-link {
  background: none;
  color: #E53935;
  border: 2px solid #E53935;
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 20px;
}

.page-the-thao__read-more-link:hover {
  background: #E53935;
  color: #ffffff;
}

.page-the-thao__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  flex-wrap: wrap;
}

.page-the-thao__text-block {
  flex: 1;
  min-width: 300px;
}

.page-the-thao__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #333333;
}

.page-the-thao__text-block strong {
  color: #E53935;
}

.page-the-thao__image-block {
  flex: 1;
  min-width: 400px;
}

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

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

.page-the-thao__sport-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-the-thao__sport-card img {
  max-width: 100%;
  height: 200px; /* Fixed height for cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #E53935;
}

.page-the-thao__card-title a {
  color: #E53935;
  text-decoration: none;
}

.page-the-thao__card-title a:hover {
  text-decoration: underline;
}

.page-the-thao__card-description {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
}

.page-the-thao__btn-card {
  padding: 12px 25px;
  font-size: 16px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  border-radius: 5px;
}

.page-the-thao__btn-card:hover {
  opacity: 0.9;
}

.page-the-thao__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

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

.page-the-thao__advantage-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-the-thao__advantage-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

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

.page-the-thao__step-item {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-the-thao__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.page-the-thao__step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #E53935;
}

.page-the-thao__step-item p {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
}

.page-the-thao__btn-step {
  padding: 10px 20px;
  font-size: 16px;
  background: #E53935;
  color: #ffffff;
  border: none;
  border-radius: 5px;
}

.page-the-thao__btn-step:hover {
  background: #FF5A4F;
}

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

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

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

.page-the-thao__promo-card img {
  max-width: 100%;
  height: 250px; /* Fixed height for promo cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__faq-list {
  margin-top: 40px;
  text-align: left;
}

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: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #E53935;
  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: #666666;
  font-size: 16px;
}

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

.page-the-thao__cta-bottom {
  padding: 80px 0;
}

.page-the-thao__cta-content {
  max-width: 800px;
}

.page-the-thao__cta-content .page-the-thao__section-title,
.page-the-thao__cta-content .page-the-thao__section-subtitle {
  color: #ffffff;
}

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

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }

  .page-the-thao__main-title {
    font-size: clamp(32px, 4.5vw, 45px);
  }

  .page-the-thao__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }

  .page-the-thao__section-title {
    font-size: clamp(26px, 3.5vw, 34px);
  }

  .page-the-thao__section-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-the-thao__content-wrapper {
    flex-direction: column;
  }

  .page-the-thao__image-block, .page-the-thao__text-block {
    min-width: unset;
    width: 100%;
  }

  .page-the-thao__hero-image img {
    height: 500px;
  }

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

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

  .page-the-thao__sport-card img,
  .page-the-thao__promo-card img {
    
  }
}

@media (max-width: 849px) {
  .page-the-thao__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    height: auto !important; /* Allow height to adjust based on aspect ratio */
    max-height: 400px; /* Prevent image from becoming too large */
  }
}

@media (max-width: 768px) {
  .page-the-thao__section {
    padding: 40px 0;
  }

  .page-the-thao__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }

  .page-the-thao__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
  }

  .page-the-thao__main-title {
    font-size: clamp(28px, 8vw, 36px);
  }

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

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

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-card,
  .page-the-thao__btn-step,
  .page-the-thao__read-more-link {
    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 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__content-wrapper,
  .page-the-thao__image-block,
  .page-the-thao__text-block,
  .page-the-thao__advantages-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__promo-grid,
  .page-the-thao__sports-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  /* 产品展示图区域 (adapted for general cards) */
  .page-the-thao__sports-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden;
  }

  .page-the-thao__sport-card img {
    
  }

  /* 装饰主标题 + 长文 SEO 区 (adapted for general text blocks) */
  .page-the-thao__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 15px;
  }

  .page-the-thao__section-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-the-thao__text-block p {
    font-size: 15px;
  }

  .page-the-thao__image-block {
    order: -1; /* Image first on mobile */
  }

  /* FAQ styles */
  details.page-the-thao__faq-item summary.page-the-thao__faq-question { padding: 15px; }
  .page-the-thao__faq-qtext { font-size: 15px; }
  details.page-the-thao__faq-item .page-the-thao__faq-answer { padding: 0 15px 15px; }

  .page-the-thao__advantages-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__advantage-title {
    font-size: 20px;
  }

  .page-the-thao__promo-card img {
    
  }

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