.page-faq {
  color: #ffffff; /* Light text for dark body background */
  background-color: #000000; /* Ensure page background is consistent with body */
  padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-faq__hero-title {
  font-size: 3.5em;
  color: #FCBC45;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(252, 188, 69, 0.7);
}

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

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

.page-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, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-faq__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-faq__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

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

.page-faq__section-title {
  font-size: 2.5em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(252, 188, 69, 0.5);
}

.page-faq__accordion-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__accordion-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__accordion-question {
  display: block;
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: background-color 0.3s ease;
}

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

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

.page-faq__accordion-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-faq__accordion-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #e0e0e0;
}

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

.page-faq__accordion-answer .page-faq__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
  margin-top: 10px;
  background-color: #FCBC45;
  color: #000000;
}

.page-faq__accordion-answer .page-faq__button--small:hover {
  background-color: #e0a53b;
}

.page-faq__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-right: 15px;
}

.page-faq__link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-faq__related-links {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  text-align: center;
}

.page-faq__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-faq__link-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-decoration: none;
  color: #FFFFFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-faq__link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-faq__link-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-faq__link-card-title {
  font-size: 1.6em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-faq__link-card-description {
  font-size: 1em;
  line-height: 1.5;
  color: #e0e0e0;
}

.page-faq__cta-bottom {
  text-align: center;
  padding: 60px 20px;
  background-color: rgba(252, 188, 69, 0.1);
  margin-top: 60px;
  border-radius: 10px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-faq__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #FCBC45;
  color: #000000;
}

.page-faq__button--large:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 3em;
  }
  .page-faq__hero-description {
    font-size: 1.1em;
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__accordion-question {
    font-size: 1.2em;
  }
  .page-faq__accordion-answer {
    font-size: 1em;
  }
  .page-faq__cta-bottom-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
  }
  .page-faq__hero-title {
    font-size: 2.5em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__button {
    width: 80%;
    max-width: 300px;
  }
  .page-faq__content-area,
  .page-faq__related-links,
  .page-faq__cta-bottom {
    padding: 30px 15px;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__accordion-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-faq__accordion-question::after {
    right: 20px;
  }
  .page-faq__accordion-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }
  .page-faq__link-card-image {
    height: 200px;
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    height: auto; /* Ensure responsiveness */
  }
  .page-faq__link-card-title {
    font-size: 1.4em;
  }
  .page-faq__cta-bottom-title {
    font-size: 2em;
  }
  .page-faq__cta-bottom-description {
    font-size: 1.1em;
  }
  .page-faq__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure all images within .page-faq are responsive and do not overflow */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }
}