.page-the-thao {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #F5F7FA;
}

.page-the-thao__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-the-thao__section {
  padding: 40px 0;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

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

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

.page-the-thao__text-block--light {
  color: #f0f0f0;
}

.page-the-thao__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Adjusted for header offset */
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
  filter: brightness(0.6);
}

.page-the-thao__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 90%;
  z-index: 10;
}

.page-the-thao__main-title {
  font-size: clamp(2.5em, 5vw, 4em); /* Using clamp for H1 */
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-the-thao__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-the-thao__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  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.4);
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.6);
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-text {
  background: none;
  color: #E53935;
  border: 1px solid #E53935;
  padding: 8px 15px;
  font-size: 0.9em;
}

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

.page-the-thao__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-the-thao__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__figcaption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

.page-the-thao__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.05em;
  line-height: 1.8;
}

.page-the-thao__list-item {
  margin-bottom: 10px;
}

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

.page-the-thao__sport-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-the-thao__advantages-list .page-the-thao__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.page-the-thao__advantages-list .page-the-thao__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FF5A4F;
  font-weight: bold;
  font-size: 1.2em;
}

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

.page-the-thao__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

.page-the-thao__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  overflow: hidden;
}

.page-the-thao__promo-card .page-the-thao__figure {
  flex: 1 1 50%;
  margin: 0;
}

.page-the-thao__promo-card .page-the-thao__image {
  border-radius: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-the-thao__promo-content {
  flex: 1 1 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

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

.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.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #fcfcfc;
  border-bottom: 1px solid #E0E0E0;
  list-style: none;
}

.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
  border-bottom: 1px solid #E0E0E0;
}

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

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

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

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

.page-the-thao__call-to-action-bottom {
  background-color: #E53935; /* Main brand color for dark background */
  color: #ffffff;
  text-align: center;
  padding: 60px 0;
}

.page-the-thao__call-to-action-bottom .page-the-thao__container {
  background-color: transparent; /* Container itself doesn't have background */
}

.page-the-thao__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

/* Responsive adjustments for smaller screens */
@media (max-width: 1024px) {
  .page-the-thao__section-title {
    font-size: 2em;
  }

  .page-the-thao__hero-description {
    font-size: 1.1em;
  }

  .page-the-thao__promo-card {
    flex-direction: column;
  }

  .page-the-thao__promo-card .page-the-thao__figure,
  .page-the-thao__promo-content {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px !important;
  }

  .page-the-thao__hero-content {
    position: static;
    transform: none;
    padding: 20px;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.4); /* Add background for readability on mobile */
  }

  .page-the-thao__main-title {
    font-size: clamp(2em, 8vw, 2.5em) !important; /* Smaller H1 on mobile */
    margin-bottom: 15px;
  }

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

  .page-the-thao__hero-cta-group {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__btn,
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .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-group,
  .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: 30px 0;
  }

  .page-the-thao__container {
    padding: 0 15px;
  }

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

  .page-the-thao__text-block {
    font-size: 1em !important;
  }

  .page-the-thao__list,
  .page-the-thao__advantages-list {
    font-size: 1em !important;
    margin-left: 15px;
  }

  .page-the-thao__sport-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-the-thao__sport-title,
  .page-the-thao__step-title {
    font-size: 1.3em !important;
  }

  .page-the-thao__promo-title {
    font-size: 1.5em !important;
  }

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

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

  .page-the-thao__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em !important;
  }

  .page-the-thao__call-to-action-bottom {
    padding: 40px 0;
  }

  /* General image responsiveness for all content images */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__promo-card,
  .page-the-thao__sport-card,
  .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-card .page-the-thao__figure {
    padding-left: 0;
    padding-right: 0;
  }
}