
.lt.latest-grid{

}


.lt.latest-grid ul li {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
}

.lt.latest-grid .lt_img img {
  width: 100%;
  height: auto;
  display: block;
}


.lt.latest-grid ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── 카드 기본 ── */
.lt.latest-grid ul li .card {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform .3s ease, box-shadow .3s ease;
}

/* ── 호버 시 살짝 떠오르기 ── */
.lt.latest-grid ul li .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ── 썸네일 이미지 ── */
.lt.latest-grid ul li .thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .3s ease;
}

/* ── 호버 시 이미지 약간 확대 ── */
.lt.latest-grid ul li .card:hover .thumb img {
  transform: scale(1.05);
}

/* ── 제목 오버레이 ── */
.lt.latest-grid ul li .title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
}

/* ── 게시물이 없을 때 ── */
.lt.latest-grid ul li.empty {
  grid-column: span 4;
  text-align: center;
  color: #666;
  padding: 40px 0;
}
.latest-grid h2{
    display: block;
    line-height: 2em;
	text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 40px 0;
}
.laest-section{
    max-width: 1200px;
    margin: auto;
    padding: 20px;

}

@media (max-width: 639px){
	.lt.latest-grid ul {
	  grid-template-columns: repeat(2, 1fr);
	}
	.lt.latest-grid ul li.empty {
	  grid-column: span 2;

	}
}
