.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4); /* Darken background image for text readability */
}

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

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-faq__description {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

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

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

.page-faq__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

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

.page-faq__accordion-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.page-faq__accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 25px;
  background-color: #017439;
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
  border-radius: 8px;
}

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

.page-faq__accordion-question {
  flex-grow: 1;
}

.page-faq__accordion-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

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

.page-faq__accordion-content.is-expanded {
  max-height: 300px; /* Adjust as needed for content height */
  padding: 15px 25px;
  border-top: 1px solid #eee;
}

.page-faq__accordion-content p {
  margin: 0;
  line-height: 1.7;
  color: #555;
}

.page-faq__inline-link {
  color: #017439;
  text-decoration: underline;
  font-weight: 600;
}

.page-faq__inline-link:hover {
  color: #005f2f;
}

.page-faq__contact-cta-section {
  background-color: #017439;
  padding: 80px 20px;
  color: #FFFFFF;
}

.page-faq__contact-cta-section .page-faq__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-faq__contact-cta-content {
  flex: 1;
}

.page-faq__cta-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

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

.page-faq__cta-button {
  display: inline-block;
  background-color: #C30808;
  color: #FFFF00;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  min-width: 200px; /* Ensure button is not too small */
  text-align: center;
}

.page-faq__cta-button:hover {
  background-color: #a30707;
}

.page-faq__contact-cta-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Minimum size for content image */
  min-height: 200px;
}

@media (max-width: 849px) {
  .page-faq__hero-content {
    padding: 15px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-faq__description {
    font-size: 1rem;
  }

  .page-faq__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-faq__accordion-header {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-faq__accordion-content.is-expanded {
    max-height: 400px; /* Allow more height for mobile content */
  }

  .page-faq__contact-cta-section .page-faq__container {
    flex-direction: column-reverse; /* Image on top, text below */
    text-align: center;
  }

  .page-faq__contact-cta-image {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .page-faq__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-image,
  .page-faq__contact-cta-image,
  .page-faq__accordion-content img /* General img rule for content area */ {
    max-width: 100%;
    height: auto;
  }

  .page-faq__hero-section,
  .page-faq__accordion-section,
  .page-faq__contact-cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__contact-cta-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 549px) {
  .page-faq__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .page-faq__section-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }

  .page-faq__accordion-header {
    font-size: 0.95rem;
    padding: 12px 18px;
  }

  .page-faq__accordion-content.is-expanded {
    padding: 10px 18px;
  }

  .page-faq__cta-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-faq__cta-description {
    font-size: 0.95rem;
  }
}