/* Base styles for the page */
.page-the-thao-huong-dan-dat-cuoc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
  padding-bottom: 40px;
}

.page-the-thao-huong-dan-dat-cuoc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-the-thao-huong-dan-dat-cuoc__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-the-thao-huong-dan-dat-cuoc__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD86A; /* Gold color for titles */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-the-thao-huong-dan-dat-cuoc__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao-huong-dan-dat-cuoc__link {
  color: #FFD86A;
  text-decoration: underline;
}

/* Hero Section */
.page-the-thao-huong-dan-dat-cuoc__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, body handles header offset */
  padding-bottom: 60px;
  background-color: #7A0E0E; /* Deep Red */
}

.page-the-thao-huong-dan-dat-cuoc__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-the-thao-huong-dan-dat-cuoc__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Overlap with image slightly for visual effect */
  background-color: rgba(193, 31, 23, 0.85); /* C91F17 with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border: 2px solid #F2B544; /* Border */
}

.page-the-thao-huong-dan-dat-cuoc__main-title {
  font-size: clamp(32px, 4vw, 48px);
  color: #FFD86A;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.page-the-thao-huong-dan-dat-cuoc__hero-description {
  font-size: 20px;
  color: #FFF5E1;
  margin-bottom: 30px;
}

.page-the-thao-huong-dan-dat-cuoc__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-the-thao-huong-dan-dat-cuoc__btn-primary,
.page-the-thao-huong-dan-dat-cuoc__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-the-thao-huong-dan-dat-cuoc__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-the-thao-huong-dan-dat-cuoc__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
  filter: brightness(1.1);
}

.page-the-thao-huong-dan-dat-cuoc__btn-secondary {
  background-color: transparent;
  color: #FFD86A;
  border: 2px solid #FFD86A;
}

.page-the-thao-huong-dan-dat-cuoc__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 216, 106, 0.1);
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.2);
}

/* Introduction Section */
.page-the-thao-huong-dan-dat-cuoc__introduction-section {
  background-color: #B71C1C;
}

/* Bet Types Section */
.page-the-thao-huong-dan-dat-cuoc__bet-types-section {
  background-color: #7A0E0E;
}

.page-the-thao-huong-dan-dat-cuoc__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-the-thao-huong-dan-dat-cuoc__card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF5E1;
}

.page-the-thao-huong-dan-dat-cuoc__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-the-thao-huong-dan-dat-cuoc__card-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-the-thao-huong-dan-dat-cuoc__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD86A;
}

.page-the-thao-huong-dan-dat-cuoc__card-text {
  font-size: 16px;
}

/* Guide Section */
.page-the-thao-huong-dan-dat-cuoc__guide-section {
  background-color: #B71C1C;
}

.page-the-thao-huong-dan-dat-cuoc__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-the-thao-huong-dan-dat-cuoc__step-list {
  flex: 2;
}

.page-the-thao-huong-dan-dat-cuoc__step-item {
  background-color: #D32F2F;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #F2B544;
  color: #FFF5E1;
}

.page-the-thao-huong-dan-dat-cuoc__step-title {
  font-size: 22px;
  color: #FFD86A;
  margin-bottom: 10px;
}

.page-the-thao-huong-dan-dat-cuoc__guide-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-the-thao-huong-dan-dat-cuoc__guide-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544;
}

/* Strategy Section */
.page-the-thao-huong-dan-dat-cuoc__strategy-section {
  background-color: #7A0E0E;
}

.page-the-thao-huong-dan-dat-cuoc__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-the-thao-huong-dan-dat-cuoc__strategy-card {
  background-color: #D32F2F;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544;
  color: #FFF5E1;
}

.page-the-thao-huong-dan-dat-cuoc__strategy-title {
  font-size: 22px;
  color: #FFD86A;
  margin-bottom: 10px;
}

.page-the-thao-huong-dan-dat-cuoc__strategy-image-wrapper {
  text-align: center;
}

.page-the-thao-huong-dan-dat-cuoc__strategy-image {
  max-width: 80%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544;
}

/* Sports Section */
.page-the-thao-huong-dan-dat-cuoc__sports-section {
  background-color: #B71C1C;
}

.page-the-thao-huong-dan-dat-cuoc__sports-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  font-size: 18px;
}

.page-the-thao-huong-dan-dat-cuoc__sports-item {
  background-color: #D32F2F;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 4px solid #F2B544;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-the-thao-huong-dan-dat-cuoc__centered-button {
  text-align: center;
  margin-top: 30px;
}

/* Promotion Section */
.page-the-thao-huong-dan-dat-cuoc__promo-section {
  background-color: #7A0E0E;
}

.page-the-thao-huong-dan-dat-cuoc__promo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  font-size: 18px;
}

.page-the-thao-huong-dan-dat-cuoc__promo-item {
  background-color: #D32F2F;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  border-left: 4px solid #F2B544;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-the-thao-huong-dan-dat-cuoc__faq-section {
  background-color: #B71C1C;
}

