/* FAQ section of the home pages. The markup is generated by scripts/site.mjs from site/routes.json. */
.faq {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  font-family: "Public Sans", system-ui, sans-serif;
  letter-spacing: 0.02em;
}
.faq h2 {
  margin: 0 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #cbd5e1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #334155;
}
.faq__item {
  margin: 0 0 0.5rem;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #FFD564;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.faq__item:hover { box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12); }
.faq__item[open] { border-left-color: #719C9C; }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: #FFD564;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4rem;
  text-align: center;
}
.faq__item[open] summary::after { content: "\2212"; background: #719C9C; color: #fff; }
.faq__item summary:focus-visible { outline: 2px solid #719C9C; outline-offset: 2px; border-radius: 8px; }
.faq__item p {
  margin: 0;
  padding: 0 0.9rem 0.9rem;
  font-family: "Lora", Georgia, serif;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.6;
  color: #334155;
}
.faq__item a { color: inherit; text-decoration-color: #94a3b8; text-underline-offset: 2px; }
.faq__item a:hover { text-decoration-color: currentColor; }
