	/* ===== 공통 컨테이너 ===== */
/* 공통 컨테이너 */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* 4타일 그리드 */
.fd4-tiles { padding: 60px 0; }
.fd4-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px){ .fd4-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .fd4-grid { grid-template-columns: 1fr; } }

/* 카드 */
.fd4-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  height: 500px; /* 카드 높이 고정 */
}

/* 이미지 */
.fd4-media {
  position: absolute;
  inset: 0;
}
.fd4-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .8s ease, filter .8s ease;
}

/* 오버레이 */
.fd4-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 60%, rgba(0,0,0,0) 100%);
  transition: transform .5s ease;
}
.fd4-title { font-size: 24px; margin-bottom: 8px; font-weight: 700; }
.fd4-desc { font-size: 15px; opacity: .95; }

/* hover 효과 */
.fd4-card:hover .fd4-media img { transform: scale(1.1); filter: brightness(1.1); }
.fd4-card:hover .fd4-overlay { transform: translateY(-6px); }

/* 모바일 보완 */
@media (max-width: 768px) {
  .fd4-card { height: 380px; }
  .fd4-title { font-size: 20px; }
  .fd4-desc { font-size: 14px; }
}

