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

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0, #1a7bb0); /* Gradient background for hero */
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

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

.page-faq__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-faq__cta-buttons--inline {
  margin-top: 20px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-faq__btn-primary {
  background: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

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

.page-faq__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #FFFFFF; /* Light background for content area */
  color: #333333; /* Dark text for light background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.page-faq__conclusion-section {
  padding: 60px 20px;
  text-align: center;
  background: #26A9E0; /* Brand color background */
  color: #FFFFFF; /* White text for brand color background */
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0; /* Brand color for titles in light sections */
}

.page-faq__conclusion-section .page-faq__section-title {
  color: #FFFFFF; /* White for titles in dark sections */
}

.page-faq__faq-list {
  margin-top: 20px;
}

.page-faq__faq-item {
  background: #f9f9f9; /* Slightly off-white background for FAQ items */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  background: #FFFFFF;
  color: #26A9E0; /* Brand color for questions */
  transition: background-color 0.3s ease, color 0.3s ease;
  list-style: none; /* For <details> tag */
}

.page-faq__faq-question::-webkit-details-marker {
  display: none; /* For <details> tag */
}

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

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

.page-faq__faq-item[open] .page-faq__faq-toggle {
  color: #EA7C07;
}

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

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

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

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

.page-faq__image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-faq__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-faq__description {
    font-size: 1em;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !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;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-faq__content-area,
  .page-faq__conclusion-section {
    padding: 25px 15px;
    margin-left: 10px;
    margin-right: 10px;
  }

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

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

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

  .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;
  }
}