/*
 * CMS block-editor additions. These rules exist only for block types that
 * had no precedent in the original static design (FAQ accordion, testimonial
 * card, spacer/divider utilities, rich-text prose). They reuse the same design
 * tokens defined in style.css (--ink, --muted, --gold, --line, --soft, --r,
 * --shadow) so they sit visually consistent with the rest of the site.
 */

.prose { font-size: 17px; line-height: 1.7; color: var(--ink); }
.prose p { margin: 0 0 18px; }
.prose h2 { font-size: 32px; letter-spacing: -.03em; margin: 32px 0 14px; }
.prose h3 { font-size: 24px; letter-spacing: -.02em; margin: 28px 0 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { border-left: 4px solid var(--gold); padding-left: 18px; color: var(--muted); margin: 20px 0; }
.prose a { color: var(--blue); text-decoration: underline; }
.dark .prose, .dark .prose a { color: rgba(255,255,255,.86); }

.block-image { margin: 0; }
.block-image img { border-radius: var(--r); width: 100%; }
.block-image.full-bleed { max-width: none; }
.block-image figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

.bio-card.reverse { grid-template-columns: 1fr 310px; }
.bio-card.reverse .portrait { order: 2; }

.quote-attribution { color: var(--muted); font-weight: 700; margin: -6px 0 0; }

.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; background: #fff; }
.faq-item summary { cursor: pointer; font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: '+'; float: right; color: var(--gold); font-weight: 900; }
.faq-item[open] summary:after { content: '\2212'; }
.faq-answer { margin-top: 12px; color: var(--muted); line-height: 1.6; }

.testimonial-card { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; max-width: 860px; }
.testimonial-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.testimonial-name { color: var(--muted); margin: 0; }

.block-spacer-s { height: 24px; }
.block-spacer-m { height: 56px; }
.block-spacer-l { height: 100px; }

.block-divider { border: 0; border-top: 1px solid var(--line); margin: 0; }
.block-divider-soft { border-top: 1px solid var(--soft); }

@media (max-width: 560px) {
  .testimonial-card { grid-template-columns: 1fr; text-align: center; }
  .bio-card.reverse { grid-template-columns: 1fr; }
}
