.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color, #FFF6D6); /* Default light text for assumed dark body background */
  background-color: var(--bg-color, #0A0A0A); /* Inherit from shared or use default dark */
}

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

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  margin-bottom: 40px;
  background-color: var(--bg-color, #0A0A0A);
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-the-thao__hero-content {
  position: relative; /* Changed to relative for image-below-text rule, adjusted for better flow */
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: -100px auto 0 auto; /* Pull content up slightly over the image for visual continuity */
  background: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.page-the-thao__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width for responsive */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-outline {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%; /* For responsive buttons */
}

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

.page-the-thao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: var(--main-color, #F2C14E);
  border: 2px solid var(--main-color, #F2C14E);
}

.page-the-thao__btn-secondary:hover {
  background: var(--main-color, #F2C14E);
  color: #111111;
}

/* Section General */
.page-the-thao__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: var(--bg-color, #0A0A0A);
}

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--text-main-color, #FFF6D6);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-the-thao__text-block {
  font-size: 1rem;
  line-height: 1.8;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-the-thao__highlight {
  color: var(--main-color, #F2C14E);
  font-weight: bold;
}

/* Card Grid */
.page-the-thao__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__card,
.page-the-thao__sport-card {
  background-color: var(--card-bg-color, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__card:hover,
.page-the-thao__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-the-thao__card-image,
.page-the-thao__sport-image {
  max-width: 100%;
  height: auto;
  min-height: 200px; /* Minimum size for all images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
}

.page-the-thao__card-title,
.page-the-thao__sport-title {
  font-size: 1.4rem;
  color: var(--main-color, #F2C14E);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__card-text,
.page-the-thao__sport-description {
  font-size: 0.95rem;
  color: #e0e0e0;
  line-height: 1.7;
  flex-grow: 1; /* Allow text to take available space */
  margin-bottom: 20px; /* Space before button if any */
}

.page-the-thao__btn-outline {
  background: transparent;
  color: var(--aux-color, #FFD36B);
  border: 1px solid var(--aux-color, #FFD36B);
  margin-top: auto; /* Push button to bottom of card */
}

.page-the-thao__btn-outline:hover {
  background: var(--aux-color, #FFD36B);
  color: #111111;
}

/* Strategy List */
.page-the-thao__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #f0f0f0;
}

.page-the-thao__strategy-list li {
  background-color: var(--card-bg-color, #111111);
  border-left: 4px solid var(--main-color, #F2C14E);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  line-height: 1.6;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__strategy-list li strong {
  color: var(--main-color, #F2C14E);
}

/* Promotions CTA */
.page-the-thao__promotions .page-the-thao__cta-buttons {
  margin-top: 40px;
}

/* FAQ Section */
.page-the-thao__faq {
  padding-bottom: 80px;
}

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

.page-the-thao__faq-item {
  background-color: var(--card-bg-color, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
  background-color: rgba(242, 193, 78, 0.1); /* Light background for open state */
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--text-main-color, #FFF6D6);
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker */
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  color: var(--main-color, #F2C14E);
  margin-left: 20px;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  content: '-'; /* Change to minus when open */
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95rem;
  color: #e0e0e0;
  line-height: 1.7;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-the-thao__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-the-thao__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-the-thao__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-the-thao__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }

  .page-the-thao__grid-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .page-the-thao__card,
  .page-the-thao__sport-card {
    padding: 20px;
  }

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

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

@media (max-width: 768px) {
  /* Generic mobile image and container rules */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__section,
  .page-the-thao__container,
  .page-the-thao__grid-container,
  .page-the-thao__card,
  .page-the-thao__sport-card,
  .page-the-thao__faq-list,
  .page-the-thao__hero-section,
  .page-the-thao__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* HERO Section specific mobile rules */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Adhering to the 10px rule for hero section top padding */
    margin-bottom: 20px;
  }

  .page-the-thao__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
    border-radius: 10px;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-the-thao__hero-description {
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-bottom: 25px;
  }

  /* Button and Button Container mobile rules */
  .page-the-thao__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-outline,
  .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;
  }

  /* Card Grid mobile rules */
  .page-the-thao__grid-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-the-thao__card,
  .page-the-thao__sport-card {
    padding: 20px 15px !important;
  }

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

  /* Strategy List mobile rules */
  .page-the-thao__strategy-list li {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  /* FAQ Section mobile rules */
  .page-the-thao__faq-list {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-the-thao__faq-question {
    font-size: 1rem !important;
    padding: 15px 18px !important;
  }

  .page-the-thao__faq-answer {
    padding: 0 18px 15px 18px !important;
    font-size: 0.9rem;
  }
}