.page-faq {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main for general text on dark body background */
  background-color: #08160F; /* Body Background */
  direction: ltr;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  color: #F2FFF6; /* Ensure text is readable on hero */
}

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

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

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  color: #F2FFF6; /* Text Main on darkened hero image */
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold for main title */
}

.page-faq__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-faq__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-faq__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 20px;
}

.page-faq__accordion-section {
  padding: 60px 0;
  background-color: #08160F; /* Consistent with body background */
  color: #F2FFF6; /* Text Main */
}

.page-faq__container {
  max-width: 1000px;
  width: 100%; /* Ensures width is 100% for flex/grid to work */
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold for section titles */
}

.page-faq__accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
}

.page-faq__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green for hover */
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #22C768; /* Auxiliary color */
}

.page-faq__faq-item[open] > .page-faq__faq-question .page-faq__faq-toggle {
  content: '−'; /* Changed by JS, but good to have fallback */
}

.page-faq__faq-answer {
  padding: 0 20px 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  line-height: 1.7;
}

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

.page-faq__faq-answer strong {
  color: #F2FFF6; /* Highlight keywords */
}

.page-faq__image-inline {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Details element specific styling */
.page-faq__faq-item summary {
  list-style: none;
}

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

.page-faq__cta-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 20px;
  text-align: center;
  color: #F2FFF6;
}

.page-faq__cta-content {
  max-width: 800px;
}

.page-faq__cta-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
}

.page-faq__cta-description {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 10px 0 40px 0;
  }

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

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

  .page-faq__cta-button {
    padding: 12px 25px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__cta-button--small {
    width: auto !important; /* Allow small buttons to not take full width if not needed */
    max-width: fit-content !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-faq__accordion-section {
    padding: 40px 0;
  }

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

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

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

  .page-faq__image-inline {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

  .page-faq__cta-section {
    padding: 60px 20px;
  }

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

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

  /* Ensure all img tags are responsive */
  .page-faq img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all video tags are responsive */
  .page-faq video,
  .page-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video containers mobile adaptation */
  .page-faq__video-section,
  .page-faq__video-container,
  .page-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Video section small top padding */
  .page-faq__video-section {
    padding-top: 10px !important;
  }

  /* Button containers mobile adaptation */
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-faq__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}