.page-faq__hero-section {
  padding-top: 10px; /* Small top padding to respect shared header offset */
  background-color: var(--background-color, #FFFFFF);
  color: #333333;
  text-align: center;
  padding-bottom: 40px;
}

.page-faq__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  aspect-ratio: 1920 / 600; /* Maintain aspect ratio */
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-faq__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #000000; /* Default text color, adjust for contrast */
  margin-bottom: 15px;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Responsive font size for H1 */
}

.page-faq__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 30px;
}

.page-faq__faq-list-section {
  background-color: var(--background-color, #FFFFFF);
  padding: 60px 0;
}

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

.page-faq__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__faq-category {
  margin-bottom: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-faq__category-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #FFFFFF;
  background-color: var(--primary-color, #26A9E0);
  padding: 15px 20px;
  margin-top: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--primary-color, #26A9E0);
}

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

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

.page-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #f9f9f9;
  color: #333333;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 18px 20px;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 0;
}

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

.page-faq__question[aria-expanded="true"] {
  background-color: #e6e6e6;
  color: #000000;
}

.page-faq__toggle-icon {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #ffffff;
}

.page-faq__answer p {
  padding: 15px 20px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
}

.page-faq__cta-section {
  background-color: var(--primary-color, #26A9E0);
  color: #FFFFFF;
  padding: 60px 0;
  text-align: center;
}

.page-faq__cta-section .page-faq__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-faq__cta-content {
  max-width: 700px;
}

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

.page-faq__cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-faq__cta-button {
  display: inline-block;
  background-color: var(--login-color, #EA7C07); /* Using login color for CTA button */
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-faq__cta-button:hover {
  background-color: #cc6d06; /* Slightly darker orange on hover */
  transform: translateY(-2px);
}

.page-faq__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  filter: none; /* Ensure no CSS filter changes image color */
  min-width: 200px;
  min-height: 200px;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-faq__cta-section .page-faq__container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .page-faq__cta-content {
    text-align: left;
    flex: 1;
    padding-right: 30px;
  }
  .page-faq__cta-image {
    flex-shrink: 0;
    width: 40%;
  }
}

@media (max-width: 768px) {
  .page-faq__section-title {
    font-size: 1.8rem;
  }
  .page-faq__category-title {
    font-size: 1.4rem;
  }
  .page-faq__question,
  .page-faq__answer p {
    font-size: 1rem;
    padding: 15px;
  }
  .page-faq__cta-title {
    font-size: 1.8rem;
  }
  .page-faq__cta-description {
    font-size: 1rem;
  }
  .page-faq__cta-button {
    font-size: 1rem;
    padding: 12px 24px;
  }
  /* Ensure all images within .page-faq are responsive and not too small */
  .page-faq img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
  .page-faq__hero-image {
    min-width: unset; /* Hero can be smaller on mobile but still responsive */
    min-height: unset;
  }
  .page-faq__cta-image {
    width: 100%; /* Make CTA image full width on mobile */
  }
}

@media (max-width: 549px) {
  .page-faq__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .page-faq__description {
    font-size: 0.95rem;
  }
  .page-faq__section-title {
    font-size: 1.6rem;
  }
  .page-faq__category-title {
    font-size: 1.2rem;
  }
  .page-faq__question {
    padding: 12px 15px;
  }
  .page-faq__answer p {
    padding: 10px 15px;
  }
  .page-faq__cta-title {
    font-size: 1.6rem;
  }
  .page-faq__cta-description {
    font-size: 0.95rem;
  }
  .page-faq__cta-button {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}