/* style/the-thao.css */

/* Base styles */
.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

.page-the-thao__hero-section {
  background-color: #f8f8f8;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

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

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

.page-the-thao__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-the-thao__description {
  font-size: 1.1em;
  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 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-the-thao__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

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

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

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

.page-the-thao__hero-main-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-the-thao__section-title {
  font-size: 2.2em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-the-thao__intro-section p {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-the-thao__sport-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-the-thao__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-the-thao__sport-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-the-thao__sport-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-the-thao__sport-card p {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__btn-text {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #017439;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-the-thao__btn-text:hover {
  color: #005a2e;
  border-color: #005a2e;
}

.page-the-thao__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao__benefit-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-the-thao__benefit-heading {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

.page-the-thao__benefit-item p {
  font-size: 1em;
  color: #555555;
}

.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-step {
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-the-thao__guide-icon {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #017439;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-the-thao__guide-heading {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 15px;
}

.page-the-thao__guide-step p {
  font-size: 0.95em;
  color: #555555;
}

.page-the-thao__guide-step p a {
  color: #017439;
  text-decoration: underline;
}

.page-the-thao__guide-step p a:hover {
  color: #005a2e;
}

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

.page-the-thao__promo-section p {
  font-size: 1.05em;
  margin-bottom: 30px;
  text-align: center;
}

.page-the-thao__promo-card {
  background-color: #f0fdf4; /* Light green background */
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-the-thao__promo-image {
  flex: 1 1 50%;
  min-width: 300px;
  height: auto;
  object-fit: cover;
  display: block;
}

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

.page-the-thao__promo-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-the-thao__promo-content p {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
  text-align: left;
}

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

.page-the-thao__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  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: #333333;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary default icon */
}

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

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

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

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

.page-the-thao__faq-item[open] .page-the-thao__faq-question {
  background-color: #e0e0e0;
}

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

.page-the-thao__faq-answer p {
  margin-bottom: 0;
}

.page-the-thao__conclusion-section p {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
}

.page-the-thao__conclusion-section p a {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-the-thao__conclusion-section p a:hover {
  color: #005a2e;
}

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

  .page-the-thao__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }

  .page-the-thao__hero-content {
    text-align: center;
    min-width: unset;
    width: 100%;
  }

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

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

  .page-the-thao__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-the-thao__hero-image {
    min-width: unset;
    width: 100%;
  }

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

  .page-the-thao__content-area {
    padding: 40px 15px;
  }

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

  .page-the-thao__intro-section p {
    font-size: 0.95em;
  }

  .page-the-thao__sports-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-the-thao__sport-image {
    height: 200px; /* Adjust height for mobile */
  }

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

  .page-the-thao__benefits-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-the-thao__guide-icon {
    width: 120px;
    height: 120px;
  }

  .page-the-thao__guide-heading {
    font-size: 1.2em;
  }

  .page-the-thao__promo-card {
    flex-direction: column;
  }

  .page-the-thao__promo-image {
    min-width: unset;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__promo-content {
    min-width: unset;
    width: 100%;
    padding: 30px 20px;
    text-align: center;
  }

  .page-the-thao__promo-content p {
    text-align: center;
  }

  .page-the-thao__promo-title {
    font-size: 1.5em;
  }

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

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

  .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__sports-grid,
  .page-the-thao__benefits-list,
  .page-the-thao__guide-steps,
  .page-the-thao__faq-list,
  .page-the-thao__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-the-thao__cta-center .page-the-thao__btn-primary {
    width: calc(100% - 30px) !important;
    margin: 0 15px;
  }
}