.content {
  display: block;
  width: 100%;
}

/* 카드 레이아웃 */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px; 
  padding: 60px 40px; 
}

/* 카드 */
.card {
  display: flex; 
  flex-direction: column;
  height: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease; 
}

.card:hover {
  transform: translateY(-8px); 
}

/* 카드 이미지 */
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover; 
}

/* 카드 텍스트 */
.card-text {
  flex-grow: 1;
  background: #111;
  color: white;
  padding: 15px;
  flex-grow: 1;
}

.card-text p {
  font-size: 12px;
  color: #aaa;
}