/* style/the-thao.css */
.page-the-thao {
  font-family: Arial, sans-serif;
  color: #333333; /* Text Main */
  background-color: var(--bg-page, #F5F7FA); /* Background */
  line-height: 1.6;
}

.page-the-thao__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Fixed header spacing */
  padding-bottom: 40px;
  background-color: #FFFFFF; /* Card BG */
}

.page-the-thao__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: center;
}

.page-the-thao__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
  color: #333333;
}

.page-the-thao__hero-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #E53935;
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  margin-bottom: 24px;
  color: #333333;
}

.page-the-thao__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-the-thao__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #f0f0f0;
}

.page-the-thao__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-the-thao__hero-side-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Section Titles */
.page-the-thao__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

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

/* Intro Section */
.page-the-thao__intro-section {
  background-color: #F5F7FA; /* Background */
  padding: 60px 0;
}

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

.page-the-thao__feature-item {
  text-align: center;
  background-color: #ffffff; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #E0E0E0;
}

.page-the-thao__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #E53935;
  box-sizing: border-box;
}

.page-the-thao__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.page-the-thao__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
}

.page-the-thao__feature-text {
  font-size: 1em;
  color: #333333;
}

/* Categories Section */
.page-the-thao__categories-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card BG */
}

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

.page-the-thao__category-card {
  background-color: #ffffff; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #E0E0E0;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

.page-the-thao__category-card .page-the-thao__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #E53935;
  padding: 15px 20px 5px;
}

.page-the-thao__category-card .page-the-thao__card-text {
  font-size: 0.95em;
  color: #333333;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-the-thao__category-card .page-the-thao__card-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 10px 15px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.page-the-thao__category-card .page-the-thao__card-button:hover {
  opacity: 0.9;
}

/* Guide Section */
.page-the-thao__guide-section {
  background-color: #F5F7FA; /* Background */
  padding: 60px 0;
}

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

.page-the-thao__guide-item {
  text-align: center;
  background-color: #ffffff; /* Card BG */
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #E0E0E0;
  color: #333333;
}

.page-the-thao__guide-icon {
  width: 100%;
  max-width: 250px;
  height: 150px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 8px;
}

.page-the-thao__guide-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-the-thao__guide-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
}

.page-the-thao__guide-text {
  font-size: 0.95em;
  color: #333333;
}

.page-the-thao__guide-cta {
  text-align: center;
  margin-top: 50px;
}

/* Promo Section */
.page-the-thao__promo-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card BG */
}

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

.page-the-thao__promo-card {
  background-color: #ffffff; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #E0E0E0;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

.page-the-thao__promo-card .page-the-thao__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #E53935;
  padding: 15px 20px 5px;
}

.page-the-thao__promo-card .page-the-thao__card-text {
  font-size: 0.95em;
  color: #333333;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-the-thao__promo-card .page-the-thao__card-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 10px 15px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.page-the-thao__promo-card .page-the-thao__card-button:hover {
  opacity: 0.9;
}

/* Trust Section */
.page-the-thao__trust-section {
  background-color: #F5F7FA; /* Background */
  padding: 60px 0;
}

.page-the-thao__trust-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 800px;
  text-align: left;
  color: #333333;
}

.page-the-thao__trust-list li {
  font-size: 1.1em;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-the-thao__list-icon {
  color: #E53935;
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1;
}

.page-the-thao__trust-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card BG */
}

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

.page-the-thao__faq-item {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  font-size: 1.15em;
  font-weight: 600;
  color: #E53935;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #E0E0E0;
  list-style: none;
}

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

.page-the-thao__faq-question:hover {
  background-color: #f0f0f0;
}

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

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

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

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

/* Final CTA Section */
.page-the-thao__final-cta-section {
  background-color: #E53935;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__final-cta-section .page-the-thao__section-title {
  color: #ffffff;
}

.page-the-thao__final-cta-section .page-the-thao__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

.page-the-thao__final-cta-buttons .page-the-thao__btn-primary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #ffffff;
}

.page-the-thao__final-cta-buttons .page-the-thao__btn-primary:hover {
  background-color: #f0f0f0;
}

.page-the-thao__final-cta-buttons .page-the-thao__btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-the-thao__final-cta-buttons .page-the-thao__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao__hero-content {
    order: 2;
    text-align: center;
  }

  .page-the-thao__hero-image {
    order: 1;
    margin-bottom: 30px;
  }

  .page-the-thao__hero-cta-buttons {
    justify-content: center;
  }

  .page-the-thao__feature-item,
  .page-the-thao__category-card,
  .page-the-thao__guide-item,
  .page-the-thao__promo-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Ensures minimal top padding */
    padding-bottom: 30px;
  }

  .page-the-thao__hero-title {
    font-size: 2em; /* Adjusted for mobile */
  }

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

  .page-the-thao__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-the-thao__cta-button,
  .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__hero-image,
  .page-the-thao__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__section-title {
    font-size: 1.8em; /* Adjusted for mobile */
  }

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

  .page-the-thao__intro-section,
  .page-the-thao__categories-section,
  .page-the-thao__guide-section,
  .page-the-thao__promo-section,
  .page-the-thao__trust-section,
  .page-the-thao__faq-section,
  .page-the-thao__final-cta-section {
    padding: 40px 0;
  }

  .page-the-thao__features-grid,
  .page-the-thao__category-grid,
  .page-the-thao__guide-steps,
  .page-the-thao__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__feature-item,
  .page-the-thao__category-card,
  .page-the-thao__guide-item,
  .page-the-thao__promo-card {
    padding: 20px;
  }

  .page-the-thao__icon-box-media {
    width: 150px;
    height: 150px;
    border-width: 2px;
  }

  .page-the-thao__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .page-the-thao__feature-title {
    font-size: 1.3em;
  }

  .page-the-thao__category-image,
  .page-the-thao__guide-icon img,
  .page-the-thao__promo-image,
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-the-thao__category-card .page-the-thao__card-title,
  .page-the-thao__promo-card .page-the-thao__card-title {
    font-size: 1.2em;
  }

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

  .page-the-thao__trust-list li {
    font-size: 1em;
    margin-bottom: 10px;
  }

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

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

  .page-the-thao__final-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-the-thao__final-cta-section .page-the-thao__section-description {
    margin-bottom: 30px;
  }

  /* Ensure all image containers are responsive */
  .page-the-thao__hero-image,
  .page-the-thao__guide-icon {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}