.page-the-thao {
  background-color: var(--background-color, #140C0C);
  color: var(--text-main-color, #FFF1E8);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #140C0C;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-the-thao__hero-content-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.page-the-thao__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px;
}

.page-the-thao__hero-text-container {
  padding: 0 20px 40px;
  max-width: 900px;
}

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

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

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

.page-the-thao__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao__btn--primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

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

.page-the-thao__btn--secondary {
  background: #2A1212;
  color: #F3C54D;
  border: 2px solid #F3C54D;
}

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

.page-the-thao__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-the-thao__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-the-thao__btn--center {
  display: block;
  margin: 30px auto 0;
  max-width: 300px;
  text-align: center;
}

.page-the-thao__section {
  padding: 60px 0;
  background-color: #140C0C;
}

.page-the-thao__section:nth-of-type(even) {
  background-color: #0d0707;
}

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

.page-the-thao__container--center {
  text-align: center;
}

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F3C54D;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-the-thao__text-block {
  font-size: 1.05em;
  color: #FFF1E8;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

.page-the-thao__sport-card,
.page-the-thao__promo-card {
  background-color: #2A1212;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: #FFF1E8;
  border: 1px solid #6A1E1E;
}

.page-the-thao__figure {
  margin: 0;
  position: relative;
}

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

.page-the-thao__figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: #F3C54D;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 1.1em;
}

.page-the-thao__card-title {
  font-size: 1.4em;
  color: #F3C54D;
  margin: 20px 20px 10px;
}

.page-the-thao__card-description {
  font-size: 0.95em;
  color: #FFF1E8;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-the-thao__card-btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  transition: background 0.3s ease;
}

.page-the-thao__card-btn:hover {
  opacity: 0.9;
}

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

.page-the-thao__step-item {
  background-color: #2A1212;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E;
}

.page-the-thao__step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 700;
  margin: 0 auto 20px;
}

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

.page-the-thao__step-description {
  color: #FFF1E8;
  font-size: 0.95em;
  margin-bottom: 20px;
}

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

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

.page-the-thao__list-item {
  background-color: #2A1212;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
}

.page-the-thao__list-title {
  font-size: 1.4em;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-the-thao__list-description {
  color: #FFF1E8;
  font-size: 1em;
}

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

.page-the-thao__faq-item {
  background-color: #2A1212;
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
}

.page-the-thao__faq-question {
  font-size: 1.25em;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-the-thao__faq-answer {
  color: #FFF1E8;
  font-size: 1em;
  line-height: 1.6;
}

.page-the-thao__conclusion-cta {
  padding-bottom: 80px;
}

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

.page-the-thao__figure img {
  border-radius: 8px 8px 0 0;
}

@media (max-width: 1024px) {
  .page-the-thao__hero-text-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-the-thao__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  }

  .page-the-thao__grid-layout,
  .page-the-thao__steps-list,
  .page-the-thao__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

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

@media (max-width: 768px) {
  /* 1. Top section/H1/CTAs */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
  }

  .page-the-thao__hero-image {
    height: 250px;
  }

  .page-the-thao__hero-text-container {
    padding: 0 15px 30px;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    margin-bottom: 10px;
  }

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

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

  /* 4. Buttons and button containers */
  .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__btn--center {
    max-width: 100% !important;
    margin-left: 0;
    margin-right: 0;
  }

  /* 2. Single column long text container */
  .page-the-thao__section {
    padding: 40px 0;
  }

  .page-the-thao__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-the-thao__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
    margin-bottom: 30px;
  }

  .page-the-thao__text-block {
    font-size: 0.95em;
  }

  /* Sport Cards Grid - mobile specific */
  .page-the-thao__grid-layout,
  .page-the-thao__steps-list,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .page-the-thao__card-image {
    height: 180px;
  }

  .page-the-thao__card-title,
  .page-the-thao__step-title,
  .page-the-thao__list-title,
  .page-the-thao__faq-question {
    font-size: 1.2em;
  }

  /* 3. Universal images and figure */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* 5. FAQ section (no accordion, just text blocks, ensuring readability) */
  .page-the-thao__faq-item {
    margin-bottom: 10px;
  }

  .page-the-thao__faq-question {
    font-size: 1.1em;
  }

  .page-the-thao__faq-answer {
    font-size: 0.9em;
  }
}