.page-faq {
  padding-top: var(--header-offset, 120px);
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

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

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

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

.page-faq__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-faq__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-faq__button--register:hover {
  background-color: #f0f0f0;
  color: #333333;
}

.page-faq__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-faq__button--login:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

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

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

.page-faq__accordion-container {
  border-radius: 10px;
  overflow: hidden;
}

.page-faq__accordion-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.page-faq__accordion-header {
  background-color: #FFFFFF;
  color: #000000;
  padding: 20px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.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-body {
  padding: 0 25px;
  background-color: #f9f9f9;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq__accordion-body.active {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-faq__accordion-body p {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 1.05em;
  color: #444444;
}

.page-faq__button--inline {
  padding: 10px 20px;
  font-size: 0.95em;
  margin-top: 10px;
  margin-right: 10px;
  border-radius: 5px;
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
}

.page-faq__button--inline:hover {
  background-color: #333333;
  border-color: #333333;
}

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

.page-faq__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

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

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

.page-faq__cta-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
  border-width: 3px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-faq__hero-title {
    font-size: 2.8em;
  }
  .page-faq__hero-description {
    font-size: 1.2em;
  }
  .page-faq__cta-title {
    font-size: 2.4em;
  }
  .page-faq__cta-description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-faq {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-faq__hero-section {
    padding: 60px 15px;
  }
  .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__button--large {
    width: 100%;
  }
  .page-faq__content-area {
    padding: 40px 15px;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__accordion-header {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-faq__accordion-body.active {
    padding: 15px 20px;
  }
  .page-faq__accordion-body p {
    font-size: 0.95em;
  }
  .page-faq__cta-section {
    padding: 60px 15px;
  }
  .page-faq__cta-title {
    font-size: 2em;
  }
  .page-faq__cta-description {
    font-size: 1.1em;
  }
  .page-faq__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__button--inline {
    width: auto; /* Allow buttons to size naturally */
    display: inline-block; /* Revert to inline-block for better flow */
  }
  /* Ensure images do not overflow on mobile */
  .page-faq__content-area img, .page-faq__hero-section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 1.8em;
  }
  .page-faq__section-title {
    font-size: 1.6em;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-faq__button--large {
    padding: 15px 25px;
    font-size: 1.1em;
  }
}