/* ===============================
   HELP / FAQ PAGE CSS
   =============================== */

/* Main wrapper */
.sl-content {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px 80px; /* top | sides | bottom */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
}

/* ===============================
   Page heading
=============================== */
.sl-section h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.sl-section p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

/* ===============================
   Sections spacing (IMPORTANT FIX)
=============================== */
.sl-section {
  margin-bottom: 50px;
  padding-bottom: 0;
  border-bottom: none;
}

/* ===============================
   Search box
=============================== */
.faq-search {
  display: flex;
  justify-content: center;
  margin: 30px 0 40px;
}

.faq-search input {
  width: 100%;
  max-width: 520px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
  font-size: 14px;
  outline: none;
}

.faq-search input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ===============================
   FAQ LIST
=============================== */
.faq-list {
  margin-bottom: 0;
}

/* Each FAQ item */
.faq-item {
  background: #f8fafc;
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid #eef2f7;
}

/* Question */
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question span {
  font-size: 22px;
  color: #2563eb;
}

/* Answer */
.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
}

.faq-answer p,
.faq-answer li {
  margin-bottom: 8px;
}

/* ===============================
   Soft divider before footer
=============================== */
.faq-list::after {
  content: "";
  display: block;
  height: 1px;
  background: #eef2f7;
  margin-top: 40px;
}

/* ===============================
   Footer spacing fix
=============================== */
footer {
  margin-top: 0;
}

/* ===============================
   Responsive
=============================== */
@media (max-width: 768px) {
  .sl-section h1 {
    font-size: 26px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }
}
