/* Base styles for the page-the-thao-huong-dan-ca-cuoc */
.page-the-thao-huong-dan-ca-cuoc {
  font-family: Arial, sans-serif;
  color: #FFF3E6; /* Text Main color for dark background */
  background-color: #0D0E12; /* Background color */
  line-height: 1.6;
}

/* Hero Section */
.page-the-thao-huong-dan-ca-cuoc__hero-section {
  padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
  padding-bottom: 60px;
  background-color: #0D0E12;
}

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

.page-the-thao-huong-dan-ca-cuoc__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: #FFF3E6;
}

.page-the-thao-huong-dan-ca-cuoc__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Using clamp for H1 font-size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-the-thao-huong-dan-ca-cuoc__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-the-thao-huong-dan-ca-cuoc__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container takes full width */
  box-sizing: border-box;
}

.page-the-thao-huong-dan-ca-cuoc__btn-primary,
.page-the-thao-huong-dan-ca-cuoc__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break */
  text-align: center;
}

.page-the-thao-huong-dan-ca-cuoc__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #FFF3E6; /* Text Main color */
  border: 2px solid transparent;
}

.page-the-thao-huong-dan-ca-cuoc__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-the-thao-huong-dan-ca-cuoc__btn-secondary {
  background: transparent;
  color: #FFA53A; /* Auxiliary color for text */
  border: 2px solid #FFA53A; /* Auxiliary color for border */
}

.page-the-thao-huong-dan-ca-cuoc__btn-secondary:hover {
  background: #FFA53A;
  color: #0D0E12; /* Dark background color for hover text */
}

.page-the-thao-huong-dan-ca-cuoc__hero-image {
  flex: 1 1 40%;
  min-width: 280px;
  text-align: center;
}

.page-the-thao-huong-dan-ca-cuoc__side-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Content Area */
.page-the-thao-huong-dan-ca-cuoc__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 15px;
  background-color: #17191F; /* Card BG color */
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-the-thao-huong-dan-ca-cuoc__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #FFA53A; /* Auxiliary color */
}

.page-the-thao-huong-dan-ca-cuoc__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #FF8C1A; /* Primary color */
}

.page-the-thao-huong-dan-ca-cuoc p {
  margin-bottom: 15px;
  color: #FFF3E6;
}

.page-the-thao-huong-dan-ca-cuoc__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
}

.page-the-thao-huong-dan-ca-cuoc ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-the-thao-huong-dan-ca-cuoc ul li {
  margin-bottom: 10px;
  color: #FFF3E6;
}

.page-the-thao-huong-dan-ca-cuoc ul li strong {
  color: #FFA53A;
}

/* FAQ Section */
.page-the-thao-huong-dan-ca-cuoc__faq-list {
  margin-top: 40px;
}

.page-the-thao-huong-dan-ca-cuoc__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-the-thao-huong-dan-ca-cuoc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: #FF8C1A; /* Primary color */
  list-style: none; /* Hide default marker for details summary */
}

.page-the-thao-huong-dan-ca-cuoc__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-the-thao-huong-dan-ca-cuoc__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFA53A; /* Auxiliary color */
}

.page-the-thao-huong-dan-ca-cuoc__faq-item[open] .page-the-thao-huong-dan-ca-cuoc__faq-toggle {
  transform: rotate(45deg); /* Rotate to form an 'x' or similar */
}

.page-the-thao-huong-dan-ca-cuoc__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #FFF3E6;
}

.page-the-thao-huong-dan-ca-cuoc__faq-answer p {
  margin-bottom: 10px;
}

.page-the-thao-huong-dan-ca-cuoc__faq-answer .page-the-thao-huong-dan-ca-cuoc__btn-secondary {
  margin-top: 15px;
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao-huong-dan-ca-cuoc__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}

@media (max-width: 768px) {
  /* HERO SECTION */
  .page-the-thao-huong-dan-ca-cuoc__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px !important;
  }
  .page-the-thao-huong-dan-ca-cuoc__hero-container {
    flex-direction: column;
    padding: 0 15px;
    gap: 30px;
  }
  .page-the-thao-huong-dan-ca-cuoc__hero-content {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-the-thao-huong-dan-ca-cuoc__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-the-thao-huong-dan-ca-cuoc__main-title {
    font-size: 2.2rem !important;
    text-align: center;
  }
  .page-the-thao-huong-dan-ca-cuoc__description {
    font-size: 1rem !important;
    text-align: center;
  }
  .page-the-thao-huong-dan-ca-cuoc__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px; /* Add padding to button container */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao-huong-dan-ca-cuoc__btn-primary,
  .page-the-thao-huong-dan-ca-cuoc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* CONTENT AREA */
  .page-the-thao-huong-dan-ca-cuoc__content-area {
    padding: 30px 15px !important;
    margin-left: 15px;
    margin-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-the-thao-huong-dan-ca-cuoc__section-title {
    font-size: 1.8rem !important;
  }
  .page-the-thao-huong-dan-ca-cuoc__sub-title {
    font-size: 1.5rem !important;
  }
  .page-the-thao-huong-dan-ca-cuoc p,
  .page-the-thao-huong-dan-ca-cuoc li {
    font-size: 0.95rem !important;
  }

  /* IMAGES */
  .page-the-thao-huong-dan-ca-cuoc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-the-thao-huong-dan-ca-cuoc__hero-image .page-the-thao-huong-dan-ca-cuoc__side-image {
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao-huong-dan-ca-cuoc__content-image {
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ */
  .page-the-thao-huong-dan-ca-cuoc__faq-question {
    padding: 15px 20px !important;
    font-size: 1rem !important;
  }
  .page-the-thao-huong-dan-ca-cuoc__faq-answer {
    padding: 0 20px 15px !important;
    font-size: 0.9rem !important;
  }
}