.page-faq__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #017439, #005a2d);
  color: #ffffff;
  text-align: center;
  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;
  z-index: 0;
  opacity: 0.3;
}

.page-faq__container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-faq__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #FFFF00; /* Register/Login font color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #ffffff;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

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

.page-faq__btn-primary:hover {
  background-color: #e01010;
  border-color: #e01010;
  transform: translateY(-2px);
}

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

.page-faq__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2d;
  border-color: #005a2d;
  transform: translateY(-2px);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333333;
}

.page-faq__section-title {
  font-size: 2.2em;
  color: #017439; /* Main brand color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-faq__faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #017439; /* Main brand color */
  cursor: pointer;
  background-color: #e6ffe6; /* Lighter green for contrast */
  border-bottom: 1px solid #d0e0d0;
}

.page-faq__faq-question:hover {
  background-color: #d9f2d9;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1;
  width: 25px;
  text-align: center;
}

.page-faq__faq-item[open] .page-faq__faq-question {
  border-bottom: 1px solid #c0d0c0;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: '−';
}

.page-faq__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  background-color: #ffffff;
}

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

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__faq-answer ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-faq__faq-answer ul li {
  margin-bottom: 8px;
}

.page-faq__faq-answer strong {
  color: #017439;
}

.page-faq__image-wrapper {
  margin: 25px 0;
  text-align: center;
}

.page-faq__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-faq__additional-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #f0fdf0;
  border-radius: 10px;
  border: 1px solid #d9f2d9;
}

.page-faq__additional-cta-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__additional-cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 30px;
}

/* Details/Summary specific styles for FAQ */
.page-faq__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-faq__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-faq__main-title {
    font-size: 2em;
  }

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

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__content-area {
    padding: 30px 15px;
  }

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

  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-faq__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  .page-faq__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-faq__additional-cta-title {
    font-size: 1.5em;
  }

  .page-faq__additional-cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 1.8em;
  }

  .page-faq__section-title {
    font-size: 1.6em;
  }
}