/* Media video page Previous / Next edge tabs (ClickUp 869fdua9g). Markup: inc/cae-media-video.php (the record-nav markup
 * of the News / Impact Story singles); paint: records-cae.css record-nav--edge. Placement = post-page-cae.css section 2
 * (that sheet keys on the news / case-study <main>, so the same rules are keyed here on this page's <main>):
 * >= 1024 the track runs the length of <main>, browser edge to edge, each tab sticky at the viewport middle; below, in flow. */
@media (min-width: 1024px) {
  body.cae-page--cae-flow-media-post main { position: relative; }
  body.cae-page--cae-flow-media-post main > .cae-website-redesign-record-nav--post {
    position: absolute; top: 0; bottom: 0;
    left: calc(50% - 50vw / 0.8); right: calc(50% - 50vw / 0.8);
    max-width: none; margin: 0; gap: 0; align-items: flex-start; pointer-events: none; z-index: 2;
    display: flex; justify-content: space-between;
  }
  body.cae-page--cae-flow-media-post .cae-website-redesign-record-nav--post > .cae-website-redesign-record-nav__item.cae-website-redesign-record-nav__item {
    position: sticky; top: calc(50vh / 0.8 - 3.375rem); align-self: flex-start;
  }
  body.cae-page--cae-flow-media-post .cae-website-redesign-record-nav--post > .cae-website-redesign-record-nav__item--next { margin-left: auto; }
}
/* Below 1024 the tabs sit in flow; the reference nav gets its side inset from the single's <main> padding
 * (records-cae.css record-detail: 16 / 32 at 0 / 600). This <main> has none, so the nav carries it. */
@media (max-width: 1023.98px) {
  body.cae-page--cae-flow-media-post main > .cae-website-redesign-record-nav--post { padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
}
@media (min-width: 600px) and (max-width: 1023.98px) {
  body.cae-page--cae-flow-media-post main > .cae-website-redesign-record-nav--post { padding-left: 32px; padding-right: 32px; }
}
