.supplier-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  margin: 40px 0;
}

.supplier-card {
  width: 260px;
  flex: 0 0 auto;
  height: 380px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.supplier-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Wrap logo in consistent height container */
.supplier-card .logo-wrapper {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.supplier-card img {
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Description stays consistent in spacing */
.supplier-card p {
  font-size: 1.05rem;
  color: #2a2a2a;
  line-height: 1.5;
  margin: 0 0 16px;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
}

.supplier-card a.supplier-button {
  background: #ffc72c !important;
  color: #004494 !important;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 10px 20px;
  text-decoration: none !important;
  border-radius: 6px;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: auto;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.supplier-card a.supplier-button:hover {
  background: #e0b021 !important;
}

/* Responsive auto-height on smaller screens */
@media screen and (max-width: 768px) {
  .supplier-card {
    height: auto;
  }
}
