/* Base styles for the Thể Thao page */
.page-the-thao {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, assuming shared handles body padding */
  padding-bottom: 60px;
  overflow: hidden;
}

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

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

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive H1 font size */
  color: #FFB04A; /* Gold-like for emphasis */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  line-height: 1.5;
  color: #FFF1E8;
}

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

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C; /* Dark text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-the-thao__btn-secondary {
  background: #2A1212; /* Card B G */
  color: #FFB04A; /* Gold-like */
  border: 2px solid #FFB04A;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-secondary:hover {
  background: #FFB04A;
  color: #140C0C; /* Dark text for contrast */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.4);
}

.page-the-thao__btn-tertiary {
  background: none;
  color: #FFB04A;
  border: 1px solid #FFB04A;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-the-thao__btn-tertiary:hover {
  background: #FFB04A;
  color: #140C0C;
}

.page-the-thao__btn-center {
  display: block;
  margin: 30px auto 0 auto;
}

.page-the-thao__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

/* General Sections */
.page-the-thao__intro-section,
.page-the-thao__guide-section,
.page-the-thao__benefits-section,
.page-the-thao__cta-bottom-section {
  padding: 60px 0;
  background-color: #140C0C; /* Background */
}

.page-the-thao__dark-bg {
  background-color: #2A1212; /* Card B G */
  color: #FFF1E8;
  padding: 60px 0;
}

.page-the-thao__text-contrast-fix {
  color: #FFF1E8 !important; /* Ensure light text on dark background */
}

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

.page-the-thao__sports-card,
.page-the-thao__promo-card {
  background-color: #2A1212; /* Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__sports-card img,
.page-the-thao__promo-card img {
  width: 100%;
  height: 250px; /* Fixed height for cards */
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao__card-title {
  font-size: 1.5em;
  color: #FFB04A; /* Gold-like */
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-the-thao__card-description {
  font-size: 0.95em;
  color: #FFF1E8;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

/* Guide Section */
.page-the-thao__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #FFF1E8;
}

.page-the-thao__guide-list li {
  margin-bottom: 10px;
}

.page-the-thao__guide-list li strong {
  color: #FFB04A;
}

/* Benefits Section */
.page-the-thao__benefits-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.page-the-thao__benefits-list li {
  background-color: #2A1212; /* Card B G */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 1.1em;
  color: #FFF1E8;
  border-left: 5px solid #FFB04A;
}

.page-the-thao__benefits-list li strong {
  color: #FFB04A;
}

.page-the-thao__app-cta {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #2A1212; /* Card B G */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-top: 60px;
}

.page-the-thao__app-cta img {
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  display: block;
}

.page-the-thao__app-content {
  flex-grow: 1;
  text-align: left;
}

.page-the-thao__app-content .page-the-thao__card-title {
  text-align: left;
  font-size: 2em;
  margin-bottom: 15px;
  padding: 0;
}

.page-the-thao__app-content p {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #FFF1E8;
}

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

.page-the-thao__faq-item {
  background-color: #140C0C; /* Background */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFB04A; /* Gold-like */
  cursor: pointer;
  background-color: #2A1212; /* Card B G */
}

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

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #FFF1E8;
  background-color: #140C0C; /* Background */
  border-top: 1px solid #6A1E1E;
}

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

/* Bottom CTA */
.page-the-thao__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

.page-the-thao__center-text {
  text-align: center;
}

.page-the-thao__small-text {
  font-size: 0.9em;
  color: rgba(255, 241, 232, 0.7);
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-content {
    padding: 20px;
  }

  .page-the-thao__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
  }

  .page-the-thao__hero-description {
    font-size: 1.2em;
  }

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

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

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-the-thao__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-the-thao__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
    margin-bottom: 15px;
  }

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

  .page-the-thao__cta-buttons {
    flex-direction: column;
    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;
    gap: 10px;
  }

  /* 通用图片与容器 */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-the-thao__text-block {
    font-size: 1em;
  }

  .page-the-thao__sports-grid,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__sports-card img,
  .page-the-thao__promo-card img {
    height: 200px; /* Adjust height for mobile */
  }

  .page-the-thao__app-cta {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
  }

  .page-the-thao__app-cta img {
    max-width: 250px;
    margin-bottom: 20px;
  }

  .page-the-thao__app-content .page-the-thao__card-title {
    text-align: center;
    font-size: 1.8em;
  }

  .page-the-thao__benefits-list {
    grid-template-columns: 1fr;
  }

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

  .page-the-thao__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

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

  /* 长文区 */
  .page-the-thao__intro-section,
  .page-the-thao__guide-section,
  .page-the-thao__benefits-section,
  .page-the-thao__promo-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-bottom-section {
    padding: 40px 0;
  }
}