.page-faq {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, header offset handled by body in shared.css */
  padding-bottom: 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%; /* Ensure button fits container */
  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: #1e87c2;
  transform: translateY(-2px);
}

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

.page-faq__btn-secondary:hover {
  background-color: rgba(38, 169, 224, 0.1);
  transform: translateY(-2px);
}

.page-faq__intro-section {
  padding: 60px 0;
  background-color: #0a0a0a;
  color: #ffffff;
  text-align: center;
}

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

.page-faq__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-faq__faq-category {
  margin-bottom: 50px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible background on dark body */
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq__category-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 30px;
  color: #26A9E0;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

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

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

.page-faq__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Allow click on entire summary */
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  pointer-events: none; /* Allow click on entire summary */
}

.page-faq__faq-item summary {
  list-style: none;
}

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

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #f0f0f0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-faq__faq-item[open] .page-faq__faq-answer {
  max-height: 1000px; /* Sufficiently large to show content */
  transition: max-height 0.5s ease-in;
}

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

.page-faq__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 30px auto;
  max-width: 800px;
  object-fit: cover;
}

.page-faq__cta-block {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 50px 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
}

.page-faq__cta-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

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

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

.page-faq__legal-links-section {
  padding: 60px 0;
  background-color: #0a0a0a;
  color: #ffffff;
  text-align: center;
}

.page-faq__legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-faq__legal-item a {
  color: #26A9E0;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.page-faq__legal-item a:hover {
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-image-wrapper {
    max-height: 400px;
  }

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

  .page-faq__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-faq__description {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  }

  .page-faq__section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  }

  .page-faq__category-title {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  }

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

  .page-faq__faq-answer {
    padding: 0 20px 18px;
  }

  .page-faq__cta-button {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

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

  /* HERO Section */
  .page-faq__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px !important;
  }

  .page-faq__hero-image-wrapper {
    max-height: 300px !important;
    margin-bottom: 20px !important;
  }

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

  .page-faq__main-title {
    font-size: 2.2rem !important;
    margin-bottom: 15px !important;
  }

  .page-faq__description {
    font-size: 1rem !important;
    margin-bottom: 25px !important;
  }

  /* General Images and Containers */
  .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__faq-category {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Buttons and Button Containers */
  .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 !important;
    padding-right: 15px !important;
  }

  .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: 15px !important;
    padding-right: 15px !important;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  /* Other Content Modules (FAQ items, intro) */
  .page-faq__intro-section,
  .page-faq__faq-list-section,
  .page-faq__legal-links-section {
    padding: 40px 0 !important;
  }

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

  .page-faq__text-block {
    font-size: 0.95rem !important;
  }

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

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

  .page-faq__faq-toggle {
    font-size: 1.2rem !important;
  }

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

  .page-faq__cta-block {
    padding: 40px 20px !important;
  }

  .page-faq__cta-title {
    font-size: 2rem !important;
  }

  .page-faq__cta-description {
    font-size: 1rem !important;
  }

  .page-faq__legal-list {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .page-faq__legal-item a {
    font-size: 0.95rem !important;
  }
}