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

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

.page-the-thao__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding-top: 10px; /* Assuming shared.css handles body padding-top */
  margin-bottom: 40px;
  background-color: #E53935; /* Fallback background for hero */
}

.page-the-thao__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.page-the-thao__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-the-thao__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 800px;
  width: 90%;
  padding: 20px;
  box-sizing: border-box;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

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

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

.page-the-thao__section-title {
  font-size: 2.5em;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.page-the-thao__introduction-section,
.page-the-thao__how-to-bet-section,
.page-the-thao__featured-sports-section,
.page-the-thao__tips-section,
.page-the-thao__cta-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

.page-the-thao__bet-types-section,
.page-the-thao__advantages-section,
.page-the-thao__promotions-section,
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #E53935;
  color: #ffffff;
}

.page-the-thao__dark-section .page-the-thao__section-title {
  color: #ffffff;
}

.page-the-thao__dark-section .page-the-thao__section-description {
  color: #f0f0f0;
}

.page-the-thao__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-the-thao__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-the-thao__text-content {
  flex: 1;
}

.page-the-thao__text-content p {
  margin-bottom: 15px;
  color: #333333;
}

.page-the-thao__dark-section .page-the-thao__text-content p {
  color: #f0f0f0;
}

.page-the-thao__image-content {
  flex: 1;
  text-align: center;
}

.page-the-thao__image-content--center {
  margin-top: 40px;
}

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

.page-the-thao__grid-3-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-the-thao__grid-2-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-the-thao__card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
  border: 1px solid #E0E0E0;
}

.page-the-thao__dark-bg-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-the-thao__dark-bg-card .page-the-thao__card-title {
  color: #ffffff;
}

.page-the-thao__dark-bg-card p {
  color: #f0f0f0;
}

.page-the-thao__card-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

.page-the-thao__step-card {
  text-align: center;
  padding: 25px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #E0E0E0;
}

.page-the-thao__step-icon {
  margin-bottom: 20px;
}

.page-the-thao__step-icon img {
  
  
  object-fit: contain;
}

.page-the-thao__step-title {
  font-size: 1.3em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__advantage-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  color: #ffffff;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-the-thao__advantage-title {
  font-size: 1.4em;
  color: #FFD700; /* Gold-like color for emphasis */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__advantage-item p {
  color: #f0f0f0;
}

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

.page-the-thao__sport-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #E0E0E0;
}

.page-the-thao__sport-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-the-thao__sport-title {
  font-size: 1.4em;
  color: #E53935;
  margin: 20px 0 10px;
  font-weight: 600;
}

.page-the-thao__sport-card p {
  padding: 0 20px;
  margin-bottom: 20px;
  color: #555555;
}

.page-the-thao__btn-tertiary {
  display: inline-block;
  background-color: #FF5A4F;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-tertiary:hover {
  background-color: #E53935;
}

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

.page-the-thao__promo-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-the-thao__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-the-thao__promo-content {
  padding: 25px;
  flex-grow: 1;
  color: #ffffff;
}

.page-the-thao__promo-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__promo-content p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

.page-the-thao__tip-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: left;
  border: 1px solid #E0E0E0;
}

.page-the-thao__tip-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-the-thao__tip-card p {
  color: #555555;
}

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

.page-the-thao__faq-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  list-style: none;
  outline: none;
}

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

.page-the-thao__faq-item summary::marker {
  display: none;
}

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

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  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: 0 25px 20px;
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  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: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-the-thao__btn-secondary:hover {
  background: #f0f0f0;
  color: #E53935;
  transform: translateY(-2px);
}

.page-the-thao__btn-inline {
  margin-top: 20px;
}

.page-the-thao__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

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

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

  /* Hero Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    margin-bottom: 30px;
  }

  .page-the-thao__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    filter: brightness(0.7);
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  .page-the-thao__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 20px 15px;
    width: 100%;
    max-width: 100%;
  }

  .page-the-thao__hero-title {
    font-size: 2em; /* Adjusted for better mobile readability */
    margin-bottom: 10px;
  }

  .page-the-thao__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  /* Section Titles & Descriptions */
  .page-the-thao__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

  /* Content Wrapper (e.g., Introduction) */
  .page-the-thao__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-the-thao__content-wrapper:nth-child(even) {
    flex-direction: column;
  }

  .page-the-thao__text-content p {
    font-size: 0.95em;
  }

  /* Grid Layouts */
  .page-the-thao__grid-3-columns,
  .page-the-thao__grid-2-columns,
  .page-the-thao__steps-grid,
  .page-the-thao__sports-grid,
  .page-the-thao__promo-grid,
  .page-the-thao__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Cards */
  .page-the-thao__card,
  .page-the-thao__step-card,
  .page-the-thao__advantage-item,
  .page-the-thao__sport-card,
  .page-the-thao__promo-card,
  .page-the-thao__tip-card {
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__card-title,
  .page-the-thao__step-title,
  .page-the-thao__advantage-title,
  .page-the-thao__sport-title,
  .page-the-thao__promo-title,
  .page-the-thao__tip-title {
    font-size: 1.2em;
  }

  .page-the-thao__step-icon img {
    
    
  }

  .page-the-thao__sport-image {
    height: 180px;
  }

  .page-the-thao__promo-image {
    height: 200px;
  }

  /* Buttons */
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-tertiary,
  .page-the-thao a[class*="button"],
  .page-the-thao a[class*="btn"] {
    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;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* FAQ */
  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-the-thao__faq-answer {
    padding: 0 20px 15px;
  }

  .page-the-thao__faq-toggle {
    font-size: 1.3em;
  }

  /* 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__content-wrapper,
  .page-the-thao__grid-3-columns,
  .page-the-thao__grid-2-columns,
  .page-the-thao__steps-grid,
  .page-the-thao__sports-grid,
  .page-the-thao__promo-grid,
  .page-the-thao__tips-grid,
  .page-the-thao__faq-list,
  .page-the-thao__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .page-the-thao__hero-title {
    font-size: 1.8em;
  }

  .page-the-thao__section-title {
    font-size: 1.6em;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-large {
    font-size: 1em;
    padding: 12px 25px;
  }
}