.page-ththao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* Body background from shared.css */
}

.page-ththao__dark-bg {
  background-color: #08160F;
  color: #F2FFF6; /* Light text for dark background */
}

.page-ththao__light-bg {
  background-color: #f8f8f8;
  color: #333333; /* Dark text for light background */
}

.page-ththao__card {
  background-color: #11271B;
  color: #F2FFF6;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-ththao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: inherit; /* Inherit color from parent section */
}

.page-ththao__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

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

.page-ththao__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-ththao__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-ththao__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  background-color: #ffffff;
  color: #11A84E;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  border: 2px solid #11A84E;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-ththao__btn-secondary:hover {
  background-color: #11A84E;
  color: #ffffff;
}

/* Hero Section */
.page-ththao__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden;
}

.page-ththao__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-ththao__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-ththao__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-ththao__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #A7D9B8;
}

/* Intro Section */
.page-ththao__intro-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-ththao__feature-item {
  text-align: center;
}

.page-ththao__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-ththao__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #11A84E;
}

.page-ththao__feature-description {
  font-size: 1em;
  color: #333333;
}

/* Popular Sports Section */
.page-ththao__popular-sports-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-ththao__sport-card {
  text-align: left;
  overflow: hidden;
}

.page-ththao__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-ththao__sport-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-ththao__sport-description {
  font-size: 1em;
  color: #A7D9B8;
}

.page-ththao__cta-buttons {
  margin-top: 40px;
  text-align: center;
}

/* Guide Section */
.page-ththao__guide-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-ththao__step-item {
  text-align: center;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-ththao__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #11A84E;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-ththao__step-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #11A84E;
}

.page-ththao__step-description {
  font-size: 0.95em;
  color: #333333;
}

.page-ththao__step-description a {
  color: #22C768;
  text-decoration: none;
}

.page-ththao__step-description a:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-ththao__promotions-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-ththao__promo-card {
  text-align: left;
  overflow: hidden;
}

.page-ththao__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-ththao__promo-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-ththao__promo-description {
  font-size: 1em;
  color: #A7D9B8;
  margin-bottom: 20px;
}

/* Mobile Section */
.page-ththao__mobile-section {
  padding: 60px 0;
  text-align: center;
}

.page-ththao__mobile-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-ththao__mobile-content {
  flex: 1;
}

.page-ththao__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-ththao__mobile-image {
  width: 100%;
  height: auto;
  max-width: 500px;
  display: block;
  margin: 0 auto;
}

.page-ththao__mobile-benefits {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
}

.page-ththao__mobile-benefits li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #333333;
  display: flex;
  align-items: flex-start;
}

.page-ththao__bullet {
  color: #11A84E;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
}

/* Support Section */
.page-ththao__support-section {
  padding: 60px 0;
  text-align: center;
}

.page-ththao__support-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-ththao__support-content {
  flex: 1;
}

.page-ththao__support-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-ththao__support-image {
  width: 100%;
  height: auto;
  max-width: 500px;
  display: block;
  margin: 0 auto;
}

.page-ththao__support-channels {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
}

.page-ththao__support-channels li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #A7D9B8;
  display: flex;
  align-items: flex-start;
}

/* FAQ Section */
.page-ththao__faq-section {
  padding: 60px 0;
}

.page-ththao__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-ththao__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #11A84E;
  cursor: pointer;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.page-ththao__faq-question:hover {
  background-color: #e9e9e9;
}

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

.page-ththao__faq-question::marker {
  display: none;
}

.page-ththao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-ththao__faq-item[open] .page-ththao__faq-toggle {
  transform: rotate(45deg);
}

.page-ththao__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #333333;
  border-top: 1px solid #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-ththao__hero-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-ththao__mobile-flex,
  .page-ththao__support-flex {
    flex-direction: column;
    text-align: center;
  }

  .page-ththao__mobile-image-wrapper,
  .page-ththao__support-image-wrapper {
    order: -1; /* Image above content on smaller screens */
    margin-bottom: 30px;
  }

  .page-ththao__mobile-benefits,
  .page-ththao__support-channels {
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .page-ththao__hero-section,
  .page-ththao__intro-section,
  .page-ththao__popular-sports-section,
  .page-ththao__guide-section,
  .page-ththao__promotions-section,
  .page-ththao__mobile-section,
  .page-ththao__support-section,
  .page-ththao__faq-section {
    padding: 40px 0;
  }

  .page-ththao__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-ththao__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* Responsive Images */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Responsive Image Containers */
  .page-ththao__hero-section,
  .page-ththao__intro-section,
  .page-ththao__popular-sports-section,
  .page-ththao__guide-section,
  .page-ththao__promotions-section,
  .page-ththao__mobile-section,
  .page-ththao__support-section,
  .page-ththao__faq-section,
  .page-ththao__container,
  .page-ththao__card,
  .page-ththao__feature-item,
  .page-ththao__sport-card,
  .page-ththao__promo-card,
  .page-ththao__mobile-image-wrapper,
  .page-ththao__support-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Responsive Buttons */
  .page-ththao__btn-primary,
  .page-ththao__btn-secondary,
  .page-ththao a[class*="button"],
  .page-ththao 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;
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }

  .page-ththao__cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-ththao__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-ththao__features-grid,
  .page-ththao__sports-grid,
  .page-ththao__promo-cards {
    grid-template-columns: 1fr;
  }

  .page-ththao__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-ththao__faq-answer {
    padding: 15px 20px;
  }

  .page-ththao__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Ensure content area images are not smaller than 200px display size */
  .page-ththao__intro-section .page-ththao__feature-image,
  .page-ththao__popular-sports-section .page-ththao__sport-image,
  .page-ththao__promotions-section .page-ththao__promo-image,
  .page-ththao__mobile-section .page-ththao__mobile-image,
  .page-ththao__support-section .page-ththao__support-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-ththao__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .page-ththao__btn-primary,
  .page-ththao__btn-secondary {
    font-size: 0.9em;
    padding: 12px 20px;
  }
}