/* style/faq.css */
.page-faq {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Global minimum size for content images */
  min-height: 200px;
}

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

.page-faq__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2FFF6;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2em, 4vw, 3.5em);
}

.page-faq__subtitle {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__btn-primary {
  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 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-faq__faq-section {
  padding: 60px 20px;
  background-color: #0A4B2C; /* Deep Green for section background */
}

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

.page-faq__section-title {
  text-align: center;
  color: #F2FFF6;
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-faq__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-faq__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6;
  font-size: 1.1em;
  outline: none;
}

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-faq__faq-qtext {
  flex-grow: 1;
  padding-right: 10px;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  color: #57E38D; /* Glow */
  line-height: 1;
}

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

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

.page-faq__faq-answer a {
  color: #57E38D; /* Glow color for links */
  text-decoration: underline;
}

.page-faq__faq-answer a:hover {
  color: #F2C14E; /* Gold on hover */
}

.page-faq__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #08160F; /* Background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-faq__cta-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Global minimum size for content images */
  min-height: 200px;
}

.page-faq__cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-faq__cta-title {
  font-size: 2.8em;
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-faq__cta-text {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 40px;
}

.page-faq__text-gold {
  color: #F2C14E;
  font-weight: bold;
}

.page-faq__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
  margin: 0 10px 20px;
}

.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background-color: transparent;
  color: #2AD16F;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #2AD16F;
  cursor: pointer;
}

.page-faq__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-faq__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-faq__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-faq__section-title {
    font-size: 2em;
  }
  .page-faq__cta-title {
    font-size: 2.2em;
  }
  .page-faq__cta-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }
  .page-faq__hero-content {
    padding: 0;
  }
  .page-faq__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-faq__subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }
  
  /* Image responsiveness */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min-width on mobile */
    min-height: 200px !important; /* Enforce min-height on mobile */
  }
  .page-faq__hero-image-wrapper,
  .page-faq__cta-section,
  .page-faq__faq-section,
  .page-faq__container,
  .page-faq__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button responsiveness */
  .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;
    margin: 10px 0 !important; /* Stack buttons vertically */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__btn-large {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-faq__faq-item summary {
    padding: 15px;
    font-size: 1em;
  }
  .page-faq__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-faq__cta-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-faq__cta-text {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-faq__cta-image {
    margin-bottom: 20px;
  }
  .page-faq__faq-item p, .page-faq__faq-item li {
    font-size: 0.95em;
  }
}