.page-faq {
  color: #ffffff; /* Light text on dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bb0 100%); /* Brand color gradient */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  padding-bottom: 60px;
}

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

.page-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff; /* Ensure high contrast */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-faq__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #0a0a0a; /* Ensure consistency with body background */
  color: #ffffff;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for headings */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-faq__section-title--spacing {
  margin-top: 80px;
}

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

.page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly lighter than body for contrast */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-faq__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-faq__faq-item details > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  outline: none;
}

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

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

.page-faq__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #f0f0f0; /* Slightly off-white for readability */
}

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

.page-faq__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

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

.page-faq__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #26A9E0;
}

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

.page-faq__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid #26A9E0;
}

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

.page-faq__button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

.page-faq__quick-guide {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
  text-align: center;
  color: #ffffff;
}

.page-faq__quick-guide p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-faq__guide-list {
  list-style-type: decimal;
  text-align: left;
  max-width: 600px;
  margin: 0 auto 30px;
  padding-left: 20px;
}

.page-faq__guide-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

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

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

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

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

  .page-faq__faq-item details > summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  .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-left: 15px;
    padding-right: 15px;
  }

  .page-faq__button-group {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__quick-guide {
    padding: 20px 15px;
  }

  .page-faq__guide-list {
    padding-left: 15px;
  }
}