.page-the-thao {
  color: var(--text-main, #F3F8FF);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* --- Hero Section --- */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
  padding-bottom: 40px;
  background-color: var(--color-deep-navy, #08162B); /* Ensure dark background for contrast */
  color: var(--text-main, #F3F8FF);
  overflow: hidden; /* Prevent content overflow */
}

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

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

.page-the-thao__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main, #F3F8FF);
  max-width: 600px; /* Prevent title from being too wide */
}

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

.page-the-thao__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping for desktop, mobile will override */
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-the-thao__btn-secondary:hover {
  background: var(--border-color, #244D84);
  color: #F3F8FF;
}

.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 20px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure no extra space below image */
}

/* --- General Section Styling --- */
.page-the-thao__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 15px;
  box-sizing: border-box;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: inherit; /* Inherit from parent section for contrast */
}

.page-the-thao__text-block {
  font-size: 1.05em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: inherit; /* Inherit from parent section for contrast */
}

/* --- Intro Section (with icon boxes) --- */
.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: var(--background-light, #ffffff); /* Using light bg for contrast */
  color: #333333; /* Dark text on light background */
}
.page-the-thao__intro-section .page-the-thao__section-title,
.page-the-thao__intro-section .page-the-thao__text-block {
    color: #333333;
}

.page-the-thao__icon-boxes {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-the-thao__icon-box {
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  padding: 25px;
  border-radius: 12px;
  background-color: var(--card-bg, #10233F); /* Dark card background */
  color: var(--text-main, #F3F8FF); /* Light text */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color, #244D84);
}

.page-the-thao__icon-box-media {
  width: 200px; /* Must be at least 200x200 */
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--glow-color, #4FA8FF);
  box-shadow: 0 0 15px var(--glow-color, #4FA8FF);
}

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

.page-the-thao__icon-box-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold-color, #F2C14E); /* Gold color for titles */
}

.page-the-thao__icon-box-text {
  font-size: 0.95em;
  color: var(--text-secondary, #AFC4E8);
}

/* --- Sports Types Section --- */
.page-the-thao__sports-types-section {
  padding: 60px 0;
  background-color: var(--color-deep-navy, #08162B);
  color: var(--text-main, #F3F8FF);
}

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

.page-the-thao__sports-card {
  background-color: var(--card-bg, #10233F);
  color: var(--text-main, #F3F8FF);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color, #244D84);
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure cards have equal height */
}

.page-the-thao__sports-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-the-thao__sports-card-title {
  font-size: 1.4em;
  font-weight: bold;
  padding: 15px 20px 10px;
  color: var(--gold-color, #F2C14E);
}

.page-the-thao__sports-card-description {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: var(--text-secondary, #AFC4E8);
  flex-grow: 1; /* Push button to bottom */
}

.page-the-thao__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin: 0 20px 20px;
  text-align: center;
}

/* --- Guide Section --- */
.page-the-thao__guide-section {
  padding: 60px 0;
  background-color: var(--background-light, #ffffff);
  color: #333333;
}
.page-the-thao__guide-section .page-the-thao__section-title,
.page-the-thao__guide-section .page-the-thao__text-block {
    color: #333333;
}

.page-the-thao__guide-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__guide-step {
  flex: 1 1 280px;
  max-width: 350px;
  background-color: var(--card-bg, #10233F);
  color: var(--text-main, #F3F8FF);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color, #244D84);
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-the-thao__step-number {
  position: absolute;
  top: -20px; /* Position outside the box */
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--glow-color, #4FA8FF);
}

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

.page-the-thao__step-description {
  font-size: 0.95em;
  color: var(--text-secondary, #AFC4E8);
}

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

/* --- Promotions Section --- */
.page-the-thao__promotions-section {
  padding: 60px 0;
  background-color: var(--color-deep-navy, #08162B);
  color: var(--text-main, #F3F8FF);
}

.page-the-thao__promo-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-the-thao__promo-card {
  flex: 1 1 400px;
  max-width: 550px;
  background-color: var(--card-bg, #10233F);
  color: var(--text-main, #F3F8FF);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color, #244D84);
}

.page-the-thao__promo-card-image {
  width: 100%;
  height: 250px; /* Example fixed height */
  object-fit: cover;
  display: block;
}

.page-the-thao__promo-card-title {
  font-size: 1.5em;
  font-weight: bold;
  padding: 15px 20px 10px;
  color: var(--gold-color, #F2C14E);
}

.page-the-thao__promo-card-description {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: var(--text-secondary, #AFC4E8);
}

/* --- FAQ Section --- */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: var(--background-light, #ffffff);
  color: #333333;
}
.page-the-thao__faq-section .page-the-thao__section-title {
    color: #333333;
}

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

.page-the-thao__faq-item {
  background-color: var(--card-bg, #10233F);
  color: var(--text-main, #F3F8FF);
  border: 1px solid var(--divider-color, #1B3357);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--color-deep-navy, #08162B); /* Darker background for question */
  color: var(--text-main, #F3F8FF);
  user-select: none;
  list-style: none; /* Remove default marker for details summary */
}

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

.page-the-thao__faq-qtext {
  flex-grow: 1;
  color: var(--text-main, #F3F8FF);
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color, #F2C14E);
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg); /* Rotate + to form X or similar */
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--text-secondary, #AFC4E8);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-answer {
  max-height: 500px; /* Sufficiently large value for content */
  padding-top: 15px;
}

/* --- CTA Bottom Section --- */
.page-the-thao__cta-bottom-section {
  padding: 80px 0;
  background-color: var(--color-deep-navy, #08162B);
  color: var(--text-main, #F3F8FF);
}

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

/* --- Responsive Design (Mobile First adjustments for larger screens) --- */
/* Default styles are mobile-friendly, adjusting for larger screens */

/* Tablet & Desktop */
@media (max-width: 1024px) {
  .page-the-thao__hero-title {
    font-size: 2.8em;
  }
  .page-the-thao__section-title {
    font-size: 2em;
  }
  .page-the-thao__icon-box-media {
    width: 180px;
    height: 180px;
  }
  .page-the-thao__sports-card-image {
    height: 180px;
  }
  .page-the-thao__promo-card-image {
    height: 200px;
  }
}

/* Mobile Specific Styles (max-width: 768px) */
@media (max-width: 768px) {
  /* General container and image rules for mobile */
  .page-the-thao__content-area,
  .page-the-thao__hero-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Hero Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Adhere to the 10px rule */
    padding-bottom: 30px;
  }

  .page-the-thao__hero-container {
    flex-direction: column;
    gap: 30px;
    padding-top: 20px;
  }

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

  .page-the-thao__hero-title {
    font-size: 2.2em;
    max-width: 100%;
    margin: 0 auto 15px;
  }

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

  .page-the-thao__cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 10px;
  }

  .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__hero-image {
    flex: 1 1 auto;
    width: 100%;
  }

  .page-the-thao__hero-side-image {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Intro Section */
  .page-the-thao__intro-section {
    padding: 40px 0;
  }
  .page-the-thao__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-the-thao__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-the-thao__icon-boxes {
    gap: 20px;
  }
  .page-the-thao__icon-box {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-the-thao__icon-box-media {
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
  }
  .page-the-thao__icon-box-media img {
    height: 100% !important;
    width: 100% !important;
  }

  /* Sports Types Section */
  .page-the-thao__sports-types-section {
    padding: 40px 0;
  }
  .page-the-thao__sports-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__sports-card {
    max-width: 100%;
  }
}"