@charset "UTF-8";
/* ===========================================================
   AFTER — LAYER 2 of 3: FAMILY "catalog"
   Catalog and hub family: /tools/ (All Free Tools), plus the
   /tools/pdf-tools and /tools/student-tools hubs when recreated.

   Belongs here: the catalog surface — hero/intro block of a listing
   page, category group headings, the tool-card grid, tool cards and
   their hover/focus treatment, group rhythm and spacing — i.e.
   structure shared by listing pages but meaningless to a working tool.

   Load order: baseline → after-global → after-family-catalog → <tool>-after
   =========================================================== */

/* -----------------------------------------------------------
   CATEGORY-HUB CARDS — pressed state
   /pdf-tools and /student-tools are generated from the same shell and use
   the identical .tool-grid > .mini-card pattern (baseline: transform +
   border-color on hover), so the rule lives here once. Scoped to .tool-grid
   so it reaches neither /tools/ (.tl-item) nor the .cards3 cards on the
   individual tool pages.
   default → hover lifts → press settles back onto the surface.
   ----------------------------------------------------------- */
/* -----------------------------------------------------------
   HUB HERO — restore eyebrow → h1 → description → tools
   The baseline's <=960px hero rule turns .hero .wrap into a flex column and
   orders it for the TOOL hero (eyebrow, h1, .tool, .hero-more). The hub heroes
   have no .hero-more, so their .sub and .tool-grid keep order:0 and jump above
   the heading. Order the hub hero's own children instead, and give the h1 →
   description relationship the same rhythm as the /tools/ hero.
   ----------------------------------------------------------- */
.hero .wrap > .eyebrow{order:1}
.hero .wrap > h1{order:2;margin-bottom:12px}
.hero .wrap > .sub{order:3;margin-top:0}
.hero .wrap > .tool-grid{order:4}

.tool-grid .mini-card{transition:transform .2s,border-color .2s,box-shadow .2s}
.tool-grid .mini-card:active{
  transform:translateY(0);
  box-shadow:0 1px 2px rgba(25,30,26,.05);
  border-color:var(--green);
  transition:none;
}
