.page-the-thao {
  font-family: Arial, sans-serif;
  color: #1F2D3D;
  line-height: 1.6;
  background-color: #F4F7FB; /* Custom Background */
}

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

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

.page-the-thao__section-spacing {
  padding: 60px 0;
}

.page-the-thao__section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-the-thao__section-subtitle {
  font-size: 18px;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__section-subtitle--light {
  color: #f0f0f0;
}

/* Hero Section */
.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #ffffff;
}

.page-the-thao__hero-image-container {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Ensure image does not stretch too much vertically */
}

.page-the-thao__hero-content {
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-the-thao__hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.1;
  color: #ffffff;
}

.page-the-thao__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

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

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-the-thao__btn-secondary {
  background-color: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-the-thao__btn-secondary:hover {
  background-color: #F4F7FB;
  color: #1F2D3D;
  border-color: #4A8BFF;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

.page-the-thao__advantage-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-the-thao__advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-the-thao__advantage-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__advantage-description {
  font-size: 16px;
  color: #1F2D3D;
}

.page-the-thao__advantage-description a {
  color: #2F6BFF;
  text-decoration: none;
}

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

/* Bet Types Section */
.page-the-thao__dark-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  color: #ffffff;
}

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

.page-the-thao__bet-type-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #1F2D3D; /* Text Main */
  border: 1px solid #D6E2FF;
}

.page-the-thao__bet-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.page-the-thao__bet-type-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-the-thao__bet-type-description {
  font-size: 16px;
  color: #1F2D3D;
}

/* Guide Section */
.page-the-thao__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao__guide-step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding-top: 60px; /* Space for number */
  border: 1px solid #D6E2FF;
}

.page-the-thao__guide-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.page-the-thao__guide-step-number {
  position: absolute;
  top: 20px;
  left: 30px;
  background-color: #2F6BFF;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.page-the-thao__guide-step-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-the-thao__guide-step-description {
  font-size: 16px;
  color: #1F2D3D;
}

.page-the-thao__guide-step-description a {
  color: #2F6BFF;
  text-decoration: none;
}

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

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

.page-the-thao__news-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-the-thao__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

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

.page-the-thao__news-card h3,
.page-the-thao__news-card p {
  padding: 0 25px;
}

.page-the-thao__news-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-the-thao__news-title a {
  color: #2F6BFF;
  text-decoration: none;
}

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

.page-the-thao__news-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 15px;
}

.page-the-thao__news-excerpt {
  font-size: 16px;
  color: #1F2D3D;
  margin-bottom: 20px;
}

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

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

.page-the-thao__faq-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
  overflow: hidden;
}

.page-the-thao__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: #1F2D3D;
  background-color: #F4F7FB; /* Background */
  border-bottom: 1px solid #D6E2FF;
  transition: background-color 0.3s ease;
}

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

.page-the-thao__faq-item summary:hover {
  background-color: #e9eff7;
}

.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF;
  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: 20px 25px;
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.6;
}

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

.page-the-thao__faq-answer a {
  color: #2F6BFF;
  text-decoration: none;
}

.page-the-thao__faq-answer a:hover {
  text-decoration: underline;
}

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

/* --- Responsive Styles --- */

/* Tablet and Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 0 15px;
  }

  .page-the-thao__section-spacing {
    padding: 40px 0;
  }

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

  .page-the-thao__hero-title {
    font-size: clamp(28px, 4vw, 48px);
  }

  .page-the-thao__hero-description {
    font-size: 18px;
  }

  .page-the-thao__advantage-card,
  .page-the-thao__bet-type-card,
  .page-the-thao__guide-step-card,
  .page-the-thao__news-card {
    padding: 25px;
  }

  .page-the-thao__advantage-icon {
    max-width: 120px;
  }

  .page-the-thao__advantage-title,
  .page-the-thao__bet-type-title,
  .page-the-thao__guide-step-title,
  .page-the-thao__news-title {
    font-size: 20px;
  }

  .page-the-thao__faq-item summary {
    padding: 18px 20px;
    font-size: 17px;
  }

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

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

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

  .page-the-thao__section-spacing {
    padding: 30px 0 !important;
  }

  .page-the-thao__section-title {
    font-size: 24px !important;
    margin-bottom: 15px !important;
  }

  .page-the-thao__section-subtitle {
    font-size: 16px !important;
    margin-bottom: 25px !important;
  }

  /* Hero Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
  }
  
  .page-the-thao__hero-image-container {
    max-height: none;
  }

  .page-the-thao__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible, no cropping */
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__hero-content {
    padding: 25px 15px !important;
  }

  .page-the-thao__hero-title {
    font-size: 28px !important;
    margin-bottom: 10px !important;
  }

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

  .page-the-thao__hero-cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
  }

  /* Buttons - Mobile specific */
  .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: 12px 20px !important;
    font-size: 16px !important;
  }
  
  .page-the-thao__hero-cta-buttons,
  .page-the-thao__view-all-button-container,
  .page-the-thao__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  /* Advantage Grid */
  .page-the-thao__advantages-grid,
  .page-the-thao__bet-types-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__news-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-the-thao__advantage-card,
  .page-the-thao__bet-type-card,
  .page-the-thao__guide-step-card,
  .page-the-thao__news-card {
    padding: 20px !important;
  }

  .page-the-thao__advantage-icon {
    max-width: 100px !important;
  }

  .page-the-thao__advantage-title,
  .page-the-thao__bet-type-title,
  .page-the-thao__guide-step-title,
  .page-the-thao__news-title {
    font-size: 18px !important;
  }

  /* News Card Image */
  .page-the-thao__news-image {
    height: 180px !important;
    width: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
  }

  .page-the-thao__news-card h3,
  .page-the-thao__news-card p {
    padding: 0 20px !important;
  }

  /* FAQ Section */
  .page-the-thao__faq-item summary {
    padding: 15px 20px !important;
    font-size: 16px !important;
  }

  .page-the-thao__faq-answer {
    padding: 15px 20px !important;
    font-size: 14px !important;
  }

  .page-the-thao__faq-toggle {
    font-size: 20px !important;
  }

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

  /* Content containers for overflow protection */
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__advantage-card,
  .page-the-thao__bet-type-card,
  .page-the-thao__guide-step-card,
  .page-the-thao__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are already handled by .page-the-thao__container */
  }
}

/* No winner list in this page, so no specific @media rule for it */
/* No game grid in this page, so no specific @media rule for it */