/* Read next: a page's few ways on as cells on hairlines (frame.py's cells), what each answers over its Link. */
.ways-list > .fr-cell { justify-items: start; }

/* The page's other links: every link its owner gives beyond the ways on, folded shut at rest under
   them as the frame folds (its word in the accent ink, which leaves once the links show). Open, the links stand three
   across, each the question it answers over its link, in Small on a hairline at its left; the links are in the page's
   HTML, open or shut. */
.ways > .fr-flow > .ways-related { grid-column: 1 / -1; min-width: 0; margin-top: 0; }
.ways-related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-1) var(--space-6); margin: 0;
  padding: var(--space-2) 0 var(--space-5); list-style: none; }
.ways-related-list > li { display: flex; flex-direction: column; align-items: flex-start; padding: var(--space-2) 0 var(--space-2) var(--space-4);
  border-left: 1px solid var(--border-subtle); color: var(--ink-secondary); font: var(--t-small); text-wrap: pretty; }
@media (max-width: 1199px) { .ways-related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .ways-related-list { grid-template-columns: minmax(0, 1fr); } }
/* The way to all the stories: beside the list's title, at the row's end, level with the title's foot; under 1200 px,
   where the frame's flow is one column, right under the title, as a section head sets its link */
.ways > .fr-flow > .ways-all { justify-self: end; align-self: end; max-width: none; }
@media (max-width: 1199px) { .ways > .fr-flow > .ways-all { justify-self: start; margin-top: calc(var(--space-3) - var(--space-6)); } }
