.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

.page-the-thao__section {
  padding: 40px 0;
}

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

.page-the-thao__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: #FFF3E6;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background-color: #0D0E12;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-the-thao__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__hero-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-the-thao__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-the-thao__btn--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
}

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

.page-the-thao__btn--secondary {
  background: none;
  color: #FFA53A;
  border: 2px solid #FFA53A;
}

.page-the-thao__btn--secondary:hover {
  background: rgba(255, 165, 58, 0.1);
  color: #FFF3E6;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 165, 58, 0.2);
}

.page-the-thao__text-block {
  font-size: 1.05em;
  color: #FFF3E6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__text-block strong {
  color: #FFA53A;
}

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

.page-the-thao__sport-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 176, 77, 0.3);
}

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

.page-the-thao__card-title {
  font-size: 1.6em;
  color: #FFB04D;
  padding: 15px 20px 0;
  margin-bottom: 10px;
}

.page-the-thao__card-text {
  font-size: 0.95em;
  color: #FFF3E6;
  padding: 0 20px 20px;
}

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

.page-the-thao__step-card {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-the-thao__step-title {
  font-size: 1.4em;
  color: #FFB04D;
  margin-bottom: 10px;
}

.page-the-thao__step-text {
  font-size: 0.95em;
  color: #FFF3E6;
}

.page-the-thao__step-text a {
  color: #FFA53A;
  text-decoration: none;
}

.page-the-thao__step-text a:hover {
  text-decoration: underline;
}

.page-the-thao__guide-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.page-the-thao__info-card {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__card-subtitle {
  font-size: 1.5em;
  color: #FFB04D;
  margin-bottom: 15px;
}

.page-the-thao__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-the-thao__promo-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #FFF3E6;
  font-size: 1.05em;
}

.page-the-thao__promo-item::before {
  content: '★';
  color: #FFA53A;
  font-size: 1.2em;
  font-weight: bold;
}

.page-the-thao__promo-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__promo-image {
  width: 100%;
  max-width: 680px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-the-thao__tip-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-the-thao__tip-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: #FFF3E6;
  font-size: 1.05em;
}

.page-the-thao__tip-item::before {
  content: '✓';
  color: #FFA53A;
  font-size: 1.2em;
  font-weight: bold;
  flex-shrink: 0;
}

.page-the-thao__tips-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-the-thao__dark-section {
  background-color: #17191F; /* Card BG for darker contrast */
  border-top: 2px solid #A84F0C;
  border-bottom: 2px solid #A84F0C;
  padding: 60px 0;
}

.page-the-thao__dark-section .page-the-thao__section-title {
  color: #FFF3E6; /* Text Main for titles on dark background */
}

.page-the-thao__advantages-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-the-thao__advantage-item {
  background-color: rgba(255, 165, 58, 0.1); /* Light orange tint */
  border: 1px solid #FFA53A;
  border-radius: 8px;
  padding: 15px 20px;
  color: #FFF3E6;
  font-size: 1.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-the-thao__advantage-item::before {
  content: '⚡';
  font-size: 1.2em;
  flex-shrink: 0;
}

.page-the-thao__final-cta {
  margin-top: 40px;
  text-align: center;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 0 15px;
  }

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

  .page-the-thao__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }

  .page-the-thao__hero-description {
    font-size: 1em;
  }

  .page-the-thao__grid-layout,
  .page-the-thao__guide-steps,
  .page-the-thao__info-cards,
  .page-the-thao__advantages-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

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

/* Mobile specific styles */
@media (max-width: 768px) {
  /* 1. Top section title + Dual CTA */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

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

  .page-the-thao__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box !important;
  }

  .page-the-thao__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;
  }

  /* 2. Single column long text containers */
  .page-the-thao__section {
    padding: 30px 0;
  }

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

  .page-the-thao__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
    margin-bottom: 20px;
  }

  .page-the-thao__text-block {
    font-size: 1em;
    margin-bottom: 15px;
  }

  /* Cards */
  .page-the-thao__sport-card,
  .page-the-thao__step-card,
  .page-the-thao__info-card,
  .page-the-thao__promo-item,
  .page-the-thao__tip-item,
  .page-the-thao__advantage-item {
    padding: 20px;
    margin-bottom: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__card-title {
    font-size: 1.4em;
  }

  .page-the-thao__card-text,
  .page-the-thao__step-text {
    font-size: 0.9em;
  }

  /* 3. Generic images and figure */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-the-thao__hero-image-wrapper,
  .page-the-thao__promo-cta,
  .page-the-thao__guide-image,
  .page-the-thao__tips-image {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

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

  /* 4. Buttons and button containers */
  .page-the-thao__promo-cta {
    flex-direction: column;
    gap: 20px;
  }

  /* Ensure all buttons explicitly get mobile styles */
  .page-the-thao__btn,
  .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;
  }

  .page-the-thao__hero-cta-buttons,
  .page-the-thao__promo-cta,
  .page-the-thao__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 5. Registration tutorial & FAQ (not present here, but structure for completeness) */
  /* If there were h3 paragraphs for FAQ, their font sizes/margins would be adjusted here */
}