/* ===========================================================================
   HASTA ONLY. Loaded after every shared stylesheet, from hasta.html alone.
   The named-term weight and the icon list moved to assets/case-extras.css
   on 2026-10-27, when the other case studies asked for them. What is left
   is the one thing only this page wants: a tad off its pictures.
   =========================================================================== */


/* ---------------------------------------------------------------------------
   3. A TAD OFF THE PICTURES

   The in-column figures render 657px wide at 1440 against a 517px text
   measure. 86% puts them at 565, still wider than the measure - the figure
   still breaks out of the column, it just stops shouting over it.

   NOTHING IS CROPPED. This is max-width on the mat with the image's own
   width: 100%; height: auto underneath it, so the picture scales whole. No
   aspect-ratio, no object-fit.

   Over 720px only. On a phone the column is already about 358px wide and
   taking another 14% off a screenshot would make the UI in it unreadable.
   .fullbleed is deliberately edge to edge and is left alone.
   --------------------------------------------------------------------------- */

@media (min-width: 720px) {
  :root[data-case] .col figure .media,
  :root[data-case] .col figure .media--light,
  :root[data-case] .col figure .media--bare {
    max-width: 86%;
    margin-inline: auto;
  }

  /* The sketch pile is sized by its stack, which carries the aspect-ratio;
     take the width and the height follows, and the sheets inside it keep
     their own proportions through max-width/max-height. */
  :root[data-case] .col .nb-pile__stack {
    max-width: 86%;
    margin-inline: auto;
  }

  /* The caption and the pile's arrows belong to the picture, so they move
     in with it rather than hanging off the old edge. */
  :root[data-case] .col .nb-pile .nb-pile__bar,
  :root[data-case] .col figure figcaption {
    max-width: 86%;
    margin-inline: auto;
  }
}
