/* style/resources-nk88-betting-faq.css */

/* Base styles for the page content */
.page-resources-nk88-betting-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Main content background is transparent to show body background */
}

/* Container for consistent spacing */
.page-resources-nk88-betting-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-nk88-betting-faq__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-resources-nk88-betting-faq__dark-bg {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-resources-nk88-betting-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-resources-nk88-betting-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Section Titles and Descriptions */
.page-resources-nk88-betting-faq__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439; /* Brand primary color for titles in light sections */
}

.page-resources-nk88-betting-faq__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

/* CTA Buttons */
.page-resources-nk88-betting-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-resources-nk88-betting-faq__btn-primary,
.page-resources-nk88-betting-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding/border included in width */
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-resources-nk88-betting-faq__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-nk88-betting-faq__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
  transform: translateY(-2px);
}

.page-resources-nk88-betting-faq__btn-secondary {
  background-color: transparent;
  color: #ffffff; /* White text for contrast on dark sections */
  border: 2px solid #ffffff;
}
.page-resources-nk88-betting-faq__dark-bg .page-resources-nk88-betting-faq__btn-secondary {
  color: #ffffff;
  border-color: #ffffff;
}
.page-resources-nk88-betting-faq__light-bg .page-resources-nk88-betting-faq__btn-secondary {
  color: #017439; /* Brand primary color for text on light sections */
  border-color: #017439;
}


.page-resources-nk88-betting-faq__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
  transform: translateY(-2px);
}

/* FAQ List Section */
.page-resources-nk88-betting-faq__faq-list-section {
  padding: 80px 0;
}

.page-resources-nk88-betting-faq__light-bg {
  background-color: #ffffff; /* Light background for content sections */
  color: #333333; /* Dark text for contrast on light background */
}
.page-resources-nk88-betting-faq__light-bg h3 {
  color: #017439; /* Brand primary color for headings in light sections */
}
.page-resources-nk88-betting-faq__light-bg p,
.page-resources-nk88-betting-faq__light-bg li {
  color: #333333;
}
.page-resources-nk88-betting-faq__light-bg strong {
  color: #017439; /* Emphasize keywords in brand color */
}


.page-resources-nk88-betting-faq__faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-resources-nk88-betting-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: #ffffff;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.page-resources-nk88-betting-faq__faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: #017439; /* Brand primary color for FAQ questions */
}

.page-resources-nk88-betting-faq__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-resources-nk88-betting-faq__faq-item.active .page-resources-nk88-betting-faq__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an X or similar */
}

.page-resources-nk88-betting-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #fcfcfc;
  color: #333333; /* Dark text for answer content */
}

.page-resources-nk88-betting-faq__faq-item.active .page-resources-nk88-betting-faq__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 20px 30px;
}

.page-resources-nk88-betting-faq__faq-answer p {
  margin-bottom: 15px;
  color: #333333;
}

.page-resources-nk88-betting-faq__faq-answer ol,
.page-resources-nk88-betting-faq__faq-answer ul {
  padding-left: 25px;
  margin-bottom: 15px;
}

.page-resources-nk88-betting-faq__faq-answer li {
  margin-bottom: 8px;
  color: #333333;
}

/* CTA Bottom Section */
.page-resources-nk88-betting-faq__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

.page-resources-nk88-betting-faq__cta-bottom-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-nk88-betting-faq__cta-bottom-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-nk88-betting-faq__hero-title {
    font-size: 2.8em;
  }

  .page-resources-nk88-betting-faq__section-title {
    font-size: 2em;
  }

  .page-resources-nk88-betting-faq__cta-bottom-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-nk88-betting-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-nk88-betting-faq__container {
    padding: 0 15px;
  }

  .page-resources-nk88-betting-faq__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-resources-nk88-betting-faq__hero-title {
    font-size: 2em;
  }

  .page-resources-nk88-betting-faq__hero-description {
    font-size: 1em;
  }

  .page-resources-nk88-betting-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-nk88-betting-faq__btn-primary,
  .page-resources-nk88-betting-faq__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-nk88-betting-faq__section-title {
    font-size: 1.8em;
  }

  .page-resources-nk88-betting-faq__section-description {
    font-size: 0.95em;
  }

  .page-resources-nk88-betting-faq__faq-question {
    padding: 15px 20px;
  }

  .page-resources-nk88-betting-faq__faq-question h3 {
    font-size: 1.1em;
  }

  .page-resources-nk88-betting-faq__faq-answer {
    padding: 0 20px;
  }
  .page-resources-nk88-betting-faq__faq-item.active .page-resources-nk88-betting-faq__faq-answer {
    padding: 15px 20px;
  }

  .page-resources-nk88-betting-faq__cta-bottom-title {
    font-size: 2em;
  }

  .page-resources-nk88-betting-faq__cta-bottom-description {
    font-size: 1em;
  }

  /* Images responsive */
  .page-resources-nk88-betting-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-nk88-betting-faq__section,
  .page-resources-nk88-betting-faq__card,
  .page-resources-nk88-betting-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}