.page-resources-jili-bet-faq {
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-resources-jili-bet-faq__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding-bottom: 80px; /* Added padding to ensure image isn't too close to text */
}

.page-resources-jili-bet-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken background image for text readability */
}

.page-resources-jili-bet-faq__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-resources-jili-bet-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-resources-jili-bet-faq__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-jili-bet-faq__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-jili-bet-faq__hero-button--primary {
  background-color: #FFD700; /* Primary gold button */
  color: #8B0000; /* Dark red text */
  border: 2px solid #FFD700;
}

.page-resources-jili-bet-faq__hero-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-jili-bet-faq__hero-button--secondary {
  background-color: #8B0000; /* Secondary red button */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-resources-jili-bet-faq__hero-button--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

.page-resources-jili-bet-faq__content-area {
  max-width: 800px; /* Article content width */
  margin: 0 auto;
  padding: 40px 20px;
}

.page-resources-jili-bet-faq__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #8B0000; /* Red link color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-jili-bet-faq__back-link:hover {
  color: #FFD700; /* Gold on hover */
}

.page-resources-jili-bet-faq__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Red for section titles */
  margin-bottom: 30px;
  text-align: center;
}

.page-resources-jili-bet-faq__intro-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  text-align: center;
  color: #555555;
}

.page-resources-jili-bet-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-resources-jili-bet-faq__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-jili-bet-faq__faq-question {
  font-size: 1.4em;
  color: #FFD700; /* Gold for questions */
  margin-bottom: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-resources-jili-bet-faq__faq-question::after {
  content: '+';
  font-size: 1.2em;
  color: #8B0000;
  transition: transform 0.3s ease;
}

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

.page-resources-jili-bet-faq__faq-answer {
  font-size: 1em;
  color: #333333;
  display: none;
  padding-top: 10px;
}

.page-resources-jili-bet-faq__faq-answer.active {
  display: block;
}

.page-resources-jili-bet-faq__faq-answer p {
  margin-bottom: 15px;
}

.page-resources-jili-bet-faq__faq-button {
  display: inline-block;
  background-color: #8B0000; /* Red button */
  color: #FFD700; /* Gold text */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-resources-jili-bet-faq__faq-button:hover {
  background-color: #6a0000;
}

.page-resources-jili-bet-faq__faq-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-jili-bet-faq__faq-list--bullet {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-top: 15px;
  margin-bottom: 15px;
}

.page-resources-jili-bet-faq__faq-list--bullet li {
  margin-bottom: 8px;
}

.page-resources-jili-bet-faq__faq-list--games {
  list-style-type: decimal;
  margin-left: 20px;
  padding-left: 0;
  margin-top: 15px;
  margin-bottom: 15px;
}

.page-resources-jili-bet-faq__faq-list--games li {
  margin-bottom: 8px;
  font-weight: bold;
  color: #8B0000;
}

.page-resources-jili-bet-faq__faq-list--games li strong {
  color: #333333;
}

.page-resources-jili-bet-faq__related-resources {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.page-resources-jili-bet-faq__resource-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.page-resources-jili-bet-faq__resource-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-resources-jili-bet-faq__resource-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-resources-jili-bet-faq__resource-title {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-resources-jili-bet-faq__resource-title a {
  color: #FFD700; /* Gold link color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-jili-bet-faq__resource-title a:hover {
  color: #8B0000; /* Red on hover */
}

.page-resources-jili-bet-faq__resource-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
}

.page-resources-jili-bet-faq__resource-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Red text */
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-jili-bet-faq__resource-button:hover {
  background-color: #e6c200;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .page-resources-jili-bet-faq__hero-title {
    font-size: 2.2em;
  }

  .page-resources-jili-bet-faq__hero-description {
    font-size: 1em;
  }

  .page-resources-jili-bet-faq__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-resources-jili-bet-faq__faq-question {
    font-size: 1.2em;
  }

  .page-resources-jili-bet-faq__resource-cards {
    grid-template-columns: 1fr;
  }

  /* Mobile content area image constraint */
  .page-resources-jili-bet-faq img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-resources-jili-bet-faq__hero-description {
    font-size: 0.9em;
  }

  .page-resources-jili-bet-faq__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-jili-bet-faq__content-area {
    padding: 20px 15px;
  }

  .page-resources-jili-bet-faq__section-title {
    font-size: 1.8em;
  }

  .page-resources-jili-bet-faq__faq-question {
    font-size: 1.1em;
  }
}