.page-resources-bj88-login-guide {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background #f4f4f4 */
  line-height: 1.6;
  background-color: #f4f4f4;
}

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

.page-resources-bj88-login-guide__container--center {
  text-align: center;
}

.page-resources-bj88-login-guide__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-resources-bj88-login-guide__section:last-of-type {
  margin-bottom: 0;
}

.page-resources-bj88-login-guide__section-title {
  font-size: 36px;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-resources-bj88-login-guide__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

/* Hero Section */
.page-resources-bj88-login-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #003366, #1a4a7f); /* Dark blue gradient */
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.page-resources-bj88-login-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-resources-bj88-login-guide__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 800px; /* Limit image width in hero for better composition */
}

.page-resources-bj88-login-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-bj88-login-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-bj88-login-guide__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFCC00; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-resources-bj88-login-guide__lead-paragraph {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
  line-height: 1.8;
}

.page-resources-bj88-login-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-bj88-login-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}

.page-resources-bj88-login-guide__cta-button--primary {
  background: #FFCC00;
  color: #003366;
  border: 2px solid #FFCC00;
}

.page-resources-bj88-login-guide__cta-button--primary:hover {
  background: #e6b800;
  border-color: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-bj88-login-guide__cta-button--secondary {
  background: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
}

.page-resources-bj88-login-guide__cta-button--secondary:hover {
  background: #FFCC00;
  color: #003366;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Step Grid Section */
.page-resources-bj88-login-guide__section--steps {
  background-color: #f9f9f9;
}

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

.page-resources-bj88-login-guide__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-bj88-login-guide__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-bj88-login-guide__step-item img {
  width: 100%;
  height: 250px;
  object-fit: contain; /* Changed to contain for better step image display */
  margin-bottom: 25px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.page-resources-bj88-login-guide__step-title {
  font-size: 22px;
  color: #003366;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-resources-bj88-login-guide__step-item p {
  font-size: 16px;
  color: #555555;
  text-align: left;
}

/* Troubleshooting Section */
.page-resources-bj88-login-guide__issue-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-bj88-login-guide__card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-bj88-login-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-bj88-login-guide__card-title {
  font-size: 22px;
  color: #003366;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-resources-bj88-login-guide__card p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

.page-resources-bj88-login-guide__text-link {
  color: #FFCC00;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.page-resources-bj88-login-guide__text-link:hover {
  color: #e6b800;
  text-decoration: underline;
}

/* Security Section */
.page-resources-bj88-login-guide__section--security {
  background-color: #f9f9f9;
}

.page-resources-bj88-login-guide__security-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-resources-bj88-login-guide__security-tips {
  flex: 1;
}

.page-resources-bj88-login-guide__tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-bj88-login-guide__tip-list li {
  background: #ffffff;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-left: 5px solid #003366;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 16px;
  color: #333333;
  line-height: 1.5;
}

.page-resources-bj88-login-guide__tip-heading {
  color: #003366;
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}

.page-resources-bj88-login-guide__security-note {
  font-style: italic;
  color: #777777;
  margin-top: 30px;
  text-align: center;
}

.page-resources-bj88-login-guide__security-image {
  flex: 1;
  text-align: center;
  min-width: 300px;
}

.page-resources-bj88-login-guide__security-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Benefits Section */
.page-resources-bj88-login-guide__benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-bj88-login-guide__benefit-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-bj88-login-guide__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-bj88-login-guide__benefit-card .page-resources-bj88-login-guide__card-title {
  color: #003366;
}

.page-resources-bj88-login-guide__benefit-card p {
  color: #555555;
  margin-bottom: 20px;
}

.page-resources-bj88-login-guide__benefit-card .page-resources-bj88-login-guide__text-link {
  display: block;
  margin-top: 10px;
}

.page-resources-bj88-login-guide__additional-cta {
  text-align: center;
  margin-top: 60px;
}

/* FAQ Section */
.page-resources-bj88-login-guide__section--faq {
  background-color: #f9f9f9;
}

.page-resources-bj88-login-guide__faq-list {
  margin-top: 40px;
}

.page-resources-bj88-login-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-bj88-login-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-bj88-login-guide__faq-item.active .page-resources-bj88-login-guide__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f0f0f0;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

.page-resources-bj88-login-guide__faq-answer p {
  margin-bottom: 15px;
}

.page-resources-bj88-login-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-bj88-login-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-bj88-login-guide__faq-question:active {
  background: #eeeeee;
}

.page-resources-bj88-login-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #003366;
}

.page-resources-bj88-login-guide__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFCC00;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-resources-bj88-login-guide__faq-item.active .page-resources-bj88-login-guide__faq-toggle {
  color: #003366;
  transform: rotate(45deg); /* Use rotation for minus sign effect */
}

/* Contact CTA Section */
.page-resources-bj88-login-guide__section--contact-cta {
  background: linear-gradient(135deg, #003366, #1a4a7f);
  color: #ffffff;
  text-align: center;
}

.page-resources-bj88-login-guide__section--contact-cta .page-resources-bj88-login-guide__section-title {
  color: #FFCC00;
}

.page-resources-bj88-login-guide__section--contact-cta .page-resources-bj88-login-guide__section-description {
  color: #f0f0f0;
}

.page-resources-bj88-login-guide__section--contact-cta .page-resources-bj88-login-guide__cta-button {
  background: #FFCC00;
  color: #003366;
  border: 2px solid #FFCC00;
}

.page-resources-bj88-login-guide__section--contact-cta .page-resources-bj88-login-guide__cta-button:hover {
  background: #e6b800;
  border-color: #e6b800;
  color: #003366;
}

/* Image global styles - ensure no filter is applied */
.page-resources-bj88-login-guide img {
  filter: none; /* Ensure no CSS filter is applied to images */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-bj88-login-guide__main-title {
    font-size: 40px;
  }

  .page-resources-bj88-login-guide__lead-paragraph {
    font-size: 18px;
  }

  .page-resources-bj88-login-guide__section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-resources-bj88-login-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-bj88-login-guide__hero-image {
    margin-bottom: 20px;
  }

  .page-resources-bj88-login-guide__hero-image img {
    border-radius: 8px;
  }

  .page-resources-bj88-login-guide__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-resources-bj88-login-guide__lead-paragraph {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-resources-bj88-login-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-bj88-login-guide__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-bj88-login-guide__section {
    padding: 40px 0;
  }

  .page-resources-bj88-login-guide__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .page-resources-bj88-login-guide__section-description {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

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

  .page-resources-bj88-login-guide__step-item,
  .page-resources-bj88-login-guide__card,
  .page-resources-bj88-login-guide__benefit-card {
    padding: 20px;
  }

  .page-resources-bj88-login-guide__step-title,
  .page-resources-bj88-login-guide__card-title {
    font-size: 20px;
  }

  .page-resources-bj88-login-guide__step-item img {
    height: 200px;
    margin-bottom: 20px;
  }

  .page-resources-bj88-login-guide__security-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-resources-bj88-login-guide__security-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-bj88-login-guide__tip-list li {
    font-size: 15px;
    padding: 15px 20px;
  }

  .page-resources-bj88-login-guide__tip-heading {
    font-size: 17px;
  }

  .page-resources-bj88-login-guide__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-bj88-login-guide__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-bj88-login-guide__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .page-resources-bj88-login-guide__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-bj88-login-guide__faq-item.active .page-resources-bj88-login-guide__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all content images are responsive and don't overflow */
  .page-resources-bj88-login-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-bj88-login-guide__section,
  .page-resources-bj88-login-guide__card,
  .page-resources-bj88-login-guide__container,
  .page-resources-bj88-login-guide__cta-buttons,
  .page-resources-bj88-login-guide__button-group,
  .page-resources-bj88-login-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-bj88-login-guide__cta-buttons {
    flex-wrap: wrap !important;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-bj88-login-guide__main-title {
    font-size: 28px;
  }

  .page-resources-bj88-login-guide__section-title {
    font-size: 22px;
  }

  .page-resources-bj88-login-guide__cta-button {
    min-width: unset;
  }
}