/* style/the-thao.css */
.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

/* Hero Section */
.page-the-thao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as per rule */
  padding-bottom: 40px;
  background-color: #F4F7FB;
}

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

.page-the-thao__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -80px; /* Adjust to slightly overlap the image, but content is below */
  position: relative;
  z-index: 10;
}

.page-the-thao__main-title {
  font-size: clamp(2em, 3.5vw, 3em); /* H1 font size with clamp */
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  color: #1F2D3D;
  margin-bottom: 30px;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
}

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

.page-the-thao__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF;
}

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

.page-the-thao__btn-tertiary {
  background: #D6E2FF; /* Border color as a light background */
  color: #2F6BFF; /* Main Color */
  border: 1px solid #A5C4FF; /* Glow color as border */
}

.page-the-thao__btn-tertiary:hover {
  background: #A5C4FF; /* Glow color */
  color: #ffffff;
  transform: translateY(-2px);
}

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

/* General Section Styles */
.page-the-thao__intro-section,
.page-the-thao__sports-categories,
.page-the-thao__advantages-section,
.page-the-thao__guide-section,
.page-the-thao__strategies-section,
.page-the-thao__faq-section,
.page-the-thao__conclusion-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-the-thao__intro-section {
  background-color: #FFFFFF;
  padding-bottom: 20px;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  color: #1F2D3D;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Sports Categories */
.page-the-thao__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-the-thao__sport-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-the-thao__sport-title {
  font-size: 1.5em;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-the-thao__sport-text {
  font-size: 0.95em;
  color: #1F2D3D;
  padding: 0 15px;
}

/* Advantages Section */
.page-the-thao__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-the-thao__advantage-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-the-thao__advantage-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__advantage-title {
  font-size: 1.4em;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 15px;
}

.page-the-thao__advantage-text {
  font-size: 1em;
  color: #1F2D3D;
}

/* Guide Section */
.page-the-thao__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-the-thao__guide-step-item {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-the-thao__step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-the-thao__step-title {
  font-size: 1.5em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
}

.page-the-thao__step-text {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Strategies Section */
.page-the-thao__strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-the-thao__strategy-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-the-thao__strategy-title {
  font-size: 1.4em;
  color: #2F6BFF; /* Main Color */
  margin: 20px 15px 10px 15px;
}

.page-the-thao__strategy-text {
  font-size: 0.95em;
  color: #1F2D3D;
  padding: 0 15px 20px 15px;
}

/* FAQ Section */
.page-the-thao__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-the-thao__faq-item {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  cursor: pointer;
  background-color: #F8F9FA;
  border-bottom: 1px solid #D6E2FF;
  list-style: none; /* For details/summary */
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  color: #2F6BFF; /* Main Color */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' or '−' */
}

.page-the-thao__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #1F2D3D;
  border-top: 1px solid #D6E2FF;
}

.page-the-thao__faq-item:not([open]) .page-the-thao__faq-answer {
    display: none;
}

/* Conclusion Section */
.page-the-thao__conclusion-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Using main and auxiliary colors */
  color: #ffffff;
}

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

.page-the-thao__conclusion-section .page-the-thao__section-title {
  font-size: 2.8em;
}

.page-the-thao__conclusion-section .page-the-thao__section-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

/* --- Responsive Styles --- */

/* General Mobile Adaptations */
@media (max-width: 768px) {
  .page-the-thao {
    font-size: 15px;
    line-height: 1.5;
  }

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

  /* Hero Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Specific mobile top padding */
    padding-bottom: 20px;
  }

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

  .page-the-thao__hero-content {
    margin-top: -50px;
    padding: 25px 15px;
  }

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

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

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

  /* Buttons - Mobile specific overrides */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-tertiary,
  .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__hero-cta-buttons .page-the-thao__btn-primary,
  .page-the-thao__hero-cta-buttons .page-the-thao__btn-secondary {
    padding: 12px 20px; /* Adjust padding for smaller screens */
  }

  /* General Section Styles */
  .page-the-thao__intro-section,
  .page-the-thao__sports-categories,
  .page-the-thao__advantages-section,
  .page-the-thao__guide-section,
  .page-the-thao__strategies-section,
  .page-the-thao__faq-section,
  .page-the-thao__conclusion-section {
    padding: 40px 0;
  }

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

  .page-the-thao__section-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  /* Sports Categories */
  .page-the-thao__sports-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

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

  /* Advantages Section */
  .page-the-thao__advantage-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  /* Guide Section */
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  /* Strategies Section */
  .page-the-thao__strategy-cards {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-the-thao__strategy-image {
    height: 200px;
  }

  /* FAQ Section */
  .page-the-thao__faq-list {
    margin-top: 25px;
  }

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

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

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

  .page-the-thao__conclusion-section .page-the-thao__section-title {
    font-size: 2em;
  }

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

  /* Images - universal mobile override */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__sport-card,
  .page-the-thao__advantage-card,
  .page-the-thao__guide-step-item,
  .page-the-thao__strategy-card,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 549px) {
  .page-the-thao__sports-grid,
  .page-the-thao__advantage-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__strategy-cards {
    grid-template-columns: 1fr; /* Ensure single column layout on very small screens */
  }
}