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

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  background-color: #017439; /* Primary color as fallback/base */
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of the image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-the-thao__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  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-color: #C30808; /* Registration/Login color */
  color: #FFFF00; /* Registration/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-the-thao__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

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

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

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

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

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

.page-the-thao__paragraph {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__highlight {
  font-weight: 700;
  color: #017439;
}

.page-the-thao__dark-bg .page-the-thao__paragraph {
  color: #f0f0f0;
}

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

.page-the-thao__sport-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__sport-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-the-thao__sport-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #017439;
  padding: 15px 20px 10px;
}

.page-the-thao__sport-card-description {
  font-size: 0.95rem;
  color: #555555;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-the-thao__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 20px 20px;
  border: 2px solid #017439;
  color: #017439;
  background-color: transparent;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-outline:hover {
  background-color: #017439;
  color: #FFFFFF;
}

.page-the-thao__content-with-image {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-the-thao__content-with-image--reverse {
  flex-direction: row-reverse;
}

.page-the-thao__text-block {
  flex: 1;
}

.page-the-thao__text-block--white {
  color: #f0f0f0;
}

.page-the-thao__text-block--white .page-the-thao__highlight {
  color: #FFFF00;
}

.page-the-thao__image-block {
  flex: 1;
  min-width: 300px;
}

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

.page-the-thao__sub-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-the-thao__sub-title--white {
  color: #FFFFFF;
}

.page-the-thao__ordered-list,
.page-the-thao__unordered-list {
  margin-bottom: 20px;
  padding-left: 25px;
}

.page-the-thao__ordered-list li,
.page-the-thao__unordered-list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-the-thao__unordered-list--white li {
  color: #f0f0f0;
}

.page-the-thao__btn-outline-white {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  background-color: transparent;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-outline-white:hover {
  background-color: #FFFFFF;
  color: #017439;
}

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

.page-the-thao__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-the-thao__promo-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-the-thao__promo-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #017439;
  padding: 15px 20px 10px;
}

.page-the-thao__promo-card-description {
  font-size: 0.95rem;
  color: #555555;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-the-thao__center-button {
  text-align: center;
  margin-top: 40px;
}

.page-the-thao__btn-primary--large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

.page-the-thao__center-content {
  text-align: center;
}

.page-the-thao__center-content .page-the-thao__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-the-thao__faq-item {
  background-color: #f9f9f9;
  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: 15px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #eaf7ed;
  list-style: none;
}

.page-the-thao__faq-question::-webkit-details-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 20px 15px;
  color: #555555;
  font-size: 0.95rem;
}

/* Generic styles from homepage template as required, even if not used in HTML */
.page-the-thao__row-games, .page-the-thao__row-sport, .page-the-thao__row-coop {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}
.page-the-thao__games-title, .page-the-thao__sport-title, .page-the-thao__coop-title {
  color: #fff;
  text-align: center;
}
.page-the-thao__slider-wrapper {
  overflow: hidden;
}
.page-the-thao__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}
.page-the-thao__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
}
.page-the-thao__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.page-the-thao__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.page-the-thao__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.page-the-thao__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-the-thao__btn-outline {
  margin-top: auto;
}
.page-the-thao__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}
.page-the-thao__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-the-thao__description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }
  .page-the-thao__section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
  }
  .page-the-thao__content-with-image {
    flex-direction: column;
    gap: 30px;
  }
  .page-the-thao__content-with-image--reverse {
    flex-direction: column;
  }
  .page-the-thao__text-block, .page-the-thao__image-block {
    flex: none;
    width: 100%;
  }
  .page-the-thao__sports-grid, .page-the-thao__promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-the-thao__blog-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-the-thao__blog-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    min-height: 400px;
  }
  .page-the-thao__hero-image-wrapper {
    max-height: 300px;
  }
  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-the-thao__description {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-the-thao__btn-primary, .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__section {
    padding: 40px 0;
  }
  .page-the-thao__container {
    padding: 0 15px;
  }
  .page-the-thao__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-the-thao__paragraph {
    font-size: 0.9rem;
  }
  .page-the-thao__sub-title {
    font-size: 1.2rem;
    margin-top: 20px;
  }
  .page-the-thao__ordered-list,
  .page-the-thao__unordered-list {
    padding-left: 20px;
  }
  .page-the-thao__ordered-list li,
  .page-the-thao__unordered-list li {
    font-size: 0.9rem;
  }
  .page-the-thao__sports-grid, .page-the-thao__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__sport-card-image, .page-the-thao__promo-card-image {
    height: 160px;
  }
  .page-the-thao__sport-card-title, .page-the-thao__promo-card-title {
    font-size: 1.3rem;
  }
  .page-the-thao__faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }
  .page-the-thao__faq-answer {
    padding: 0 15px 12px;
    font-size: 0.85rem;
  }

  /* Mobile specific image adaptation */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__hero-image-wrapper,
  .page-the-thao__image-block,
  .page-the-thao__sport-card,
  .page-the-thao__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-the-thao__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Generic homepage module mobile rules (as required by prompt) */
  .page-the-thao__blog-masonry {
    grid-template-columns: 1fr;
  }
  .page-the-thao__game-slide {
    flex: 0 0 160px;
    max-width: 160px;
  }
  .page-the-thao__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-the-thao__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .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: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}