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

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding to clear fixed header, not var(--header-offset) */
  padding-bottom: 60px;
  background-color: #f0f8ff; /* Light blue tint */
}

.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 45%;
  min-width: 300px;
}

.page-the-thao__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-the-thao__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

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

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

.page-the-thao__hero-side-image {
  max-width: 600px;
  width: 100%;
  height: 600px; /* Maintain square aspect ratio as per imageRequirements */
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

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

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

.page-the-thao__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

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

.page-the-thao__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87c0;
  border-color: #1e87c0;
}

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

.page-the-thao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

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

.page-the-thao__intro-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-the-thao__icon-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-the-thao__icon-box {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-the-thao__icon-box: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 #26A9E0;
}

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

.page-the-thao__icon-box-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__icon-box-text {
  font-size: 1rem;
  color: #666666;
}

.page-the-thao__sports-tabs-section {
  padding: 60px 0;
  background-color: #f0f8ff;
}

.page-the-thao__tab-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.page-the-thao__tab-button {
  background-color: #ffffff;
  border: 1px solid #26A9E0;
  color: #26A9E0;
  padding: 12px 25px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
}

.page-the-thao__tab-button.is-active,
.page-the-thao__tab-button:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-the-thao__game-panels {
  margin-top: 20px;
}

.page-the-thao__game-panel {
  display: none;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-the-thao__game-panel.is-active {
  display: block;
}

.page-the-thao__panel-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__panel-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__panel-text {
  font-size: 1.05rem;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__guide-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

.page-the-thao__guide-step {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 300px;
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.page-the-thao__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__guide-title {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__guide-text {
  font-size: 1rem;
  color: #666666;
}

.page-the-thao__promo-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #f0f8ff;
}

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

.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: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
  list-style: none; /* For <details> summary */
}

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

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

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

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

.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: #666666;
  line-height: 1.5;
}

.page-the-thao__cta-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

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

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

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

  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

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

  .page-the-thao__hero-content,
  .page-the-thao__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-the-thao__hero-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .page-the-thao__hero-description {
    font-size: 1rem;
    text-align: center;
  }

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

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 300px !important; /* Constrain max-width for column buttons */
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  .page-the-thao__intro-section,
  .page-the-thao__sports-tabs-section,
  .page-the-thao__guide-section,
  .page-the-thao__promo-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-section {
    padding: 40px 0;
  }

  .page-the-thao__icon-box {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-the-thao__icon-box-media {
    width: 200px;
    height: 200px;
    border-width: 3px;
  }

  .page-the-thao__icon-box-title {
    font-size: 1.3rem;
  }

  .page-the-thao__tab-nav {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
    align-items: center;
  }

  .page-the-thao__tab-button {
    width: 100%;
    max-width: 250px;
    font-size: 1rem;
    padding: 10px 20px;
  }

  .page-the-thao__game-panel {
    padding: 20px;
  }

  .page-the-thao__panel-title {
    font-size: 1.5rem;
  }

  .page-the-thao__panel-text {
    font-size: 0.95rem;
  }

  .page-the-thao__guide-steps {
    flex-direction: column;
    gap: 20px;
  }

  .page-the-thao__guide-step {
    flex: 1 1 100%;
    min-width: unset;
    padding: 20px;
  }

  .page-the-thao__guide-title {
    font-size: 1.4rem;
  }

  .page-the-thao__guide-text {
    font-size: 0.95rem;
  }

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

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

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

  /* Force all images to be responsive */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Specific override for square images that should maintain aspect ratio if possible, but still fit width */
  .page-the-thao__icon-box-media img {
    height: 100% !important; /* Fill parent square */
    object-fit: cover !important;
  }

  /* General container responsiveness */
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure button groups wrap or stack */
  .page-the-thao__hero-cta-buttons,
  .page-the-thao__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}