/* Blackmon Tutoring — one FAQ design for every page.
   Overrides the per-page FAQ styles (loaded after them). Every question starts
   closed with a "+" that rotates into an "×" when its answer is open. */

body .faq-list {
  border-top: 1px solid #dfe7f0;
}

body .faq-list .faq-item {
  position: relative;
  padding: 0;
  border-top: 0;
  border-bottom: 1px solid #dfe7f0;
  background: transparent;
  transition: background-color 0.3s ease;
}

/* Accent bar that grows on hover / when open */
body .faq-list .faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: #3e8dc4;
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
body .faq-list .faq-item:hover::before,
body .faq-list .faq-item.is-open::before {
  transform: scaleY(1);
}

body .faq-list .faq-item .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 20px 4px 20px 16px;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-merriweather), Georgia, serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  color: #0b1f3f;
  text-align: left;
  transition: color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  border: 0;
  border-radius: 0;
  appearance: none;
}
body .faq-list .faq-item .faq-question:hover,
body .faq-list .faq-item.is-open .faq-question {
  color: #3e8dc4;
}
body .faq-list .faq-item .faq-question:focus-visible {
  outline: 2px solid #5babe0;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Each template drew its own icon (+, ›, or an image); hide them all… */
body .faq-list .faq-item .faq-question .faq-toggle,
body .faq-list .faq-item .faq-question .chevron,
body .faq-list .faq-item .faq-question img {
  display: none;
}

/* …and draw one shared "+" icon */
body .faq-list .faq-item .faq-question::after {
  content: "";
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat,
    #eaf3fb;
  color: #3e8dc4;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), background-color 0.25s ease, color 0.25s ease;
}
body .faq-list .faq-item .faq-question:hover::after {
  background-color: #3e8dc4;
  color: #fff;
  transform: scale(1.06);
}
body .faq-list .faq-item.is-open .faq-question::after {
  background-color: #0b1f3f;
  color: #fff;
  transform: rotate(45deg);
}

body .faq-list .faq-item .faq-answer {
  margin: 0;
  max-width: none;
  padding: 0 52px 22px 16px;
  font-family: inherit;
  font-size: 15.5px;
  line-height: 1.6;
  color: #3a4556;
  border: 0;
}
body .faq-list .faq-item:not(.is-open) .faq-answer {
  display: none;
}
body .faq-list .faq-item.is-open .faq-answer {
  display: block;
  animation: faqReveal 0.35s cubic-bezier(.2,.8,.2,1);
}
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  body .faq-list .faq-item .faq-question { font-size: 15px; padding: 18px 2px 18px 14px; gap: 14px; }
  body .faq-list .faq-item .faq-question::after { flex-basis: 28px; width: 28px; height: 28px; }
  body .faq-list .faq-item .faq-answer { padding: 0 8px 20px 14px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  body .faq-list .faq-item.is-open .faq-answer { animation: none; }
  body .faq-list .faq-item .faq-question::after,
  body .faq-list .faq-item::before { transition: none; }
}
