.page-the-thao__hero-section {
  padding-top: 10px; /* Adjusted to prevent double padding with shared header */
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-the-thao__hero-image {
  width: 100%;
  overflow: hidden;
}

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

.page-the-thao__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 15px;
}

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

.page-the-thao__description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for softer look */
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure buttons fit container */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background-color: #C30808; /* Custom color for register */
  color: #FFFF00; /* Custom color for register text */
  border: 2px solid #C30808;
}

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

.page-the-thao__btn-secondary {
  background-color: #FFFFFF;
  color: #017439; /* Brand primary color */
  border: 2px solid #017439;
}

.page-the-thao__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2b;
  border-color: #005a2b;
}

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

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #017439; /* Brand primary color */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-the-thao__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-the-thao__features-section,
.page-the-thao__highlights-section,
.page-the-thao__tips-section,
.page-the-thao__promotions-section,
.page-the-thao__support-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background for content sections */
  color: #333333; /* Dark text for readability */
}

.page-the-thao__features-section {
  background-color: #f8f8f8;
}

.page-the-thao__feature-grid,
.page-the-thao__tip-grid,
.page-the-thao__promotion-grid,
.page-the-thao__support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__feature-card,
.page-the-thao__tip-card,
.page-the-thao__promotion-card,
.page-the-thao__support-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0; /* Ensure visibility on light backgrounds */
}

.page-the-thao__feature-card:hover,
.page-the-thao__tip-card:hover,
.page-the-thao__promotion-card:hover,
.page-the-thao__support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-the-thao__feature-card img,
.page-the-thao__promotion-card img,
.page-the-thao__support-card img {
  width: 100%; /* Ensure images are responsive */
  height: auto;
  max-height: 200px; /* Limit height for aesthetic consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao__card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #017439; /* Brand primary color */
  margin-bottom: 15px;
}

.page-the-thao__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-the-thao__text-content {
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 25px;
  color: #333333;
}

.page-the-thao__highlights-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

.page-the-thao__highlights-list li {
  background-color: #f0fdf4; /* Light green background */
  border-left: 5px solid #017439;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.05rem;
  color: #333333;
}

.page-the-thao__highlights-list li strong {
  color: #017439;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .page-the-thao__hero-content {
    padding: 30px 15px;
  }

  .page-the-thao__main-title {
    font-size: 2rem;
  }

  .page-the-thao__description {
    font-size: 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: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-the-thao__feature-grid,
  .page-the-thao__tip-grid,
  .page-the-thao__promotion-grid,
  .page-the-thao__support-options {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-the-thao__feature-card,
  .page-the-thao__tip-card,
  .page-the-thao__promotion-card,
  .page-the-thao__support-card {
    padding: 20px;
  }

  .page-the-thao__feature-card img,
  .page-the-thao__promotion-card img,
  .page-the-thao__support-card img {
    
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-the-thao__text-content,
  .page-the-thao__card-text,
  .page-the-thao__highlights-list li {
    font-size: 0.95rem;
  }

  .page-the-thao__highlights-list {
    padding: 0 10px;
  }

  .page-the-thao__highlights-list li {
    padding: 12px 15px;
  }

  .page-the-thao__action-area {
    margin-top: 30px;
  }
}