/* ============================================================
   software-expert.html — page styles
   Every tool is a card in a responsive grid; the source's own
   numbering is kept as a badge. All copy comes from the source.
   ============================================================ */

.swx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
}
/* the opening tool set carries a note under each name, so it needs more room */
.swx-grid--wide { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.swx-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 26px 16px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(27, 42, 94, .04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.swx-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--gold-soft);
}

.swx-tile__no {
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold);
}

.swx-tile img {
  width: auto;
  height: 52px;
  max-width: 88px;
  object-fit: contain;
}

.swx-tile h3 {
  margin: 0;
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .02em;
  color: var(--ink);
}

.swx-tile p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.swx-foot {
  margin-top: 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--muted);
}

@media (max-width: 520px) {
  .swx-grid, .swx-grid--wide { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .swx-tile { padding: 22px 10px 18px; }
  .swx-tile img { height: 42px; }
}
