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

.page-faq__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0; /* Hero image will fill */
  background-color: #000000; /* Dark background for contrast with hero content */
}

.page-faq__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7; /* Slightly dim image to make text stand out */
  object-fit: cover;
}

.page-faq__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  box-sizing: border-box;
  z-index: 1;
}

.page-faq__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-faq__hero-description {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

.page-faq__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

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

.page-faq__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

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

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

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

.page-faq__section-subtitle {
  font-size: 1.1rem;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-faq__accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

.page-faq__accordion-item:last-child {
  border-bottom: none;
}

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

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

.page-faq__accordion-title {
  margin: 0;
  font-size: 1.2rem;
}

.page-faq__accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header[aria-expanded="true"] .page-faq__accordion-icon {
  transform: rotate(45deg);
}

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

.page-faq__accordion-content p {
  margin-top: 0;
  padding-bottom: 20px;
  color: #555555;
}

.page-faq__accordion-content a {
  color: #FCBC45; /* Link color */
  text-decoration: none;
  font-weight: bold;
}

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

.page-faq__cta-area {
  display: flex;
  align-items: center;
  background-color: #000000;
  color: #FFFFFF;
  padding: 40px;
  border-radius: 8px;
  margin-top: 60px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-image {
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 40px;
  flex-shrink: 0;
}

.page-faq__cta-content {
  flex-grow: 1;
}

.page-faq__cta-title {
  font-size: 2rem;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-faq__cta-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFFFFF;
}

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

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

@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 3rem;
  }
  .page-faq__hero-description {
    font-size: 1.2rem;
  }
  .page-faq__section-title {
    font-size: 2rem;
  }
  .page-faq__cta-image {
    width: 300px;
    height: 225px;
  }
  .page-faq__cta-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-faq {
    padding-top: var(--header-offset, 120px); /* Apply for mobile as well */
  }
  .page-faq__hero-title {
    font-size: 2.5rem;
  }
  .page-faq__hero-description {
    font-size: 1rem;
  }
  .page-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__button {
    width: 100%;
  }
  .page-faq__section-title {
    font-size: 1.8rem;
  }
  .page-faq__section-subtitle {
    font-size: 1rem;
  }
  .page-faq__accordion-header {
    font-size: 1.1rem;
    padding: 15px;
  }
  .page-faq__accordion-title {
    font-size: 1.1rem;
  }
  .page-faq__accordion-content p {
    font-size: 0.95rem;
    padding-bottom: 15px;
  }
  .page-faq__cta-area {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  .page-faq__cta-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Constraint for mobile image */
    margin-right: 0;
    margin-bottom: 20px;
  }
  .page-faq__cta-title {
    font-size: 1.5rem;
  }
  .page-faq__cta-description {
    font-size: 1rem;
  }
  /* Ensure all content area images are responsive and not smaller than 200px */
  .page-faq__faq-section img,
  .page-faq__cta-area img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 2rem;
  }
  .page-faq__hero-description {
    font-size: 0.9rem;
  }
  .page-faq__section-title {
    font-size: 1.5rem;
  }
  .page-faq__accordion-header {
    font-size: 1rem;
  }
  .page-faq__accordion-title {
    font-size: 1rem;
  }
  .page-faq__cta-title {
    font-size: 1.3rem;
  }
}