/* Scaffold FAQ (S1-T8): the native <details> list of the faq section,
   printed by template-parts/scaffold/faq.php.

   Ported from the approved S0 mock CSS, docs/scaffold/mocks/mock-shared.css.txt
   lines 502-521 (FAQ), under the rename rule of docs/scaffold/SPEC.md
   section 2.0 (.mk -> .ifs, mk-<n> -> ifs-<n>, --mk-<n> -> --if-<n>).
   Ownership: SPEC.md section 4.4. The responsive block (568-607) has no FAQ
   rule. Surface tokens (--if-s-*) and the tint band come from base.css.

   One rule is not in the mock CSS: the mock's FAQ heading carries an inline
   style="max-width:24rem" (mocks/mock-home.html.txt, #mk-home-faq), which
   the part does not print (SPEC.md section 2.0 markup has no style
   attribute). It is ported here, scoped to this section, so the H2 box
   matches the mock (SPEC.md section 7.1).

   The +/- indicator is decorative: its content carries an empty alt text
   (content: "+" / ""), so it is not part of the summary's accessible name.
   The plain declaration before it is the fallback for a browser without
   the alt-text syntax, which drops the second one.

   Every selector starts with .ifs. No !important: the bundle forces no
   summary property, and the answer <p>'s font-family is already forced by
   base.css. */

/* ---------- FAQ ---------- */
.ifs .ifs-faq .ifs-head-block h2{max-width:24rem}
.ifs .ifs-faq-list{max-width:44rem;margin-top:2.5rem;border-top:1px solid var(--if-s-rule)}
.ifs .ifs-faq-item{border-bottom:1px solid var(--if-s-rule)}
.ifs .ifs-faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:flex-start;gap:.85rem;padding:1.15rem 0;
  font-family:var(--if-head);font-size:1rem;font-weight:600;letter-spacing:-.01em;line-height:1.4;color:var(--if-s-fg);transition:color .15s}
.ifs .ifs-faq-item summary::-webkit-details-marker{display:none}
.ifs .ifs-faq-item summary::marker{content:""}
.ifs .ifs-faq-item summary::after{content:"+";content:"+" / "";margin-left:auto;flex:none;font-family:var(--if-mono);font-size:1.1rem;line-height:1.2;color:var(--if-s-muted)}
.ifs .ifs-faq-item[open] summary::after{content:"\2212";content:"\2212" / ""}
.ifs .ifs-faq-item summary:hover{color:var(--if-s-hover)}
.ifs .ifs-faq-item summary:focus-visible{outline-offset:2px}
.ifs .ifs-faq-body{padding:0 0 1.25rem;max-width:38rem}
.ifs .ifs-faq-body p{font-size:.925rem;line-height:1.6;color:var(--if-s-text)}
