.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
}

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  margin-bottom: 40px;
  background-color: #E53935; /* Main color */
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast */
}

.page-the-thao__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 800px;
  width: 90%;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 8px;
}

.page-the-thao__main-title {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-the-thao__hero-cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-the-thao__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button color */
  color: #ffffff;
  border: 2px solid #E53935;
}

.page-the-thao__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-the-thao__btn--secondary {
  background: #ffffff;
  color: #E53935; /* Main color */
  border: 2px solid #E53935;
}

.page-the-thao__btn--secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-the-thao__content-section {
  padding: 20px 0;
  margin-bottom: 40px;
}

.page-the-thao__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.page-the-thao__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #E53935; /* Main color */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-the-thao__article-content p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-the-thao__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-the-thao__figure {
  margin: 30px 0;
  text-align: center;
}

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

.page-the-thao__figure-caption {
  font-style: italic;
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

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

.page-the-thao__card {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.page-the-thao__card-content {
  padding: 20px;
}

.page-the-thao__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #E53935; /* Main color */
  margin-bottom: 10px;
}

.page-the-thao__card-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
}

.page-the-thao__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 6px;
}

.page-the-thao__promo-box {
  background-color: #FFF3E0; /* Light orange background for promo */
  border-left: 5px solid #FF5A4F; /* Auxiliary color */
  padding: 25px;
  margin: 40px 0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-the-thao__promo-text {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
}

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

.page-the-thao__step-card {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-the-thao__step-number {
  font-size: 2.5em;
  font-weight: 700;
  color: #E53935; /* Main color */
  margin-bottom: 15px;
}

.page-the-thao__step-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #333333;
  margin-bottom: 10px;
}

.page-the-thao__step-description {
  font-size: 0.95em;
  color: #555555;
}

.page-the-thao__cta-bottom,
.page-the-thao__final-cta {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-the-thao .highlight {
  color: #E53935;
  font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: 2.5em;
  }

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

  .page-the-thao__sub-title {
    font-size: 1.4em;
  }

  .page-the-thao__article-wrap {
    padding: 25px;
  }

  .page-the-thao__list-cards, .page-the-thao__step-by-step {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Top Section / Hero */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    margin-bottom: 30px;
  }
  .page-the-thao__hero-content {
    position: static;
    transform: none;
    padding: 20px 15px;
    width: 100%;
    max-width: 100%;
    background-color: #E53935; /* Solid background for better contrast */
    border-radius: 0;
  }
  .page-the-thao__hero-image-wrapper {
    display: none; /* Hide image on mobile if content is moved below it */
  }
  .page-the-thao__main-title {
    font-size: 1.8em !important;
    margin-bottom: 10px;
  }
  .page-the-thao__description {
    font-size: 1em !important;
    margin-bottom: 20px;
  }
  .page-the-thao__hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }
  .page-the-thao__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;
  }

  /* Single Column Article Containers */
  .page-the-thao__article-wrap {
    padding: 20px 15px !important;
    margin: 0 10px 30px 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__content-section,
  .page-the-thao__promo-box,
  .page-the-thao__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__promo-box {
    margin-left: 10px;
    margin-right: 10px;
  }

  /* General Images and Figures */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-the-thao__figure {
    margin: 20px 0;
  }

  /* Buttons and Button Containers */
  .page-the-thao__cta-bottom,
  .page-the-thao__final-cta {
    margin-top: 30px;
    margin-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Other sections */
  .page-the-thao__section-title {
    font-size: 1.6em !important;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-the-thao__sub-title {
    font-size: 1.2em !important;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-the-thao__article-content p,
  .page-the-thao__card-description,
  .page-the-thao__step-description,
  .page-the-thao__promo-text {
    font-size: 0.95em !important;
  }
  .page-the-thao__list-cards, .page-the-thao__step-by-step {
    grid-template-columns: 1fr !important;
    gap: 20px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .page-the-thao__card-image {
    height: 180px;
  }
  .page-the-thao__card-title {
    font-size: 1.2em;
  }
  .page-the-thao__step-number {
    font-size: 2em;
  }
  .page-the-thao__step-title {
    font-size: 1.1em;
  }
}