.page-jili-slot-faq {
  color: #333333; /* Dark text for light body background, as per prompt's recommendation */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content starts below fixed header */
  background-color: #FFFFFF; /* Explicitly set background to match custom color */
}

.page-jili-slot-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-jili-slot-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* White text on dark background */
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid #FCBC45;
}

.page-jili-slot-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-jili-slot-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  line-height: 1.2;
}

.page-jili-slot-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-jili-slot-faq__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.page-jili-slot-faq__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  cursor: pointer;
}

.page-jili-slot-faq__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text on white button */
  border: 2px solid #FFFFFF;
}

.page-jili-slot-faq__button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
  border-color: #FCBC45;
}

.page-jili-slot-faq__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text on yellow button */
  border: 2px solid #FCBC45;
}

.page-jili-slot-faq__button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
  border-color: #FFFFFF;
}

.page-jili-slot-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-jili-slot-faq__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  display: block;
}

.page-jili-slot-faq__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* White background for main content */
  color: #333333;
}

.page-jili-slot-faq__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: #000000;
}

.page-jili-slot-faq__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-jili-slot-faq__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-jili-slot-faq__faq-question {
  width: 100%;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: left;
  background-color: #000000; /* Dark background for question */
  color: #FFFFFF; /* White text on dark question */
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-jili-slot-faq__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-jili-slot-faq__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-jili-slot-faq__faq-answer {
  padding: 0 25px;
  background-color: #FFFFFF;
  color: #333333;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-jili-slot-faq__faq-answer.active {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-jili-slot-faq__faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

.page-jili-slot-faq__faq-answer a {
  color: #FCBC45; /* Link color within FAQ answers */
  text-decoration: none;
}

.page-jili-slot-faq__faq-answer a:hover {
  text-decoration: underline;
}

.page-jili-slot-faq__cta-section {
  padding: 80px 20px;
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-jili-slot-faq__cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-jili-slot-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-jili-slot-faq__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-jili-slot-faq__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-jili-slot-faq__button--promo {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-jili-slot-faq__button--promo:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
  border-color: #FCBC45;
}

.page-jili-slot-faq__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-jili-slot-faq__cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-jili-slot-faq__hero-title {
    font-size: 2.2em;
  }

  .page-jili-slot-faq__hero-description,
  .page-jili-slot-faq__cta-description {
    font-size: 1em;
  }

  .page-jili-slot-faq__hero-actions,
  .page-jili-slot-faq__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-jili-slot-faq__button {
    width: 100%;
    max-width: 280px;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-jili-slot-faq__section-title {
    font-size: 2em;
  }

  .page-jili-slot-faq__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-jili-slot-faq__faq-answer.active {
    padding: 15px 20px;
  }

  .page-jili-slot-faq__cta-title {
    font-size: 2em;
  }

  .page-jili-slot-faq__hero-section,
  .page-jili-slot-faq__faq-section,
  .page-jili-slot-faq__cta-section {
    padding: 40px 15px;
  }

  /* Mobile content area images must not overflow */
  .page-jili-slot-faq img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for all content images */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-jili-slot-faq__hero-title {
    font-size: 1.8em;
  }

  .page-jili-slot-faq__section-title,
  .page-jili-slot-faq__cta-title {
    font-size: 1.8em;
  }
}

/* Ensure content area images are not small, even if not explicitly targeted */
/* These are redundant with the media query, but kept for explicit clarity */
.page-jili-slot-faq__hero-image img,
.page-jili-slot-faq__cta-image img {
  min-width: 200px;
  min-height: 200px;
}