.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Assuming body background is white/light */
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background-color: #017439;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
  background-color: #017439; /* Use brand color for hero content background */
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__hero-cta {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  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-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__btn--primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__btn--primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__btn--secondary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__btn--secondary:hover {
  background-color: #005f2e;
  transform: translateY(-2px);
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__btn--block {
  width: 100%;
  display: block;
  margin-top: 20px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__content-section {
  padding: 40px 20px;
  max-width: 1150px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
  margin-bottom: 50px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__intro-paragraph {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #333333;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #017439;
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__sub-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88 p {
  margin-bottom: 15px;
  color: #333333;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__list-item {
  margin-bottom: 10px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__figure {
  margin: 30px 0;
  text-align: center;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__figcaption {
  font-style: italic;
  font-size: 0.9rem;
  color: #666666;
  margin-top: 10px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__faq-section {
  margin-top: 40px;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #017439;
  padding: 18px 25px;
  cursor: pointer;
  margin: 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__faq-answer {
  padding: 0 25px 15px;
  font-size: 1rem;
  color: #555555;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__cta-bottom {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #f0fdf5; /* Light green background */
  border-radius: 10px;
  border: 1px solid #d4edda;
}

.page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__cta-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 25px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__hero-content {
    padding: 30px 20px;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__hero-description {
    font-size: 1.05rem;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__content-section {
    padding: 30px 15px;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__section-title {
    font-size: 1.8rem;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__sub-title {
    font-size: 1.4rem;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__cta-text {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88 {
    font-size: 16px;
    line-height: 1.6;
  }
  /* 1. Top section title + CTA */
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__hero-content {
    padding: 25px 15px;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__main-title {
    font-size: 2rem !important; /* Fixed smaller size for mobile */
    margin-bottom: 15px;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__hero-cta {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px; /* Add padding to the container */
  }

  /* 4. Buttons and button containers */
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__btn,
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88 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: 12px 15px;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__hero-cta,
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 2. Single column long text container */
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__content-section,
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__article-wrap,
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__section,
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__info-card,
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__warning-card,
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__promo-box {
    padding: 20px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__section-title {
    font-size: 1.6rem !important;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__sub-title {
    font-size: 1.3rem !important;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  /* 3. Universal images and figure */
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__figure {
    margin: 20px 0;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__figcaption {
    font-size: 0.85rem;
  }

  /* 5. Registration tutorial and FAQ block (FAQ is inline h3/p here) */
  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__faq-item {
    padding: 0;
    margin-bottom: 10px;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__faq-question {
    font-size: 1.1rem !important;
    padding: 15px 15px;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__faq-answer {
    padding: 0 15px 15px;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__cta-bottom {
    padding: 20px 15px;
    margin-top: 30px;
  }

  .page-blog-cap-nhat-khuyen-mai-moi-nhat-fa88__cta-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
}