@charset "utf-8";

/* ─── 최신글 스킨 (pic_list) ─────────────────────────────── */
.pic_li_lt { position: relative; width: 100%; margin:auto; }

/* 제목 */
.pic_li_lt .lat_title {
    display: block; line-height: 1; font-size: 1.1rem; margin-bottom: 20px;
}
.pic_li_lt .lat_title a { color: inherit; text-decoration: none }

/* 더보기 */
.pic_li_lt .lt_more {
    position: absolute; top: 0; right: 0;
    font-size: 0.8rem; color: var(--muted-foreground); text-decoration: none;
    transition: color 0.2s;
}
.pic_li_lt .lt_more:hover { color: var(--foreground) }

/* 리스트 → 그리드 */
.pic_li_lt ul {
    display: grid; 
    grid-template-columns: repeat(2, 1fr);
    gap: 6vw; 
    list-style: none; 
    margin: 0; 
    padding: 0;
}

/* 각 아이템 */
.pic_li_lt li {
    overflow: hidden;
    position: relative;
    border-radius: 1.5vw;
    height: 45vw;
}
.pic_li_lt li img {
    position: absolute;
    top: 0; left: 0; width: 100%;
    transition: top 3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.pic_li_lt li span.li_text {
    background: rgba(0,0,0,.4);
    position: absolute;
    opacity: 1;
    width: 100%;
    height: 100%;
    display: flex;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
}

.pic_li_lt li:hover span.li_text {
    opacity: 1;
}

/* 썸네일 */
.pic_li_lt li .lt_img {
    display: block; aspect-ratio: 4/3; overflow: hidden; margin-bottom: 12px;
}
.pic_li_lt li .lt_img img,
.pic_li_lt li .lt_img video {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.pic_li_lt li:hover .lt_img img,
.pic_li_lt li:hover .lt_img video { transform: scale(1.05) }

/* 제목 링크 */
.pic_li_lt li .pic_li_tit {
    font-weight: 500; font-size: 1rem; line-height: 1.4;
    color: inherit; text-decoration: none;
    transition: color 0.2s;
}
.pic_li_lt li:hover .pic_li_tit { color: var(--primary) }

/* 아이콘 뱃지 */
.pic_li_lt li .fa-lock {
    display: inline-block; width: 16px; line-height: 16px; font-size: 11px;
    text-align: center; color: var(--muted-foreground); background: var(--secondary);
    vertical-align: middle;
}
.pic_li_lt li .new_icon {
    display: inline-block; width: 16px; line-height: 16px; font-size: 10px; font-weight: 700;
    text-align: center; color: var(--primary); background: var(--secondary);
    margin-left: 4px; vertical-align: middle;
}
.pic_li_lt li .hot_icon {
    display: inline-block; width: 16px; line-height: 16px; font-size: 10px;
    text-align: center; color: oklch(0.577 0.245 27.325); background: oklch(0.577 0.245 27.325 / 0.12);
    vertical-align: middle;
}

/* 댓글 수 */
.pic_li_lt .lt_cmt {
    font-size: 11px; padding: 1px 5px; margin-left: 4px;
    color: var(--primary); background: var(--secondary); vertical-align: middle;
}

/* 작성자 & 날짜 */
.lt_info { padding: 8px 0 0; font-size: 0.8rem; display: flex; gap: 8px }
.lt_info .lt_nick { color: inherit }
.lt_info .lt_date { color: var(--muted-foreground) }

/* 프로필 */
.pic_li_lt .profile_img img { border-radius: 50% }

/* 빈 목록 */
.pic_li_lt .empty_li {
    grid-column: 1 / -1; padding: 60px 0;
    color: var(--muted-foreground); text-align: center;
}

/* ─── 반응형 ──────────────────────────────────────────────── */


@media (width >= 48rem) {
    .pic_li_lt li { height: 30vw; }
    .pic_li_lt ul { 
        grid-template-columns: repeat(3, 1fr);
        gap: 48px; 
    }
    .pic_li_lt li span.li_text { opacity: 0;}
}
@media (width >= 64rem) {
    .pic_li_lt ul { 
        gap: 5vw; 
    }
}
