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

.page-faq__hero-section {
  padding-top: var(--header-offset, 120px);
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

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

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

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

.page-faq__btn {
  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;
  border: none;
  cursor: pointer;
}

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

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

.page-faq__btn--login {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-faq__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background effect */
}

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

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

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

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

.page-faq__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-faq__faq-item summary {
  display: block;
  padding: 20px 25px;
  font-size: 1.3em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: background-color 0.3s ease;
}

.page-faq__faq-item summary:hover {
  background-color: #f0f0f0;
}

.page-faq__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-faq__faq-item summary::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] summary::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #333333;
}

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

.page-faq__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-faq__faq-answer a:hover {
  text-decoration: underline;
}

.page-faq__faq-image {
  margin: 20px 0;
  text-align: center;
}

.page-faq__faq-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

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

.page-faq__cta-description {
  font-size: 1.3em;
  line-height: 1.5;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

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

.page-faq__btn--register-cta:hover {
  background-color: #e0e0e0;
}

.page-faq__btn--login-cta {
  background-color: #FCBC45;
  color: #000000;
}

.page-faq__btn--login-cta:hover {
  background-color: #e6a73a;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 3em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__faq-item summary {
    font-size: 1.2em;
  }
  .page-faq__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-title {
    font-size: 2.5em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-faq__faq-item summary::after {
    right: 20px;
  }
  .page-faq__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
  }
  .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__faq-image img, .page-faq__hero-image img {
    max-width: 100%;
    height: auto;
  }
  .page-faq img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure min size is maintained */
    min-height: 200px; /* Ensure min size is maintained */
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 2em;
  }
  .page-faq__hero-description {
    font-size: 0.9em;
  }
  .page-faq__section-title {
    font-size: 1.5em;
  }
  .page-faq__faq-item summary {
    font-size: 1em;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
  }
  .page-faq__cta-description {
    font-size: 1em;
  }
}