.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: transparent; /* Body background is #08162B from shared.css */
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #08162B; /* Deep Navy */
}

.page-the-thao__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
}

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

.page-the-thao__main-title {
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  line-height: 1.2;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for H1 */
}

.page-the-thao__description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button */
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: #AFC4E8; /* Text Secondary */
  border: 2px solid #244D84; /* Border */
}

.page-the-thao__btn-secondary:hover {
  background-color: rgba(43, 115, 246, 0.1);
  color: #F3F8FF; /* Text Main */
}

.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;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-the-thao__intro-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-the-thao__feature-item {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-the-thao__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #1D5FD1; /* Auxiliary Color */
  box-shadow: 0 0 0 8px rgba(29, 95, 209, 0.3);
}

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

.page-the-thao__feature-title {
  font-size: 1.5em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-the-thao__feature-text {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
}

/* Sports Categories Section */
.page-the-thao__sports-categories {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-the-thao__category-card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #AFC4E8;
}

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

.page-the-thao__card-title {
  font-size: 1.3em;
  color: #F3F8FF; /* Text Main */
  margin: 20px 20px 10px 20px;
  line-height: 1.4;
}

.page-the-thao__card-title a {
  color: #F3F8FF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-the-thao__card-title a:hover {
  color: #1D5FD1; /* Auxiliary Color */
}

.page-the-thao__card-text {
  font-size: 0.95em;
  color: #AFC4E8; /* Text Secondary */
  padding: 0 20px 20px 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-the-thao__btn-small {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 600;
  margin: 0 20px 20px 20px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: fit-content;
}

.page-the-thao__btn-small:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Guide Section */
.page-the-thao__guide-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-the-thao__step-item {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: center;
}

.page-the-thao__step-number {
  width: 50px;
  height: 50px;
  background-color: #1D5FD1; /* Auxiliary Color */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  margin: -55px auto 20px auto; /* Pulls number slightly above card */
  box-shadow: 0 4px 15px rgba(29, 95, 209, 0.4);
}

.page-the-thao__step-item:first-child .page-the-thao__step-number {
    margin-top: 0; /* Adjust for first item if needed */
}

.page-the-thao__step-title {
  font-size: 1.4em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-the-thao__step-text {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
}

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

/* Promotion Section */
.page-the-thao__promo-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

.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: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-the-thao__faq-item {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
  background-color: #113B7A; /* Primary Color */
  border-radius: 12px;
  position: relative;
  z-index: 1;
  transition: background-color 0.3s ease;
  list-style: none; /* For <details> summary */
}

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

.page-the-thao__faq-question:hover {
  background-color: #1D5FD1; /* Auxiliary Color */
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  margin-left: 20px;
  color: #ffffff;
}

.page-the-thao__faq-answer {
  padding: 0 25px;
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-answer {
  max-height: 500px; /* Adjust as needed for content length */
  padding: 20px 25px 25px 25px;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Blog Preview Section */
.page-the-thao__blog-preview-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-the-thao__blog-card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

/* Final CTA Section */
.page-the-thao__cta-section {
  padding: 80px 0;
  background-color: #113B7A; /* Primary Color */
  text-align: center;
}

.page-the-thao__cta-section .page-the-thao__section-title,
.page-the-thao__cta-section .page-the-thao__section-description {
  color: #F3F8FF; /* Text Main */
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-container {
    padding: 30px 16px;
  }

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

  .page-the-thao__section-title {
    font-size: 2em;
  }

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

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

@media (max-width: 768px) {
  /* HERO Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Ensure small padding as body handles offset */
    padding-bottom: 40px;
  }
  .page-the-thao__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 20px;
  }
  .page-the-thao__hero-content,
  .page-the-thao__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-the-thao__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    text-align: center;
  }
  .page-the-thao__description {
    font-size: 1em;
    text-align: center;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Intro Section - Module 1 Three Columns */
  .page-the-thao__intro-section {
    padding: 60px 0;
  }
  .page-the-thao__features-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-the-thao__icon-box-media {
    width: 150px;
    height: 150px;
    border: 3px solid #1D5FD1;
    box-shadow: 0 0 0 6px rgba(29, 95, 209, 0.3);
  }

  /* Sports Categories Section */
  .page-the-thao__sports-categories {
    padding: 60px 0;
  }
  .page-the-thao__category-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-the-thao__card-image {
    height: 160px;
  }
  .page-the-thao__btn-small {
    max-width: 100%;
    width: calc(100% - 40px); /* Account for card padding */
    margin-left: 20px;
    margin-right: 20px;
  }

  /* Guide Section */
  .page-the-thao__guide-section {
    padding: 60px 0;
  }
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-the-thao__step-number {
    margin-top: -45px;
  }
  .page-the-thao__step-item:first-child .page-the-thao__step-number {
    margin-top: 0; /* Adjust for first item if needed */
}

  /* Promotion Section */
  .page-the-thao__promo-section {
    padding: 60px 0;
  }
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  /* FAQ Section */
  .page-the-thao__faq-section {
    padding: 60px 0;
  }
  .page-the-thao__faq-list {
    padding: 0 15px;
  }
  .page-the-thao__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-the-thao__faq-answer {
    padding: 15px 20px 20px 20px !important;
  }

  /* Blog Preview Section */
  .page-the-thao__blog-preview-section {
    padding: 60px 0;
  }
  .page-the-thao__blog-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

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

  /* General content area images and containers for mobile */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__container,
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__feature-item,
  .page-the-thao__category-card,
  .page-the-thao__step-item,
  .page-the-thao__promo-card,
  .page-the-thao__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-the-thao__cta-center .page-the-thao__btn-primary,
  .page-the-thao__cta-center .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
  }
}