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

.page-the-thao__hero-section {
  padding-top: 10px; /* Fixed small top padding */
  padding-bottom: 60px;
  background-color: #08160F; /* Ensure consistency with body background */
}

.page-the-thao__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px;
  gap: 40px;
}

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

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button color */
  border: 2px solid #2AD16F;
}

.page-the-thao__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

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

.page-the-thao__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-the-thao__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-the-thao__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
}

.page-the-thao__section-description {
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-the-thao__feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-the-thao__feature-item {
  flex: 1 1 30%;
  min-width: 280px;
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-the-thao__icon-box-media {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #F2C14E; /* Gold */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-the-thao__feature-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-the-thao__feature-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-the-thao__sports-categories {
  padding: 60px 0;
  background-color: #08160F;
}

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

.page-the-thao__category-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-the-thao__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-the-thao__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card visuals */
  object-fit: cover;
  display: block;
}

.page-the-thao__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 15px 20px 10px;
  color: #F2C14E; /* Gold */
}

.page-the-thao__card-text {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-the-thao__promo-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-the-thao__promo-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-the-thao__promo-content {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-the-thao__promo-content .page-the-thao__section-title,
.page-the-thao__promo-content .page-the-thao__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-the-thao__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

.page-the-thao__promo-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-the-thao__promo-list li::before {
  content: '✓';
  color: #2AD16F; /* Button color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-the-thao__promo-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-the-thao__trust-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-the-thao__trust-features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-the-thao__trust-item {
  flex: 1 1 30%;
  min-width: 280px;
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-the-thao__trust-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-the-thao__trust-item p {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

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

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B;
  list-style: none; /* For details/summary */
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2AD16F; /* Button color */
  margin-left: 15px;
}

.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: #A7D9B8; /* Text Secondary */
}

.page-the-thao__cta-section {
  padding: 60px 0;
  background-color: #08160F;
  text-align: center;
}

.page-the-thao__cta-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.page-the-thao__cta-section .page-the-thao__section-title,
.page-the-thao__cta-section .page-the-thao__section-description {
  margin-left: auto;
  margin-right: auto;
}

/* General image responsiveness */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-the-thao__hero-container {
    padding: 30px 16px;
    gap: 30px;
  }
  .page-the-thao__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-the-thao__hero-description {
    font-size: 1rem;
  }
  .page-the-thao__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  .page-the-thao__promo-flex {
    flex-direction: column;
    gap: 30px;
  }
  .page-the-thao__promo-content, .page-the-thao__promo-image {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-the-thao__promo-content .page-the-thao__section-title,
  .page-the-thao__promo-content .page-the-thao__section-description {
    text-align: center;
  }
  .page-the-thao__promo-list {
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  /* HERO section */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-the-thao__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 25px;
  }
  .page-the-thao__hero-content, .page-the-thao__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-the-thao__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    text-align: center;
  }
  .page-the-thao__hero-description {
    font-size: 0.95rem;
    text-align: center;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    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;
  }

  /* Module 1 - Feature boxes */
  .page-the-thao__intro-section {
    padding: 40px 0;
  }
  .page-the-thao__content-area {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .page-the-thao__feature-item {
    flex: 1 1 100%;
    min-width: unset;
    padding: 25px;
  }
  .page-the-thao__icon-box-media {
    width: 120px;
    height: 120px;
    border-width: 3px;
  }
  .page-the-thao__feature-title {
    font-size: 1.3rem;
  }

  /* Sports Categories */
  .page-the-thao__sports-categories {
    padding: 40px 0;
  }
  .page-the-thao__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-the-thao__card-image {
    height: 180px;
  }

  /* Promotions Section */
  .page-the-thao__promo-section {
    padding: 40px 0;
  }
  .page-the-thao__promo-flex {
    gap: 25px;
  }
  .page-the-thao__promo-content .page-the-thao__section-title,
  .page-the-thao__promo-content .page-the-thao__section-description {
    text-align: center;
  }
  .page-the-thao__promo-list {
    padding-left: 0;
    max-width: 100%;
  }
  .page-the-thao__promo-list li {
    padding-left: 20px;
    font-size: 0.95rem;
  }

  /* Trust Section */
  .page-the-thao__trust-section {
    padding: 40px 0;
  }
  .page-the-thao__trust-features {
    flex-direction: column;
    gap: 20px;
  }
  .page-the-thao__trust-item {
    flex: 1 1 100%;
    min-width: unset;
    padding: 25px;
  }
  .page-the-thao__trust-title {
    font-size: 1.3rem;
  }

  /* FAQ Section */
  .page-the-thao__faq-section {
    padding: 40px 0;
  }
  .page-the-thao__faq-list {
    margin-top: 25px;
  }
  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }
  .page-the-thao__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* CTA Section */
  .page-the-thao__cta-section {
    padding: 40px 0;
  }
  .page-the-thao__cta-flex {
    gap: 20px;
  }
  .page-the-thao__cta-section .page-the-thao__section-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-the-thao__cta-section .page-the-thao__section-description {
    font-size: 0.95rem;
  }

  /* General image and container responsiveness */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__hero-container,
  .page-the-thao__feature-grid,
  .page-the-thao__category-grid,
  .page-the-thao__promo-flex,
  .page-the-thao__trust-features,
  .page-the-thao__faq-list,
  .page-the-thao__cta-flex {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}