/* Stories of Giving: callouts + /stories/ page */
/* Draft-only story callouts, built from HowGiving site tokens (--green-dark, --sky, --serif, etc.) */
.story-tag{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.35rem .6rem;font-size:.74rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin:0 0 .85rem}
.story-tag .chip{border-radius:999px;padding:.28rem .7rem;line-height:1.2}
.story-tag .tag-link{letter-spacing:.02em;text-transform:none;font-weight:600;font-size:.82rem;color:var(--ink-soft);text-underline-offset:3px}
.is-illustrative .chip{background:#fff;color:var(--green-700);border:1.5px dashed var(--logo-green-deep)}
.is-real .chip{background:var(--green-dark);color:#fff;border:1.5px solid var(--green-dark)}

/* Variant A: band (summary + quote panel) */
.story-callout{border-radius:var(--radius);padding:1.9rem 2rem;box-shadow:var(--shadow);background:#fff;display:grid;gap:1.6rem;grid-template-columns:1fr}
.story-callout.is-illustrative{border:2px dashed var(--logo-green-deep);background:var(--green-50)}
.story-callout.is-real{border:2px solid var(--sky);background:#fff;box-shadow:0 10px 30px -14px #17455f47}
.story-callout h3{margin:0 0 .35rem;font-size:1.5rem}
.story-callout .story-place{margin:0 0 .7rem;color:var(--ink-soft);font-weight:550;font-size:.95rem}
.story-callout .story-summary{margin:0 0 .9rem;color:var(--ink)}
.story-callout .story-more{font-weight:650;color:var(--btn-blue-text);text-underline-offset:4px}
.story-callout .story-source{margin:.8rem 0 0;font-size:.88rem;color:var(--ink-soft)}
.story-callout .story-source a{color:var(--btn-blue-text);text-underline-offset:3px}
.story-quotepanel{margin:0;border-radius:14px;padding:1.4rem 1.5rem;display:flex;flex-direction:column;justify-content:center}
.is-illustrative .story-quotepanel{background:#fff;border-left:4px solid var(--green)}
.is-real .story-quotepanel{background:var(--blue-50);border-left:4px solid var(--sky)}
.story-quotepanel blockquote{margin:0;font-family:var(--serif);font-style:italic;font-size:1.28rem;line-height:1.4;color:var(--green-dark)}
.story-quotepanel figcaption{margin-top:.7rem;color:var(--green-700);letter-spacing:.06em;text-transform:uppercase;font-size:.78rem;font-weight:700}
@media (min-width:900px){.story-callout{grid-template-columns:1.25fr 1fr;align-items:stretch;padding:2.1rem 2.4rem;gap:2.2rem}}

/* Variant B: centered pull-quote */
.story-pull{text-align:center;max-width:820px;margin:0 auto;border-radius:var(--radius);padding:2.2rem 2rem 1.9rem}
.story-pull.is-illustrative{border:2px dashed var(--logo-green-deep);background:var(--green-50)}
.story-pull.is-real{border:2px solid var(--sky);background:var(--blue-50)}
.story-pull .story-tag{justify-content:center}
.story-pull blockquote{margin:0 0 .6rem;font-family:var(--serif);font-style:italic;font-size:clamp(1.3rem,2.6vw,1.8rem);line-height:1.38;color:var(--green-dark)}
.story-pull .attrib{margin:0 0 1rem;color:var(--green-700);letter-spacing:.06em;text-transform:uppercase;font-size:.8rem;font-weight:700}
.story-pull .story-summary{max-width:640px;margin:0 auto .8rem;color:var(--ink)}
.story-pull .story-source{font-size:.88rem;color:var(--ink-soft);margin:.4rem 0 0}
.story-pull .story-source a,.story-pull .story-more{color:var(--btn-blue-text);text-underline-offset:3px;font-weight:650}

/* Home strip */
.story-strip-grid{display:grid;gap:1.1rem;grid-template-columns:1fr}
@media (min-width:900px){.story-strip-grid{grid-template-columns:repeat(3,1fr)}}
.story-mini{border-radius:var(--radius);padding:1.4rem 1.4rem 1.2rem;display:flex;flex-direction:column;background:#fff}
.story-mini.is-illustrative{border:2px dashed var(--logo-green-deep);background:var(--green-50)}
.story-mini.is-real{border:2px solid var(--sky);box-shadow:0 10px 30px -18px #17455f47}
.story-mini h3{font-size:1.2rem;margin:0 0 .5rem}
.story-mini blockquote{margin:0 0 .8rem;font-family:var(--serif);font-style:italic;color:var(--green-dark);font-size:1.05rem;line-height:1.4}
.story-mini .story-more{margin-top:auto;font-weight:650;color:var(--btn-blue-text);text-underline-offset:4px}
.story-mini .story-source{font-size:.82rem;color:var(--ink-soft);margin:.5rem 0 0}
.story-mini .story-source a{color:var(--btn-blue-text)}

/* Stories page: real-world section */
.real-story{background:#fff;border:2px solid var(--sky);border-radius:var(--radius);padding:1.8rem 2rem;box-shadow:0 10px 30px -18px #17455f47;margin-top:1.6rem}
.real-story h3{margin:0 0 .3rem;font-size:1.55rem}
.real-story .story-place{margin:0 0 .8rem;color:var(--ink-soft);font-weight:550}
.real-story .story-quote{border-left-color:var(--sky);margin:1rem 0 .4rem}
.real-story .sources{margin:1rem 0 0;padding:0;list-style:none;font-size:.9rem;color:var(--ink-soft)}
.real-story .sources li{margin:.25rem 0}
.real-story .sources a{color:var(--btn-blue-text);text-underline-offset:3px}
.real-note{font-size:.88rem;color:var(--ink-soft);margin-top:1.4rem}
.group-head{margin-bottom:1.4rem}

/* Story photography */
.story-avatar{width:88px;height:88px;border-radius:50%;object-fit:cover;flex:0 0 88px;box-shadow:0 6px 18px -10px #17455f66;background:var(--blue-50)}
.story-heading{display:flex;align-items:flex-start;gap:1rem;margin-bottom:.35rem}
.story-heading h3{margin-top:.15rem}
.story-photo{margin:0 0 1.1rem}
.story-photo img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:16px;display:block;background:var(--blue-50)}
.photo-credit{margin:.45rem 0 0;color:var(--ink-soft);font-size:.75rem;line-height:1.4;font-weight:500}
.photo-credit a{color:var(--btn-blue-text);text-underline-offset:2px}
@media (min-width:800px){
  .story.with-photo .wrap.narrow, .real-story.with-photo{display:grid;grid-template-columns:240px 1fr;gap:1.75rem 2rem;align-items:start}
  .story.with-photo .wrap.narrow > .story-photo, .real-story.with-photo > .story-photo{grid-row:1 / span 8;margin:0}
  .real-story.with-photo{padding:1.8rem 2rem}
}
.story-pull .story-avatar{width:104px;height:104px;margin:0 auto 1rem;display:block}
.story-mini .story-avatar{width:72px;height:72px;margin:0 0 .85rem}
.story-callout .story-avatar{width:96px;height:96px}

/* /stories/ page */
.disclaimer{background:var(--green-50);border:1px solid var(--green-100);border-radius:var(--radius);padding:1.25rem 1.4rem;color:var(--ink-soft);margin:1.75rem auto 0;max-width:760px}
    .disclaimer p{margin:0}
    .disclaimer strong{color:var(--green-dark);font-weight:650}
    .story-jump{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin-top:1.75rem}
    .story-jump a{border:1px solid var(--line);background:#fff;color:var(--green-dark);border-radius:999px;padding:.5rem 1rem;font-size:.92rem;font-weight:650;text-decoration:none}
    .story-jump a:hover{border-color:var(--sky);background:var(--blue-50);box-shadow:var(--shadow)}
    .story-jump a.is-real{background:var(--btn-blue);color:#fff;border-color:var(--btn-blue)}
    .story-jump a.is-real:hover{background:var(--btn-blue-hover);border-color:var(--btn-blue-hover);color:#fff;box-shadow:var(--shadow)}
    .story{padding:4rem 0}
    .story + .story{padding-top:0}
    .story-meta{color:var(--ink-soft);margin:0 0 1.25rem;font-weight:550}
    .story-quote{background:#fff;border-left:4px solid var(--green);border-radius:0 var(--radius) var(--radius) 0;padding:1.35rem 1.5rem;margin:1.6rem 0 0;box-shadow:var(--shadow)}
    .story-quote p{font-family:var(--serif);font-style:italic;font-size:1.28rem;color:var(--green-dark);line-height:1.4;margin:0 0 .55rem}
    .story-quote cite{color:var(--green-700);letter-spacing:.06em;text-transform:uppercase;font-size:.82rem;font-weight:700;font-style:normal}
    .cta-grid{display:grid;gap:1rem;grid-template-columns:1fr;margin-top:2rem}
    @media (min-width:800px){.cta-grid{grid-template-columns:1fr 1fr}}
    .cta-grid .card{text-align:left}
    .cta-grid .card h3{margin-bottom:.35rem}
    .cta-grid .card p{flex:1}
    .cta-grid .card .btn{align-self:flex-start;margin-top:.6rem}
    .nav-desktop .subnav a[aria-current="page"],
    .nav-mobile-panel .m-sub a[aria-current="page"]{background:var(--blue-50);box-shadow:inset 3px 0 0 var(--green);color:var(--green-dark)}
