/* Love Story previous / next: Astra's own row, given the page gutter.
 *
 * HAND WRITTEN (R2, 2026-11-01), loaded on story pages only by
 * inc/love-stories.php, after love-stories.css, which is generated and must
 * not be edited by hand. Found in R1's post-release review: the row ran to
 * the window's edges at 1440, "Previous" 2px from the left edge and "Next"
 * 2px from the right, because the page neutralises Astra's container.
 *
 * --col-inset is the page's own content edge (tokens.css): the same left
 * edge as the crumb, the opening column and "More Love Stories" above it, and
 * the 20px gutter on a phone, where Astra already pads this row by 20px. So
 * the row lines up with the page and nothing else about it changes: Astra's
 * markup, arrows, labels and colours stay as they are.
 *
 * body + three classes outranks Astra's own phone rule for the same element,
 * `.single .post-navigation .nav-links` (padding 0 20px under 545px).
 */
body.erdf-ls-story .post-navigation .nav-links {
  padding-left: var(--col-inset);
  padding-right: var(--col-inset);
  box-sizing: border-box;
}

/* The centre divider only divides when there are two links. Astra draws it as
   .nav-previous::after, a 1px line on the right edge of the "Previous" half,
   so on the newest story (Previous only) it hung beside nothing. Hidden when a
   link stands alone; the next-side rule covers an Astra build that draws it
   there. A row with both links keeps it. (R2 design review, 2026-11-01.) */
body.erdf-ls-story .post-navigation .nav-previous:only-child::after,
body.erdf-ls-story .post-navigation .nav-next:only-child::before,
body.erdf-ls-story .post-navigation .nav-next:only-child::after {
  display: none;
}
