.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main color for dark body background */
  background-color: #B71C1C; /* Body background color */
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFF5E1;
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF5E1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__dark-section {
  background-color: #7A0E0E; /* Deep Red for dark sections */
  color: #FFF5E1;
  padding: 60px 0;
}

.page-the-thao__light-bg {
  background-color: #D32F2F; /* Card BG color for light sections */
  color: #FFF5E1;
  padding: 60px 0;
}

/* Hero Section */
.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-the-thao__hero-image-container {
  width: 100%;
  max-height: 675px; /* Limit height for desktop */
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-the-thao__hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px 40px;
  max-width: 900px;
}

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

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

.page-the-thao__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button color */
  color: #7A0E0E; /* Deep Red text for primary button */
  border: 2px solid #F2B544; /* Border color */
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 0 15px #FFCC66; /* Glow color */
}

.page-the-thao__btn-secondary {
  background: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main color */
  border: 2px solid #F2B544; /* Border color */
}

.page-the-thao__btn-secondary:hover {
  background: #E53935; /* Accent color */
  box-shadow: 0 0 15px #FFCC66; /* Glow color */
}

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

.page-the-thao__feature-card {
  background-color: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border color */
  color: #FFF5E1;
}

.page-the-thao__feature-icon {
  width: 100%;
  max-width: 250px; /* Example size, adjust as needed */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-the-thao__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F4D34D; /* Gold color */
}

.page-the-thao__feature-text {
  font-size: 1em;
  color: #FFF5E1;
}

/* Sports Halls Section */
.page-the-thao__halls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__hall-card {
  background-color: #D32F2F; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border color */
  color: #FFF5E1;
  text-align: center;
}

.page-the-thao__hall-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao__hall-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F4D34D; /* Gold color */
}

.page-the-thao__hall-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #FFF5E1;
}

/* How To Play Section */
.page-the-thao__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__step-card {
  background-color: #D32F2F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border color */
  color: #FFF5E1;
}

.page-the-thao__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F4D34D; /* Gold color */
}

.page-the-thao__step-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #FFF5E1;
}

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

.page-the-thao__promo-card {
  background-color: #D32F2F; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border color */
  color: #FFF5E1;
  text-align: center;
}

.page-the-thao__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao__promo-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F4D34D; /* Gold color */
}

.page-the-thao__promo-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #FFF5E1;
}

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

/* Tips Section */
.page-the-thao__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-the-thao__tip-item {
  display: flex;
  align-items: flex-start;
  background-color: #D32F2F; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border color */
  color: #FFF5E1;
}

.page-the-thao__tip-icon {
  min-width: 64px; /* Ensure icon is not too small */
  height: 64px;
  margin-right: 20px;
  object-fit: contain;
}

.page-the-thao__tip-content {
  flex: 1;
}

.page-the-thao__tip-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F4D34D; /* Gold color */
}

.page-the-thao__tip-text {
  font-size: 1em;
  color: #FFF5E1;
}

/* FAQ Section */
.page-the-thao__faq-list {
  margin-top: 40px;
}

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

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F4D34D; /* Gold color */
  background-color: #C91F17; /* Main color */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

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

.page-the-thao__faq-question:hover {
  background-color: #E53935; /* Accent color */
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFF5E1;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  content: "−";
}

.page-the-thao__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #FFF5E1;
  background-color: #D32F2F;
}

/* Conclusion Section */
.page-the-thao__conclusion-section {
  padding-bottom: 60px;
}

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

/* General Mobile Adaptation (max-width: 768px) */
@media (max-width: 768px) {
  .page-the-thao__container {
    padding: 15px;
  }

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

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

  /* 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; /* Mobile hero image: contain, not cover */
    aspect-ratio: unset;
    max-height: none;
  }

  .page-the-thao__main-title {
    font-size: 2.2em; /* Specific mobile font size */
  }

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

  .page-the-thao__cta-buttons {
    flex-direction: column; /* Buttons stack vertically on mobile */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* Buttons and Button Containers */
  .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__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-wrap: wrap !important;
    gap: 10px;
  }

  /* Feature Grid */
  .page-the-thao__features-grid {
    grid-template-columns: 1fr;
  }

  /* Sports Halls Grid */
  .page-the-thao__halls-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__hall-image {
    height: 180px; /* Slightly smaller fixed height for mobile */
  }

  /* How To Play Steps */
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr;
  }

  /* Promotions Grid */
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__promo-image {
    height: 180px; /* Slightly smaller fixed height for mobile */
  }

  /* Tips List */
  .page-the-thao__tip-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-the-thao__tip-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  /* FAQ Section */
  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  /* General Images and Containers */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .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;
  }
}

/* Desktop specific adjustments (e.g., for .page-the-thao__game-grid if it were present) */
/* The-thao page doesn't have .page-the-thao__game-grid or winner lists per non-homepage rules. */
/* For any future game grid or winner list that might be added to non-homepage, ensure these rules are applied */
/* For example, a game grid would typically be 250x250 for desktop, and 2 columns on mobile. */
/* Winner list would be 3 columns on desktop, 1 column on mobile. */

/* Example for a hypothetical game grid (not used on this page based on instructions) */
.page-the-thao__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  overflow-x: hidden;
}
.page-the-thao__game-tile {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .page-the-thao__game-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    overflow-x: hidden !important;
  }
  .page-the-thao__game-tile {
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    height: auto !important;
  }
}

/* Example for a hypothetical winner list (not used on this page based on instructions) */
.page-the-thao__winner-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  overflow-x: hidden;
}
.page-the-thao__winner-item {
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .page-the-thao__winner-list {
    grid-template-columns: 1fr !important;
    overflow-x: hidden !important;
  }
  .page-the-thao__winner-item {
    flex-direction: row !important; /* Keep as row, but ensure content wraps */
    align-items: center;
  }
  .page-the-thao__winner-item img {
    min- /* Thumbnail size */
    
    margin-right: 10px;
    position: relative;
  }
  .page-the-thao__winner-info {
    flex: 1 !important;
  }
}