/* style/resources-ju88-bet-security-credibility-deep-dive.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-login-bg: #C30808;
  --register-login-text: #FFFFFF; /* Adjusted for WCAG AA contrast */
  --body-bg-color: #1a1a2e;
  --text-color-on-dark: #ffffff;
  --text-color-on-light: #333333;
}

.page-resources-ju88-bet-security-credibility-deep-dive {
  color: var(--text-color-on-dark); /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

.page-resources-ju88-bet-security-credibility-deep-dive__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-resources-ju88-bet-security-credibility-deep-dive__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-ju88-bet-security-credibility-deep-dive__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-ju88-bet-security-credibility-deep-dive__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: var(--secondary-color);
}

.page-resources-ju88-bet-security-credibility-deep-dive__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-ju88-bet-security-credibility-deep-dive__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-resources-ju88-bet-security-credibility-deep-dive__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-ju88-bet-security-credibility-deep-dive__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: transparent; /* Body background is dark, content area can be transparent or slightly translucent dark */
}

.page-resources-ju88-bet-security-credibility-deep-dive__section-wrapper {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for content sections */
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-ju88-bet-security-credibility-deep-dive__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-ju88-bet-security-credibility-deep-dive__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-color-on-dark);
}

.page-resources-ju88-bet-security-credibility-deep-dive__image-container {
  text-align: center;
  margin: 30px 0;
}

.page-resources-ju88-bet-security-credibility-deep-dive__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-resources-ju88-bet-security-credibility-deep-dive__btn-primary,
.page-resources-ju88-bet-security-credibility-deep-dive__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-ju88-bet-security-credibility-deep-dive__btn-primary {
  background-color: var(--register-login-bg); /* #C30808 */
  color: var(--register-login-text); /* #FFFFFF for contrast */
  border: 2px solid var(--register-login-bg);
}

.page-resources-ju88-bet-security-credibility-deep-dive__btn-primary:hover {
  background-color: darken(var(--register-login-bg), 10%); /* Example darken, will be processed */
  border-color: darken(var(--register-login-bg), 10%);
}

.page-resources-ju88-bet-security-credibility-deep-dive__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-ju88-bet-security-credibility-deep-dive__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-resources-ju88-bet-security-credibility-deep-dive__cta-buttons {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* FAQ Section */
.page-resources-ju88-bet-security-credibility-deep-dive__faq-list {
  margin-top: 30px;
}

.page-resources-ju88-bet-security-credibility-deep-dive__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-resources-ju88-bet-security-credibility-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--secondary-color);
  background-color: var(--primary-color); /* Primary color for question background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-ju88-bet-security-credibility-deep-dive__faq-question:hover {
  background-color: darken(var(--primary-color), 5%); /* Example darken, will be processed */
}

.page-resources-ju88-bet-security-credibility-deep-dive__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-ju88-bet-security-credibility-deep-dive__faq-item.active .page-resources-ju88-bet-security-credibility-deep-dive__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-ju88-bet-security-credibility-deep-dive__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-color-on-dark);
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
}

.page-resources-ju88-bet-security-credibility-deep-dive__faq-item.active .page-resources-ju88-bet-security-credibility-deep-dive__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px;
}

.page-resources-ju88-bet-security-credibility-deep-dive__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-ju88-bet-security-credibility-deep-dive__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-resources-ju88-bet-security-credibility-deep-dive {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-ju88-bet-security-credibility-deep-dive__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }

  .page-resources-ju88-bet-security-credibility-deep-dive__hero-title {
    font-size: 2.2em;
  }

  .page-resources-ju88-bet-security-credibility-deep-dive__hero-description {
    font-size: 1em;
  }

  .page-resources-ju88-bet-security-credibility-deep-dive__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-ju88-bet-security-credibility-deep-dive__btn-primary,
  .page-resources-ju88-bet-security-credibility-deep-dive__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-ju88-bet-security-credibility-deep-dive__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-ju88-bet-security-credibility-deep-dive__section-title {
    font-size: 2em;
  }

  .page-resources-ju88-bet-security-credibility-deep-dive__section-wrapper,
  .page-resources-ju88-bet-security-credibility-deep-dive__content-area {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Mobile image responsiveness */
  .page-resources-ju88-bet-security-credibility-deep-dive img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-ju88-bet-security-credibility-deep-dive__image-container {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* Mobile video responsiveness (if any) */
  .page-resources-ju88-bet-security-credibility-deep-dive video,
  .page-resources-ju88-bet-security-credibility-deep-dive__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-ju88-bet-security-credibility-deep-dive__video-section,
  .page-resources-ju88-bet-security-credibility-deep-dive__video-container,
  .page-resources-ju88-bet-security-credibility-deep-dive__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-ju88-bet-security-credibility-deep-dive__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-ju88-bet-security-credibility-deep-dive__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-resources-ju88-bet-security-credibility-deep-dive__faq-answer {
    padding: 15px;
  }
}