/* style/the-thao-cac-loai-keo-cuoc.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login-color: #EA7C07;
  --background-color: #FFFFFF;
  --black-color: #000000;
}

.page-the-thao-cac-loai-keo-cuoc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Body background is light, so use dark text */
  background-color: var(--background-color);
}

.page-the-thao-cac-loai-keo-cuoc__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background-color);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-the-thao-cac-loai-keo-cuoc__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.page-the-thao-cac-loai-keo-cuoc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-the-thao-cac-loai-keo-cuoc__hero-content {
  max-width: 900px;
  margin: 20px auto 0;
  padding: 0 20px;
}

.page-the-thao-cac-loai-keo-cuoc__hero-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Use clamp for H1 */
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-the-thao-cac-loai-keo-cuoc__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.page-the-thao-cac-loai-keo-cuoc__hero-cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-the-thao-cac-loai-keo-cuoc__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-the-thao-cac-loai-keo-cuoc__btn--primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-the-thao-cac-loai-keo-cuoc__btn--primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-the-thao-cac-loai-keo-cuoc__btn--secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-the-thao-cac-loai-keo-cuoc__btn--secondary:hover {
  background-color: #e0f2f7;
  color: #1e87b7;
  border-color: #1e87b7;
}

.page-the-thao-cac-loai-keo-cuoc__article-wrap {
  max-width: 1150px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-the-thao-cac-loai-keo-cuoc__section {
  margin-bottom: 50px;
  background-color: var(--background-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-the-thao-cac-loai-keo-cuoc__section-title {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 600;
  text-align: center;
}

.page-the-thao-cac-loai-keo-cuoc__sub-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-the-thao-cac-loai-keo-cuoc p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-the-thao-cac-loai-keo-cuoc__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 700px;
}

.page-the-thao-cac-loai-keo-cuoc__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin: 0 auto;
}

.page-the-thao-cac-loai-keo-cuoc__figcaption {
  font-style: italic;
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

.page-the-thao-cac-loai-keo-cuoc__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-the-thao-cac-loai-keo-cuoc__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-the-thao-cac-loai-keo-cuoc__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.page-the-thao-cac-loai-keo-cuoc__list-item h3 {
  margin-top: 0;
  margin-bottom: 5px;
  color: var(--primary-color);
  font-size: 1.2em;
}

.page-the-thao-cac-loai-keo-cuoc__numbered-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-the-thao-cac-loai-keo-cuoc__numbered-list .page-the-thao-cac-loai-keo-cuoc__list-item {
  padding-left: 0;
}

.page-the-thao-cac-loai-keo-cuoc__numbered-list .page-the-thao-cac-loai-keo-cuoc__list-item::before {
  content: none;
}

.page-the-thao-cac-loai-keo-cuoc__cta-bottom, .page-the-thao-cac-loai-keo-cuoc__cta-final {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-the-thao-cac-loai-keo-cuoc__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
}

.page-the-thao-cac-loai-keo-cuoc__faq-question {
  font-size: 1.2em;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.page-the-thao-cac-loai-keo-cuoc__faq-answer p {
  margin-bottom: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-the-thao-cac-loai-keo-cuoc {
    font-size: 16px;
    line-height: 1.6;
  }

  /* 1. 顶区标题 + 双 CTA */
  .page-the-thao-cac-loai-keo-cuoc__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao-cac-loai-keo-cuoc__hero-title {
    font-size: 1.8em; /* Adjusted for mobile */
  }

  .page-the-thao-cac-loai-keo-cuoc__hero-description {
    font-size: 1em;
  }

  .page-the-thao-cac-loai-keo-cuoc__hero-cta-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100%;
  }

  /* 2. 单栏长文容器 */
  .page-the-thao-cac-loai-keo-cuoc__article-wrap {
    margin: 20px auto;
    padding: 0 15px;
  }

  .page-the-thao-cac-loai-keo-cuoc__section {
    padding: 20px;
    margin-bottom: 30px;
  }

  .page-the-thao-cac-loai-keo-cuoc__section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .page-the-thao-cac-loai-keo-cuoc__sub-title {
    font-size: 1.3em;
  }

  /* 3. 通用图片与 figure */
  .page-the-thao-cac-loai-keo-cuoc__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-the-thao-cac-loai-keo-cuoc__figure {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 所有包含图片的容器 */
  .page-the-thao-cac-loai-keo-cuoc__section,
  .page-the-thao-cac-loai-keo-cuoc__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 4. 按钮与按钮容器 */
  .page-the-thao-cac-loai-keo-cuoc__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-cac-loai-keo-cuoc__hero-cta-group,
  .page-the-thao-cac-loai-keo-cuoc__cta-bottom,
  .page-the-thao-cac-loai-keo-cuoc__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* 5. FAQ 区块 */
  .page-the-thao-cac-loai-keo-cuoc__faq-item {
    padding: 15px;
  }

  .page-the-thao-cac-loai-keo-cuoc__faq-question {
    font-size: 1.1em;
  }
}

/* Contrast Fixes */
.page-the-thao-cac-loai-keo-cuoc__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-the-thao-cac-loai-keo-cuoc__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}