.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-the-thao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-the-thao__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-the-thao__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as per instruction */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -100px; /* Overlap slightly for visual flow, but text is below image */
  background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

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

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

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  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: #1a8ccf;
  border-color: #1a8ccf;
}

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

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

.page-the-thao__btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  width: fit-content;
}

.page-the-thao__section {
  padding: 60px 0;
}

.page-the-thao__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-the-thao__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__text-block a {
  color: #26A9E0;
  text-decoration: none;
}

.page-the-thao__text-block a:hover {
  text-decoration: underline;
}

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

.page-the-thao__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-the-thao__card-image {
  width: 100%;
  height: auto;
  max-height: 225px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

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

.page-the-thao__card-text {
  font-size: 0.95rem;
  color: #555555;
  flex-grow: 1;
}

.page-the-thao__odds-table-placeholder {
  background-color: #f0f0f0;
  border: 1px dashed #ccc;
  padding: 30px;
  margin-top: 30px;
  text-align: center;
}

.page-the-thao__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-the-thao__guide-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-the-thao__guide-list li strong {
  color: #26A9E0;
  font-size: 1.1rem;
}

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

.page-the-thao__promo-card .page-the-thao__btn-secondary {
  margin-top: 20px;
}

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

.page-the-thao__advantage-item {
  text-align: center;
}

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

.page-the-thao__faq-item {
  margin-bottom: 15px;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-the-thao__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #f0f8ff; /* Light blue background for summary */
  color: #26A9E0;
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none; /* Remove default marker */
  cursor: pointer;
}

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

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

.page-the-thao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 15px 25px;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  color: #555555;
}

.page-the-thao__cta-bottom {
  padding: 80px 0;
  text-align: center;
}

.page-the-thao__cta-bottom .page-the-thao__section-title {
  color: #ffffff;
}

.page-the-thao__cta-bottom .page-the-thao__description {
  color: #e0f2f7;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-the-thao__text-center {
  text-align: center;
}

/* Ensure all images are responsive */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-the-thao__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__hero-section {
    padding-top: 10px !important;
  }

  .page-the-thao__hero-content {
    padding: 30px 15px;
    margin-top: -50px; /* Adjust overlap for mobile */
  }

  .page-the-thao__main-title {
    font-size: 2rem; /* Smaller H1 for mobile */
    margin-bottom: 15px;
  }

  .page-the-thao__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-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__section {
    padding: 40px 0;
  }

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

  .page-the-thao__text-block {
    font-size: 0.95rem;
  }

  .page-the-thao__bet-types-grid,
  .page-the-thao__promo-cards,
  .page-the-thao__advantages-list {
    grid-template-columns: 1fr; /* Single column for cards on mobile */
    gap: 20px;
  }

  .page-the-thao__card {
    padding: 20px;
  }

  .page-the-thao__card-title {
    font-size: 1.2rem;
  }

  .page-the-thao__card-text {
    font-size: 0.9rem;
  }

  .page-the-thao__odds-table-placeholder {
    padding: 20px;
  }

  .page-the-thao__guide-list li {
    padding: 15px;
  }

  .page-the-thao__guide-list li strong {
    font-size: 1rem;
  }

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

  .page-the-thao__faq-answer {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .page-the-thao__cta-bottom {
    padding: 60px 0;
  }

  .page-the-thao__cta-bottom .page-the-thao__description {
    font-size: 1rem;
  }

  /* Force responsive images on mobile */
  .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__cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-the-thao__main-title {
    font-size: 1.8rem;
  }
  .page-the-thao__section-title {
    font-size: 1.6rem;
  }
}