.page-the-thao {
  color: #FFF1E8; /* Text Main color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #140C0C; /* Background color from custom scheme */
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding as per instruction */
  padding-bottom: 60px;
  background-color: #140C0C; /* Ensure dark background for hero section */
}

.page-the-thao__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px 15px;
}

.page-the-thao__hero-image {
  flex: 1 1 500px; /* Adjust flex basis for image */
  text-align: center;
}

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

.page-the-thao__hero-content {
  flex: 1 1 500px; /* Adjust flex basis for content */
  text-align: left;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF1E8; /* Text Main */
}

.page-the-thao__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF1E8;
}

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

.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: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #140C0C; /* Dark text for bright button */
  border: none;
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #FFF1E8; /* Text Main */
  border: 2px solid #6A1E1E; /* Border color */
}

.page-the-thao__btn-secondary:hover {
  background: #6A1E1E; /* Deep Red */
  color: #FFF1E8;
  transform: translateY(-2px);
}

.page-the-thao__intro-section,
.page-the-thao__sports-categories,
.page-the-thao__live-betting-section,
.page-the-thao__promotions-section,
.page-the-thao__faq-section,
.page-the-thao__cta-bottom {
  padding: 60px 0;
  background-color: #140C0C; /* Consistent dark background */
}

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

.page-the-thao__content-area--center {
  text-align: center;
}

.page-the-thao__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #FFF1E8; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
}

.page-the-thao__content-area--center .page-the-thao__section-title {
  margin-bottom: 25px;
}

.page-the-thao__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF1E8;
}

.page-the-thao__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-the-thao__feature-item {
  background-color: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border color */
}

.page-the-thao__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #F3C54D; /* Gold border */
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.05);
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-the-thao__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
}

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

.page-the-thao__layout-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-the-thao__layout-grid--reversed {
  flex-direction: row-reverse;
}

.page-the-thao__text-content {
  flex: 1 1 500px;
}

.page-the-thao__image-container {
  flex: 1 1 500px;
  text-align: center;
}

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

.page-the-thao__sports-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-the-thao__sports-list li {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border color */
  padding: 12px 20px;
  margin-bottom: 10px;
  border-radius: 6px;
  font-size: 1.05rem;
  color: #FFF1E8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-the-thao__sports-list li::before {
  content: '⚽'; /* Example icon */
  color: #F3C54D;
  font-size: 1.2em;
}

.page-the-thao__btn-primary--small,
.page-the-thao__btn-secondary--small {
  padding: 10px 25px;
  font-size: 0.95rem;
}

.page-the-thao__promo-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__promo-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-the-thao__promo-content {
  padding: 30px;
  color: #FFF1E8;
}

.page-the-thao__promo-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
}

.page-the-thao__promo-description {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #FFF1E8;
}

.page-the-thao__faq-list {
  margin-top: 40px;
}

.page-the-thao__faq-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF1E8;
}

.page-the-thao__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: #F3C54D; /* Gold */
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: #FFF1E8;
  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: 1rem;
  line-height: 1.7;
  color: #FFF1E8;
}

.page-the-thao__content-area--center .page-the-thao__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__cta-bottom .page-the-thao__cta-buttons {
  justify-content: center;
  margin-top: 30px;
}

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

  /* HERO Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

  .page-the-thao__hero-container {
    flex-direction: column; /* Stack image and content vertically */
    padding: 15px;
    gap: 30px;
  }

  .page-the-thao__hero-content {
    text-align: center;
  }

  .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; /* Stack buttons vertically */
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

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

  /* Section Titles */
  .page-the-thao__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  /* Intro Section - Feature Grid */
  .page-the-thao__features-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }

  .page-the-thao__icon-box-media {
    width: 150px; /* Maintain circular shape */
    height: 150px;
    margin-bottom: 20px;
  }

  .page-the-thao__feature-title {
    font-size: 1.2rem;
  }

  /* Layout Grid (Sports Categories, Live Betting) */
  .page-the-thao__layout-grid {
    flex-direction: column; /* Stack text and image vertically */
    gap: 30px;
  }

  .page-the-thao__layout-grid--reversed {
    flex-direction: column; /* Also stack vertically */
  }

  .page-the-thao__text-content,
  .page-the-thao__image-container {
    flex: 1 1 100%; /* Take full width */
  }

  .page-the-thao__image-container img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__sports-list li {
    font-size: 0.95rem;
    padding: 10px 15px;
  }

  /* Promotions Section */
  .page-the-thao__promo-card {
    flex-direction: column; /* Stack image and content */
  }

  .page-the-thao__promo-content {
    padding: 20px;
  }

  .page-the-thao__promo-title {
    font-size: 1.4rem;
  }

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

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

  /* General Image and Container Rules */
  .page-the-thao img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}