/* ---------- Answer-first opening (AIO-38) --------------------------------
   A prompt-worded question H2 and a ~60-word answer with a number, placed
   before any narrative on a non-blog page, so AI answer engines can lift the
   pair whole. It sits in its own `data-faq` container, so Base.astro puts the
   question and answer into the page's generated FAQPage (src/lib/faq-schema.js
   reads <details><summary> pairs only). The <details> is always open and its
   summary does not toggle: on the page it reads as a heading and a paragraph.
   Blog posts do not use this; they flag the h2 block `"question": true`. */
.af { padding: 56px 0 24px; background: var(--ax-white, #fff); }
.af__box {
  max-width: 912px; padding-left: 24px;
  border-left: 2px solid var(--ax-red, #d41f1f);
}
.af__box summary { display: block; list-style: none; cursor: auto; }
.af__box summary::-webkit-details-marker { display: none; }
.af__box summary::marker { content: ""; }
.af__q {
  margin: 0 0 16px;
  font-family: var(--ax-font-display, Georgia, serif);
  font-size: clamp(28px, 1.6vw + 18px, 40px); font-weight: 400;
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ax-ink, #111);
}
.af__a {
  max-width: 760px; margin: 0;
  font-family: var(--ax-font-body, Calibre, Arial, sans-serif);
  font-size: 20px; line-height: 1.5;
  color: var(--ax-ink, #111);
}
/* A section head whose H2 is a question and whose lede answers it (AIO-34):
   wrapped in its own data-faq <details>, styled as the plain H2 + lede. */
.af-inline details, .af-inline summary { display: block; }
.af-inline summary { list-style: none; cursor: auto; }
.af-inline summary::-webkit-details-marker { display: none; }
.af-inline summary::marker { content: ""; }

/* Several pairs in one box (AIO-34): space them like sections. */
.af__box details + details { margin-top: 48px; }

@media (max-width: 760px) {
  .af { padding: 40px 0 16px; }
  .af__box details + details { margin-top: 32px; }
  .af__box { padding-left: 16px; }
  .af__a { font-size: 18px; }
}
