/* hero-cols-fit.v1.css -- the hero's photo columns no longer cut straight at the
 * sides (2026-11-22, patches/landing_stills; Benny: "for some reason it is
 * straight cut off on the left side").
 *
 * hero-cols tilts the three columns by 4 degrees inside a box 32% taller than the
 * hero, 20px in from the area's left edge. Tilted, the tops of the left column
 * reach 15-28px past that edge (more on taller windows) and the area's
 * overflow: hidden cuts them in a straight line; the right column brushed its
 * edge by up to 15px. How far the tilt reaches grows with the hero's height (the
 * window's), so the columns now sit 28px + 4.2vh in on both sides (about 66px at
 * 900px tall, 73px at 1080px), and every tilted tile stays inside.
 * Served max-age=604800: never edit in place. */
@media (min-width: 1180px) {
  .jpa-hero-cols .jpa-hc-tilt { left: calc(28px + 4.2vh) !important; right: calc(28px + 4.2vh) !important; }
}

/* v2 (Benny, 2026-11-22: "increase the speed of both the header items coming in"): the
   photo columns flow 1.67x faster, the outer two and the slower middle one alike
   (hero-cols.v4: 5.2 s and 6.5 s per photo; now 3.1 s and 3.9 s). One number: .6 */
.jpa-hero-cols .jpa-hc-track { animation-duration: calc(var(--jpa-hc-n, 22) * var(--jpa-hc-spt) * .6) !important; }

/* v3 (Benny, 2026-11-22: "when zooming out or decreasing the size of this window the
   incoming header items are so weirdly small"). The photo area starts at a fixed place
   right of the text and takes what is left of the window, so on a narrower or taller
   window (zooming out makes it taller) three columns shared a thin strip. hero-cols-fit.v3.js
   sets data-agcols on .jpa-hero-cols: as many columns (3, 2 or 1) as fit with every photo
   at least 17% of the window's height wide (160px at the least); the columns that do not
   fit are not shown, and the ones left are wider, so their photos are larger. */
.jpa-hero-cols[data-agcols="2"] .jpa-hc-col:nth-child(n+3),
.jpa-hero-cols[data-agcols="1"] .jpa-hc-col:nth-child(n+2) { display: none !important; }