details.page-the-thao-huong-dan-dat-cuoc__faq-item {
  margin-bottom: 15px;
  border-radius: 15px;
  border: 1px solid #F2B544;
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-the-thao-huong-dan-dat-cuoc__faq-item summary.page-the-thao-huong-dan-dat-cuoc__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;
  color: #FFD86A; /* Gold for question text */
  font-size: 20px;
  font-weight: bold;
}
details.page-the-thao-huong-dan-dat-cuoc__faq-item summary.page-the-thao-huong-dan-dat-cuoc__faq-question::-webkit-details-marker {
  display: none;
}
details.page-the-thao-huong-dan-dat-cuoc__faq-item summary.page-the-thao-huong-dan-dat-cuoc__faq-question:hover {
  background: #E53935; /* Auxiliary color for hover */
}
.page-the-thao-huong-dan-dat-cuoc__faq-qtext {
  flex: 1;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.5;
  text-align: left;
}
.page-the-thao-huong-dan-dat-cuoc__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD86A;
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}
details.page-the-thao-huong-dan-dat-cuoc__faq-item .page-the-thao-huong-dan-dat-cuoc__faq-answer {
  padding: 0 25px 25px;
  background: #C91F17; /* Main color for answer background */
  border-radius: 0 0 15px 15px;
  color: #FFF5E1;
  font-size: 17px;
}

/* Conclusion Section */
.page-the-thao-huong-dan-dat-cuoc__conclusion-section {
  background-color: #7A0E0E;
  text-align: center;
}

.page-the-thao-huong-dan-dat-cuoc__cta-buttons--bottom {
  margin-top: 40px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-the-thao-huong-dan-dat-cuoc__hero-content {
    margin-top: -120px;
    max-width: 700px;
  }

  .page-the-thao-huong-dan-dat-cuoc__main-title {
    font-size: clamp(28px, 4vw, 42px);
  }

  .page-the-thao-huong-dan-dat-cuoc__hero-description {
    font-size: 18px;
  }

  .page-the-thao-huong-dan-dat-cuoc__section-title {
    font-size: 30px;
  }

  .page-the-thao-huong-dan-dat-cuoc__card-title {
    font-size: 22px;
  }

  .page-the-thao-huong-dan-dat-cuoc__step-title,
  .page-the-thao-huong-dan-dat-cuoc__strategy-title {
    font-size: 20px;
  }

  .page-the-thao-huong-dan-dat-cuoc__text-block,
  .page-the-thao-huong-dan-dat-cuoc__card-text,
  .page-the-thao-huong-dan-dat-cuoc__sports-item,
  .page-the-thao-huong-dan-dat-cuoc__promo-item,
  details.page-the-thao-huong-dan-dat-cuoc__faq-item .page-the-thao-huong-dan-dat-cuoc__faq-answer {
    font-size: 16px;
  }

  details.page-the-thao-huong-dan-dat-cuoc__faq-item summary.page-the-thao-huong-dan-dat-cuoc__faq-question {
    font-size: 18px;
    padding: 15px 20px;
  }
  .page-the-thao-huong-dan-dat-cuoc__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
}

@media (max-width: 849px) {
  .page-the-thao-huong-dan-dat-cuoc__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    height: auto !important;
    max-height: none !important;
  }
}

@media (max-width: 768px) {
  .page-the-thao-huong-dan-dat-cuoc__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao-huong-dan-dat-cuoc__section {
    padding: 40px 0;
  }

  .page-the-thao-huong-dan-dat-cuoc__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }

  .page-the-thao-huong-dan-dat-cuoc__hero-image-wrapper {
    max-height: none !important;
  }

  .page-the-thao-huong-dan-dat-cuoc__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }

  .page-the-thao-huong-dan-dat-cuoc__hero-content {
    margin-top: -80px;
    padding: 15px;
    max-width: 100%;
  }

  .page-the-thao-huong-dan-dat-cuoc__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-the-thao-huong-dan-dat-cuoc__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-the-thao-huong-dan-dat-cuoc__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-the-thao-huong-dan-dat-cuoc__btn-primary,
  .page-the-thao-huong-dan-dat-cuoc__btn-secondary,
  .page-the-thao-huong-dan-dat-cuoc a[class*="button"],
  .page-the-thao-huong-dan-dat-cuoc 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-huong-dan-dat-cuoc__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-the-thao-huong-dan-dat-cuoc__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao-huong-dan-dat-cuoc__card {
    padding: 20px;
  }

  .page-the-thao-huong-dan-dat-cuoc__card-title {
    font-size: 20px;
  }

  .page-the-thao-huong-dan-dat-cuoc__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-the-thao-huong-dan-dat-cuoc__step-item {
    padding: 20px;
  }

  .page-the-thao-huong-dan-dat-cuoc__step-title {
    font-size: 18px;
  }

  .page-the-thao-huong-dan-dat-cuoc__guide-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-the-thao-huong-dan-dat-cuoc__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao-huong-dan-dat-cuoc__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao-huong-dan-dat-cuoc__strategy-card {
    padding: 20px;
  }

  .page-the-thao-huong-dan-dat-cuoc__strategy-title {
    font-size: 18px;
  }

  .page-the-thao-huong-dan-dat-cuoc__strategy-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao-huong-dan-dat-cuoc__sports-item,
  .page-the-thao-huong-dan-dat-cuoc__promo-item {
    font-size: 16px;
    padding: 12px 15px;
  }

  details.page-the-thao-huong-dan-dat-cuoc__faq-item summary.page-the-thao-huong-dan-dat-cuoc__faq-question {
    padding: 15px;
    font-size: 16px;
  }
  .page-the-thao-huong-dan-dat-cuoc__faq-toggle {
    font-size: 22px;
    width: 22px;
    margin-left: 10px;
  }
  details.page-the-thao-huong-dan-dat-cuoc__faq-item .page-the-thao-huong-dan-dat-cuoc__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* Ensure all content area images are responsive */
  .page-the-thao-huong-dan-dat-cuoc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao-huong-dan-dat-cuoc__section,
  .page-the-thao-huong-dan-dat-cuoc__card,
  .page-the-thao-huong-dan-dat-cuoc__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao-huong-dan-dat-cuoc__cta-buttons--bottom {
    padding: 0 15px;
  }
}