.page-resources-bj88-latest-promotions-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default body background */
}

.page-resources-bj88-latest-promotions-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-bj88-latest-promotions-guide__section-title,
.page-resources-bj88-latest-promotions-guide__card-title,
.page-resources-bj88-latest-promotions-guide__faq-title {
  color: #017439;
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-bj88-latest-promotions-guide__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-resources-bj88-latest-promotions-guide__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
}

.page-resources-bj88-latest-promotions-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-bj88-latest-promotions-guide__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 80px 20px; /* Adjusted to allow for header offset */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

.page-resources-bj88-latest-promotions-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-resources-bj88-latest-promotions-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image for text readability */
}

.page-resources-bj88-latest-promotions-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-resources-bj88-latest-promotions-guide__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources-bj88-latest-promotions-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-resources-bj88-latest-promotions-guide__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-bj88-latest-promotions-guide__btn-primary,
.page-resources-bj88-latest-promotions-guide__btn-secondary,
.page-resources-bj88-latest-promotions-guide__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-bj88-latest-promotions-guide__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-resources-bj88-latest-promotions-guide__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-resources-bj88-latest-promotions-guide__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-resources-bj88-latest-promotions-guide__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

.page-resources-bj88-latest-promotions-guide__btn-tertiary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-resources-bj88-latest-promotions-guide__btn-tertiary:hover {
  background-color: #FFFFFF;
  color: #017439;
  border-color: #017439;
}

.page-resources-bj88-latest-promotions-guide__content-section {
  padding: 60px 0;
}

.page-resources-bj88-latest-promotions-guide__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

.page-resources-bj88-latest-promotions-guide__dark-bg .page-resources-bj88-latest-promotions-guide__section-title,
.page-resources-bj88-latest-promotions-guide__dark-bg .page-resources-bj88-latest-promotions-guide__card-title {
  color: #FFFFFF;
}

.page-resources-bj88-latest-promotions-guide__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-bj88-latest-promotions-guide__content-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-bj88-latest-promotions-guide__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-bj88-latest-promotions-guide__card {
  background-color: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  min-height: 280px; /* Ensure cards have consistent height */
}

.page-resources-bj88-latest-promotions-guide__card-text {
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-bj88-latest-promotions-guide__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-bj88-latest-promotions-guide__step-item {
  text-align: center;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources-bj88-latest-promotions-guide__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #017439;
  color: #FFFFFF;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-resources-bj88-latest-promotions-guide__step-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #017439;
  margin-bottom: 10px;
}

.page-resources-bj88-latest-promotions-guide__step-description {
  font-size: 1em;
  color: #555555;
}

.page-resources-bj88-latest-promotions-guide__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-resources-bj88-latest-promotions-guide__bullet-list {
  list-style: disc inside;
  margin-left: 20px;
  font-size: 1.1em;
  color: #FFFFFF;
}

.page-resources-bj88-latest-promotions-guide__bullet-list li {
  margin-bottom: 10px;
}

.page-resources-bj88-latest-promotions-guide__faq-section {
  padding: 60px 0;
}

.page-resources-bj88-latest-promotions-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-bj88-latest-promotions-guide__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #f9f9f9;
}

.page-resources-bj88-latest-promotions-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #FFFFFF;
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
}

.page-resources-bj88-latest-promotions-guide__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-bj88-latest-promotions-guide__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #333333;
}

.page-resources-bj88-latest-promotions-guide__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-resources-bj88-latest-promotions-guide__faq-item.active .page-resources-bj88-latest-promotions-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-bj88-latest-promotions-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-resources-bj88-latest-promotions-guide__faq-item.active .page-resources-bj88-latest-promotions-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-resources-bj88-latest-promotions-guide__cta-section {
  position: relative;
  padding: 80px 20px;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-bj88-latest-promotions-guide__cta-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-resources-bj88-latest-promotions-guide__cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image for text readability */
}

.page-resources-bj88-latest-promotions-guide__cta-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-resources-bj88-latest-promotions-guide__cta-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources-bj88-latest-promotions-guide__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-resources-bj88-latest-promotions-guide__cta-button {
  background-color: #C30808; /* Custom color for register/login */
  border-color: #C30808;
  color: #FFFF00; /* Custom font color for register/login */
}

.page-resources-bj88-latest-promotions-guide__cta-button:hover {
  background-color: #a30606;
  border-color: #a30606;
}

/* Ensure all images are responsive and not smaller than 200px */
.page-resources-bj88-latest-promotions-guide img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-bj88-latest-promotions-guide__hero-title {
    font-size: 3em;
  }
  .page-resources-bj88-latest-promotions-guide__section-title {
    font-size: 2em;
  }
  .page-resources-bj88-latest-promotions-guide__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources-bj88-latest-promotions-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-bj88-latest-promotions-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }

  .page-resources-bj88-latest-promotions-guide__hero-title {
    font-size: 2.5em;
  }

  .page-resources-bj88-latest-promotions-guide__hero-description {
    font-size: 1.1em;
  }

  .page-resources-bj88-latest-promotions-guide__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-bj88-latest-promotions-guide__btn-primary,
  .page-resources-bj88-latest-promotions-guide__btn-secondary,
  .page-resources-bj88-latest-promotions-guide__btn-tertiary,
  .page-resources-bj88-latest-promotions-guide a[class*="button"],
  .page-resources-bj88-latest-promotions-guide 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-resources-bj88-latest-promotions-guide__hero-cta-buttons,
  .page-resources-bj88-latest-promotions-guide__cta-center {
    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-resources-bj88-latest-promotions-guide__content-section,
  .page-resources-bj88-latest-promotions-guide__faq-section,
  .page-resources-bj88-latest-promotions-guide__cta-section {
    padding: 40px 0;
  }

  .page-resources-bj88-latest-promotions-guide__container {
    padding: 0 15px;
  }

  .page-resources-bj88-latest-promotions-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-bj88-latest-promotions-guide__promotions-grid,
  .page-resources-bj88-latest-promotions-guide__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-resources-bj88-latest-promotions-guide__card {
    min-height: auto;
  }

  .page-resources-bj88-latest-promotions-guide__cta-title {
    font-size: 2em;
  }

  .page-resources-bj88-latest-promotions-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-bj88-latest-promotions-guide__hero-image-wrapper,
  .page-resources-bj88-latest-promotions-guide__cta-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .page-resources-bj88-latest-promotions-guide__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-resources-bj88-latest-promotions-guide__hero-title {
    font-size: 2em;
  }
  .page-resources-bj88-latest-promotions-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-bj88-latest-promotions-guide__section-title {
    font-size: 1.5em;
  }
  .page-resources-bj88-latest-promotions-guide__cta-title {
    font-size: 1.8em;
  }
}