.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color);
  background-color: var(--deep-navy-color);
}

.page-the-thao__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

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

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

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--deep-navy-color);
  position: relative;
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Adjust as needed for hero visual */
  overflow: hidden;
}

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

.page-the-thao__hero-content-wrapper {
  position: relative;
  z-index: 10;
  padding: 40px 16px;
  max-width: 900px;
  text-align: center;
  color: var(--text-main-color);
}

.page-the-thao__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 900;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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;
  text-align: center;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--deep-navy-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-the-thao__intro-section {
  background-color: var(--deep-navy-color);
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__intro-section .page-the-thao__content-image {
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

/* Sports Categories Section */
.page-the-thao__sports-categories {
  background-color: var(--card-bg-color);
  padding: 60px 0;
  text-align: center;
}

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

.page-the-thao__card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-the-thao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-the-thao__card-image {
  width: 100%;
  height: 180px; /* Fixed height for consistent card image display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao__card-title {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-the-thao__card-text {
  color: var(--text-secondary-color);
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Us Section */
.page-the-thao__why-choose-us {
  background-color: var(--deep-navy-color);
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__feature-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-the-thao__feature-text {
  color: var(--text-secondary-color);
  font-size: 0.9em;
}

/* Guide Section */
.page-the-thao__guide-section {
  background-color: var(--card-bg-color);
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__guide-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-the-thao__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-the-thao__step-title {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-the-thao__step-text {
  color: var(--text-secondary-color);
  font-size: 0.9em;
}

.page-the-thao__guide-section .page-the-thao__content-image {
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

/* Promotions Section */
.page-the-thao__promotions-section {
  background-color: var(--deep-navy-color);
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__promotions-section .page-the-thao__content-image {
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

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

/* News Section */
.page-the-thao__news-section {
  background-color: var(--card-bg-color);
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__news-section .page-the-thao__content-image {
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
}

/* FAQ Section */
.page-the-thao__faq-section {
  background-color: var(--deep-navy-color);
  padding: 60px 0;
}

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

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

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--text-main-color);
  background-color: var(--card-bg-color);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-the-thao__faq-question:hover {
  background-color: rgba(var(--primary-color-rgb), 0.1);
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-left: 15px;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(0deg);
}

.page-the-thao__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95em;
  color: var(--text-secondary-color);
  border-top: 1px solid var(--divider-color);
}

/* Final CTA Section */
.page-the-thao__final-cta-section {
  background-color: var(--card-bg-color);
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__final-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-the-thao__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* General image styling for content sections */
.page-the-thao__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-content-wrapper {
    max-width: 768px;
  }
  .page-the-thao__section-title {
    font-size: 2em;
  }
  .page-the-thao__card-grid,
  .page-the-thao__feature-grid,
  .page-the-thao__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Ensures small top padding */
    padding-bottom: 40px;
  }
  .page-the-thao__hero-content-wrapper {
    padding: 30px 15px;
  }
  .page-the-thao__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }
  .page-the-thao__hero-description {
    font-size: 1em;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

  /* General image adaptation for mobile */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Card grid and features grid */
  .page-the-thao__card-grid,
  .page-the-thao__feature-grid,
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-the-thao__card-image {
    height: auto; /* Allow height to adjust for mobile */
  }

  .page-the-thao__card,
  .page-the-thao__feature-item,
  .page-the-thao__guide-item,
  .page-the-thao__faq-item {
    padding: 20px;
  }

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

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

  .page-the-thao__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Content sections padding */
  .page-the-thao__intro-section,
  .page-the-thao__sports-categories,
  .page-the-thao__why-choose-us,
  .page-the-thao__guide-section,
  .page-the-thao__promotions-section,
  .page-the-thao__news-section,
  .page-the-thao__faq-section,
  .page-the-thao__final-cta-section {
    padding: 40px 0;
  }
}