/* Fix large top spacing on FAQ page only */
.page-id-6806 .entry-content {
  padding-top: 40px !important;
  margin-top: 0 !important;
}

/* Page header */
.faq-page-header {
  text-align: center;
  font-family: "Lato", sans-serif;
  font-size: 270%;
  font-weight: 700;
  letter-spacing: 15px;
  margin: 10px 0 20px; /* reduce gap above header */
}

/* Responsive header scaling */
@media (max-width: 1024px) { /* tablets */
  .faq-page-header {
    font-size: 200%;
    letter-spacing: 10px;
  }
}

@media (max-width: 768px) { /* small tablets & large phones */
  .faq-page-header {
    font-size: 160%;
    letter-spacing: 6px;
  }
}

@media (max-width: 480px) { /* mobile phones */
  .faq-page-header {
    font-size: 130%;
    letter-spacing: 4px;
  }
}

/* Shared wrapper for search + FAQ */
.faq-wrapper {
  width: 70%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .faq-wrapper {
    width: 95%;
  }
}

/* Search bar */
.faq-search {
  display: block;
  width: 100%; /* matches wrapper width */
  margin: 0 0 25px;
  padding: 10px 15px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

/* Section headers */
.faq {
  font-weight: bold;
  margin-top: 30px;
  font-size: 1.3em;
  padding-bottom: 5px;
}

/* Questions */
.question {
  cursor: pointer;
  font-family: "Playfair Display", serif;
  font-size: 130%;
  font-weight: 600;
  line-height: 1.3em;
  margin: 15px 0 1.3em;
  position: relative;
  padding-left: 25px; /* space for +/– icon */
  transition: color 0.25s ease;
}

.question:hover {
  color: orange; /* match site link color */
}

.question::after {
  content: '+';
  position: absolute;
  left: 0; /* place icon to the left */
  top: 0;
  font-weight: bold;
  transition: transform 0.6s ease, color 0.25s ease;
}

.question:hover::after {
  color: orange;
  transform: rotate(360deg); /* fun spin on hover */
}

.question.active::after {
  content: '–';
  color: orange;
  transform: rotate(90deg); /* rotated when active */
}

/* Answers */
.answer {
  display: none;
  margin: 0 0 15px;
  margin-left: 25px; /* align under question text */
  color: #333;
  line-height: 1.5;
}

.answer.show {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* No results */
.no-results {
  display: none;
  text-align: center;
  font-style: italic;
  margin-top: 20px;
  color: #666;
}

mark {
  background: yellow;
  padding: 0;
}
