/* Vendor directory card. Light theme only. Same art direction as the RFP card (rfp-row.css): white card, subtle border, 16px gaps, a small hover lift,
   neutral pills, a divider above one ghost action. Rust is only the thin border of that ghost action; the page's one rust control is elsewhere. */
.vendor-list { font-family: var(--font-body, "Source Sans 3", system-ui, sans-serif); color: var(--color-text, #2B2623); }
:is(ul, ol).vendor-list:not([hidden]) { display: grid; gap: var(--space-4, 16px); margin: 0; padding: 0; border: 0; list-style: none; }
.vendor-row *, .vendor-row *::before, .vendor-row *::after { box-sizing: border-box; }

.vendor-row {
  display: grid; gap: var(--space-3, 12px); align-content: start;
  padding: var(--space-5, 24px);
  background: var(--color-surface-raised, #FFFFFF);
  border: 1px solid var(--color-card-border, #E5E0D8); border-radius: var(--radius, 4px);
  list-style: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .vendor-row:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(43, 38, 35, 0.10); }
}

.vendor-row__name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; justify-self: start; max-width: 100%;
  min-height: 44px; padding: 0;
  font-family: var(--font-display, "Rubik", system-ui, sans-serif); font-size: 20px; font-weight: 600; line-height: 1.3;
  color: var(--color-text, #2B2623); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere;
}

.vendor-row__pills { display: flex; flex-wrap: wrap; gap: var(--space-2, 8px); margin: calc(-1 * var(--space-1, 4px)) 0 0; padding: 0; list-style: none; }
.vendor-pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.3; background: color-mix(in srgb, var(--color-border, #7A736C) 16%, var(--color-surface-raised, #FFFFFF)); color: var(--color-text, #2B2623); }
.vendor-pill--featured { background: transparent; border: 1px solid var(--color-text, #2B2623); padding: 3px 11px; }

.vendor-row__desc { margin: 0; max-width: 68ch; font-size: 16px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vendor-row__tags { display: flex; flex-wrap: wrap; gap: 0 var(--space-2, 8px); margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--color-text-muted, #5E5853); }
.vendor-row__tag:not(:last-child)::after { content: ","; }
.vendor-row__tag--more::after { content: none; }

.vendor-row__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3, 12px) var(--space-4, 16px); padding-top: var(--space-3, 12px); border-top: 1px solid var(--color-card-border, #E5E0D8); }
.vendor-row__place { display: inline-flex; align-items: center; gap: 6px; margin: 0; min-width: 0; font-size: 14px; color: var(--color-text-muted, #5E5853); overflow-wrap: anywhere; }
.vendor-row__pin { flex: none; }
.vendor-row__projects { margin: 0 auto 0 0; font-size: 14px; color: var(--color-text-muted, #5E5853); }
.vendor-row__view {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; margin-left: auto; min-width: 44px; min-height: 44px; padding: 0 var(--space-4, 16px);
  border: 1px solid var(--color-accent, #A7410E); border-radius: var(--radius, 4px); background: transparent; color: var(--color-text, #2B2623);
  font-size: 16px; font-weight: 600; text-decoration: none;
}
.vendor-row__view:hover { background: color-mix(in srgb, var(--color-text, #2B2623) 5%, transparent); }
.vendor-row a:focus-visible { outline: 3px solid var(--focus-ring-color); outline-offset: 2px; }

@media (max-width: 480px) { .vendor-row { padding: var(--space-4, 16px); } .vendor-row__view { flex: 1 1 100%; margin-left: 0; } }
