/* Additions for the makerspace page (page.css, cs.css and as.css are the after-school page's files, unchanged). */

/* Origin band: About page photo with its own caption, copy beside it. */
.origin-photo { margin: 0; }
.origin-photo figcaption { margin-top: 10px; font-size: clamp(13px, 1.1vw, 15px); font-weight: 500; line-height: 1.35; color: var(--fm-soft-ink); }
#origin .aud-copy p { max-width: 34em; }

/* Four rails in one section: space each heading off the rail above it. */
#sparks .pk-rail-h:first-child { margin-top: 0; }
#sparks .pk-wrap + .pk-rail-h { margin-top: 56px; }

/* Free downloads: the house .dl-card from page.css (retail pages), four across, with a 4:3 photo instead of its PDF-page shape. */
.dl-lead { max-width: 40em; margin: 0 auto 28px; }
.dl-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .dl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.dl-card img { aspect-ratio: 4 / 3; object-position: center; }
.dl-cap { display: grid; gap: 6px; }
.dl-cap strong { font-size: 18px; line-height: 1.25; }
.dl-cap small { font-size: 14px; line-height: 1.4; color: var(--fm-soft-ink); }
.dl-foot { margin-top: 28px; }
@media (max-width: 599px) { .dl-card { flex-direction: row; gap: 14px; align-items: flex-start; } .dl-card img { width: 38%; flex: 0 0 38%; margin-bottom: 0; } }

/* FAQ, round 2 (Matt): each group is a rollup, its yellow question rollups inside. CSS-drawn chevron, ink, as on the questions. */
.faq-set { margin: 0 0 14px; border: 1px solid var(--fm-line); border-radius: 14px; background: var(--fm-white); box-shadow: var(--shadow-soft); }
.faq-set > summary { display: flex; align-items: center; gap: 14px; padding: 18px 22px; min-height: 64px; cursor: pointer; list-style: none; }
.faq-set > summary::-webkit-details-marker { display: none; }
.faq-set > summary .faq-group { margin: 0; flex: 1 1 auto; font-size: 20px; line-height: 1.3; }
.faq-count { flex: 0 0 auto; font-size: 14px; font-weight: 500; color: var(--fm-soft-ink); }
.faq-set > summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid var(--fm-ink); border-bottom: 2px solid var(--fm-ink); transform: translateY(-3px) rotate(45deg); transition: transform 160ms ease; }
.faq-set[open] > summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-set > summary:focus-visible { outline: 2px solid var(--fm-orange); outline-offset: 2px; border-radius: 14px; }
.faq-set__body { padding: 0 16px 6px; }
@media (prefers-reduced-motion: reduce) { .faq-set > summary::after { transition: none; } }
@media (max-width: 599px) { .faq-set > summary { padding: 16px; } .faq-set > summary .faq-group { font-size: 18px; } .faq-count { display: none; } .faq-set__body { padding: 0 10px 4px; } }
