/* ============================================================
   Trang: Hướng dẫn tham gia xổ số 77loc
   Prefix: .page-blog-huong-dan-tham-gia-xo-so-77loc
   Màu: #017439 (chính), #FFFFFF (phụ), #C30808 (nút đăng ký/đăng nhập), #FFFF00 (chữ nút)
   ============================================================ */

.page-blog-huong-dan-tham-gia-xo-so-77loc {
  background: #FFFFFF;
  color: #212529;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc * {
  box-sizing: border-box;
}

/* ---------- HERO ---------- */
.page-blog-huong-dan-tham-gia-xo-so-77loc__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px 32px;
  background: linear-gradient(180deg, #e8f5ec 0%, #ffffff 100%);
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__hero-image {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 24px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(1, 116, 57, 0.18);
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__hero-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__main-title {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: #014a26;
  margin: 0 0 16px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__intro-text {
  color: #2c3e34;
  font-size: 1.05rem;
  max-width: 760px;
  margin: 0 auto 24px;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- BUTTONS ---------- */
.page-blog-huong-dan-tham-gia-xo-so-77loc__btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  border: 2px solid transparent;
  max-width: 100%;
  word-break: break-word;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__btn--register,
.page-blog-huong-dan-tham-gia-xo-so-77loc__btn--login {
  background: #C30808;
  color: #FFFF00;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__btn--promo {
  background: #017439;
  color: #FFFFFF;
}

/* ---------- INTRO ---------- */
.page-blog-huong-dan-tham-gia-xo-so-77loc__intro-section,
.page-blog-huong-dan-tham-gia-xo-so-77loc__content-section,
.page-blog-huong-dan-tham-gia-xo-so-77loc__faq-section {
  padding: 48px 16px;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__content-section--alt {
  background: #f6faf7;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__section-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #014a26;
  margin: 0 0 20px;
  line-height: 1.3;
  position: relative;
  padding-left: 16px;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  border-radius: 4px;
  background: #017439;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__sub-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #017439;
  margin: 24px 0 10px;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__paragraph {
  color: #333333;
  margin: 0 0 16px;
  font-size: 1rem;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__text-link {
  color: #017439;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__text-link:hover {
  color: #C30808;
}

/* ---------- CONTENT BLOCKS ---------- */
.page-blog-huong-dan-tham-gia-xo-so-77loc__content-block {
  margin-bottom: 28px;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__list-item {
  position: relative;
  padding: 8px 0 8px 30px;
  color: #333333;
  border-bottom: 1px solid #e6efe9;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__list-item::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #017439;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__image-block {
  margin: 0 0 24px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(1, 116, 57, 0.12);
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__image-block img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- STEPS ---------- */
.page-blog-huong-dan-tham-gia-xo-so-77loc__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid #dbeee3;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(1, 116, 57, 0.06);
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__step-number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #017439;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.05rem;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__step-text {
  margin: 0;
  color: #333333;
}

/* ---------- CTA BOX ---------- */
.page-blog-huong-dan-tham-gia-xo-so-77loc__cta-box {
  margin-top: 32px;
  padding: 32px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #017439 0%, #035c30 100%);
  color: #FFFFFF;
  text-align: center;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__cta-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__cta-text {
  color: #f1f8f4;
  margin: 0 0 22px;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- FAQ ---------- */
.page-blog-huong-dan-tham-gia-xo-so-77loc__faq-item {
  background: #FFFFFF;
  border: 1px solid #dbeee3;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(1, 116, 57, 0.05);
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__faq-question {
  font-size: 1.08rem;
  font-weight: 700;
  color: #014a26;
  margin: 0 0 8px;
}

.page-blog-huong-dan-tham-gia-xo-so-77loc__faq-answer {
  margin: 0;
  color: #333333;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .page-blog-huong-dan-tham-gia-xo-so-77loc__hero-section {
    padding: 10px 16px 28px;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__section-title {
    font-size: 1.45rem;
  }
}

@media (max-width: 768px) {
  .page-blog-huong-dan-tham-gia-xo-so-77loc {
    overflow-x: hidden;
    max-width: 100%;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__hero-section {
    padding: 10px 14px 24px;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__hero-image {
    border-radius: 12px;
    margin-bottom: 18px;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__main-title {
    letter-spacing: 0;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__intro-text {
    font-size: 0.98rem;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__intro-section,
  .page-blog-huong-dan-tham-gia-xo-so-77loc__content-section,
  .page-blog-huong-dan-tham-gia-xo-so-77loc__faq-section {
    padding: 32px 14px;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__section-title {
    font-size: 1.25rem;
    padding-left: 14px;
    margin-bottom: 16px;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__sub-title {
    font-size: 1.08rem;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__steps {
    grid-template-columns: 1fr;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__hero-cta,
  .page-blog-huong-dan-tham-gia-xo-so-77loc__cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__btn {
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
    white-space: normal;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__cta-box {
    padding: 24px 16px;
    border-radius: 14px;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__cta-title {
    font-size: 1.2rem;
  }

  .page-blog-huong-dan-tham-gia-xo-so-77loc__faq-item {
    padding: 16px;
  }
}