.page-faq {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF; /* Body background is white */
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background-color: #26A9E0; /* Brand color for hero background */
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  max-width: 1920px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
  max-width: 900px;
  margin: 0 auto;
}

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

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

.page-faq__intro-section, 
.page-faq__faq-list-section, 
.page-faq__cta-section {
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
}

.page-faq__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-faq__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

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

.page-faq__section-title--light {
  color: #FFFFFF;
}

.page-faq__section-description {
  font-size: 1.1rem;
  text-align: justify;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__section-description--light {
  color: #F0F0F0;
}

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #F8F8F8;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: #EBF7FF;
  border-bottom-color: #26A9E0;
}

.page-faq__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Prevent text from capturing click on summary */
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  pointer-events: none; /* Prevent toggle from capturing click on summary */
}

.page-faq__faq-answer {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
  background-color: #FFFFFF;
}

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

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

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-faq__btn-secondary:hover {
  background-color: #F0F8FF;
  color: #1a8cc7;
  border-color: #1a8cc7;
  transform: translateY(-2px);
}

.page-faq__btn-secondary--light {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

.page-faq__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-faq__cta-buttons .page-faq__btn-primary,
.page-faq__cta-buttons .page-faq__btn-secondary {
  flex-grow: 1; /* Allow buttons to grow */
  max-width: 300px; /* Limit individual button width on larger screens */
}

.page-faq__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-faq__link:hover {
  text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

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

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

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

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

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

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__section, 
  .page-faq__card, 
  .page-faq__container, 
  .page-faq__hero-section,
  .page-faq__intro-section,
  .page-faq__faq-list-section,
  .page-faq__cta-section,
  .page-faq__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-faq__video-section {
    padding-top: 10px !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;
    padding-right: 15px;
  }

  .page-faq__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }
  
  .page-faq__cta-buttons .page-faq__btn-primary,
  .page-faq__cta-buttons .page-faq__btn-secondary {
    max-width: 100%; /* Ensure full width on mobile */
  }
}

/* Ensure summary marker is hidden */
.page-faq__faq-item summary {
  list-style: none;
}
.page-faq__faq-item summary::-webkit-details-marker {
  display: none;
}