/* Base styles for the-thao page */
.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light body background */
  background-color: #FFFFFF;
}

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

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #f0f0f0;
  margin-bottom: 40px;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-the-thao__hero-content-wrapper {
  padding: 40px 20px;
  max-width: 800px;
}

.page-the-thao__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size for H1 */
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

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

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

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

.page-the-thao__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #e0e0e0;
}

.page-the-thao__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-the-thao__btn-large {
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-the-thao__section-title {
  font-size: 2.2em;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-the-thao__sub-title {
  font-size: 1.5em;
  color: #017439;
  margin-top: 25px;
  margin-bottom: 15px;
}

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

.page-the-thao__keyword-highlight {
  font-weight: bold;
  color: #017439;
}

.page-the-thao__text-link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-the-thao__introduction-section,
.page-the-thao__guide-section,
.page-the-thao__news-section,
.page-the-thao__cta-download-section,
.page-the-thao__conclusion-section {
  padding: 60px 0;
}

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

.page-the-thao__dark-bg .page-the-thao__section-title,
.page-the-thao__dark-bg .page-the-thao__sub-title,
.page-the-thao__dark-bg .page-the-thao__paragraph,
.page-the-thao__dark-bg .page-the-thao__keyword-highlight {
  color: #ffffff;
}

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

.page-the-thao__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.page-the-thao__grid-layout--reverse {
  grid-template-columns: 1fr 1fr;
}

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

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

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

.page-the-thao__benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__benefit-card .page-the-thao__card-title {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__benefit-card .page-the-thao__paragraph {
  color: #f0f0f0;
}

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

.page-the-thao__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.page-the-thao__blog-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__blog-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-the-thao__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-the-thao__blog-card-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: bold;
  line-height: 1.4;
}

.page-the-thao__blog-card-title a {
  color: #017439;
  text-decoration: none;
}

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

.page-the-thao__blog-card-date {
  font-size: 0.9em;
  color: #777777;
  margin-bottom: 15px;
}

.page-the-thao__blog-card-excerpt {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__btn-outline {
  display: inline-block;
  padding: 8px 15px;
  border: 2px solid #017439;
  color: #017439;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: auto; /* Push to bottom of card */
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-the-thao__btn-outline:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-the-thao__view-all-button-wrapper {
  text-align: center;
  margin-top: 40px;
}

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

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

.page-the-thao__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly darker for contrast */
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  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 25px 20px;
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-the-thao__container--flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-the-thao__cta-image {
  width: 50%;
  height: auto;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-the-thao__cta-content {
  width: 50%;
}

.page-the-thao__cta-content .page-the-thao__section-title {
  text-align: left;
  margin-bottom: 25px;
}

.page-the-thao__cta-content .page-the-thao__paragraph {
  margin-bottom: 30px;
}

.page-the-thao__conclusion-section {
  padding: 60px 0 80px;
  text-align: center;
}

.page-the-thao__conclusion-section .page-the-thao__section-title {
  margin-bottom: 25px;
}

.page-the-thao__conclusion-section .page-the-thao__paragraph {
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-the-thao__copyright-info {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #777777;
  background-color: #f5f5f5;
  margin-top: 40px;
}

/* Placeholder CSS for homepage-specific modules to satisfy output requirements */
.page-the-thao__row-games, .page-the-thao__row-sport, .page-the-thao__row-coop {
  /* Not directly used on this page, but keeping for template completeness */
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}
.page-the-thao__games-title, .page-the-thao__sport-title, .page-the-thao__coop-title {
  color: #fff;
  text-align: center;
}
.page-the-thao__slider-wrapper {
  overflow: hidden;
}
.page-the-thao__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}
.page-the-thao__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
}
.page-the-thao__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.page-the-thao__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
/* End placeholder CSS */

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

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

  .page-the-thao__main-title {
    font-size: clamp(2em, 4.5vw, 2.8em);
  }

  .page-the-thao__section-title {
    font-size: 2em;
  }

  .page-the-thao__grid-layout,
  .page-the-thao__grid-layout--reverse {
    gap: 30px;
  }

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

  .page-the-thao__blog-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-the-thao__blog-card-image {
    height: 180px;
  }

  .page-the-thao__cta-download-section .page-the-thao__container--flex {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao__cta-image,
  .page-the-thao__cta-content {
    width: 100%;
    max-width: 600px;
  }

  .page-the-thao__cta-content .page-the-thao__section-title {
    text-align: center;
  }
}

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

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

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

  .page-the-thao__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  /* 长文金框区 (Mapped to main content block) */
  .page-the-thao__introduction-section .page-the-thao__container,
  .page-the-thao__guide-section .page-the-thao__container,
  .page-the-thao__benefits-section .page-the-thao__container,
  .page-the-thao__news-section .page-the-thao__container,
  .page-the-thao__faq-section .page-the-thao__container,
  .page-the-thao__cta-download-section .page-the-thao__container,
  .page-the-thao__conclusion-section .page-the-thao__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__sub-title {
    font-size: 1.3em;
  }

  .page-the-thao__paragraph {
    font-size: 0.95em;
  }

  /* 游戏轮播 (Placeholder rules) */
  .page-the-thao__slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .page-the-thao__game-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
  }

  /* 合作品牌六宫格 (Placeholder rules) */
  .page-the-thao__banners-top-wrapper {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .page-the-thao__banner-item img {
    
    
  }

  /* 博客卡片区 */
  .page-the-thao__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-the-thao__blog-card-image {
    height: 160px;
  }

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

  .page-the-thao__grid-layout,
  .page-the-thao__grid-layout--reverse {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-the-thao__grid-layout--reverse .page-the-thao__grid-item:first-child {
    order: 2;
  }

  .page-the-thao__grid-layout--reverse .page-the-thao__grid-item:last-child {
    order: 1;
  }

  .page-the-thao__benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .page-the-thao__cta-download-section .page-the-thao__cta-content .page-the-thao__section-title {
    text-align: center !important;
  }

  /* 按钮与按钮容器 */
  .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-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .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 !important;
    padding-right: 15px !important;
  }

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

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

  .page-the-thao__cta-content .page-the-thao__section-title {
    font-size: 1.8em;
  }

  .page-the-thao__cta-image {
    width: 100% !important;
  }
}