.page-blog-huong-dan-dang-ky-sbobet {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff;
}

.page-blog-huong-dan-dang-ky-sbobet__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-huong-dan-dang-ky-sbobet__top-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #f8f8f8;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-sbobet__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-blog-huong-dan-dang-ky-sbobet__description {
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-blog-huong-dan-dang-ky-sbobet__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-huong-dan-dang-ky-sbobet__btn-primary,
.page-blog-huong-dan-dang-ky-sbobet__btn-secondary {
  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;
}

.page-blog-huong-dan-dang-ky-sbobet__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-blog-huong-dan-dang-ky-sbobet__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

.page-blog-huong-dan-dang-ky-sbobet__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-blog-huong-dan-dang-ky-sbobet__btn-secondary:hover {
  background-color: #e6f7ed;
  color: #017439;
  border-color: #017439;
}

.page-blog-huong-dan-dang-ky-sbobet__section {
  padding: 50px 0;
  background-color: #ffffff;
}

.page-blog-huong-dan-dang-ky-sbobet__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-blog-huong-dan-dang-ky-sbobet__heading {
  font-size: 2.2em;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-blog-huong-dan-dang-ky-sbobet__sub-heading {
  font-size: 1.6em;
  color: #017439;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-huong-dan-dang-ky-sbobet__paragraph {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-sbobet__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-sbobet__list li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

.page-blog-huong-dan-dang-ky-sbobet__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-sbobet__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.page-blog-huong-dan-dang-ky-sbobet__figcaption {
  font-style: italic;
  font-size: 0.95em;
  color: #666666;
  margin-top: 10px;
}

.page-blog-huong-dan-dang-ky-sbobet__info-card,
.page-blog-huong-dan-dang-ky-sbobet__warning-card,
.page-blog-huong-dan-dang-ky-sbobet__promo-box {
  background-color: #e6f7ed;
  border-left: 5px solid #017439;
  padding: 20px;
  margin: 30px 0;
  border-radius: 8px;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-sbobet__warning-card {
  background-color: #ffe0e0;
  border-left-color: #C30808;
}

.page-blog-huong-dan-dang-ky-sbobet__faq-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-sbobet__faq-question {
  padding: 18px 25px;
  background-color: #017439;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-blog-huong-dan-dang-ky-sbobet__faq-question:hover {
  background-color: #005a2e;
}

.page-blog-huong-dan-dang-ky-sbobet__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-sbobet__faq-item.active .page-blog-huong-dan-dang-ky-sbobet__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-blog-huong-dan-dang-ky-sbobet__faq-answer {
  padding: 0 25px;
  background-color: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-blog-huong-dan-dang-ky-sbobet__faq-item.active .page-blog-huong-dan-dang-ky-sbobet__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-blog-huong-dan-dang-ky-sbobet__faq-answer p {
  margin-bottom: 0;
  color: #333333;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-sbobet__article-wrap {
    padding: 0 30px;
  }

  .page-blog-huong-dan-dang-ky-sbobet__main-title {
    font-size: clamp(2em, 4.5vw, 2.5em);
  }

  .page-blog-huong-dan-dang-ky-sbobet__heading {
    font-size: 2em;
  }

  .page-blog-huong-dan-dang-ky-sbobet__sub-heading {
    font-size: 1.5em;
  }

  .page-blog-huong-dan-dang-ky-sbobet__paragraph,
  .page-blog-huong-dan-dang-ky-sbobet__list li {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-sbobet {
    font-size: 16px;
    line-height: 1.6;
  }

  /* 1. 顶区标题 + 双 CTA */
  .page-blog-huong-dan-dang-ky-sbobet__top-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-blog-huong-dan-dang-ky-sbobet__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
    padding: 0 15px;
  }

  .page-blog-huong-dan-dang-ky-sbobet__description {
    font-size: 1em;
    padding: 0 15px;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-dang-ky-sbobet__cta-buttons {
    flex-direction: column; /* Buttons stack vertically on mobile */
    gap: 10px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 4. 按钮与按钮容器 */
  .page-blog-huong-dan-dang-ky-sbobet__btn-primary,
  .page-blog-huong-dan-dang-ky-sbobet__btn-secondary,
  .page-blog-huong-dan-dang-ky-sbobet a[class*="button"],
  .page-blog-huong-dan-dang-ky-sbobet 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-blog-huong-dan-dang-ky-sbobet__cta-buttons,
  .page-blog-huong-dan-dang-ky-sbobet__button-group,
  .page-blog-huong-dan-dang-ky-sbobet__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;
  }
  .page-blog-huong-dan-dang-ky-sbobet__cta-buttons {
    display: flex;
    flex-direction: column; /* Ensure vertical stacking on mobile */
  }

  /* 2. 单栏长文容器 */
  .page-blog-huong-dan-dang-ky-sbobet__article-wrap {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .page-blog-huong-dan-dang-ky-sbobet__section {
    padding: 30px 0;
  }

  .page-blog-huong-dan-dang-ky-sbobet__heading {
    font-size: 1.8em;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .page-blog-huong-dan-dang-ky-sbobet__sub-heading {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-dang-ky-sbobet__paragraph,
  .page-blog-huong-dan-dang-ky-sbobet__list li {
    font-size: 0.95em;
  }

  .page-blog-huong-dan-dang-ky-sbobet__list {
    margin-left: 10px;
  }

  /* 3. 通用图片与 figure */
  .page-blog-huong-dan-dang-ky-sbobet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-huong-dan-dang-ky-sbobet__figure {
    margin: 20px auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-blog-huong-dan-dang-ky-sbobet__figcaption {
    font-size: 0.85em;
  }

  .page-blog-huong-dan-dang-ky-sbobet__info-card,
  .page-blog-huong-dan-dang-ky-sbobet__warning-card,
  .page-blog-huong-dan-dang-ky-sbobet__promo-box {
    padding: 15px;
    margin: 20px 0;
  }

  /* 5. 注册教程与 FAQ 区块 */
  .page-blog-huong-dan-dang-ky-sbobet__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-blog-huong-dan-dang-ky-sbobet__faq-answer {
    padding: 0 20px;
  }

  .page-blog-huong-dan-dang-ky-sbobet__faq-item.active .page-blog-huong-dan-dang-ky-sbobet__faq-answer {
    padding: 15px 20px;
  }
}