.card-title {
  font-size: 1rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  height: 2.8em;
}
.card-img-top {
  height: 220px;
  object-fit: contain;
  background-color: #f8f9fa;
  padding: 10px;
  border-bottom: 1px solid #e9ecef;
}
.card:hover {
  transform: translateY(-4px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.card-footer a.btn {
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
}
