.page-faq {
  color: #333333; /* Default text color for light body background */
}

.page-faq__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF;
  text-align: center;
  padding-bottom: 40px;
}

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-faq__main-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-faq__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333333;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-faq__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-faq__btn--register {
  background-color: #FFFFFF; /* Custom color for register */
  color: #000000;
  border: 2px solid #000000;
}

.page-faq__btn--register:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-faq__btn--login {
  background-color: #FCBC45; /* Custom color for login */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-faq__btn--login:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-faq__hero-image {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-faq__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-faq__accordion-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.page-faq__container {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__section-title {
  font-size: 2.2em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-faq__accordion-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-header {
  font-size: 1.2em;
  color: #000000;
  padding: 18px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: #eaeaea;
}

.page-faq__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-faq__accordion-content {
  padding: 0 25px;
  background-color: #FFFFFF;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq__accordion-content.active {
  max-height: 500px; /* Adjust based on expected content height */
  padding: 15px 25px 25px;
}

.page-faq__accordion-content p {
  margin-bottom: 0;
  line-height: 1.6;
  color: #555555;
}

.page-faq__accordion-content a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: 500;
}

.page-faq__accordion-content a:hover {
  text-decoration: underline;
}

.page-faq__contact-cta-section {
  background-color: #000000;
  padding: 60px 20px;
  text-align: center;
}

.page-faq__contact-cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.page-faq__contact-cta-title {
  font-size: 2em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-faq__contact-cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-faq__btn--contact {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 14px 32px;
}

.page-faq__btn--contact:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
  }

  .page-faq__main-title {
    font-size: 2em;
  }

  .page-faq__intro-text {
    font-size: 1em;
  }

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

  .page-faq__btn {
    width: 100%;
    padding: 12px 20px;
  }

  .page-faq__accordion-section, .page-faq__contact-cta-section {
    padding: 40px 15px;
  }

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

  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-faq__accordion-content {
    padding: 10px 20px 20px;
  }

  .page-faq__contact-cta-title {
    font-size: 1.6em;
  }

  .page-faq__contact-cta-description {
    font-size: 1em;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }

  /* Content area images must not be smaller than 200px in display width/height */
  .page-faq__hero-image img {
    min-width: 200px; /* Enforce min-size for content images */
    min- /* Adjusted height to maintain aspect ratio with 1200x675 hero, approx 200x112, so 150 is safe. */
  }
}

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

  .page-faq__section-title {
    font-size: 1.6em;
  }

  .page-faq__accordion-header {
    font-size: 1em;
  }

  .page-faq__contact-cta-title {
    font-size: 1.4em;
  }
}