/* TEAM CARDS — RESPONSIVE GRID */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0;
}

/* Ensure cards inside cards-grid inherit base styles + adapt */
.cards-grid .cards {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  background: #f0f7f0;
  padding: 1.6rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #d8e9d8;
  transition: all 0.3s ease;
}

.cards-grid .cards:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  border-color: #a3d6a3;
}

.cards-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.cards-grid img:hover {
  transform: scale(1.03);
}

.cards-grid h3 {
  color: #278a34;
  margin: 0 0 0.7rem;
  font-size: 1.3rem;
}

.cards-grid p {
  color: #555;
  font-size: 0.98rem;
  line-height: 1.5;
  flex-grow: 1;
}

.cards-grid .btn {
  margin-top: auto;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}