.page-the-thao__hero-section {
  padding-top: 10px;
  padding-bottom: 40px;
  background: linear-gradient(135deg, #017439, #0d5c31);
  color: #ffffff;
}

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

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

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

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

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

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

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

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

.page-the-thao__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-the-thao__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  color: #017439;
}

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

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

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

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

.page-the-thao__icon-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-the-thao__icon-box {
  flex: 1 1 calc(33% - 20px);
  min-width: 280px;
  text-align: center;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-the-thao__icon-box: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;
  box-shadow: 0 0 0 8px rgba(1, 116, 57, 0.2);
}

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

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

.page-the-thao__icon-box-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
}

.page-the-thao__sports-types-section {
  padding: 60px 0;
}

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

.page-the-thao__sport-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-the-thao__sport-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-the-thao__sport-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 15px 20px;
  color: #666666;
}

.page-the-thao__btn-small {
  display: inline-block;
  padding: 8px 20px;
  margin-bottom: 20px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-small:hover {
  background-color: #0d5c31;
}

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

.page-the-thao__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 30px;
  max-width: 800px;
  text-align: left;
}

.page-the-thao__promo-list li {
  background-color: #f0f8f0;
  border-left: 5px solid #017439;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333333;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-the-thao__text-center {
  text-align: center;
}

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

.page-the-thao__guide-steps {
  list-style: none;
  padding: 0;
  margin: 40px auto 30px;
  max-width: 800px;
}

.page-the-thao__guide-steps li {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  counter-increment: step-counter;
  position: relative;
  padding-left: 70px;
  color: #333333;
}

.page-the-thao__guide-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
}

.page-the-thao__guide-step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439;
}

.page-the-thao__guide-steps li p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
}

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

.page-the-thao__faq-list {
  max-width: 800px;
  margin: 40px auto;
}

.page-the-thao__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-the-thao__faq-item[open] {
  background-color: #ffffff;
  border-color: #017439;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  list-style: none;
  position: relative;
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  margin-left: 15px;
  color: #C30808; /* Register/Login color */
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  color: #017439;
}

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

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

.page-the-thao__join-section {
  padding: 60px 0;
  text-align: center;
}

/* General image responsiveness */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-the-thao__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 20px;
  }

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

  .page-the-thao__hero-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .page-the-thao__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .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__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;
  }

  .page-the-thao__hero-image {
    order: -1; /* Move image above content on mobile */
  }

  .page-the-thao__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

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

  .page-the-thao__intro-section {
    padding: 40px 0;
  }

  .page-the-thao__icon-box {
    flex: 1 1 100%;
    padding: 20px;
  }

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

  .page-the-thao__icon-box-title {
    font-size: 1.3rem;
  }

  .page-the-thao__sports-types-section {
    padding: 40px 0;
  }

  .page-the-thao__sports-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__sport-card-image {
    height: 180px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__promo-section {
    padding: 40px 0;
  }

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

  .page-the-thao__promo-list li {
    font-size: 0.95rem;
    padding: 12px 15px;
    margin-bottom: 10px;
  }

  .page-the-thao__guide-section {
    padding: 40px 0;
  }

  .page-the-thao__guide-steps {
    margin-top: 30px;
  }

  .page-the-thao__guide-steps li {
    padding: 20px 15px 20px 60px;
    margin-bottom: 15px;
  }

  .page-the-thao__guide-steps li::before {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    left: 15px;
    top: 20px;
  }

  .page-the-thao__guide-step-title {
    font-size: 1.2rem;
  }

  .page-the-thao__guide-steps li p {
    font-size: 0.9rem;
  }

  .page-the-thao__faq-section {
    padding: 40px 0;
  }

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

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

  .page-the-thao__faq-toggle {
    font-size: 1.5rem;
  }

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

  .page-the-thao__join-section {
    padding: 40px 0;
  }

  /* Generic image rules for content area */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}