.page-faq {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF; /* Matches body background */
}

.page-faq__hero-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* White text on dark background */
  position: relative;
  overflow: hidden;
}

.page-faq__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-faq__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 0 0 10px rgba(252, 188, 69, 0.7);
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

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

.page-faq__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-faq__register-button {
  background-color: #000000; /* Dark background for register button */
  color: #FFFFFF; /* White text for register button */
  border: 2px solid #FCBC45; /* Gold border */
}

.page-faq__register-button:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

.page-faq__support-button {
  background-color: #FCBC45; /* Login button color for support */
  color: #000000; /* Black text on login button color */
  border: 2px solid #FCBC45;
}

.page-faq__support-button:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-faq__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #000000;
  position: relative;
}

.page-faq__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background-color: #F8F8F8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-faq__faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  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 background */
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
  background-color: #1a1a1a;
}

.page-faq__arrow {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq__faq-question[aria-expanded="true"] .page-faq__arrow {
  transform: rotate(180deg);
}

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

.page-faq__faq-answer p {
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 0;
}

.page-faq__faq-answer.page-faq__faq-answer--active {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 20px;
  padding-bottom: 20px;
}

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

.page-faq__inline-button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  margin-bottom: 20px;
  background-color: #FCBC45;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-faq__inline-button:hover {
  background-color: #e0a53b;
}

.page-faq__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF; /* White text on dark background */
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

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

.page-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
  text-shadow: 0 0 8px rgba(252, 188, 69, 0.6);
}

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

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

.page-faq__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-faq__cta-button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-faq__cta-button--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-faq__cta-button--secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-faq__cta-button--secondary:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

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

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

  .page-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__register-button,
  .page-faq__support-button {
    width: 80%;
    margin: 0 auto;
  }

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

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

  .page-faq__faq-answer p {
    font-size: 0.95em;
  }

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

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

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

  .page-faq__cta-button {
    width: 80%;
    margin: 0 auto;
  }

  /* Mobile content image constraint */
  .page-faq__hero-image,
  .page-faq__faq-image {
    max-width: 100%;
    height: auto;
  }

  .page-faq {
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
}

@media (max-width: 480px) {
  .page-faq__hero-section {
    padding: 40px 15px;
  }

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

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

  .page-faq__faq-question {
    font-size: 1em;
    padding: 15px;
  }

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

  .page-faq__cta-button {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}