/* The category picture of a LOGO BOX (owner UX review handoff 2026-11-24, batch 4, item 11 - the revised one: all 18 drawings from ONE hidden sprite per page). The tokens are the claim card
   scene's: sky --category-sky-tint, grass --success-border, the ground line and the drawing --brand-blue-dark, the sun --illustration-sun. Linked by web/layouts/header.blade.php (every public
   page with a result card, and the listing page). Every rule starts from .cat-sprite or .cat-logo. */

/* The sprite: 18 symbols, nothing to see. Not display: none - a symbol must stay usable. */
.cat-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
/* The shapes inside the drawings: the classes of the 18 drawings, filled with the design system's tokens (the same fills the claim card's scene gave them). */
.cat-sprite .h {
  fill: var(--category-amber-tint);
}
.cat-sprite .g {
  fill: var(--success-border);
}
.cat-sprite .k {
  fill: var(--category-sky-tint);
}
.cat-sprite .l {
  fill: var(--brand-blue-dark);
  stroke: none;
}
.cat-sprite .p0 {
  stroke: none;
}

.cat-logo {
  display: block;
  color: var(--brand-blue-dark);
}
.cat-logo__sky {
  fill: var(--category-sky-tint);
}
.cat-logo__grass {
  fill: var(--success-border);
}
.cat-logo__line {
  fill: var(--brand-blue-dark);
}
.cat-logo__sun circle {
  fill: var(--illustration-sun);
}
.cat-logo__sun g {
  stroke: var(--illustration-sun);
}

/* The size is the box's, exactly as the grey placeholder's was (an 800 x 460 image): in a result card's logo box (.bxlink: 150 x 120) it fills the box less the 10px insets of .media-object,
   6px above and 10px below, with the same rounded corners; on the listing page it fills the logo column (.company-thumbnail). The picture keeps its 800 : 460 proportion in both. */
.bxlink .cat-logo {
  width: calc(100% - 20px);
  max-height: calc(100% - 16px);
  height: auto;
  margin: 6px 10px 10px;
  border-radius: var(--radius-md, 8px);
}
#company .company-page-info .company-thumbnail > .cat-logo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md, 8px);
}
