.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so text is light */
  background-color: transparent; /* Rely on body background */
}

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

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Ensure image wrapper doesn't exceed common max-width */
  margin-bottom: 20px;
}

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

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any background elements */
}

.page-faq__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive H1 font size */
}

.page-faq__intro-text {
  font-size: 1.1rem;
  color: #F0F0F0;
  margin-bottom: 30px;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  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: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

.page-faq__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.page-faq__btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.page-faq__faq-list-section {
  padding: 60px 20px;
  background-color: #0d0d0d; /* Slightly lighter dark background for content */
  color: #ffffff;
}

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

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

.page-faq__faq-category {
  margin-bottom: 40px;
  background-color: rgba(255, 255, 255, 0.05); /* Subtle card background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__category-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(38, 169, 224, 0.3);
  padding-bottom: 10px;
}

.page-faq__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  color: #ffffff;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  color: #FFFFFF;
  transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.1);
}

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

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

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

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

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #F0F0F0;
  line-height: 1.7;
}

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

.page-faq__faq-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 15px;
  border-radius: 8px;
  object-fit: cover;
}

.page-faq__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__text-link:hover {
  color: #EA7C07;
  text-decoration: underline;
}

.page-faq__cta-bottom {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #26A9E0; /* Brand color */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-text {
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-faq__section-title {
    font-size: 2rem;
  }
  .page-faq__category-title {
    font-size: 1.6rem;
  }
  .page-faq__faq-question {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section,
  .page-faq__faq-list-section {
    padding: 30px 15px;
  }
  .page-faq__hero-image-wrapper {
    margin-bottom: 15px;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-faq__intro-text {
    font-size: 1rem;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 0.95rem;
  }
  .page-faq__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-faq__faq-category {
    padding: 20px;
  }
  .page-faq__category-title {
    font-size: 1.4rem;
  }
  .page-faq__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-faq__faq-answer {
    padding: 0 20px 15px;
  }
  .page-faq__faq-answer p {
    font-size: 0.95rem;
  }
  .page-faq__cta-bottom {
    padding: 20px;
  }
  .page-faq__cta-text {
    font-size: 1.2rem;
  }

  /* Mobile image, video, and container responsiveness */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq video,
  .page-faq__video {
    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__faq-list-section,
  .page-faq__faq-category,
  .page-faq__cta-bottom,
  .page-faq__video-section,
  .page-faq__video-container,
  .page-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-faq__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
  }
  .page-faq__video-section {
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
  }
  .page-faq__cta-button,
  .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,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px; /* Reset padding for button group itself if children have padding */
    padding-right: 0px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}