.page-the-thao-luat-va-meo-ca-cuoc {
  font-family: Arial, sans-serif;
  color: #FFF5E1; /* Main text color for dark background */
  background-color: var(--background-color, #B71C1C); /* Fallback to custom background if var not defined */
  line-height: 1.6;
}

.page-the-thao-luat-va-meo-ca-cuoc__hero-section {
  padding-top: 10px; /* Small top padding, relies on shared body padding */
  padding-bottom: 60px;
  background-color: #B71C1C; /* Use custom background color */
}

.page-the-thao-luat-va-meo-ca-cuoc__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 20px 15px;
}

.page-the-thao-luat-va-meo-ca-cuoc__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: #FFF5E1;
}

.page-the-thao-luat-va-meo-ca-cuoc__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFCC66; /* Gold color for main title */
}

.page-the-thao-luat-va-meo-ca-cuoc__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-the-thao-luat-va-meo-ca-cuoc__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-the-thao-luat-va-meo-ca-cuoc__cta-buttons--center {
  justify-content: center;
  margin-top: 30px;
}

.page-the-thao-luat-va-meo-ca-cuoc__btn-primary,
.page-the-thao-luat-va-meo-ca-cuoc__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-the-thao-luat-va-meo-ca-cuoc__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #333333; /* Dark text for light button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 204, 102, 0.4);
}

.page-the-thao-luat-va-meo-ca-cuoc__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(255, 204, 102, 0.6);
}

.page-the-thao-luat-va-meo-ca-cuoc__btn-secondary {
  background-color: #D32F2F; /* Card BG color */
  color: #FFF5E1; /* Text Main color */
  border: 2px solid #F2B544; /* Border color */
}

.page-the-thao-luat-va-meo-ca-cuoc__btn-secondary:hover {
  background-color: #7A0E0E; /* Deep Red */
  border-color: #FFCC66; /* Glow color */
}

.page-the-thao-luat-va-meo-ca-cuoc__hero-image {
  flex: 1 1 40%;
  text-align: center;
  min-width: 300px;
}

.page-the-thao-luat-va-meo-ca-cuoc__hero-side-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-the-thao-luat-va-meo-ca-cuoc__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 15px;
  background-color: var(--background-color, #B71C1C); /* Ensure content area also uses body background or fallback */
  color: #FFF5E1;
}

.page-the-thao-luat-va-meo-ca-cuoc__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #F4D34D; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E53935; /* Accent color for border */
}

.page-the-thao-luat-va-meo-ca-cuoc__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-the-thao-luat-va-meo-ca-cuoc__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-the-thao-luat-va-meo-ca-cuoc__grid-container--two-col {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-the-thao-luat-va-meo-ca-cuoc__grid-item {
  background-color: #D32F2F; /* Card BG color */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
}

.page-the-thao-luat-va-meo-ca-cuoc__image-full-width {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-the-thao-luat-va-meo-ca-cuoc__item-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFCC66; /* Gold color */
  margin-bottom: 15px;
}

.page-the-thao-luat-va-meo-ca-cuoc__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-the-thao-luat-va-meo-ca-cuoc__list li {
  margin-bottom: 10px;
}

.page-the-thao-luat-va-meo-ca-cuoc__faq-list {
  margin-top: 30px;
}

.page-the-thao-luat-va-meo-ca-cuoc__faq-item {
  background-color: #D32F2F; /* Card BG color */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #FFF5E1;
}

.page-the-thao-luat-va-meo-ca-cuoc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F4D34D; /* Gold color */
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-the-thao-luat-va-meo-ca-cuoc__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-the-thao-luat-va-meo-ca-cuoc__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #FFCC66;
  transition: transform 0.3s ease;
}

.page-the-thao-luat-va-meo-ca-cuoc__faq-item[open] .page-the-thao-luat-va-meo-ca-cuoc__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-the-thao-luat-va-meo-ca-cuoc__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #FFF5E1;
}

.page-the-thao-luat-va-meo-ca-cuoc__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

.page-the-thao-luat-va-meo-ca-cuoc__faq-answer a {
  color: #FFCC66;
  text-decoration: underline;
}

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

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .page-the-thao-luat-va-meo-ca-cuoc__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__hero-content {
    order: 2; /* Content below image */
  }

  .page-the-thao-luat-va-meo-ca-cuoc__hero-image {
    order: 1; /* Image above content */
  }

  .page-the-thao-luat-va-meo-ca-cuoc__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-the-thao-luat-va-meo-ca-cuoc__grid-container--two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-the-thao-luat-va-meo-ca-cuoc {
    font-size: 15px;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__hero-container {
    padding: 15px;
    gap: 25px;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__btn-primary,
  .page-the-thao-luat-va-meo-ca-cuoc__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  /* Ensure button containers also adapt */
  .page-the-thao-luat-va-meo-ca-cuoc__cta-buttons,
  .page-the-thao-luat-va-meo-ca-cuoc__button-group,
  .page-the-thao-luat-va-meo-ca-cuoc__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Important for multiple buttons */
    gap: 10px;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__content-area {
    padding: 30px 15px;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 25px;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__text-block {
    font-size: 0.95rem;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__grid-item {
    padding: 20px;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__item-title {
    font-size: 1.3rem;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__list {
    padding-left: 20px;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__faq-question {
    font-size: 1.05rem;
    padding: 15px 20px;
  }

  .page-the-thao-luat-va-meo-ca-cuoc__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* General images for content area */
  .page-the-thao-luat-va-meo-ca-cuoc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Placeholder for Module 1 three-column (if present) */
  .page-the-thao-luat-va-meo-ca-cuoc__icon-box-media {
    width: 200px; /* Example size for square */
    height: 200px; /* Example size for square */
    margin: 0 auto 10px;
  }

  /* Placeholder for Game Tabs (if present) */
  .page-the-thao-luat-va-meo-ca-cuoc__game-tabs {
    flex-direction: column;
  }
  .page-the-thao-luat-va-meo-ca-cuoc__tab-nav {
    flex-direction: column;
    gap: 5px;
  }
  .page-the-thao-luat-va-meo-ca-cuoc__tab-nav button {
    width: 100%;
    text-align: center;
  }
  .page-the-thao-luat-va-meo-ca-cuoc__game-panel {
    padding: 20px 0;
  }
}