.smartblocks-faq-wrapper {
  max-width: 960px;
  margin: 60px auto;
  padding: 40px;
  z-index: 2;
  position: relative;
  background: #fff;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
  display: block !important;
  visibility: visible !important;
}

.smartblocks-faq {
  width: 100%;
}

.smartblocks-faq-title {
  font-size: 1.8em;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.smartblocks-faq-subtitle {
  font-size: 1.3em;
  margin-bottom: 20px;
  text-align: center;
}

.smartblocks-faq-question {
  color: #ffffff;
  display: block;
  width: 100%;
  background-color: #acad95;
  font-weight: bold;
  font-size: 1.1em;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  text-align: left;
  cursor: pointer;
  margin-bottom: 5px;
}

.smartblocks-faq-answer {
  display: none;
  overflow: hidden;
  padding: 10px 12px;
  background: #f9f9f9;
  border-left: 2px solid #aaa;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 1em;
  line-height: 1.5;
  height: 0;
  opacity: 0;
  transition: height 0.4s ease, opacity 0.4s ease;
}

.smartblocks-faq-question[aria-expanded="true"] + .smartblocks-faq-answer {
  display: block;
}

.faq-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
  justify-content: center;
  text-align: center;
}

.faq-search,
.faq-page-filter {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  width: 100%;
  max-width: 320px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.faq-post-group {
  margin-bottom: 3rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1rem;
  transition: background 0.2s ease;
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover {
   /* color: rgb(135, 164, 134); Olive green palette */
  color: #03a9f4;
 	
}

.faq-answer {
  padding-left: 1rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #333;
  overflow: hidden;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-load-more {
  text-align: center;
  margin-top: 2.5rem;
}

.faq-load-more button {
  background-color: #0073aa;
  color: white;
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.faq-load-more button:hover {
  background-color: #005f8d;
}

/* ===== Mobile Improvements ===== */
@media screen and (max-width: 768px) {
  .smartblocks-faq-wrapper {
    padding: 20px 15px;
    margin: 30px auto;
  }

  .faq-controls {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .faq-search,
  .faq-page-filter {
    max-width: 100%;
    width: 100%;
  }

  .smartblocks-faq-question {
    font-size: 1rem;
    padding: 10px;
  }

  .smartblocks-faq-answer {
    font-size: 0.95rem;
    padding: 10px;
  }

  .faq-answer {
    font-size: 0.95rem;
    padding-left: 0.5rem;
  }
}
