

/* Reserve space for a future top-level header (e.g., site navigation) */
.faq-page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Former header → now a hero block inside the content area */
.faq-hero-block {
  background: linear-gradient(to right, rgba(0,150,255,0.1), rgba(0,198,167,0.1));
  color: black;
  text-align: center;
  padding: 1rem 1rem 1rem;
}
.faq-hero-block h1 {
  margin: 0;
  font-size: 2.5rem;
}
.faq-hero-block p {
  margin: 0.5rem 0 1.5rem;
  font-size: 1.2rem;
}
#faq-search {
  width: 100%;
  max-width: 500px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  outline: none;
  margin: 0 auto 2rem;
  display: block;
}

/* Content area (former main) */
.faq-content-area {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
  flex: 1;
}
.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  overflow: hidden;
}
.faq-question {
  padding: 1rem 1.5rem;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  transition: background 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  background-color: #e6f0ff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1.5rem;
}
.faq-answer p {
  margin: 1rem 0;
  line-height: 1.6;
}
.arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
}
.faq-item.active .arrow {
  transform: rotate(180deg);
}
