/* ==========================================================================
   Pàgines d'històries: llista (histories.html) i cada història (/historia/<slug>, generada per tools/build.mjs)
   Les targetes (.story-card) són a sections.css.
   ========================================================================== */
.histories-in { padding: 48px 24px 80px; }
.story-page-in { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; box-sizing: border-box; display: flex; flex-direction: column; gap: 28px; }
.story-page-photo { margin: 0; }
.story-page-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: var(--focus, 50% 50%); border-radius: 18px; background: #fff; }
.story-page-photo figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.story-page-text { font-size: 18px; line-height: 1.7; color: var(--ink); }
.story-page-text p { margin: 0 0 1.1em; }
.story-page-text h2 { margin: 1.4em 0 .5em; font-family: var(--font-display); font-size: 26px; line-height: 1.2; color: var(--forest); }
.story-page-meta { margin: 0; color: var(--on-dark); font-size: 15px; }
.story-page-back { align-self: flex-start; }
@media (max-width: 640px) { .story-page-text { font-size: 17px; } }
