.section-title .st-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
  justify-content: center;
}

/* 카드 크기 줄이기 */
.section-title .st-card {
  position: relative;
  display: block;
  width: 70%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-top-left-radius: 60px;      /* 왼쪽 위 둥글게 */
  border-bottom-right-radius: 60px;  /* 오른쪽 아래 둥글게 */
  border-top-right-radius: 0;        /* 나머지 직각 */
  border-bottom-left-radius: 0;
  overflow: visible;
  background: #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.section-title .st-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* 이미지 기본 상태: 흑백 */
.section-title .st-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 60px;
  border-bottom-right-radius: 60px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  transition: transform 0.35s ease, filter 0.35s ease; /* filter 추가 */
  filter: grayscale(100%);   /* 흑백 효과 */
}

/* hover 시 컬러 복원 */
.section-title .st-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);     /* 컬러로 전환 */
}


/* 캡션 */
.section-title .st-card__caption {
  position: absolute;
  left: 40%;
  bottom: -50px;
  transform: translateX(-50%);   /* Y축 이동 제거 */
  width: 85%;
  background: rgba(82, 58, 44, 0.96);
  color: #fff;
  padding: 14px 16px;
  border-top-left-radius: 40px;
  border-bottom-right-radius: 40px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: opacity 0.35s ease; /* opacity만 transition */
  opacity: 0;
  visibility: hidden;
}

/* hover 시 나타나기 (제자리에서 스르륵) */
.section-title .st-card:hover .st-card__caption {
  opacity: 1;
  visibility: visible;
}

/* 카드별로 색상 다르게 */
.section-title .st-card:nth-child(1) .st-card__caption {
  background: #e6455d;   /* 초록 */
}

.section-title .st-card:nth-child(2) .st-card__caption {
  background: #5782c2;   /* 파랑 */
}

.section-title .st-card:nth-child(3) .st-card__caption {
  background: #f9d748;   /* 빨강 */
}


/* 캡션 텍스트 스타일 */
.section-title .st-card__title {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.section-title .st-card__desc {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.section-title .st-card__more {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* 반응형 */
@media (max-width: 1024px) {
  .section-title .st-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section-title .st-cards {
    grid-template-columns: 1fr;
  }
  .section-title .st-card {
    width: 100%;
  }
}
