.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Background color */
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding to avoid double header offset */
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  background-color: #E53935;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly dim image for better text contrast if text was overlaid, but here it's below */
}

.page-the-thao__hero-content {
  padding: 40px 20px;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  color: #ffffff; /* Light text for dark background/hero section */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-the-thao__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  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;
  border: 2px solid #E53935;
}

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

.page-the-thao__section {
  padding: 60px 20px;
  margin-bottom: 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-the-thao__intro-section {
  background-color: #F5F7FA; /* Lighter background for intro */
  box-shadow: none;
  text-align: center;
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-the-thao__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FF5A4F, #E53935);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-the-thao__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__text-block strong {
  color: #E53935;
}

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

.page-the-thao__sport-card {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-the-thao__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #E53935;
  padding: 15px 20px 10px;
  margin-bottom: 0;
}

.page-the-thao__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-the-thao__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-the-thao__feature-item {
  background-color: #F5F7FA;
  border-left: 5px solid #E53935;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-the-thao__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-the-thao__guide-section .page-the-thao__btn-secondary {
  margin-top: auto;
  display: inline-block;
  align-self: flex-start;
}

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

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

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

.page-the-thao__step-card .page-the-thao__card-image {
  max-width: 100%;
  height: 180px;
  object-fit: contain; /* Use contain for step images to show full content */
  margin-bottom: 20px;
}

.page-the-thao__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-the-thao__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-the-thao__tips-item {
  background-color: #F5F7FA;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-the-thao__tips-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-the-thao__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #F5F7FA;
  border-bottom: 1px solid #E0E0E0;
  transition: background-color 0.3s ease;
  list-style: none; /* Hide default marker for summary */
}

.page-the-thao__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

.page-the-thao__faq-question:hover {
  background-color: #eceff3;
}

.page-the-thao__faq-qtext {
  flex-grow: 1;
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  font-weight: 600;
  color: #E53935;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-the-thao__conclusion-section {
  text-align: center;
  background-color: #E53935;
  color: #ffffff;
  padding: 80px 20px;
}

.page-the-thao__conclusion-section .page-the-thao__section-title {
  color: #ffffff;
}

.page-the-thao__conclusion-section .page-the-thao__section-title::after {
  background: linear-gradient(90deg, #ffffff, #FF5A4F);
}

.page-the-thao__conclusion-section .page-the-thao__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-the-thao__conclusion-section .page-the-thao__btn-primary {
  background: #ffffff;
  color: #E53935;
  border-color: #ffffff;
}

.page-the-thao__conclusion-section .page-the-thao__btn-primary:hover {
  background: #f0f0f0;
  color: #c02824;
}

.page-the-thao__conclusion-section .page-the-thao__btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-the-thao__conclusion-section .page-the-thao__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

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

  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    margin-bottom: 20px;
  }

  .page-the-thao__hero-content {
    padding: 30px 15px;
  }

  .page-the-thao__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
    margin-bottom: 10px;
  }

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

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

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    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__section {
    padding: 30px 15px;
    margin-bottom: 20px;
  }

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

  .page-the-thao__text-block {
    font-size: 0.95em;
    margin-bottom: 15px;
  }

  .page-the-thao__grid-container,
  .page-the-thao__feature-list,
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr; /* Single column layout for cards/features/steps */
    gap: 20px;
    margin-top: 20px;
  }

  .page-the-thao__sport-card,
  .page-the-thao__feature-item,
  .page-the-thao__step-card {
    padding: 20px;
  }

  .page-the-thao__card-image,
  .page-the-thao__step-card .page-the-thao__card-image,
  .page-the-thao__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    margin: 20px auto !important;
  }

  .page-the-thao__card-title,
  .page-the-thao__feature-title,
  .page-the-thao__step-title,
  .page-the-thao__tips-title {
    font-size: 1.2em;
  }

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

  .page-the-thao__faq-answer {
    padding: 10px 20px;
  }

  .page-the-thao__conclusion-section {
    padding: 40px 15px;
  }
}

/* Ensure images within content areas are always responsive */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-the-thao__container,
.page-the-thao__grid-container,
.page-the-thao__steps-grid,
.page-the-thao__feature-list,
.page-the-thao__tips-list,
.page-the-thao__faq-list {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}