/* style/faq.css */
:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-faq {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  text-align: center;
  background-color: var(--card-bg-color);
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Match hero image width */
  margin-bottom: 30px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-faq__main-title {
  color: var(--text-main-color);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  /* No fixed font-size for H1 */
}

.page-faq__description {
  color: var(--text-secondary-color);
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-faq__btn-secondary {
  background: transparent;
  color: var(--text-main-color);
  border: 2px solid var(--border-color);
}

.page-faq__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main-color);
  border-color: var(--glow-color);
}

.page-faq__btn-small {
  padding: 8px 15px;
  min-width: unset;
  font-size: 0.9em;
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-faq__section-spacing {
  margin-bottom: 60px;
}

.page-faq__section-title {
  color: var(--gold-color);
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-faq__text-block {
  background-color: var(--card-bg-color);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  color: var(--text-secondary-color);
  line-height: 1.8;
}

.page-faq__text-block p {
  margin-bottom: 1em;
}

.page-faq__text-block p:last-child {
  margin-bottom: 0;
}

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

.page-faq__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-main-color);
}

.page-faq__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-faq__faq-item summary:hover {
  background-color: var(--deep-green-color);
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color);
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: '−'; /* Changed by JS */
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary-color);
  line-height: 1.7;
}

.page-faq__faq-answer p,
.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-bottom: 1em;
}

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  padding-left: 20px;
}

.page-faq__faq-answer li {
  margin-bottom: 0.5em;
}

.page-faq__faq-answer a {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-faq__image-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-faq__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 0 auto;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

/* All images base responsive styles */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-faq {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-faq__hero-section {
    padding: 30px 15px;
    padding-top: 10px; /* Ensure small top padding */
  }

  .page-faq__main-title {
    font-size: 1.8em; /* Adjust H1 for mobile, still not fixed */
    margin-bottom: 15px;
  }

  .page-faq__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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__content-area,
  .page-faq__text-block,
  .page-faq__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-faq__faq-item summary {
    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;
  }

  /* Ensure content containers also adapt */
  .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;
  }
}

/* No CSS filter allowed for images */
.page-faq img {
  filter: none; /* Explicitly ensure no filter is applied */
}