.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
  justify-content: center;
  max-width: 100%;
  align-items: flex-start;
}

.card {
  flex: 1 1 250px;
  max-width: 300px;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(140, 63, 0, 0.8);
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.card-details {
  max-height: 0;
  max-width: 90%;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin: 0 auto;
  text-align: center;
}

.card.open .card-details {
  max-height: 200px;
}
