.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

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

.page-the-thao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 50px;
  background-color: #7A0E0E; /* Deep Red */
}

.page-the-thao__hero-image {
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-the-thao__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.page-the-thao__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to bring text closer to image but not overlap */
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFCC66; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red for contrast */
  border: none;
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-the-thao__btn-secondary {
  background: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #FFCC66; /* Glow for border */
}

.page-the-thao__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  background: #E53935; /* Auxiliary color */
}

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

.page-the-thao__intro-section {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-the-thao__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #FFCC66; /* Glow */
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-the-thao__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #FFF5E1; /* Text Main */
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: justify;
}

.page-the-thao__button-group {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.page-the-thao__featured-sports {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
}

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

.page-the-thao__sport-card {
  background-color: #7A0E0E; /* Deep Red */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #F2B544; /* Border */
}

.page-the-thao__sport-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-the-thao__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFCC66; /* Glow */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-the-thao__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-the-thao__btn-text {
  display: inline-block;
  color: #FFD86A; /* Button color for text link */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
}

.page-the-thao__btn-text:hover {
  color: #E6B800; /* Darker button color */
  text-decoration: underline;
}

.page-the-thao__why-choose-us {
  background-color: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main */
}

.page-the-thao__dark-section {
  background-color: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main */
}

.page-the-thao__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-the-thao__feature-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #F2B544; /* Border */
}

.page-the-thao__feature-item img {
  
  
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
}

.page-the-thao__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFCC66; /* Glow */
  margin-bottom: 15px;
}

.page-the-thao__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 15px;
}

.page-the-thao__how-to-bet {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-the-thao__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-the-thao__step-card {
  background-color: #7A0E0E; /* Deep Red */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #F2B544; /* Border */
}

.page-the-thao__step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFD86A; /* Button color */
  margin-bottom: 20px;
  line-height: 1;
}

.page-the-thao__betting-tips {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
}

.page-the-thao__article-body {
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.2); /* Slightly darker background for readability */
  border-radius: 10px;
  border: 1px solid rgba(242, 181, 68, 0.5); /* Semi-transparent border */
}

.page-the-thao__article-body h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #FFCC66; /* Glow */
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.page-the-thao__article-body p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao__faq-section {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

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

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #7A0E0E; /* Deep Red */
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

details.page-the-thao__faq-item summary.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background-color: #D32F2F; /* Card BG */
  color: #FFCC66; /* Glow */
}

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

details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: #E53935; /* Auxiliary color */
}

.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFCC66; /* Glow */
}

.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD86A; /* Button color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 20px;
  background: #7A0E0E; /* Deep Red */
  border-radius: 0 0 10px 10px;
  color: #FFF5E1; /* Text Main */
  font-size: 1rem;
  line-height: 1.6;
}

.page-the-thao__conclusion-section {
  background-color: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main */
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-the-thao__hero-image {
    height: 500px;
  }
  .page-the-thao__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-the-thao__description {
    font-size: 1.1rem;
  }
  .page-the-thao__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-the-thao__text-block {
    font-size: 1rem;
  }
  .page-the-thao__sport-card img {
    
  }
  .page-the-thao__feature-item img {
    
    
  }
  .page-the-thao__faq-qtext {
    font-size: 1rem;
  }
}

@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; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-the-thao__hero-image {
    height: 300px;
  }
  
  .page-the-thao__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__hero-content {
    margin-top: -50px;
    padding: 15px;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

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

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

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-the-thao__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-the-thao__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__sports-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__sport-card img {
    
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

  .page-the-thao__feature-grid,
  .page-the-thao__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__feature-item img {
    
    
    max-width: 100% !important;
    height: auto !important;
  }

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

  .page-the-thao__feature-description {
    font-size: 0.9rem;
  }

  .page-the-thao__step-number {
    font-size: 2rem;
  }

  .page-the-thao__article-body {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__article-body h3 {
    font-size: 1.4rem;
  }

  .page-the-thao__article-body p {
    font-size: 0.95rem;
  }

  .page-the-thao__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px;
  }

  .page-the-thao__faq-qtext {
    font-size: 0.95rem;
  }

  .page-the-thao__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

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

  .page-the-thao__conclusion-section .page-the-thao__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

@media (max-width: 768px) {
  .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__hero-section,
  .page-the-thao__intro-section,
  .page-the-thao__featured-sports,
  .page-the-thao__why-choose-us,
  .page-the-thao__how-to-bet,
  .page-the-thao__betting-tips,
  .page-the-thao__faq-section,
  .page-the-thao__conclusion-section,
  .page-the-thao__sport-card,
  .page-the-thao__feature-item,
  .page-the-thao__step-card,
  .page-the-thao__article-body,
  .page-the-thao__faq-list,
  details.page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__cta-buttons,
  .page-the-thao__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
  }
}