.page-faq {
  color: #FFF6D6; /* Light text for dark body background */
  background: #0A0A0A; /* Matches body background from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Adjust as needed */
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-faq__hero-content-area {
  position: relative;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly for visual effect, but text is below image */
  background: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  z-index: 10;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #FFD36B;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-faq__content-area {
  padding: 60px 0;
  background: #0A0A0A;
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

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

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

details.page-faq__faq-item summary.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background: #1A1A1A;
  border-bottom: 1px solid #3A2A12;
}

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

details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: #222222;
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B;
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background: #111111;
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-faq__faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

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

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

.page-faq__faq-answer a:hover {
  color: #FFD36B;
}

.page-faq__keyword {
  color: #FFD36B;
  font-weight: bold;
}

.page-faq__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12;
}

.page-faq__cta-section {
  background: #111111;
  border-radius: 10px;
  padding: 50px 30px;
  text-align: center;
  margin-top: 60px;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-faq__cta-title {
  font-size: 2rem;
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.page-faq__cta-description a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-faq__cta-description a:hover {
  color: #F2C14E;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text on bright button */
  border: none;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E6AE2A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-faq__btn-secondary {
  background: #1A1A1A;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-faq__btn-secondary:hover {
  background: #F2C14E;
  color: #111111; /* Dark text on bright button */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* --- Responsive Design --- */

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

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

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

  .page-faq__section-title {
    font-size: 2.2rem;
  }

  .page-faq__faq-qtext {
    font-size: 1.1rem;
  }

  .page-faq__faq-toggle {
    font-size: 26px;
  }

  .page-faq__cta-title {
    font-size: 1.8rem;
  }

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

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

  .page-faq__hero-image-wrapper {
    max-height: 400px;
  }

  .page-faq__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }

  .page-faq__hero-content-area {
    padding: 30px 15px;
    margin-top: -100px; /* Adjust overlap */
    max-width: 95%;
  }

  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-faq__intro-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .page-faq__content-area {
    padding: 40px 0;
  }

  .page-faq__container {
    padding: 0 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px 20px;
  }

  .page-faq__faq-qtext {
    font-size: 1rem;
  }

  .page-faq__faq-toggle {
    font-size: 24px;
    margin-left: 10px;
    width: 24px;
  }

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

  .page-faq__faq-answer p,
  .page-faq__faq-answer li {
    font-size: 0.95rem;
  }

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

  .page-faq__cta-section {
    padding: 40px 20px;
    margin-top: 40px;
  }

  .page-faq__cta-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .page-faq__cta-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-faq__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .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: 12px 20px;
    font-size: 1rem;
  }
}