.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #FFFFFF;
}

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

.page-the-thao__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-the-thao__section-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-the-thao__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  position: relative;
  background-color: #f0f8f0;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
}

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

.page-the-thao__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1;
}

.page-the-thao__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Using clamp for responsive H1 */
  font-weight: 800;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-the-thao__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao__btn--primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-the-thao__btn--primary:hover {
  background-color: #005f2c;
  transform: translateY(-2px);
}

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

.page-the-thao__btn--secondary:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

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

.page-the-thao__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-the-thao__feature-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-the-thao__sport-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.page-the-thao__sport-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__sport-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
}

.page-the-thao__image-figure {
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
}

.page-the-thao__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 auto;
}

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

.page-the-thao__beginner-guide .page-the-thao__steps-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__step-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #017439;
}

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

.page-the-thao__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-the-thao__step-description a {
  color: #017439;
  text-decoration: underline;
}

.page-the-thao__step-description a:hover {
  color: #005f2c;
}

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

.page-the-thao__promo-item {
  background-color: #f0f8f0;
  padding: 25px;
  border-radius: 8px;
  border: 1px dashed #017439;
  text-align: center;
}

.page-the-thao__promo-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__promo-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
}

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

.page-the-thao__tip-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 3px solid #017439;
}

.page-the-thao__tip-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__tip-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-the-thao__tip-description a {
  color: #017439;
  text-decoration: underline;
}

.page-the-thao__tip-description a:hover {
  color: #005f2c;
}

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

.page-the-thao__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  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.2em;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #f0f8f0;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 15px 25px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
}

.page-the-thao__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

.page-the-thao__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-the-thao__faq-answer a:hover {
  color: #005f2c;
}

.page-the-thao__conclusion .page-the-thao__text-block {
  margin-bottom: 30px;
}

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

@media (max-width: 1024px) {
  .page-the-thao__section-title {
    font-size: 2.4em;
  }

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

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

  .page-the-thao__feature-item,
  .page-the-thao__sport-item,
  .page-the-thao__promo-item,
  .page-the-thao__tip-item {
    padding: 20px;
  }

  .page-the-thao__feature-title,
  .page-the-thao__sport-title,
  .page-the-thao__promo-title,
  .page-the-thao__step-title,
  .page-the-thao__tip-title {
    font-size: 1.3em;
  }
}

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

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

  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-the-thao__hero-content {
    padding: 30px 15px !important;
  }

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

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

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

  .page-the-thao__text-block {
    font-size: 0.95em !important;
    text-align: left !important;
  }

  /* Buttons and Button Containers */
  .page-the-thao__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !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: 12px 15px !important;
    font-size: 1em !important;
  }

  /* General Images and Figures */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-the-thao__image-figure {
    margin: 30px auto !important;
    max-width: 100% !important;
    padding: 0 0px !important;
  }

  .page-the-thao__image-caption {
    font-size: 0.85em !important;
  }

  /* Single-column long text container / info cards / promo boxes */
  .page-the-thao__feature-list,
  .page-the-thao__sport-list,
  .page-the-thao__promo-list,
  .page-the-thao__tips-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-the-thao__feature-item,
  .page-the-thao__sport-item,
  .page-the-thao__promo-item,
  .page-the-thao__step-item,
  .page-the-thao__tip-item {
    padding: 20px !important;
    text-align: left !important;
  }

  .page-the-thao__feature-title,
  .page-the-thao__sport-title,
  .page-the-thao__promo-title,
  .page-the-thao__step-title,
  .page-the-thao__tip-title {
    font-size: 1.2em !important;
  }

  .page-the-thao__feature-description,
  .page-the-thao__sport-description,
  .page-the-thao__promo-description,
  .page-the-thao__step-description,
  .page-the-thao__tip-description {
    font-size: 0.9em !important;
  }

  /* FAQ section */
  .page-the-thao__faq-list {
    padding: 0 !important;
  }

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

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

  .page-the-thao__faq-answer {
    padding: 15px 20px !important;
    font-size: 0.9em !important;
  }
}