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

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

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

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #08160F; /* Ensure background consistency */
}

.page-the-thao__hero-container {
  max-width: 1170px;
  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: #F2FFF6; /* Text Main */
}

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

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

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main for buttons */
  border: 2px solid transparent;
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.2);
}

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

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

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

.page-the-thao__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
}

.page-the-thao__feature-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
}

.page-the-thao__feature-item:hover {
  transform: translateY(-5px);
}

.page-the-thao__icon-box-media {
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #2AD16F; /* Glow */
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-the-thao__feature-item:hover .page-the-thao__icon-box-media img {
  transform: scale(1.05);
}

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

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

/* Sports Offerings Section */
.page-the-thao__sports-offerings-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

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

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

.page-the-thao__offering-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-the-thao__offering-card .page-the-thao__card-title {
  font-size: 1.3em;
  font-weight: bold;
  padding: 20px 20px 10px;
  color: #F2FFF6; /* Text Main */
}

.page-the-thao__offering-card .page-the-thao__card-text {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: #A7D9B8; /* Text Secondary */
}

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

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

.page-the-thao__guide-step {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #F2FFF6; /* Text Main */
  border: 1px solid #2E7A4E; /* Border */
}

.page-the-thao__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 2px 10px rgba(42, 209, 111, 0.4);
}

.page-the-thao__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-the-thao__step-text {
  font-size: 1em;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-the-thao__guide-step img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

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

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

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

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

.page-the-thao__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  list-style: none; /* Remove default marker */
}

.page-the-thao__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

.page-the-thao__faq-item summary::before {
  display: none; /* Ensure no default marker */
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

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

.page-the-thao__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-the-thao__faq-answer a {
  color: #2AD16F; /* Deep Green for links */
  text-decoration: underline;
}

.page-the-thao__faq-answer a:hover {
  color: #57E38D; /* Glow on hover */
}

/* Promotion CTA Section */
.page-the-thao__promotion-cta-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
  text-align: center;
}

.page-the-thao__promotion-cta-section .page-the-thao__cta-buttons {
  justify-content: center;
  margin-top: 30px;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__hero-container {
    flex-direction: column-reverse; /* Content above image on smaller screens */
    text-align: center;
    padding: 30px 16px;
  }
  .page-the-thao__hero-content {
    flex: 1 1 100%;
    margin-bottom: 30px;
  }
  .page-the-thao__hero-image {
    flex: 1 1 100%;
  }
  .page-the-thao__cta-buttons {
    justify-content: center;
  }
  .page-the-thao__feature-grid,
  .page-the-thao__offerings-grid,
  .page-the-thao__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-the-thao__icon-box-media {
    width: 200px;
    height: 200px;
  }
  .page-the-thao__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  /* HERO Section - Mobile */
  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
  }
  .page-the-thao__hero-container {
    padding: 20px 15px;
    gap: 20px;
  }
  .page-the-thao__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-the-thao__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to button container */
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 1em;
    padding: 12px 20px;
  }

  /* Intro Section - Mobile (Module 1 three-column circular images) */
  .page-the-thao__intro-section .page-the-thao__container {
    padding: 40px 15px;
  }
  .page-the-thao__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-the-thao__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-the-thao__feature-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .page-the-thao__icon-box-media {
    width: 200px;
    height: 200px;
    border: 3px solid #2AD16F;
  }

  /* Sports Offerings Section - Mobile */
  .page-the-thao__sports-offerings-section .page-the-thao__container {
    padding: 40px 15px;
  }
  .page-the-thao__offerings-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .page-the-thao__offering-card img {
     /* Adjust height for mobile */
  }

  /* Guide Section - Mobile */
  .page-the-thao__guide-section .page-the-thao__container {
    padding: 40px 15px;
  }
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .page-the-thao__step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-the-thao__guide-step img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__bottom-cta {
    margin-top: 30px;
    padding: 0 15px; /* Add padding to button container */
  }
  .page-the-thao__bottom-cta .page-the-thao__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* FAQ Section - Mobile */
  .page-the-thao__faq-section .page-the-thao__container {
    padding: 40px 15px;
  }
  .page-the-thao__faq-list {
    padding: 0 15px;
  }
  .page-the-thao__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-the-thao__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.95em;
  }

  /* Promotion CTA Section - Mobile */
  .page-the-thao__promotion-cta-section .page-the-thao__container {
    padding: 40px 15px;
  }
  .page-the-thao__promotion-cta-section .page-the-thao__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to button container */
  }

  /* General Images and Containers - Mobile */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__container,
  .page-the-thao__feature-item,
  .page-the-thao__offering-card,
  .page-the-thao__guide-step,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Override padding for specific items that already have padding */
  .page-the-thao__feature-item,
  .page-the-thao__guide-step {
    padding: 20px;
  }
  .page-the-thao__offering-card {
    padding: 0; /* Content inside card has its own padding */
  }
  .page-the-thao__offering-card .page-the-thao__card-title,
  .page-the-thao__offering-card .page-the-thao__card-text {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure no filter on images */
.page-the-thao img {
  filter: none !important;
}

/* Specific text color for links within text blocks for contrast */
.page-the-thao p a, .page-the-thao li a {
  color: #2AD16F; /* Deep Green for links */
  text-decoration: underline;
}
.page-the-thao p a:hover, .page-the-thao li a:hover {
  color: #57E38D; /* Glow on hover */
}