/* m255 (BP-273 r117 round 11): 3 spacing fixes only. See patches/m255.py. Undo: build without m255. */

/* 1 /case-studies/ Anna Hyatt, "The post": the spare height goes evenly between the 2 screenshots and the caption */
html body .cx-block--post .cs-pic.m251-shots { justify-content: space-evenly; }

/* 2 home "What clients wrote": Olivier's box fits his one-line message (+16 px above and below). 1 px at the sides keeps
   the box's thin border line whole. Laptops (his card fills the row alone): the card is as tall as its box and caption
   and sits in the middle of the row. Phones (swipe row, the next card shows beside it): the card keeps the row's height,
   like the other cards, and the box and caption sit in its middle. */
html body #cases .m225-c.m251-full { justify-content: center; }
@media (min-width: 700px) { html body #cases .m225-c.m251-full { align-self: center; } }
html body #cases .m225-c.m251-full .m225-open { height: auto; padding: calc(16px / var(--m225-z, 1)) 1px; }
html body #cases .m225-c.m251-full .m225-open img { height: auto; }

/* 3 home "What your impressions bring you", held on laptops: held lower so the space above the title equals the space
   under the lowest card (m255.js sets --m255-top; 64 px as before until it runs) */
@media (min-width: 900px) and (min-height: 800px) and (prefers-reduced-motion: no-preference) {
  html body section#impressions.m215 .m215-in { top: var(--m255-top, 64px); }
}
