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

.page-the-thao__hero-section {
  padding-top: 10px; /* Consistent with header offset rule */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  padding-bottom: 40px;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Adjust based on typical screen width */
  margin-bottom: 20px;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-the-thao__hero-content {
  max-width: 900px;
  padding: 0 20px;
  color: #FFFFFF;
}

.page-the-thao__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

.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,
.page-the-thao__btn-outline {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

.page-the-thao__btn-secondary:hover {
  background-color: #F4F7FB;
  color: #2F6BFF;
  border-color: #2F6BFF;
}

.page-the-thao__btn-outline {
  background-color: transparent;
  color: #2F6BFF;
  border: 2px solid #D6E2FF;
}

.page-the-thao__btn-outline:hover {
  background-color: #2F6BFF;
  color: #ffffff;
  border-color: #2F6BFF;
}

.page-the-thao__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-the-thao__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 20px;
}

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

.page-the-thao__section-intro {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__section-intro--light {
  color: #E0E0E0;
}

.page-the-thao__why-choose-us {
  background-color: #ffffff;
}

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

.page-the-thao__feature-item {
  background-color: #F4F7FB;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-the-thao__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-the-thao__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

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

.page-the-thao__sports-categories {
  background-color: #F4F7FB;
}

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

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

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

.page-the-thao__sport-name {
  font-size: 1.6em;
  font-weight: 600;
  color: #1F2D3D;
  padding: 15px 20px 0;
}

.page-the-thao__sport-description {
  font-size: 0.95em;
  color: #555555;
  padding: 10px 20px 20px;
  flex-grow: 1;
}

.page-the-thao__betting-types {
  background-color: #ffffff;
}

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

.page-the-thao__betting-card {
  background-color: #F4F7FB;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-the-thao__betting-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-the-thao__betting-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

.page-the-thao__promotions {
  background-color: #F4F7FB;
}

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

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

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

.page-the-thao__promo-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #1F2D3D;
  padding: 15px 20px 0;
}

.page-the-thao__promo-description {
  font-size: 0.95em;
  color: #555555;
  padding: 10px 20px 20px;
  flex-grow: 1;
}

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

.page-the-thao__how-to-bet {
  background-color: #ffffff;
}

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

.page-the-thao__step-item {
  background-color: #F4F7FB;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-the-thao__step-number {
  font-size: 2.5em;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
  line-height: 1;
}

.page-the-thao__step-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #1F2D3D;
  margin-bottom: 10px;
}

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

.page-the-thao__betting-tips {
  background-color: #F4F7FB;
}

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

.page-the-thao__tip-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-the-thao__tip-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

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

.page-the-thao__security-fair-play {
  background-color: #ffffff;
}

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

.page-the-thao__security-item {
  background-color: #F4F7FB;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-the-thao__security-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-the-thao__security-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

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

.page-the-thao__customer-support {
  background-color: #F4F7FB;
}

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

.page-the-thao__support-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-the-thao__support-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-the-thao__support-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

.page-the-thao__faq {
  background-color: #ffffff;
}

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

.page-the-thao__faq-item {
  background-color: #F4F7FB;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #1F2D3D;
  cursor: pointer;
  background-color: #D6E2FF;
  border-bottom: 1px solid #A5C4FF;
  list-style: none; /* Remove default marker */
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  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: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

.page-the-thao__final-cta {
  padding: 80px 20px;
}

.page-the-thao__dark-bg {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  border-radius: 15px;
  padding: 60px 30px;
  box-shadow: 0 10px 30px rgba(47, 107, 255, 0.4);
}

.page-the-thao__btn-primary--light {
  background-color: #ffffff;
  color: #2F6BFF;
  border: none;
  box-shadow: none;
}

.page-the-thao__btn-primary--light:hover {
  background-color: #F4F7FB;
  color: #2F6BFF;
}

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

.page-the-thao__btn-secondary--light:hover {
  background-color: #A5C4FF;
  color: #2F6BFF;
  border-color: #A5C4FF;
}

/* General image styling */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-the-thao {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-the-thao__hero-section {
    padding-top: 10px; /* Ensure small top padding */
    padding-bottom: 30px;
  }

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

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

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

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-outline {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

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

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

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

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

  .page-the-thao__features-grid,
  .page-the-thao__sport-grid,
  .page-the-thao__betting-types-grid,
  .page-the-thao__promo-grid,
  .page-the-thao__steps-grid,
  .page-the-thao__tips-grid,
  .page-the-thao__security-features,
  .page-the-thao__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__feature-item,
  .page-the-thao__sport-card,
  .page-the-thao__betting-card,
  .page-the-thao__promo-card,
  .page-the-thao__step-item,
  .page-the-thao__tip-item,
  .page-the-thao__security-item,
  .page-the-thao__support-item {
    padding: 20px;
    margin: 0 10px; /* Add horizontal margin for cards */
  }

  .page-the-thao__feature-icon,
  .page-the-thao__sport-image,
  .page-the-thao__promo-image,
  .page-the-thao__security-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ specific mobile styles */
  .page-the-thao__faq-list {
    padding: 0 10px;
  }

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

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

  .page-the-thao__final-cta {
    padding: 50px 15px;
  }

  .page-the-thao__dark-bg {
    padding: 40px 20px;
  }

  /* Ensure all images are responsive */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Placeholder styles for elements not explicitly defined but required by checklist */
  .page-the-thao__home-content { /* Assuming this would be a long text content area */
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px !important;
  }

  .page-the-thao__slider-wrapper,
  .page-the-thao__blog-slider {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -15px;
    padding: 0 15px;
  }

  .page-the-thao__slider-track,
  .page-the-thao__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
  }

  .page-the-thao__game-slide {
    flex: 0 0 180px;
    max-width: 180px;
  }

  .page-the-thao__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns for mobile */
    gap: 10px;
    padding: 0 15px;
  }

  .page-the-thao__banner-item img {
    
    
  }

  .page-the-thao__blog-masonry {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
    padding: 0 15px;
  }

  .page-the-thao__blog-slide {
    flex: 0 0 calc(100% - 20px); /* Adjust for gap */
    max-width: calc(100% - 20px);
  }

  .page-the-thao__row-games,
  .page-the-thao__row-sport,
  .page-the-thao__row-coop {
    padding: 30px 15px;
    max-width: 100%;
    box-sizing: border-box;
  }
}