/* The article page only (owner 2026-11-15): roomier reading, and a right column that stays in view on a wide screen
   holding the sections, the number, the author and the ad. Shape after Quartz's article page: the story on the left,
   plain stacked parts on the right divided by hairlines, one soft grey box. Tokens come from site.css. */
.post-head h1 { margin-bottom: 4px; }
.post-head .photo { margin: 28px 0 20px; }
.post .photo img, .post-body img { border-radius: 12px; }   /* owner: "round the corners of the images please" */
.post-head .byline { margin: 0 0 24px; }
.post-head .anchor-line { margin: 0; padding: 14px 0; }
.post-body { line-height: 1.75; font-size: 1.0625rem; padding-top: 12px; }
.post-body p { margin: 0 0 22px; }
.post-body h2 { margin: 44px 0 14px; scroll-margin-top: 24px; }
.post-body h3 { margin: 32px 0 10px; }
.post-body ul, .post-body ol { margin: 0 0 22px; }
.post-body li { margin-bottom: 10px; }
.post-body .rnj-takeaways { margin: 0 0 24px; padding: 0 0 14px; border-top: 0; border-bottom: 1px solid var(--rule); }
.post-body .rnj-takeaways h2, .post-body .rnj-related-jobs h2 { margin: 0 0 10px; }   /* our boxes' labels, not sections */
.post-body .rnj-takeaways ul { margin: 0; line-height: 1.45; }
.post-body .rnj-takeaways li { margin-bottom: 6px; }
.post .rnj-author-box, .post .rnj-related-articles { margin-top: 36px; padding-top: 20px; }

/* A phone and a narrow screen: the article already shows these, so the rail is the ad alone */
.post-rail .rail-part { display: none; }
.post-rail { margin-top: 32px; }
.rail-ad { padding: 16px 18px; border: 1px dashed var(--rule); border-radius: 16px; }
.post-mail { margin-top: 36px; }

@media (min-width: 64rem) {
  .post { max-width: none; display: grid; grid-template-columns: minmax(0, 680px) 300px; column-gap: 72px; align-items: start; }
  .post-body { font-size: 1.125rem; }
  /* The right column: white cards (rail.css .rcard), held in view while the article scrolls */
  .post-rail { position: sticky; top: 24px; margin-top: 44px; display: flex; flex-direction: column; gap: 16px; font-size: 0.9375rem; }
  .post-rail .rail-part { display: block; }
  .post-rail p { margin: 0 0 6px; }
  .rail-toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .rail-toc a { line-height: 1.4; display: block; }
  .rail-now p:first-of-type { font-size: 1.0625rem; font-weight: 500; line-height: 1.4; }
  .post-rail .rail-now a { color: var(--blue); }
  .rail-author .byline { margin: 0; align-items: flex-start; }
  /* the rail carries these on a wide screen */
  .post-body .rnj-takeaways, .post-head .anchor-line { display: none; }
}
