/* The hero picture, as it appears on every page of the site.

   Becky, 2026-11-20: "Keep a white border around the Hero. I actually think
   the colors in the Hero work well with the page colors. Can we make sure the
   hero is on every page?"

   The picture file (static/images/hero-magic.png) was saved with a white edge
   of its own, but an uneven, slightly blurred one: thicker at the bottom than
   the top, thinner at the sides. So the file's own edge is cropped away and a
   clean, even white frame is drawn here instead.

   The crop numbers are the picture's place inside the file: it starts 13px in
   and 36px down, and is 974 by 649, in a file of 1005 by 729. If the picture
   file is ever replaced with one that has no edge, set left and top to 0 and
   width to 100%, and put the new picture's own shape in aspect-ratio.

   Sizes: plain for the pages people arrive on, .hero-md and .hero-sm for
   pages where the picture is there to say "you are still on FolderMagicApp"
   without pushing the page's own content down. */
.hero-frame { display: block; width: 100%; max-width: 42rem; margin-inline: auto; box-sizing: border-box;
              background: #fff; padding: 8px; border-radius: 8px; box-shadow: 0 2px 12px rgba(16, 24, 32, 0.22); line-height: 0; }
.hero-crop { display: block; position: relative; overflow: hidden; aspect-ratio: 974 / 649; border-radius: 3px; }
.hero-crop img { position: absolute; left: -1.335%; top: -5.55%; width: 103.18%; max-width: none; height: auto; display: block; }
.hero-md { max-width: 24rem; padding: 6px; }
.hero-sm { max-width: 15rem; padding: 5px; border-radius: 6px; }
/* A small picture at the top of a page or a card: centred, with room below. */
.hero-top { display: block; margin: 0 auto 1.25rem; }
