.page-resources-8k8-com-faq {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-8k8-com-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #000000; /* Ensure dark background */
}

.page-resources-8k8-com-faq__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
  overflow: hidden;
}

.page-resources-8k8-com-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources-8k8-com-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-8k8-com-faq__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold accent for title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-8k8-com-faq__hero-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-8k8-com-faq__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-8k8-com-faq__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, color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-resources-8k8-com-faq__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #000000; /* Dark text for gold button */
}

.page-resources-8k8-com-faq__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-8k8-com-faq__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for secondary button */
  border: 2px solid #FFD700;
}

.page-resources-8k8-com-faq__button--secondary:hover {
  background-color: #FFD700;
  color: #000000;
  transform: translateY(-2px);
}

.page-resources-8k8-com-faq__content-area {
  max-width: 800px; /* Content width for readability */
  margin: 40px auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent dark background for content */
  border-radius: 10px;
}

.page-resources-8k8-com-faq__return-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-8k8-com-faq__return-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-resources-8k8-com-faq__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.page-resources-8k8-com-faq__faq-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-resources-8k8-com-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Darker background for FAQ items */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-8k8-com-faq__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-resources-8k8-com-faq__faq-question {
  font-size: 1.4em;
  color: #FFD700; /* Gold for questions */
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-resources-8k8-com-faq__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-resources-8k8-com-faq__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-resources-8k8-com-faq__faq-answer {
  font-size: 1.05em;
  color: #e0e0e0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.page-resources-8k8-com-faq__faq-answer.active {
  max-height: 1000px; /* Adjust as needed for content */
  opacity: 1;
}

.page-resources-8k8-com-faq__faq-answer p {
  margin-bottom: 1em;
}

.page-resources-8k8-com-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-resources-8k8-com-faq__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-resources-8k8-com-faq__faq-answer a:hover {
  color: #e6c200;
}

.page-resources-8k8-com-faq__image-inline {
  display: block;
  margin: 20px auto;
  max-width: 100%; /* Ensures image responsiveness */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-resources-8k8-com-faq__cta-section {
  text-align: center;
  padding: 60px 20px;
  margin-top: 60px;
  background-color: rgba(255, 215, 0, 0.1); /* Light gold transparent background */
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.page-resources-8k8-com-faq__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.page-resources-8k8-com-faq__cta-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.page-resources-8k8-com-faq__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-8k8-com-faq__hero-title {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .page-resources-8k8-com-faq {
    padding-top: var(--header-offset, 80px);
  }

  .page-resources-8k8-com-faq__hero-section {
    padding: 60px 15px;
  }

  .page-resources-8k8-com-faq__hero-title {
    font-size: 2.2em;
  }

  .page-resources-8k8-com-faq__hero-description {
    font-size: 1em;
  }

  .page-resources-8k8-com-faq__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-8k8-com-faq__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-8k8-com-faq__content-area {
    margin: 20px auto;
    padding: 15px;
  }

  .page-resources-8k8-com-faq__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-resources-8k8-com-faq__faq-question {
    font-size: 1.2em;
  }

  .page-resources-8k8-com-faq__faq-answer {
    font-size: 0.95em;
  }

  .page-resources-8k8-com-faq__image-inline {
    max-width: 100%;
    height: auto;
  }

  .page-resources-8k8-com-faq__cta-section {
    padding: 40px 15px;
    margin-top: 40px;
  }

  .page-resources-8k8-com-faq__cta-title {
    font-size: 1.8em;
  }

  .page-resources-8k8-com-faq__cta-description {
    font-size: 1em;
  }
}

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

  .page-resources-8k8-com-faq__section-title {
    font-size: 1.6em;
  }

  .page-resources-8k8-com-faq__faq-question {
    font-size: 1.1em;
  }

  .page-resources-8k8-com-faq__cta-title {
    font-size: 1.6em;
  }
}