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

.page-the-thao__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 20px 16px;
}

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

.page-the-thao__section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-the-thao__btn-primary {
  background-color: #C30808; /* Đăng ký/Đăng nhập màu đỏ */
  color: #FFFF00; /* Đăng ký/Đăng nhập font màu vàng */
  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: #C30808;
  border: 2px solid #C30808;
}

.page-the-thao__btn-secondary:hover {
  background-color: #C30808;
  color: #FFFF00;
}

.page-the-thao__btn-text {
  display: inline-block;
  color: #017439;
  text-decoration: none;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

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

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

.page-the-thao__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 16px;
}

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

.page-the-thao__hero-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-the-thao__hero-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-the-thao__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Intro Section */
.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-the-thao__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-the-thao__feature-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-the-thao__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #017439;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.page-the-thao__feature-text {
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
}

/* Sports Types Section */
.page-the-thao__sports-types-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-the-thao__sports-types-section .page-the-thao__section-title,
.page-the-thao__sports-types-section .page-the-thao__section-description {
  color: #ffffff;
}

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

.page-the-thao__content-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

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

.page-the-thao__content-card h3,
.page-the-thao__content-card p {
  padding: 0 20px;
}

.page-the-thao__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #FFFF00; /* Tiêu đề card màu vàng */
}

.page-the-thao__card-text {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__content-card .page-the-thao__btn-text {
  display: block;
  width: fit-content;
  margin: 0 20px 20px;
  color: #FFFF00; /* Nút text màu vàng */
  border: 1px solid #FFFF00;
  padding: 8px 15px;
  border-radius: 5px;
}

.page-the-thao__content-card .page-the-thao__btn-text:hover {
  background-color: #FFFF00;
  color: #017439;
}

/* Guide Section */
.page-the-thao__guide-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-the-thao__guide-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-the-thao__guide-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #017439;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
}

.page-the-thao__guide-step-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-the-thao__guide-step-text {
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
}

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

/* Promo Section */
.page-the-thao__promo-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-the-thao__promo-section .page-the-thao__section-title,
.page-the-thao__promo-section .page-the-thao__section-description {
  color: #ffffff;
}

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

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

.page-the-thao__promo-card .page-the-thao__card-image {
  height: 220px;
}

.page-the-thao__promo-card .page-the-thao__card-title {
  color: #FFFF00;
}

.page-the-thao__promo-card .page-the-thao__btn-text {
  color: #FFFF00;
  border-color: #FFFF00;
}

.page-the-thao__promo-card .page-the-thao__btn-text:hover {
  background-color: #FFFF00;
  color: #017439;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-the-thao__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.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: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-the-thao__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
}

/* Final CTA Section */
.page-the-thao__cta-final-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-the-thao__cta-final-section .page-the-thao__section-title,
.page-the-thao__cta-final-section .page-the-thao__section-description {
  color: #ffffff;
}

.page-the-thao__cta-final-section .page-the-thao__cta-group {
  justify-content: center;
  margin-top: 40px;
}

/* Universal image styles for content sections */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-container {
    flex-direction: column;
    text-align: center;
  }

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

  .page-the-thao__hero-cta-group {
    justify-content: center;
  }

  .page-the-thao__icon-box-media {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-the-thao__hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-the-thao__hero-description {
    font-size: 16px;
  }

  .page-the-thao__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-the-thao__section-title {
    font-size: 28px;
  }

  .page-the-thao__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-the-thao__container {
    padding: 15px;
  }

  .page-the-thao__feature-grid,
  .page-the-thao__content-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__icon-box-media {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
  }

  .page-the-thao__feature-title {
    font-size: 20px;
  }

  .page-the-thao__feature-text {
    font-size: 15px;
  }

  .page-the-thao__card-image {
    height: 180px;
  }

  .page-the-thao__card-title {
    font-size: 20px;
  }

  .page-the-thao__card-text {
    font-size: 15px;
  }

  .page-the-thao__guide-step-title {
    font-size: 20px;
  }

  .page-the-thao__guide-step-text {
    font-size: 15px;
  }

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

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

  /* General image and container responsiveness */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__feature-item,
  .page-the-thao__content-card,
  .page-the-thao__guide-item,
  .page-the-thao__promo-card,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__icon-box-media {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-the-thao__hero-cta-group,
  .page-the-thao__cta-final-section .page-the-thao__cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 10px;
  }
}