/* style/the-thao-ca-cuoc-bong-da.css */
.page-the-thao-ca-cuoc-bong-da {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Background color from custom palette */
}

.page-the-thao-ca-cuoc-bong-da__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-the-thao-ca-cuoc-bong-da__top-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand gradient */
  color: #ffffff; /* White text for dark background */
}

.page-the-thao-ca-cuoc-bong-da__main-title {
  font-size: clamp(2.2em, 5vw, 3.5em);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-the-thao-ca-cuoc-bong-da__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-the-thao-ca-cuoc-bong-da__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-the-thao-ca-cuoc-bong-da__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao-ca-cuoc-bong-da__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-the-thao-ca-cuoc-bong-da__btn--primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-the-thao-ca-cuoc-bong-da__btn--secondary {
  background-color: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-the-thao-ca-cuoc-bong-da__btn--secondary:hover {
  transform: translateY(-2px);
  background-color: #f0f0f0;
}

.page-the-thao-ca-cuoc-bong-da__btn--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-the-thao-ca-cuoc-bong-da__section {
  padding: 60px 0;
}

.page-the-thao-ca-cuoc-bong-da__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
}

.page-the-thao-ca-cuoc-bong-da__section > .page-the-thao-ca-cuoc-bong-da__article-wrap > p {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #333333;
}

.page-the-thao-ca-cuoc-bong-da__info-card, .page-the-thao-ca-cuoc-bong-da__step-card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-the-thao-ca-cuoc-bong-da__card-title, .page-the-thao-ca-cuoc-bong-da__step-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 20px;
}

.page-the-thao-ca-cuoc-bong-da__info-card p, .page-the-thao-ca-cuoc-bong-da__step-card p {
  font-size: 1em;
  line-height: 1.7;
  color: #333333;
  text-align: left;
  margin-bottom: 20px;
}

.page-the-thao-ca-cuoc-bong-da__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 25px auto;
  border-radius: 8px;
}

.page-the-thao-ca-cuoc-bong-da__dark-section {
  background-color: #E53935;
  color: #ffffff;
}

.page-the-thao-ca-cuoc-bong-da__dark-section .page-the-thao-ca-cuoc-bong-da__section-title {
  color: #ffffff;
}

.page-the-thao-ca-cuoc-bong-da__dark-section .page-the-thao-ca-cuoc-bong-da__article-wrap > p {
  color: #f0f0f0;
}

.page-the-thao-ca-cuoc-bong-da__promo-box {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-the-thao-ca-cuoc-bong-da__box-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 15px;
}

.page-the-thao-ca-cuoc-bong-da__promo-box p {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

.page-the-thao-ca-cuoc-bong-da__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-the-thao-ca-cuoc-bong-da__list-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-the-thao-ca-cuoc-bong-da__list-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 15px;
}

.page-the-thao-ca-cuoc-bong-da__list-item p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #333333;
  text-align: left;
}

.page-the-thao-ca-cuoc-bong-da__faq-list {
  margin-top: 40px;
}

.page-the-thao-ca-cuoc-bong-da__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-the-thao-ca-cuoc-bong-da__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #fdfdfd;
  list-style: none; /* For details/summary */
}

.page-the-thao-ca-cuoc-bong-da__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-the-thao-ca-cuoc-bong-da__faq-question::marker {
  display: none; /* Hide default marker for Firefox */
}

.page-the-thao-ca-cuoc-bong-da__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #E53935;
}

.page-the-thao-ca-cuoc-bong-da__faq-item[open] .page-the-thao-ca-cuoc-bong-da__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao-ca-cuoc-bong-da__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  text-align: left;
}

.page-the-thao-ca-cuoc-bong-da__faq-answer p {
  margin-bottom: 15px;
}

.page-the-thao-ca-cuoc-bong-da__faq-answer .page-the-thao-ca-cuoc-bong-da__btn {
  margin-top: 10px;
}

.page-the-thao-ca-cuoc-bong-da__final-cta {
  text-align: center;
  padding-bottom: 80px;
}

.page-the-thao-ca-cuoc-bong-da__final-cta .page-the-thao-ca-cuoc-bong-da__section-title {
  margin-bottom: 20px;
}

.page-the-thao-ca-cuoc-bong-da__final-cta p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #333333;
}

/* --- Responsive Styles --- */
/* Mobile and Tablet (max-width: 768px) */
@media (max-width: 768px) {
  /* 1. Top section padding/spacing */
  .page-the-thao-ca-cuoc-bong-da__top-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-the-thao-ca-cuoc-bong-da__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-the-thao-ca-cuoc-bong-da__description {
    font-size: 1em;
    padding: 0 15px;
  }

  .page-the-thao-ca-cuoc-bong-da__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-the-thao-ca-cuoc-bong-da__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;
  }

  /* 2. Single column article wrap, cards, etc. */
  .page-the-thao-ca-cuoc-bong-da__article-wrap {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao-ca-cuoc-bong-da__section {
    padding: 40px 0;
  }

  .page-the-thao-ca-cuoc-bong-da__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-the-thao-ca-cuoc-bong-da__section > .page-the-thao-ca-cuoc-bong-da__article-wrap > p {
    font-size: 1em;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-the-thao-ca-cuoc-bong-da__info-card, .page-the-thao-ca-cuoc-bong-da__step-card, .page-the-thao-ca-cuoc-bong-da__promo-box {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-the-thao-ca-cuoc-bong-da__card-title, .page-the-thao-ca-cuoc-bong-da__step-title {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .page-the-thao-ca-cuoc-bong-da__info-card p, .page-the-thao-ca-cuoc-bong-da__step-card p, .page-the-thao-ca-cuoc-bong-da__promo-box p {
    font-size: 0.95em;
  }

  .page-the-thao-ca-cuoc-bong-da__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao-ca-cuoc-bong-da__list-item {
    padding: 20px;
  }

  .page-the-thao-ca-cuoc-bong-da__list-title {
    font-size: 1.2em;
  }

  /* 3. General images and figure */
  .page-the-thao-ca-cuoc-bong-da img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* 4. Buttons and button containers (already covered in top section, but re-emphasize for general buttons) */
  .page-the-thao-ca-cuoc-bong-da__cta-buttons,
  .page-the-thao-ca-cuoc-bong-da__button-group,
  .page-the-thao-ca-cuoc-bong-da__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  /* 5. FAQ section */
  .page-the-thao-ca-cuoc-bong-da__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-the-thao-ca-cuoc-bong-da__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  .page-the-thao-ca-cuoc-bong-da__final-cta {
    padding-bottom: 50px;
  }

  .page-the-thao-ca-cuoc-bong-da__final-cta p {
    font-size: 1em;
    padding: 0 15px;
  }
}

/* Tablet (max-width: 1024px) - Adjustments for slightly larger screens than mobile */
@media (max-width: 1024px) {
  .page-the-thao-ca-cuoc-bong-da__article-wrap {
    padding: 0 30px;
  }

  .page-the-thao-ca-cuoc-bong-da__main-title {
    font-size: clamp(2em, 6vw, 3em);
  }

  .page-the-thao-ca-cuoc-bong-da__description {
    font-size: 1.05em;
  }

  .page-the-thao-ca-cuoc-bong-da__section-title {
    font-size: 2em;
  }

  .page-the-thao-ca-cuoc-bong-da__list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}