/* RedCard FC - hero10 overlay card fixes (fix round 1, 27 Nov 2026).
   Loaded after the Stage D bundle by iconic-shirts.html and 1990s.html, the
   two pages that use the .hero10-card component. The card styles themselves
   live in redcardfc-v10-9.css (inside the bundle), which many other pages
   load, so the corrections live here instead. Full before/after reasoning:
   analysis/fix-round-1-log.md. */

/* 1) Image layer pinned to the bottom of the card's stacking order.
      In the bundle the img is position:absolute with z-index auto, so its
      paint order is not guaranteed against the text layer (and the :hover
      transform lifts it into its own stacking context). z-index:0 keeps the
      image - photo or flat transparent graphic - under scrim and text. */
.hero10-card img{position:absolute;inset:0;z-index:0}

/* 2) Restore the scrim on illustration cards. Every iconic-shirts card is
      .hero10-card.v226-illustration, and the later .v226-illustration:after
      badge rules in the bundle share the card's single ::after box with
      .hero10-card:after: they replace the gradient scrim with a flat
      rgba(10,10,10,.72) panel, add a gold border, and set z-index:5, which
      paints the panel OVER the text (z-index:2) and the number (z-index:3).
      This rule (specificity 0,2,1 vs their 0,1,1) takes the ::after back:
      no content, no border, a gradient that is darkest under the text. */
.hero10-card.v226-illustration::after{content:"";position:absolute;inset:32% 0 0;top:32%;right:0;bottom:0;left:0;background:linear-gradient(rgba(8,10,12,0),rgba(8,10,12,.55) 45%,rgba(8,10,12,.88));border:0;padding:0;z-index:1;pointer-events:none}

/* 3) Text layer: above the scrim, near-white, plain block stacking so the
      kicker, title and body can never collide or be veiled. */
.hero10-card>div:last-child{position:relative;z-index:2;color:#f7f4ec}
.hero10-card small{display:block;position:static;line-height:1.35;margin:0}
.hero10-card h3{color:#fff;line-height:1.12;margin:5px 0 8px;text-shadow:0 1px 12px rgba(0,0,0,.5)}
.hero10-card p{color:#e9e5da}
.hero10-card b{color:#fff}
.hero10-card .hero10-cardno{z-index:3}
