.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

details.faq-item > summary { cursor: pointer; list-style: none; }
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.2s ease; }

@keyframes float-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: float-in 0.35s ease both; }
.toast { animation: float-in 0.3s ease both; }

/* Rich text output — styles only the safe tag subset produced by the admin
   editor. Colors inherit from the surrounding element so it never overrides
   the page theme. */
.rich-text { line-height: 1.625; }
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text p { margin: 0; line-height: 2rem; }
.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4 { font-weight: 700; line-height: 1.3; margin: 0; }
.rich-text h1 { font-size: 2rem; }
.rich-text h2 { font-size: 1.5rem; }
.rich-text h3 { font-size: 1.25rem; }
.rich-text h4 { font-size: 1.1rem; font-weight: 600; }
.rich-text ul,
.rich-text ol { margin: 0; padding-left: 1.35em; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li { margin: 0.25em 0; }
.rich-text strong { font-weight: 600; }
.rich-text a { color: inherit; text-decoration: underline; }
.rich-text blockquote { margin: 0; padding-left: 0.85em; border-left: 3px solid currentColor; opacity: 0.85; }
.rich-text table { width: 100%; border-collapse: collapse; font-size: 0.95em; }
.rich-text th,
.rich-text td { border: 1px solid currentColor; padding: 0.5em 0.75em; text-align: left; }
.rich-text th { font-weight: 600; }
.rich-text hr { border: 0; border-top: 1px solid currentColor; opacity: 0.3; margin: 0; }
