.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: transparent; /* Inherit from shared, which has var(--black-color) */
}

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

/* HERO Section */
.page-faq__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, not --header-offset */
  padding-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #26A9E0; /* Fallback, image will cover */
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 400px; /* Ensure it's not too small */
  z-index: 1;
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  max-width: 900px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* For readability over image */
}

.page-faq__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.5rem); /* Example clamp for responsiveness */
}

.page-faq__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-faq__btn-primary {
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-faq__btn-primary:hover {
  background-color: #1a7bbd;
  border-color: #1a7bbd;
}

.page-faq__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-faq__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7bbd;
  border-color: #1a7bbd;
}

/* Introduction Section */
.page-faq__introduction-section {
  padding: 60px 0;
  background-color: #f0f8ff; /* Light background for readability */
  color: #333333; /* Dark text on light background */
}

.page-faq__introduction-section .page-faq__section-title {
  color: #26A9E0;
}

.page-faq__introduction-section .page-faq__section-description {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* FAQ Section */
.page-faq__faq-section {
  padding: 60px 0;
  background-color: #ffffff; /* White background for FAQs */
  color: #333333; /* Dark text on white background */
}

.page-faq__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-faq__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

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

.page-faq__category-title {
  font-size: 1.8rem;
  color: #000000;
  margin-bottom: 30px;
  border-bottom: 2px solid #26A9E0;
  padding-bottom: 10px;
  text-align: left;
}

.page-faq__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  background-color: #e6f7ff;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-faq__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-faq__faq-item summary::marker {
  display: none;
}

.page-faq__faq-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  font-weight: normal;
  color: #26A9E0;
  margin-left: 15px;
}

.page-faq__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
  max-height: 0; /* For JS fallback if not using details */
  overflow: hidden; /* For JS fallback if not using details */
  transition: max-height 0.3s ease-out; /* For JS fallback if not using details */
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 2000px; /* For JS fallback if not using details */
}

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

.page-faq__faq-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  min-width: 200px; /* Min size */
  min-height: 200px; /* Min size */
  object-fit: cover;
}

/* Conclusion Section */
.page-faq__conclusion-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Primary brand color */
  color: #ffffff;
  text-align: center;
}

.page-faq__conclusion-section .page-faq__section-title {
  color: #ffffff;
}

.page-faq__conclusion-section .page-faq__section-description {
  color: #ffffff;
  margin-bottom: 30px;
}

/* General image styling for content area */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* -------------------------------------------------------------------------- */
/*                            Responsive Styles (Mobile)                      */
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .page-faq__container {
    padding: 15px;
  }

  /* HERO Section */
  .page-faq__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 20px;
  }

  .page-faq__hero-content {
    padding: 40px 15px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-faq__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons */
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* Introduction Section */
  .page-faq__introduction-section {
    padding: 40px 0;
  }

  .page-faq__introduction-section .page-faq__section-title {
    font-size: 2rem;
  }

  .page-faq__introduction-section .page-faq__section-description {
    font-size: 1rem;
  }

  /* FAQ Section */
  .page-faq__faq-section {
    padding: 40px 0;
  }

  .page-faq__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-faq__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-faq__category-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-faq__faq-toggle {
    font-size: 1.3rem;
  }

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

  /* Universal Image Rules for Content Area */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Containers for images and content */
  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__faq-item {
      padding-left: 0;
      padding-right: 0;
  }
  .page-faq__faq-question, .page-faq__faq-answer {
      padding-left: 20px;
      padding-right: 20px;
  }

  /* Conclusion Section */
  .page-faq__conclusion-section {
    padding: 50px 0;
  }

  .page-faq__conclusion-section .page-faq__section-title {
    font-size: 2rem;
  }

  .page-faq__conclusion-section .page-faq__section-description {
    font-size: 1rem;
  }
}