@charset "utf-8";

/* pic_block새글 스킨 (latest) */
.pic_lt {
    position: relative;
}
.pic_lt .lat_title {
    display: block;
    line-height: 1.3;
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 500;
}
.pic_lt .lat_title a {
    color: #000;
    display: inline-block;
    position: relative;
}
.pic_lt .lt_more:hover {
    color: #777;
}
.pic_lt ul:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}
.pic_lt ul {
    margin: 0px;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    display: grid;
}
.pic_lt li {
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.pic_lt li .lt_img {
    margin: 0;
    position: relative; /* 오버레이를 위한 상대 위치 */
}
.pic_lt li .lt_img img,
.pic_lt li .lt_img video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0px;
}
.list-content {
    color: #acacac;
    font-size: 16px;
    font-weight: 400;
    display: block;
    text-align: center;
    padding: 0 10px 20px;
}
.bo_cnt {
    display: block;
    color: #777;
    line-height: 18px;
}

/* 기본 썸네일 크기 */
.lt_img img {
    width: 400px;
    height: 300px;
    object-fit: cover;
}

.pic_subject {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    vertical-align: middle;
    gap: 8px;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    padding-bottom: 0;
}
.pic_lt li a:hover {
    color: #a22121;
}
.pic_lt li .fa-heart {
    color: #ff0000;
}
.pic_lt li .fa-lock {
    display: inline-block;
    line-height: 14px;
    width: 16px;
    color: #4f818c;
    background: #cbe3e8;
    text-align: center;
    border-radius: 2px;
    font-size: 12px;
    border: 1px solid #cbe3e8;
    vertical-align: middle;
}
.pic_lt li .new_icon {
    display: inline-block;
    width: 18px;
    line-height: 18px;
    font-size: 12px;
    color: #000000;
    background: #e9e6db;
    text-align: center;
    border-radius: 50px;
    font-weight: bold;
    vertical-align: middle;
    height: 18px;
}
.pic_lt li .hot_icon {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 0.833em;
    color: #ff0000;
    background: #ffb9b9;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle;
}
.pic_lt li .fa-caret-right {
    color: #bbb;
}
.pic_lt li .fa-download {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 0.833em;
    color: #daae37;
    background: #ffefb9;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle;
}
.pic_lt li .fa-link {
    display: inline-block;
    width: 16px;
    line-height: 16px;
    font-size: 0.833em;
    color: #b451fd;
    background: #edd3fd;
    text-align: center;
    border-radius: 2px;
    vertical-align: middle;
}
.pic_lt .profile_img img {
    border-radius: 50%;
}
.lt_info .lt_date {
    color: #888;
}
.pic_lt .empty_li {
    line-height: 145px;
    color: #666;
    text-align: center;
    padding: 0;
}
.pic_lt .empty_li:before {
    background: none;
    padding: 0;
}
.pic_lt .lt_cmt {
    background: #e9eff5;
    color: #3a8afd;
    font-size: 11px;
    height: 16px;
    line-height: 16px;
    padding: 0 5px;
    border-radius: 3px;
    vertical-align: middle;
}
.pic_lt .lt_more {
    position: relative;
    display: block;
    width: 100px;
    line-height: 38px;
    color: #1a1a1a;
    text-align: center;
    background: transparent;
    font-size: 16px;
    border: 1px solid #1a1a1a;
    border-radius: 20px;
    box-sizing: border-box;
    height: 38px;
    margin: 20px auto;
}
.pic_lt .lt_more:hover {
    color: #fff;
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
}

/* PC 호버 오버레이 효과 추가 */
@media screen and (min-width: 1025px) {
    .pic_lt li .lt_img::after {
        content: "자세히 보기";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: bold;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .pic_lt li .lt_img:hover::after {
        opacity: 1;
    }
}

@media screen and (max-width: 1024px) {
    .pic_lt ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .pic_lt ul {
        grid-template-columns: repeat(1, 1fr);
    }
}
