/* SPDX-License-Identifier: Apache-2.0 */
/* story.css: /press-kit/our-story (our-story.php, core/components/story/). Built on site.css: page-head, dim-divider, split, ruled-grid, cta-band. */

.story-crumb { margin-bottom: .5rem; font-size: var(--fs-sm); font-weight: 600; }
.story-crumb a { color: var(--ink-2); }
.story-crumb a:hover, .story-crumb a:focus-visible { color: var(--action); }

.story-sec + .story-sec { padding-top: 0; }

.story-prose p { font-size: var(--fs-md); line-height: 1.6; color: var(--ink); margin-bottom: 1.1rem; }
.story-prose p:last-child { margin-bottom: 0; }

.story-grid .story-more { margin-top: .6rem; }
.story-grid .story-more a { font-weight: 600; }
.story-terms { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--ink-2); }
.story-terms li { margin-bottom: .2rem; }

/* Figure tiles: the number, what it counts, how it was counted. */
.story-stats { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 480px) { .story-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .story-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.story-stat { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.2rem; border: var(--pen-2) solid var(--ink); border-radius: var(--radius); background: var(--sheet-2); }
.story-num { font-size: var(--fs-xl); font-weight: 700; font-stretch: 112%; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--ink); }
.story-lbl { font-weight: 600; color: var(--ink); line-height: 1.35; }
.story-cap { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.4; }
.story-note { margin: 1.25rem 0 0; padding: .9rem 1.2rem; border: var(--pen-1) dashed var(--ink); border-radius: var(--radius); color: var(--ink-2); }
.story-asof + .story-prose { margin-top: 1.75rem; }
.story-asof { margin: .75rem 0 0; font-size: var(--fs-sm); color: var(--ink-2); }

/* Milestones: a line down the left, a tick per step. */
.story-steps { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: var(--pen-2) solid var(--ink); }
.story-steps > li { position: relative; padding: 0 0 1.5rem; }
.story-steps > li:last-child { padding-bottom: 0; }
.story-steps > li::before { content: ""; position: absolute; left: calc(-1.5rem - .45rem + 1px); top: .45rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--action); border: var(--pen-2) solid var(--ink); }
.story-steps.is-ahead { border-left-style: dashed; }
.story-steps.is-ahead > li::before { background: var(--sheet-2); }
.story-steps h3 { font-size: var(--fs-base, 1.0625rem); margin-bottom: .3rem; }
.story-steps p { margin: 0; color: var(--ink-2); }
.story-when { font-size: var(--fs-sm); font-weight: 600; color: var(--action) !important; margin-bottom: .15rem !important; }

.story-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.story-links a { font-weight: 600; }
