.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: var(--auxiliary-color, #FFFFFF);
}

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

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

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

.page-the-thao__hero-section {
  padding-top: 10px; /* Adjusted based on shared.css padding-top on body */
  text-align: center;
  padding-bottom: 50px;
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-the-thao__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-the-thao__hero-description {
  font-size: 1.25rem;
  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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

.page-the-thao__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-the-thao__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-the-thao__section-title--white {
  color: #ffffff;
}

.page-the-thao__text-block {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-the-thao__text-block--white {
  color: #f0f0f0;
}

.page-the-thao__about-section,
.page-the-thao__sports-types,
.page-the-thao__live-betting-section,
.page-the-thao__promotions-section,
.page-the-thao__get-started-section,
.page-the-thao__responsible-gambling-section,
.page-the-thao__faq-section,
.page-the-thao__blog-section {
  padding: 80px 0;
}

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

.page-the-thao__feature-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-the-thao__feature-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-the-thao__feature-description {
  font-size: 1rem;
  color: #555555;
}

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

.page-the-thao__sport-card {
  text-align: center;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding-bottom: 20px;
}

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

.page-the-thao__sport-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-the-thao__sport-description {
  font-size: 1rem;
  color: #555555;
  padding: 0 15px;
}

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

.page-the-thao__live-betting-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-the-thao__live-betting-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-the-thao__live-betting-list {
  flex: 1;
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-the-thao__live-betting-list li {
  background-color: #f8f8f8;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__list-title {
  font-size: 1.2rem;
  color: #26A9E0;
  margin-bottom: 5px;
}

.page-the-thao__promotions-section .page-the-thao__text-block {
  color: #f0f0f0;
}

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

.page-the-thao__promo-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__promo-title {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-the-thao__promo-description {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-the-thao__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-the-thao__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-the-thao__step-title {
  font-size: 1.5rem;
  color: #333333;
  margin-bottom: 10px;
}

.page-the-thao__step-description {
  font-size: 1rem;
  color: #555555;
}

.page-the-thao__step-description a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-the-thao__step-description a:hover {
  text-decoration: underline;
}

.page-the-thao__responsible-gambling-section .page-the-thao__text-block {
  color: #f0f0f0;
}

.page-the-thao__link-white {
  color: #ffffff;
  text-decoration: underline;
}

.page-the-thao__link-white:hover {
  color: #f0f0f0;
}

.page-the-thao__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__faq-question {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 15px;
  cursor: pointer;
  padding: 15px 20px;
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-the-thao__faq-answer {
  font-size: 1rem;
  color: #555555;
  padding: 0 20px 20px 20px;
  margin-bottom: 20px;
}

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

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

.page-the-thao__blog-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-the-thao__blog-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin: 15px 15px 10px 15px;
  line-height: 1.3;
}

.page-the-thao__blog-meta {
  font-size: 0.9rem;
  color: #888888;
  margin: 0 15px 10px 15px;
}

.page-the-thao__blog-excerpt {
  font-size: 1rem;
  color: #555555;
  margin: 0 15px 20px 15px;
  flex-grow: 1;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-the-thao__live-betting-content {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao__live-betting-image {
    max-width: 80%;
  }

  .page-the-thao__live-betting-list {
    max-width: 80%;
    margin: 0 auto;
  }
}

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

  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    padding: 0 15px;
  }

  .page-the-thao__hero-description {
    font-size: 1rem;
    padding: 0 15px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .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;
    padding-right: 15px;
  }

  .page-the-thao__container,
  .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.8rem;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-the-thao__text-block {
    font-size: 1rem;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-the-thao__about-section,
  .page-the-thao__sports-types,
  .page-the-thao__live-betting-section,
  .page-the-thao__promotions-section,
  .page-the-thao__get-started-section,
  .page-the-thao__responsible-gambling-section,
  .page-the-thao__faq-section,
  .page-the-thao__blog-section {
    padding: 40px 0;
  }

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

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

  .page-the-thao__live-betting-image {
    max-width: 100%;
  }

  .page-the-thao__live-betting-list {
    max-width: 100%;
  }

  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* Specific 768px rules checklist items */
  /* 1. Hero carousel - already handled by .page-the-thao__hero-section */

  /* 2. 操作指引外框 + 五张 `team` 竖型卡 (Not present on this page, but if it were, rules would apply) */
  /* If .page-the-thao__guide-box existed: */
  /* .page-the-thao__guide-grid { display: grid; grid-template-columns: repeat(6, 1fr); } */
  /* .page-the-thao__guide-card { padding-top: 0 !important; } */
  /* .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; } */

  /* 3. `home_content` 外框 (Not present on this page, this page uses regular sections) */
  /* If .page-the-thao__home-content-box existed: */
  /* .page-the-thao__home-content-box { max-width: 100%; height: auto; } */
  /* .page-the-thao__home-content-inner { height: auto; overflow: visible; } */

  /* 4. 博客卡片区 */
  .page-the-thao__blog-grid {
    grid-template-columns: 1fr;
  }

  /* 5. 通用图片与按钮 - already handled above */
}