.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy-color); /* From shared.css, which is #08162B */
}

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

.page-the-thao__text-center {
  text-align: center;
}

.page-the-thao__top-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
  border-bottom: 1px solid #1B3357;
}

.page-the-thao__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F3F8FF;
  letter-spacing: -0.03em;
}

.page-the-thao__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #AFC4E8; /* Text Secondary */
}

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

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: none;
  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);
  opacity: 0.9;
}

.page-the-thao__btn-secondary {
  background: #10233F; /* Card BG */
  color: #4FA8FF; /* Glow */
  border: 2px solid #244D84; /* Border */
}

.page-the-thao__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background-color: #113B7A;
}

.page-the-thao__btn-small {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 6px;
}

.page-the-thao__section {
  padding: 60px 0;
  border-bottom: 1px solid #1B3357; /* Divider */
}

.page-the-thao__section:last-of-type {
  border-bottom: none;
}

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F3F8FF;
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.3;
}

.page-the-thao__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-the-thao__paragraph {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #AFC4E8; /* Text Secondary */
}

.page-the-thao__highlight {
  color: #F2C14E;
  font-weight: 600;
}

.page-the-thao__image-wrapper {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-the-thao__image-caption {
  font-size: 0.9rem;
  color: #AFC4E8;
  margin-top: 10px;
  font-style: italic;
}

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

.page-the-thao__feature-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-the-thao__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-the-thao__feature-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #AFC4E8;
}

.page-the-thao__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.page-the-thao__step-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-the-thao__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F3F8FF;
  margin-bottom: 15px;
}

.page-the-thao__step-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #AFC4E8;
  margin-bottom: 20px;
}

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

.page-the-thao__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F3F8FF;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #F2C14E; /* Gold */
  user-select: none;
  list-style: none; /* Hide default marker for details summary */
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  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: 1rem;
  line-height: 1.6;
  color: #AFC4E8;
}

.page-the-thao__faq-answer p {
    margin: 0; /* Reset margin for paragraphs inside answer */
    color: #AFC4E8;
}

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

  .page-the-thao__top-section {
    padding-bottom: 30px;
  }

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

  .page-the-thao__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-the-thao__btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

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

  .page-the-thao__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
    margin-bottom: 30px;
  }

  .page-the-thao__sub-title {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-the-thao__paragraph {
    font-size: 0.95rem;
  }

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

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

  .page-the-thao__feature-description {
    font-size: 0.9rem;
  }

  .page-the-thao__step-card {
    padding: 20px;
  }

  .page-the-thao__step-title {
    font-size: 1.2rem;
  }

  .page-the-thao__step-description {
    font-size: 0.9rem;
  }

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

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

@media (max-width: 768px) {
  /* 1. Top section title + dual CTA */
  .page-the-thao__top-section {
    padding-top: 10px !important; /* Small top padding, explicitly for mobile */
    padding-bottom: 25px;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important; /* Smaller on mobile */
    margin-bottom: 15px !important;
  }

  .page-the-thao__description {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
    padding: 0 10px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
    padding: 0 15px;
  }

  /* 4. Buttons and button containers */
  .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;
  }

  .page-the-thao__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Ensure wrapping for any remaining horizontal layouts */
  }

  /* 2. Single column long article container */
  .page-the-thao__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__section {
    padding: 30px 0 !important;
  }

  .page-the-thao__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
    margin-bottom: 25px !important;
  }

  .page-the-thao__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem) !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
  }

  .page-the-thao__paragraph {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }

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

  .page-the-thao__image-wrapper {
    margin: 20px auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__image-caption {
    font-size: 0.8rem !important;
  }

  .page-the-thao__feature-list {
    grid-template-columns: 1fr !important; /* Stack features vertically */
    gap: 20px !important;
    margin: 20px 0 !important;
  }

  .page-the-thao__feature-item {
    padding: 20px !important;
  }

  .page-the-thao__feature-title {
    font-size: 1.2rem !important;
  }

  .page-the-thao__feature-description {
    font-size: 0.85rem !important;
  }

  /* 5. Registration tutorial and FAQ blocks */
  .page-the-thao__step-by-step {
    grid-template-columns: 1fr !important; /* Stack steps vertically */
    gap: 15px !important;
    margin: 25px 0 !important;
  }

  .page-the-thao__step-card {
    padding: 20px !important;
  }

  .page-the-thao__step-title {
    font-size: 1.1rem !important;
  }

  .page-the-thao__step-description {
    font-size: 0.85rem !important;
  }

  .page-the-thao__faq-list {
    margin-top: 25px !important;
  }

  .page-the-thao__faq-item {
    margin-bottom: 10px !important;
  }

  .page-the-thao__faq-question {
    padding: 15px 20px !important;
    font-size: 0.95rem !important;
  }

  .page-the-thao__faq-toggle {
    font-size: 1.2rem !important;
  }

  .page-the-thao__faq-answer {
    padding: 0 20px 15px !important;
    font-size: 0.85rem !important;
  }
}