.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #333333);
  background-color: var(--page-bg-color, #F5F7FA);
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  text-align: center;
  background-color: #F5F7FA;
}

.page-the-thao__hero-image-wrapper {
  margin-bottom: 30px;
}

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

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

.page-the-thao__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #E53935;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-the-thao__intro-text {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-the-thao__cta-buttons--centered {
    margin-top: 30px;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary,
.page-the-thao__btn-promo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  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%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

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

.page-the-thao__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.page-the-thao__btn-tertiary {
  background: #f0f0f0;
  color: #333333;
  border: 1px solid #E0E0E0;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-the-thao__btn-tertiary:hover {
  background: #e0e0e0;
}

.page-the-thao__btn-promo {
  background: #E53935;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-the-thao__btn-promo:hover {
  background: #FF5A4F;
}

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

.page-the-thao__section-title {
  font-size: 2.2em;
  color: #E53935;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

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

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

.page-the-thao__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #E0E0E0;
}

.page-the-thao__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao__card-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__card-description {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
}

.page-the-thao__sport-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.page-the-thao__sport-item {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  border: 1px solid #E0E0E0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-the-thao__sport-icon {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-the-thao__sport-name {
  font-size: 1.3em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-the-thao__sport-text {
  font-size: 0.9em;
  color: #555555;
}

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

.page-the-thao__step-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 30px;
  text-align: center;
  border: 1px solid #E0E0E0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #E53935;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 20px;
}

.page-the-thao__step-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__step-text {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-the-thao__promo-card {
  background: #fefefe;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  border: 1px solid #E0E0E0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao__promo-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__promo-text {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-the-thao__tip-item,
.page-the-thao__support-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  border: 1px solid #E0E0E0;
}

.page-the-thao__tip-title,
.page-the-thao__support-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__tip-text,
.page-the-thao__support-text {
  font-size: 0.95em;
  color: #555555;
}

.page-the-thao__conclusion .page-the-thao__section-description {
    margin-bottom: 20px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: 2.5em;
  }
  .page-the-thao__section {
    padding: 30px;
    margin-bottom: 50px;
  }
  .page-the-thao__card-image,
  .page-the-thao__promo-image {
    height: 180px;
  }
  .page-the-thao__sport-icon {
    height: 120px;
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-the-thao__hero-section {
    padding-top: 10px !important;
    margin-bottom: 30px;
  }

  .page-the-thao__main-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }

  .page-the-thao__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-tertiary,
  .page-the-thao__btn-promo,
  .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__section {
    padding: 20px;
    margin: 0 auto 40px auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-the-thao__content-grid,
  .page-the-thao__sport-list,
  .page-the-thao__step-by-step,
  .page-the-thao__promo-grid,
  .page-the-thao__tips-grid,
  .page-the-thao__support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-the-thao__hero-image,
  .page-the-thao__card-image,
  .page-the-thao__sport-icon,
  .page-the-thao__promo-image {
    width: 100% !important;
    height: auto !important; /* Allow height to adjust */
    max-width: 100% !important;
  }

  .page-the-thao__card,
  .page-the-thao__sport-item,
  .page-the-thao__step-card,
  .page-the-thao__promo-card,
  .page-the-thao__tip-item,
  .page-the-thao__support-item {
    padding: 20px;
  }

  .page-the-thao__card-title,
  .page-the-thao__sport-name,
  .page-the-thao__step-title,
  .page-the-thao__promo-title,
  .page-the-thao__tip-title,
  .page-the-thao__support-title {
    font-size: 1.3em;
  }

  .page-the-thao__card-description,
  .page-the-thao__sport-text,
  .page-the-thao__step-text,
  .page-the-thao__promo-text,
  .page-the-thao__tip-text,
  .page-the-thao__support-text {
    font-size: 0.9em;
  }
}