/* style/the-thao.css */
.page-the-thao {
  background-color: #0A0A0A; /* Background color */
  color: #FFF6D6; /* Main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-the-thao__top-section {
  padding-top: 10px; /* Specific top padding */
  padding-bottom: 40px;
  text-align: center;
  background: #0A0A0A;
}

.page-the-thao__dark-section {
  background: #0A0A0A;
  color: #FFF6D6;
}

.page-the-thao__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: 700;
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

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

.page-the-thao__top-cta {
  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: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #3A2A12; /* Border color */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-the-thao__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 211, 107, 0.3);
}

.page-the-thao__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
}

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

.page-the-thao__section {
  padding: 50px 0;
  border-bottom: 1px solid #3A2A12;
}

.page-the-thao__section:last-of-type {
  border-bottom: none;
}

.page-the-thao__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-the-thao__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFD36B, transparent);
}

.page-the-thao__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: #FFD36B; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-the-thao__content-area p {
  margin-bottom: 1em;
  color: #FFF6D6;
}

.page-the-thao__figure {
  margin: 30px auto;
  max-width: 680px;
  text-align: center;
  background: #111111; /* Card BG */
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-the-thao__img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 10px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-the-thao__figcaption {
  font-style: italic;
  font-size: 0.9em;
  color: #FFF6D6;
  padding: 5px 0;
}

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

.page-the-thao__list-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-the-thao__list-item:hover {
  box-shadow: 0 6px 15px rgba(255, 211, 107, 0.2);
  transform: translateY(-2px);
}

.page-the-thao__list-title {
  font-size: 1.3em;
  color: #F2C14E; /* Main color */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-the-thao__list-item p {
  color: #FFF6D6;
}

.page-the-thao__step-list {
  list-style: decimal;
  padding-left: 20px;
  margin-top: 20px;
}

.page-the-thao__step-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  color: #FFF6D6;
}

.page-the-thao__step-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main color */
  margin-top: 0;
  margin-bottom: 15px;
}

.page-the-thao__step-item p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

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

.page-the-thao__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color */
  cursor: pointer;
  list-style: none; /* Hide default marker for details */
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 0 25px 20px;
  font-size: 1em;
  color: #FFF6D6;
  line-height: 1.5;
}

.page-the-thao__bottom-cta {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 20px;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-the-thao__top-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-the-thao__intro-text {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-the-thao__top-cta {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .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;
  }
  
  .page-the-thao__article-wrap {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-the-thao__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
    margin-bottom: 30px;
  }

  .page-the-thao__sub-title {
    font-size: clamp(1.2em, 6vw, 1.5em);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-the-thao__content-area p,
  .page-the-thao__list-item p,
  .page-the-thao__step-item p,
  .page-the-thao__faq-answer p {
    font-size: 0.95em;
  }

  .page-the-thao__figure {
    margin: 20px auto;
    padding: 8px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-the-thao__list-item,
  .page-the-thao__step-item,
  .page-the-thao__faq-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-the-thao__list-title,
  .page-the-thao__step-title {
    font-size: 1.2em;
    margin-bottom: 8px;
  }

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

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

  .page-the-thao__bottom-cta {
    margin-top: 30px;
    padding: 0 15px;
  }
  
  /* Buttons within content sections */
  .page-the-thao__step-item .page-the-thao__btn {
    display: block;
    margin-top: 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__list-item .page-the-thao__btn,
  .page-the-thao__step-item .page-the-thao__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* --- Tablet Responsive Styles (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .page-the-thao__article-wrap {
    padding: 0 30px;
  }

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

  .page-the-thao__section-title {
    font-size: clamp(2em, 3.5vw, 2.3em);
  }

  .page-the-thao__sub-title {
    font-size: clamp(1.5em, 2.8vw, 1.7em);
  }

  .page-the-thao__btn {
    padding: 10px 20px;
    font-size: 1em;
  }

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

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