.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #1F2D3D);
  background-color: var(--bg-color, #F4F7FB);
}

.page-the-thao__content-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--text-main, #1F2D3D);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-the-thao__text-block {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 60px;
  background-color: var(--bg-color, #F4F7FB);
  position: relative;
  overflow: hidden;
}

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

.page-the-thao__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
  color: var(--text-main, #1F2D3D);
}

.page-the-thao__hero-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 800;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--text-main, #1F2D3D);
}

.page-the-thao__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  box-sizing: border-box;
  text-align: center;
}

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

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

.page-the-thao__btn-secondary {
  background-color: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-the-thao__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-the-thao__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
}

/* Intro Section */
.page-the-thao__intro-section {
  background-color: var(--card-bg, #FFFFFF);
  padding: 60px 0;
  text-align: center;
}

.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-item {
  background-color: var(--bg-color, #F4F7FB);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-the-thao__icon-box-media {
  width: 200px;
  height: 200px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Ensure image itself is circular */
  display: block;
}

.page-the-thao__feature-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 15px;
}

.page-the-thao__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-main, #1F2D3D);
}

/* Sports Offerings Section */
.page-the-thao__sports-offerings-section {
  padding: 60px 0;
  background-color: var(--bg-color, #F4F7FB);
}

.page-the-thao__sport-category {
  margin-bottom: 50px;
}

.page-the-thao__sport-title {
  font-size: 2em;
  font-weight: 700;
  color: var(--text-main, #1F2D3D);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-the-thao__sport-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4A8BFF 0%, #2F6BFF 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-the-thao__sport-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.page-the-thao__sport-content:nth-of-type(odd) {
  flex-direction: row-reverse;
}

.page-the-thao__sport-image {
  flex: 1 1 45%;
  min-width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-the-thao__sport-text {
  flex: 1 1 45%;
  min-width: 300px;
}

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

.page-the-thao__guide-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  margin-top: 40px;
}

.page-the-thao__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-the-thao__step-title {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--text-main, #1F2D3D);
  margin-bottom: 15px;
}

.page-the-thao__step-item p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 800px;
  text-align: center;
}

.page-the-thao__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

/* Promo Section */
.page-the-thao__promo-section {
  padding: 60px 0;
  background-color: var(--bg-color, #F4F7FB);
  text-align: center;
}

.page-the-thao__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-the-thao__promo-list li {
  background-color: var(--card-bg, #FFFFFF);
  border-left: 5px solid #2F6BFF;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text-main, #1F2D3D);
}

.page-the-thao__promo-list li strong {
  color: #2F6BFF;
}

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

.page-the-thao__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

/* Trust Section */
.page-the-thao__dark-section {
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-the-thao__dark-section .page-the-thao__section-title,
.page-the-thao__dark-section .page-the-thao__text-block {
  color: #ffffff;
}

.page-the-thao__dark-section .page-the-thao__security-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left-color: #6FA3FF;
  color: #ffffff;
}

.page-the-thao__dark-section .page-the-thao__security-list li strong {
  color: #6FA3FF;
}

.page-the-thao__trust-section {
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__security-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-the-thao__security-list li {
  border-left: 5px solid #6FA3FF;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  line-height: 1.6;
}

.page-the-thao__security-list li strong {
  color: #6FA3FF;
}

.page-the-thao__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg, #FFFFFF);
}

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

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

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main, #1F2D3D);
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border, #D6E2FF);
  list-style: none; /* Remove default marker for details summary */
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  font-weight: 600;
  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: 0 25px 20px;
  font-size: 1.05em;
  line-height: 1.6;
  color: var(--text-main, #1F2D3D);
  background-color: var(--bg-color, #F4F7FB);
}

/* Final CTA Section */
.page-the-thao__cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
  text-align: center;
}

.page-the-thao__cta-content {
  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
}

.page-the-thao__cta-content .page-the-thao__section-title,
.page-the-thao__cta-content .page-the-thao__text-block {
  color: #ffffff;
}

.page-the-thao__cta-content .page-the-thao__btn-primary {
  margin-top: 30px;
  background: #ffffff;
  color: #2F6BFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-the-thao__cta-content .page-the-thao__btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao__hero-content {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-the-thao__hero-cta-buttons {
    justify-content: center;
  }

  .page-the-thao__hero-image {
    flex: 1 1 100%;
  }

  .page-the-thao__sport-content {
    flex-direction: column;
  }

  .page-the-thao__sport-content:nth-of-type(odd) {
    flex-direction: column;
  }
}

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

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

  .page-the-thao__text-block {
    font-size: 1em;
  }

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

  .page-the-thao__hero-container {
    padding: 30px 15px;
    gap: 30px;
  }

  .page-the-thao__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

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

  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-the-thao__hero-side-image {
    border-radius: 8px;
  }

  /* Module 1 (Intro) Mobile */
  .page-the-thao__intro-section {
    padding: 40px 0;
  }

  .page-the-thao__features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .page-the-thao__feature-item {
    padding: 25px;
  }

  .page-the-thao__icon-box-media {
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
  }

  .page-the-thao__feature-title {
    font-size: 1.3em;
  }

  /* Sports Offerings Mobile */
  .page-the-thao__sports-offerings-section {
    padding: 40px 0;
  }

  .page-the-thao__sport-category {
    margin-bottom: 40px;
  }

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

  .page-the-thao__sport-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-the-thao__sport-image {
    border-radius: 8px;
  }

  /* Guide Section Mobile */
  .page-the-thao__guide-section {
    padding: 40px 0;
  }

  .page-the-thao__guide-steps {
    gap: 40px;
    margin-top: 30px;
  }

  .page-the-thao__step-title {
    font-size: 1.5em;
  }

  .page-the-thao__step-item p {
    font-size: 1em;
  }

  .page-the-thao__step-image {
    border-radius: 8px;
  }

  /* Promo Section Mobile */
  .page-the-thao__promo-section {
    padding: 40px 0;
  }

  .page-the-thao__promo-list {
    margin-top: 25px;
  }

  .page-the-thao__promo-list li {
    padding: 15px;
    font-size: 1em;
  }

  .page-the-thao__promo-image {
    border-radius: 8px;
  }

  /* Trust Section Mobile */
  .page-the-thao__trust-section {
    padding: 40px 0;
  }

  .page-the-thao__security-list {
    margin-top: 25px;
  }

  .page-the-thao__security-list li {
    padding: 15px;
    font-size: 1em;
  }

  .page-the-thao__security-image {
    border-radius: 8px;
  }

  /* FAQ Section Mobile */
  .page-the-thao__faq-section {
    padding: 40px 0;
  }

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

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

  .page-the-thao__faq-toggle {
    font-size: 1.3em;
  }

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

  /* Final CTA Section Mobile */
  .page-the-thao__cta-section {
    padding: 40px 0;
  }

  .page-the-thao__cta-content .page-the-thao__btn-primary {
    margin-top: 25px;
  }

  /* Generic image and container responsive styles */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__content-container,
  .page-the-thao__hero-container,
  .page-the-thao__features-grid,
  .page-the-thao__sport-content,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-list,
  .page-the-thao__security-list,
  .page-the-thao__faq-list,
  .page-the-thao__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}