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

.page-faq__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Slightly dim the image to make text stand out */
  z-index: 0;
}

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

.page-faq__hero-title {
  font-size: 3.2em;
  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.2em;
  margin-bottom: 40px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.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.2s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

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

.page-faq__button--register:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
  border-color: #FCBC45;
  transform: translateY(-3px);
}

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

.page-faq__button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  transform: translateY(-3px);
}

.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: 20px;
}

.page-faq__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__accordion-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-header {
  margin: 0;
}

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

.page-faq__accordion-button:hover {
  background-color: #333333;
}

.page-faq__accordion-button::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq__accordion-button[aria-expanded="true"]::after {
  content: '-';
  transform: rotate(0deg); /* No rotation for minus */
}

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

.page-faq__accordion-content p {
  padding: 15px 25px;
  margin: 0;
  color: #333333;
  font-size: 1em;
}

.page-faq__accordion-sub-item {
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
  padding-bottom: 5px;
}

.page-faq__accordion-sub-item:first-child {
  border-top: none;
  padding-top: 0;
}

.page-faq__accordion-sub-header {
  font-size: 1.1em;
  color: #000000;
  padding: 0 25px 10px;
  margin: 0;
}

.page-faq__cta-section {
  background-color: #000000; /* Main color for CTA background */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-faq__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Slightly dim the image to make text stand out */
  z-index: 0;
}

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

.page-faq__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

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

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

  .page-faq__accordion-button {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-faq__accordion-sub-header {
    font-size: 1em;
    padding: 0 20px 10px;
  }

  .page-faq__accordion-content p {
    padding: 10px 20px;
  }

  .page-faq__button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: 160px;
  }

  /* Ensure images in content area are not smaller than 200px, but responsive */
  .page-faq img {
    max-width: 100%;
    height: auto;
    /* No specific width/height for content images, relying on max-width: 100% to prevent overflow */
  }

  /* Ensure no horizontal scroll */
  .page-faq {
    overflow-x: hidden;
  }
}

/* Image specific rules to ensure minimum size and no filter */
.page-faq img {
  /* All images within .page-faq must be at least 200x200px in display */
  /* This is a general rule, specific images might have larger dimensions */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensures images fill their space without distortion */
  /* No filter properties allowed to change image color */
  filter: none; 
}

/* Override for hero/cta images which are background-like, but still img tags */
.page-faq__hero-image, .page-faq__cta-image {
  min-width: unset;
  min-height: unset;
}

/* Specific rule for content images to ensure they are not small icons */
/* This applies to any img element that might be directly placed in content */
.page-faq__accordion-content img,
.page-faq__container img {
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
  max-width: 100%; /* Ensure responsiveness */
  height: auto;
  display: block;
  margin: 20px auto; /* Center content images */
}

/* No filter properties for any images */
.page-faq img {
  filter: none !important;
}