/* Link rows (design system "LinkRows"): a list where each row is one link, divided by hairlines: a title in brand colour,
   a grey meta line, one or two sentences of text and an arrow on the right; the whole row is tappable.
   Used by Careers (open roles, main-site/careers/), Ideas (the editions on ste.fund/ideas/) and the Briefing archive.
   Published at /foundations/shared/ste-rows.css. Tokens only. Selectors repeat the class so they beat an article's
   `.prose ul > li` bullets and `.prose a` link colour without !important. */
.ste-rows.ste-rows { margin: 0 0 var(--space-4); padding: 0; list-style: none; border-top: 1px solid var(--border); }
.ste-rows.ste-rows > li { position: static; margin: 0; padding: 0; border-bottom: 1px solid var(--border); }
.ste-rows.ste-rows > li::before { content: none; display: none; }
.ste-row.ste-row.ste-row { position: relative; display: grid; gap: var(--space-1); padding: var(--space-4) var(--space-12) var(--space-4) 0; color: var(--text-primary); text-decoration: none; }
.ste-row__title { color: var(--brand-700); font-size: 20px; font-weight: 650; line-height: 1.3; text-wrap: balance; }
.ste-row__meta { color: var(--text-meta, var(--text-secondary)); font-size: 15px; font-weight: 600; line-height: 1.4; }
.ste-row__text { font-size: 17px; line-height: 1.5; }
.ste-row__go { position: absolute; right: var(--space-2); top: 50%; transform: translateY(-50%); color: var(--brand-700); font-size: 22px; transition: transform var(--duration-fast, 150ms); }
.ste-row:hover .ste-row__title { text-decoration: underline; text-underline-offset: 4px; }
.ste-row:hover .ste-row__go { transform: translate(4px, -50%); }
.ste-row:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 2px; }

/* Pagination (design system "Pagination"): a long listing shows 20 rows a page. Page 1 lives at the list's own URL,
   later pages at <list>/page/N/, each a plain static page with its own canonical and a sitemap entry, joined by
   ordinary links (crawlable, no script). One line under the list: the link to the newer (or previous) page on the
   left, "Page 2 of 5" in the middle, the older (or next) page on the right; an empty <span> holds a missing side.
   Shown only when there is more than one page. */
.ste-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-4); margin: var(--space-8) 0 var(--space-4); font-size: 16px; line-height: 1.4; }
.ste-pager__pos { color: var(--text-meta, var(--text-secondary)); font-size: 15px; font-weight: 600; }
.ste-pager.ste-pager a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-700); font-weight: 650; text-decoration: none; }
.ste-pager.ste-pager a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ste-pager a:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 2px; }
.ste-pager__next { justify-self: end; }
