/* style/the-thao.css */

:root {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --background-dark: #140C0C;
  --card-bg: #2A1212;
  --text-light: #FFF1E8;
  --border-color: #6A1E1E;
  --gold-color: #F3C54D;
  --deep-red-color: #7E0D0D;
  --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Based on dark body background */
  background-color: var(--background-dark); /* Ensure consistency with body */
}

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

.page-the-thao__intro-section {
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  padding-bottom: 60px;
  background-color: var(--background-dark);
  position: relative;
  overflow: hidden;
}

.page-the-thao__intro-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-the-thao__intro-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

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

.page-the-thao__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-the-thao__btn-primary {
  background: var(--button-gradient);
  color: var(--text-light);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-the-thao__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-the-thao__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--background-dark);
  transform: translateY(-2px);
}

.page-the-thao__btn-text {
  background: none;
  color: var(--gold-color);
  border: none;
  padding: 8px 0;
  text-decoration: underline;
}

.page-the-thao__btn-text:hover {
  color: var(--text-light);
  text-decoration: none;
}

.page-the-thao__intro-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__intro-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-the-thao__section-description {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-the-thao__sports-category-section,
.page-the-thao__benefits-section,
.page-the-thao__guide-section,
.page-the-thao__experience-section,
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

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

.page-the-thao__category-item,
.page-the-thao__benefit-item,
.page-the-thao__step-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-the-thao__category-title,
.page-the-thao__benefit-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__category-item p,
.page-the-thao__benefit-item p,
.page-the-thao__step-item p {
  font-size: 1rem;
  color: var(--text-light);
  flex-grow: 1;
}

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

.page-the-thao__step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--button-gradient);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  border: 2px solid var(--background-dark);
}

.page-the-thao__step-title {
  font-size: 1.4rem;
  color: var(--gold-color);
  margin-top: 15px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__experience-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 900px;
}

.page-the-thao__experience-list li {
  background-color: var(--card-bg);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  font-size: 1.1rem;
  color: var(--text-light);
}

.page-the-thao__experience-list li strong {
  color: var(--gold-color);
}

.page-the-thao__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--deep-red-color);
  border-top: 5px solid var(--gold-color);
  border-bottom: 5px solid var(--gold-color);
}

.page-the-thao__cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-the-thao__cta-description {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-the-thao__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-the-thao__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-color);
  cursor: pointer;
  list-style: none;
  user-select: none;
  background-color: var(--card-bg);
  position: relative;
}

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

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

.page-the-thao__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-the-thao__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-light);
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  content: "−";
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-the-thao__container {
    padding: 0 15px;
  }

  /* HERO/Intro Section */
  .page-the-thao__intro-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-the-thao__intro-container {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 30px;
  }

  .page-the-thao__intro-content {
    max-width: 100%;
  }

  .page-the-thao__main-title {
    font-size: 2.2rem; /* Adjusted for mobile */
    margin-bottom: 15px;
  }

  .page-the-thao__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .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; /* Add padding to prevent overflow */
  }

  /* Buttons general mobile styles */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-text,
  .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 !important;
    padding-right: 15px !important;
  }

  .page-the-thao__intro-image-wrapper {
    width: 100%;
  }

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

  /* General Section Styles */
  .page-the-thao__sports-category-section,
  .page-the-thao__benefits-section,
  .page-the-thao__guide-section,
  .page-the-thao__experience-section,
  .page-the-thao__faq-section {
    padding: 40px 0;
  }

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

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

  /* Category/Benefits/Steps Grid */
  .page-the-thao__category-grid,
  .page-the-thao__benefits-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__category-item,
  .page-the-thao__benefit-item,
  .page-the-thao__step-item {
    padding: 25px;
  }

  .page-the-thao__category-title,
  .page-the-thao__benefit-title {
    font-size: 1.3rem;
  }

  .page-the-thao__step-number {
    top: -10px;
    left: 15px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }

  .page-the-thao__step-title {
    font-size: 1.2rem;
    margin-top: 10px;
  }

  /* Images general mobile styles */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__section-image {
    margin-top: 30px;
  }

  /* CTA Section */
  .page-the-thao__cta-section {
    padding: 50px 0;
  }

  .page-the-thao__cta-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-the-thao__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* FAQ Section */
  .page-the-thao__faq-question {
    padding: 18px 20px;
    font-size: 1.1rem;
  }

  .page-the-thao__faq-toggle {
    font-size: 1.6rem;
  }

  .page-the-thao__faq-answer {
    padding: 0 20px 18px;
    font-size: 0.95rem;
  }

  /* General container padding for mobile */
  .page-the-thao__intro-section .page-the-thao__container,
  .page-the-thao__sports-category-section .page-the-thao__container,
  .page-the-thao__benefits-section .page-the-thao__container,
  .page-the-thao__guide-section .page-the-thao__container,
  .page-the-thao__experience-section .page-the-thao__container,
  .page-the-thao__cta-section .page-the-thao__container,
  .page-the-thao__faq-section .page-the-thao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}