/* style/blog-huong-dan-ca-cuoc-the-thao-bd88.css */
:root {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --card-bg: #2A1212;
  --background-dark: #140C0C;
  --text-main: #FFF1E8;
  --border-color: #6A1E1E;
  --gold-color: #F3C54D;
  --deep-red-color: #7E0D0D;
  --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88 {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--background-dark);
  line-height: 1.6;
  font-size: 1rem;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjusted for larger screens */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding */
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  margin-top: auto; /* Pushes content to the bottom */
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__main-title {
  color: var(--gold-color);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 300px; /* Limit button width */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__btn--primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__btn--secondary {
  background: var(--deep-red-color);
  color: var(--text-main);
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__btn--secondary:hover {
  background: var(--gold-color);
  color: var(--deep-red-color);
  border-color: var(--deep-red-color);
  transform: translateY(-2px);
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__article-wrap {
  max-width: 1150px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__section-title {
  color: var(--gold-color);
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__article-content p {
  margin-bottom: 1.2em;
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__article-content strong {
  color: var(--gold-color);
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__list-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__list-title {
  color: var(--gold-color);
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__ordered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  color: var(--text-main);
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__ordered-list .page-blog-huong-dan-ca-cuoc-the-thao-bd88__list-item {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__ordered-list .page-blog-huong-dan-ca-cuoc-the-thao-bd88__list-title {
  color: var(--gold-color);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__figure {
  margin: 30px 0;
  text-align: center;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__figure-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__figcaption {
  color: var(--text-main);
  font-size: 0.9rem;
  margin-top: 10px;
  font-style: italic;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__step-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__step-title {
  color: var(--gold-color);
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__cta-section {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-list {
  margin-top: 30px;
  margin-bottom: 50px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-question {
  display: block;
  padding: 18px 25px;
  cursor: pointer;
  color: var(--gold-color);
  font-size: 1.25rem;
  font-weight: 600;
  position: relative;
  margin: 0;
  background-color: var(--deep-red-color);
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: var(--text-main);
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-answer p {
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-item.active .page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-bottom: 25px;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-item.active .page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-blog-huong-dan-ca-cuoc-the-thao-bd88__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 50px;
}

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

@media (max-width: 1024px) {
  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__hero-section {
    height: 500px;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__main-title {
    font-size: 3rem;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__description {
    font-size: 1.1rem;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__article-wrap {
    padding: 0 15px;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__section-title {
    font-size: 2rem;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__list-title,
  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__step-title {
    font-size: 1.4rem;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-question {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .page-blog-huong-dan-ca-cuoc-the-thao-bd88 {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__hero-section {
    height: 400px;
    padding-top: 10px !important; /* Top section padding */
    padding-bottom: 20px;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__hero-content {
    padding: 15px;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__main-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__cta-buttons {
    flex-direction: column; /* Top CTA buttons stacking */
    gap: 10px;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__btn {
    width: 100% !important; /* Buttons must take full width */
    max-width: 100% !important;
    padding: 12px 15px !important; /* Adjust padding */
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__article-wrap,
  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__section,
  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__list-item,
  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__step-card,
  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__section-title {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__article-content p {
    font-size: 0.95rem;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__list-title {
    font-size: 1.3rem;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__ordered-list .page-blog-huong-dan-ca-cuoc-the-thao-bd88__list-title {
    font-size: 1.2rem;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__figure-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__figcaption {
    font-size: 0.85rem;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__step-by-step {
    grid-template-columns: 1fr; /* Steps stack vertically */
    gap: 20px;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__step-title {
    font-size: 1.4rem;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-question::after {
    right: 20px;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-answer {
    padding: 0 20px;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__faq-answer p {
    font-size: 0.95rem;
  }

  .page-blog-huong-dan-ca-cuoc-the-thao-bd88__cta-buttons--bottom {
    flex-direction: column; /* Bottom CTA buttons stacking */
    gap: 10px;
  }
}