.page-faq {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #ffffff;
  line-height: 1.6;
}

.page-faq__hero-section {
  background-color: #f5f5f5;
  padding-top: 10px; /* Rely on body padding-top from shared.css */
  padding-bottom: 40px;
}

.page-faq__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px;
  gap: 24px;
}

.page-faq__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #1e1765; /* A darker shade for contrast on light background */
}

.page-faq__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #017439; /* Brand color for main title */
}

.page-faq__hero-description {
  font-size: 1.1em;
  color: #555555;
}

.page-faq__hero-image {
  flex: 1 1 45%;
  text-align: center;
}

.page-faq__hero-side-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-faq__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-faq__intro-section {
  padding: 60px 0;
  text-align: center;
}

.page-faq__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: bold;
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
}

.page-faq__intro-text {
  font-size: 1.05em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__intro-image-content {
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

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

.page-faq__faq-category {
  margin-bottom: 40px;
}

.page-faq__category-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 25px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-faq__faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  color: #333333;
  list-style: none; /* Hide default marker for details summary */
}

.page-faq__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-faq__faq-answer {
  padding: 15px 20px;
  background-color: #fdfdfd;
  border-top: 1px solid #eeeeee;
  color: #555555;
}

.page-faq__faq-answer p {
  margin-bottom: 10px;
}

.page-faq__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-faq__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin: 10px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register font color */
  border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
  background-color: #a30606;
  color: #fff;
}

.page-faq__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand color */
  border: 2px solid #017439;
}

.page-faq__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #017439;
}

.page-faq__cta-section {
  background-color: #017439; /* Brand color background */
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-faq__cta-image {
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-faq {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-faq__hero-section {
    padding-top: 10px !important; /* Ensure minimal top padding */
    padding-bottom: 30px !important;
  }

  .page-faq__hero-container {
    flex-direction: column !important;
    padding: 20px 15px !important;
    gap: 15px !important;
  }

  .page-faq__hero-content {
    flex: 1 1 100% !important;
    min-width: unset !important;
    text-align: center;
  }

  .page-faq__main-title {
    font-size: 2em !important;
    margin-bottom: 10px !important;
  }

  .page-faq__hero-description {
    font-size: 1em !important;
  }

  .page-faq__hero-image {
    flex: 1 1 100% !important;
  }

  .page-faq__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__intro-section,
  .page-faq__faq-list-section,
  .page-faq__cta-section {
    padding: 30px 0 !important;
  }

  .page-faq__section-title {
    font-size: 1.8em !important;
    margin-bottom: 20px !important;
  }

  .page-faq__intro-text,
  .page-faq__cta-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
    padding: 0 5px;
  }

  .page-faq__intro-image-content,
  .page-faq__faq-image,
  .page-faq__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }

  .page-faq__category-title {
    font-size: 1.5em !important;
    margin-bottom: 15px !important;
  }

  .page-faq__faq-question {
    padding: 12px 15px !important;
    font-size: 0.95em !important;
  }

  .page-faq__faq-answer {
    padding: 12px 15px !important;
    font-size: 0.9em !important;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 5px 0 !important;
  }

  .page-faq__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}