.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #FFF6D6); /* Default text color for dark body background */
  background-color: var(--background, #0A0A0A);
}

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  color: var(--text-main, #FFF6D6);
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.page-the-thao__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 20px auto 40px auto;
  padding: 0 20px;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-main, #FFF6D6);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-the-thao__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 246, 214, 0.9);
}

.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: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid transparent;
}

.page-the-thao__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: #111111; /* Card BG */
  color: var(--primary-color, #F2C14E);
  border: 2px solid var(--primary-color, #F2C14E);
}

.page-the-thao__btn-secondary:hover {
  background: var(--primary-color, #F2C14E);
  color: #111111;
}

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

.page-the-thao__dark-section {
  background-color: var(--card-bg, #111111);
  color: var(--text-main, #FFF6D6);
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-the-thao__section-title {
  font-size: 2.5rem;
  color: var(--primary-color, #F2C14E);
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-the-thao__text-block {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: rgba(255, 246, 214, 0.85);
}

.page-the-thao__text-block p {
  margin-bottom: 15px;
}

.page-the-thao__text-block ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-the-thao__text-block li {
  margin-bottom: 8px;
  color: rgba(255, 246, 214, 0.85);
}

.page-the-thao__text-block strong {
  color: var(--text-main, #FFF6D6);
}

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

.page-the-thao__card {
  background-color: var(--card-bg, #111111);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  color: var(--text-main, #FFF6D6);
}

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

.page-the-thao__card-image,
.page-the-thao__promo-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 200px;
  display: block;
}

.page-the-thao__card-title {
  font-size: 1.5rem;
  color: var(--primary-color, #F2C14E);
  padding: 15px 20px 10px;
}

.page-the-thao__card p {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: rgba(255, 246, 214, 0.75);
}

.page-the-thao__home-content-box {
  max-width: 91%;
  margin: 0 auto;
  padding: 10px 16px;
  border: 5px solid var(--border, #3A2A12);
  border-radius: 15px;
  box-shadow: 0 0 20px var(--glow, #FFD36B);
  height: 700px; /* Fixed height for desktop */
  background-color: var(--background, #0A0A0A);
}

.page-the-thao__home-content-inner {
  height: 100%;
  overflow-y: auto; /* Scrollable content */
  padding-right: 10px; /* Space for scrollbar */
}

.page-the-thao__home-content-inner::-webkit-scrollbar {
  width: 8px;
}

.page-the-thao__home-content-inner::-webkit-scrollbar-track {
  background: var(--card-bg, #111111);
  border-radius: 4px;
}

.page-the-thao__home-content-inner::-webkit-scrollbar-thumb {
  background: var(--primary-color, #F2C14E);
  border-radius: 4px;
}

.page-the-thao__sub-title {
  font-size: 1.8rem;
  color: var(--secondary-color, #FFD36B);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-the-thao__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

.page-the-thao__promo-card {
  background-color: var(--card-bg, #111111);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  color: var(--text-main, #FFF6D6);
  text-align: center;
  padding-bottom: 20px;
}

.page-the-thao__promo-card .page-the-thao__card-title {
  margin-top: 20px;
}

.page-the-thao__promo-card .page-the-thao__btn-primary,
.page-the-thao__promo-card .page-the-thao__btn-secondary {
  margin-top: 20px;
}

.page-the-thao__cta-block {
  text-align: center;
  margin-top: 40px;
}

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

.page-the-thao__benefit-item {
  text-align: center;
  padding: 20px;
  background-color: var(--background, #0A0A0A);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-the-thao__benefit-icon {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-the-thao__benefit-title {
  font-size: 1.4rem;
  color: var(--secondary-color, #FFD36B);
  margin-bottom: 10px;
}

.page-the-thao__benefit-item p {
  font-size: 0.95rem;
  color: rgba(255, 246, 214, 0.7);
}

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

.page-the-thao__faq-item {
  background-color: var(--card-bg, #111111);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border, #3A2A12);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-main, #FFF6D6);
  cursor: pointer;
  background-color: #1a1a1a;
}

.page-the-thao__faq-question:hover {
  background-color: #222222;
}

.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 20px 15px;
  font-size: 1rem;
  color: rgba(255, 246, 214, 0.75);
}

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

.page-the-thao__faq-answer .page-the-thao__btn-secondary {
  margin-top: 10px;
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* --- General Image and Button Responsive Styles (Must Include) --- */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

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

@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-the-thao__section-title {
    font-size: 2rem;
  }
  .page-the-thao__text-block {
    font-size: 1rem;
  }
  .page-the-thao__card-title {
    font-size: 1.3rem;
  }
  .page-the-thao__card p {
    font-size: 0.9rem;
  }
  .page-the-thao__home-content-box {
    height: 600px;
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-the-thao__hero-section {
    padding-top: 10px !important;
  }
  .page-the-thao__hero-content {
    padding: 0 15px;
  }
  .page-the-thao__main-title {
    font-size: 2.2rem;
  }
  .page-the-thao__hero-description {
    font-size: 1rem;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-the-thao__content-section {
    padding: 30px 15px;
  }
  .page-the-thao__section-title {
    font-size: 2rem;
  }
  .page-the-thao__text-block {
    font-size: 0.95rem;
  }
  .page-the-thao__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__card,
  .page-the-thao__promo-card,
  .page-the-thao__benefit-item,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0;
    margin: 0 auto 20px auto;
  }
  .page-the-thao__home-content-box {
    max-width: 100% !important;
    height: auto !important; /* Auto height for mobile */
    padding: 10px 15px;
    margin: 0;
  }
  .page-the-thao__home-content-inner {
    height: auto !important;
    overflow: visible !important;
    padding-right: 0;
  }
  .page-the-thao__sub-title {
    font-size: 1.5rem;
  }
  .page-the-thao__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__benefit-icon {
    width: 100%;
    min-width: 200px;
    min-height: 200px;
  }
  .page-the-thao__faq-list {
    padding: 0 15px;
  }

  /* --- Mobile media queries for elements NOT in the-thao.html but required in CSS --- */
  /* 1. 顶区轮播 (page-the-thao__hero-carousel-section) - Handled by existing .page-the-thao__hero-section */
  /* 2. 操作指引外框 + 五张 `team` 竖型卡 */
  .page-the-thao__guide-box {
    padding: 15px;
  }
  .page-the-thao__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
  .page-the-thao__guide-card {
    padding-top: 0 !important; /* Reset desktop specific padding */
    flex: none;
    max-width: 100%;
  }
  .page-the-thao__guide-card--pos-1,
  .page-the-thao__guide-card--pos-2 {
    grid-column: span 3;
  }
  .page-the-thao__guide-card--pos-3,
  .page-the-thao__guide-card--pos-4,
  .page-the-thao__guide-card--pos-5 {
    grid-column: span 2;
  }
  .page-the-thao__guide-card img {
    aspect-ratio: 250/350;
    object-fit: contain;
    width: 100% !important;
    height: auto !important;
  }
  /* 3. `home_content` 外框 - Handled by existing .page-the-thao__home-content-box */
  /* 4. 博客卡片区 (example classes) */
  .page-the-thao__blog-section {
    padding: 30px 15px;
  }
  .page-the-thao__blog-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }
  /* 5. 通用图片与按钮 - Handled by existing .page-the-thao img and button styles */

  .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;
  }
}