.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff;
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
}

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

/* HERO Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #26A9E0, #4CAF50); /* Brand color gradient */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-the-thao__hero-text {
  flex: 1 1 50%;
  min-width: 300px;
  order: 2; /* Text below image on desktop, if image is first in DOM */
}

.page-the-thao__hero-image {
  flex: 1 1 40%;
  text-align: center;
  order: 1; /* Image above text on desktop */
}

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

.page-the-thao__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 600px;
}

.page-the-thao__description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.page-the-thao__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-the-thao__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87c0;
}

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

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

.page-the-thao__feature-item {
  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__feature-item:hover {
  transform: translateY(-5px);
}

.page-the-thao__feature-icon {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e0f2f7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-the-thao__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-the-thao__feature-text {
  font-size: 1em;
  color: #666666;
}

/* Why Choose Us Section */
.page-the-thao__why-choose-us {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff; /* White text for contrast */
}

.page-the-thao__why-choose-us .page-the-thao__section-title {
  color: #ffffff;
}

.page-the-thao__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-the-thao__image-side {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-the-thao__image-side img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-the-thao__text-side {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-the-thao__advantage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-the-thao__advantage-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-the-thao__advantage-list h3 {
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 5px;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.page-the-thao__advantage-list p {
  font-size: 1em;
  color: #f0f0f0;
  margin: 0;
}

.page-the-thao__icon-check {
  color: #EA7C07; /* Accent color for checkmark */
  font-size: 1.5em;
  margin-right: 10px;
}

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

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

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

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

.page-the-thao__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  background-color: #e0f2f7;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.page-the-thao__step-item h3 {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-the-thao__step-item p {
  font-size: 1em;
  color: #666666;
}

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

/* News & Schedule Section */
.page-the-thao__news-schedule-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-the-thao__card {
  display: block;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: #333333;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.page-the-thao__card img {
  width: 100%;
  height: 225px; /* Fixed height for consistent card image size */
  object-fit: cover;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.page-the-thao__card-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin: 15px 15px 10px;
  line-height: 1.4;
}

.page-the-thao__card-text {
  font-size: 0.95em;
  color: #666666;
  margin: 0 15px 15px;
}

.page-the-thao__card-date {
  display: block;
  font-size: 0.85em;
  color: #999999;
  margin: 0 15px 15px;
  text-align: right;
}

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

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-the-thao__container,
  .page-the-thao__hero-content-wrapper {
    padding: 20px 15px !important;
  }

  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px !important;
  }

  .page-the-thao__hero-content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-the-thao__hero-text {
    order: 2; /* Text below image on mobile */
    flex: 1 1 100%;
  }

  .page-the-thao__hero-image {
    order: 1; /* Image above text on mobile */
    flex: 1 1 100%;
  }

  .page-the-thao__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
    text-align: center;
  }

  .page-the-thao__description {
    font-size: 1em;
    text-align: center;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-the-thao__section-title {
    font-size: 2em;
  }

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

  .page-the-thao__features-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__feature-icon {
    width: 120px;
    height: 120px;
  }

  .page-the-thao__feature-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .page-the-thao__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-the-thao__image-side,
  .page-the-thao__text-side {
    flex: 1 1 100%;
  }

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

  .page-the-thao__card img {
     /* Adjust card image height for mobile */
  }

  .page-the-thao__card,
  .page-the-thao__feature-item,
  .page-the-thao__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-the-thao__advantage-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-the-thao__advantage-list h3 {
    text-align: center;
    justify-content: center;
    margin-bottom: 5px;
  }

  .page-the-thao__icon-check {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 1024px) {
  .page-the-thao__hero-content-wrapper {
    gap: 30px;
  }
  .page-the-thao__hero-text,
  .page-the-thao__hero-image {
    flex: 1 1 100%;
  }
  .page-the-thao__hero-text {
    order: 2;
  }
  .page-the-thao__hero-image {
    order: 1;
  }
  .page-the-thao__main-title,
  .page-the-thao__description {
    text-align: center;
  }
  .page-the-thao__cta-buttons {
    justify-content: center;
  }
  .page-the-thao__content-wrapper {
    flex-direction: column;
  }
  .page-the-thao__image-side,
  .page-the-thao__text-side {
    flex: 1 1 100%;
  }
  .page-the-thao__feature-icon {
    width: 140px;
    height: 140px;
  }
  .page-the-thao__feature-icon img {
    width: 100%;
    height: 100%;
  }
  .page-the-thao__advantage-list li {
    gap: 10px;
  }
  .page-the-thao__advantage-list h3 {
    font-size: 1.2em;
  }
  .page-the-thao__advantage-list p {
    font-size: 0.95em;
  }
  .page-the-thao__step-number {
    font-size: 2em;
    width: 60px;
    height: 60px;
  }
  .page-the-thao__card-title {
    font-size: 1.2em;
  }
  .page-the-thao__card-text {
    font-size: 0.9em;
  }
}