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

.page-the-thao__hero-section {
  padding-top: 10px;
  padding-bottom: 60px;
  background-color: #FFFFFF;
}

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

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

.page-the-thao__main-title {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #017439;
  max-width: 600px;
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 550px;
}

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

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

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

.page-the-thao__btn-primary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #017439;
}

.page-the-thao__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-the-thao__btn-register:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-the-thao__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-the-thao__btn-login:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-the-thao__hero-image {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: center;
}

.page-the-thao__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.page-the-thao__intro-section,
.page-the-thao__guide-section,
.page-the-thao__promo-section,
.page-the-thao__faq-section,
.page-the-thao__cta-final {
  padding: 60px 0;
}

.page-the-thao__light-bg {
  background-color: #FFFFFF;
}

.page-the-thao__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-the-thao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-the-thao__section-title--white {
  color: #ffffff;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-the-thao__section-description--white {
  color: #f0f0f0;
}

.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 {
  text-align: center;
  padding: 25px;
  border-radius: 12px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-the-thao__feature-icon-box {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e6f7ed; /* Light background for icons */
}

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

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

.page-the-thao__feature-text {
  font-size: 1em;
  color: #555555;
}

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

.page-the-thao__guide-step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-the-thao__guide-step-title {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFF00; /* Highlight step titles */
}

.page-the-thao__guide-step-text {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-the-thao__guide-step-item img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 auto;
}

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

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

.page-the-thao__promo-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-the-thao__promo-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistent card images */
  object-fit: cover;
  display: block;
}

.page-the-thao__promo-title {
  font-size: 1.6em;
  font-weight: 700;
  margin: 20px 15px 10px;
  color: #017439;
}

.page-the-thao__promo-text {
  font-size: 1em;
  margin: 0 15px 25px;
  color: #555555;
  flex-grow: 1;
}

.page-the-thao__promo-card .page-the-thao__btn-secondary {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
}

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

.page-the-thao__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.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: #e6f7ed;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
}

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

.page-the-thao__faq-question:hover {
  background-color: #d1eddd;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
  border-bottom: 1px solid #d1eddd;
}

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

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

.page-the-thao__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  border-top: none;
}

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

.page-the-thao__cta-final {
  text-align: center;
  padding: 80px 0;
}

.page-the-thao__cta-final .page-the-thao__btn-primary {
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: 2.8em;
  }
  .page-the-thao__hero-description {
    font-size: 1.1em;
  }
  .page-the-thao__section-title {
    font-size: 2.2em;
  }
  .page-the-thao__feature-icon-box {
    width: 120px;
    height: 120px;
  }
  .page-the-thao__guide-step-title {
    font-size: 1.6em;
  }
  .page-the-thao__promo-card img {
    
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Fixed header offset */
    padding-bottom: 40px;
  }
  .page-the-thao__hero-container {
    flex-direction: column;
    padding: 30px 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: 2.2em;
    text-align: center;
    max-width: 100%;
  }
  .page-the-thao__hero-description {
    font-size: 1em;
    text-align: center;
    max-width: 100%;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .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 img,
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__section-title {
    font-size: 1.8em;
  }
  .page-the-thao__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-the-thao__intro-section,
  .page-the-thao__guide-section,
  .page-the-thao__promo-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-final {
    padding: 40px 0;
  }
  .page-the-thao__features-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__feature-icon-box {
    width: 100px;
    height: 100px;
  }
  .page-the-thao__feature-title {
    font-size: 1.3em;
  }
  .page-the-thao__guide-step-title {
    font-size: 1.4em;
  }
  .page-the-thao__promo-card img {
    
  }
  .page-the-thao__promo-title {
    font-size: 1.4em;
  }
  .page-the-thao__promo-text {
    font-size: 0.95em;
  }
  .page-the-thao__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-the-thao__faq-toggle {
    font-size: 1.3em;
  }
  .page-the-thao__faq-answer {
    padding: 12px 20px 15px;
  }
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-the-thao__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}