.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-faq__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  background-color: #0A0A0A;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim image for text readability */
}

.page-faq__hero-content {
  position: relative;
  z-index: 10;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  background: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-faq__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

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

.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: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111; /* Dark text for contrast */
  border: none;
  box-shadow: 0 5px 15px rgba(255, 216, 106, 0.4);
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 216, 106, 0.6);
}

.page-faq__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

.page-faq__btn-secondary:hover {
  background: #222222;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4);
}

.page-faq__content-section,
.page-faq__additional-info,
.page-faq__more-resources {
  padding: 60px 0;
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-faq__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #FFD36B;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-faq__intro-text {
  font-size: 1.05em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #FFF6D6;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.page-faq__faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  cursor: pointer;
  background-color: #1a1a1a;
  border-bottom: 1px solid #3A2A12;
  list-style: none; /* For details/summary */
  user-select: none;
}

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

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

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFD36B;
}

.page-faq__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #FFF6D6;
  background-color: #111111; /* Card BG */
  border-top: none;
}

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

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

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

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

/* For div-based accordion fallback if needed */
.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 2000px; /* Arbitrarily large value for smooth transition */
  transition: max-height 0.5s ease-in-out;
}

.page-faq__faq-item:not(.active) .page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.page-faq__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background: #1a1a1a;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-text {
  font-size: 1.2em;
  color: #FFD36B;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-faq__info-grid,
.page-faq__resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-faq__info-card,
.page-faq__resource-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-faq__info-card:hover,
.page-faq__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-faq__info-card-image,
.page-faq__resource-card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-faq__info-card-title,
.page-faq__resource-card-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-faq__resource-card-title a {
  color: #FFD36B;
  text-decoration: none;
}

.page-faq__resource-card-title a:hover {
  color: #FFD86A;
  text-decoration: underline;
}

.page-faq__info-card-text,
.page-faq__resource-card-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

.page-faq__view-all-button {
  text-align: center;
  margin-top: 50px;
}

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

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-faq__hero-content {
    margin-top: -80px;
    padding: 25px 20px;
  }

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

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

  .page-faq__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.4em);
  }

  .page-faq__intro-text {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-faq__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

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

  .page-faq__info-card-title,
  .page-faq__resource-card-title {
    font-size: 1.3em;
  }
}

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

  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px !important;
  }

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

  .page-faq__hero-content {
    margin-top: -60px !important;
    padding: 20px 15px !important;
  }

  .page-faq__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
    margin-bottom: 10px !important;
  }

  .page-faq__description {
    font-size: 0.95em !important;
    margin-bottom: 20px !important;
  }

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

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 1em !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__content-section,
  .page-faq__additional-info,
  .page-faq__more-resources {
    padding: 40px 0 !important;
  }

  .page-faq__section-title {
    font-size: clamp(1.5em, 5vw, 2.2em) !important;
    margin-bottom: 30px !important;
  }

  .page-faq__intro-text {
    font-size: 0.9em !important;
    margin-bottom: 30px !important;
  }

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

  .page-faq__faq-answer {
    padding: 15px 18px !important;
    font-size: 0.95em !important;
  }

  .page-faq__cta-section {
    margin-top: 40px !important;
    padding: 30px 15px !important;
  }

  .page-faq__cta-text {
    font-size: 1.1em !important;
    margin-bottom: 25px !important;
  }

  .page-faq__info-grid,
  .page-faq__resources-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    margin-top: 40px !important;
  }

  .page-faq__info-card,
  .page-faq__resource-card {
    padding: 20px !important;
  }

  .page-faq__info-card-image,
  .page-faq__resource-card-image,
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
  }

  .page-faq__info-card-title,
  .page-faq__resource-card-title {
    font-size: 1.2em !important;
    margin-bottom: 10px !important;
  }

  .page-faq__info-card-text,
  .page-faq__resource-card-text {
    font-size: 0.9em !important;
  }

  .page-faq__view-all-button {
    margin-top: 40px !important;
  }
}