/* ===== Category hub pages (developer, calculators, hardware, media): compact widgets =====
   Loaded only by the four category hub pages, so the home page and the guides keep their own
   card sizes. Same size as the home page cards: more cards per row, shorter cards. */
/* Same sizing as the home page row: each card is one sixth of the row after five 18px gaps,
   never narrower than 120px, so the grid holds six cards per row at every width that allows it. */
.service-grid { grid-template-columns: repeat(auto-fill, minmax(max(120px, calc((100% - 90px) / 6)), 1fr)); gap: 18px; }
.service-card { padding: 14px 10px; }
.service-card-icon { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 12px; font-size: 1.2em; }
.service-card h3 { margin: 0 0 4px; font-size: 1em; line-height: 1.3; }
.service-card p { margin: 0; font-size: .8em; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.service-card-cta { display: none; }
