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

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

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

.page-faq__hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  margin-top: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.page-faq__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-faq__description {
  font-size: 1.25rem;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  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, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
}

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

.page-faq__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-faq__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-faq__introduction-section,
.page-faq__faq-list-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-faq__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-faq__text-block {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-faq__text-block a {
  color: #2AD16F;
  text-decoration: none;
  font-weight: 600;
}

.page-faq__text-block a:hover {
  text-decoration: underline;
}

.page-faq__faq-category {
  margin-bottom: 40px;
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__category-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #F2FFF6;
  margin-bottom: 30px;
  border-bottom: 2px solid #2E7A4E; /* Border */
  padding-bottom: 15px;
  font-weight: 600;
}

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

.page-faq__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #F2FFF6;
}

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

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

.page-faq__faq-item summary:hover {
  background-color: #13994A;
}

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

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

.page-faq__faq-item[open] .page-faq__faq-toggle {
  content: "−";
}

.page-faq__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8;
}

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

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

.page-faq__faq-answer a {
  color: #57E38D;
  text-decoration: none;
  font-weight: 600;
}

.page-faq__faq-answer a:hover {
  text-decoration: underline;
}

.page-faq__faq-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-faq__conclusion-block {
  text-align: center;
  padding: 40px 20px;
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq__hero-section {
    padding: 40px 0;
  }
  .page-faq__main-title {
    font-size: 3rem;
  }
  .page-faq__description {
    font-size: 1.1rem;
  }
  .page-faq__section-title {
    font-size: 2.2rem;
  }
  .page-faq__category-title {
    font-size: 1.8rem;
  }
  .page-faq__faq-item summary {
    font-size: 1.05rem;
    padding: 18px 20px;
  }
  .page-faq__faq-answer {
    padding: 0 20px 18px 20px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }
  .page-faq__main-title {
    font-size: 2.5rem;
  }
  .page-faq__description {
    font-size: 1rem;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-faq__introduction-section,
  .page-faq__faq-list-section {
    padding: 40px 0;
  }
  .page-faq__container {
    padding: 0 15px;
  }
  .page-faq__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-faq__category-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  .page-faq__faq-item summary {
    font-size: 1rem;
    padding: 15px 18px;
  }
  .page-faq__faq-answer {
    padding: 0 18px 15px 18px;
  }
  .page-faq__text-block {
    font-size: 0.95rem;
  }
  
  /* Mobile responsive images */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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;
  }
  .page-faq__video-section { /* Even if no video, keep for general section padding */
    padding-top: 10px !important;
  }
  
  /* Mobile responsive video (if any) */
  .page-faq video,
  .page-faq__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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;
  }
  .page-faq__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}