@charset "utf-8";

/* 인물DB 최신글 스킨 (latest) */
.pic_lt {
 position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
    background: #fff;
    padding: 0 10px;
}
.pic_lt .lat_title {
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: space-between; /* 제목과 더보기 링크를 양쪽으로 배치 */
    font-size: 1.2em;
    background-color: #e6e3e3; 
    margin-bottom: 10px; /* 제목과 콘텐츠 사이의 간격 설정 */
    border-radius:0px;
    padding: 0px 0px 0px 0px;
}

.lat_title img {
    margin-right: 5px; /* 이미지와 제목 사이에 간격 추가 */
    margin-left: 10px;
    width: 32px;   /* 원하는 너비 (픽셀 단위) */
    height: 32px;  /* 원하는 높이 (픽셀 단위) */
    }

.board-title {
    color: #000;
    text-decoration: none; /* 링크의 기본 밑줄 제거 */
    flex: 1; /* 제목이 가능한 최대 너비를 가지도록 설정 */
}

.lt_more {
    color: #253dbe;
    border-radius: 3px;
    text-align: center;
    display: inline-block;
    padding: 5px 15px; /* 적절한 패딩 추가 */
    font-size: 0.9rem; /* 폰트 크기 조정 */
    transition: color 0.3s, background-color 0.3s; /* 호버 효과에 부드러운 전환 추가 */
    text-decoration: none; /* 링크의 기본 밑줄 제거 */
}

.lt_more:hover {
    color: #777;
    background-color: #e0e0e0; /* 호버 시 배경 색상 변경 */
}

.pic_lt ul:after {display:block;visibility:hidden;clear:both;content:""}
.pic_lt ul {margin: 0 0px}
.pic_lt li {float:left;width:25%;padding:0 5px}
.pic_lt li.gallery_li:nth-child(4n+1) {clear: both!important}
.pic_lt li .lt_img {margin:5px 0;display:block}
.pic_lt li .lt_img img, .pic_lt li .lt_img video {width:100%;height:auto}
.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:16px;line-height:16px;font-size:0.833em;color:#23db79;background:#b9ffda;text-align:center;border-radius:2px;margin-left:2px;font-weight:bold;vertical-align:middle}
.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 {padding:10px 0}
.lt_info .lt_nick {}
.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}

/* 썸네일 이미지와 제목 래핑 */
.thumb-wrap {
    position: relative;
    display: block;
}

/* 썸네일 이미지 스타일 */
.thumb-wrap .lt_img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 제목 스타일 - 이미지 위에 표시 */
.thumb-title {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); /* 중앙 정렬을 위한 변환 */
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-family: TheJamsil, Noto Sans;
    letter-spacing: 0.1em; /* 자간 조정 */
    font-size: 1.2rem;
    text-align: center;
    z-index: 10;
    box-sizing: border-box; /* 패딩을 포함한 전체 너비 계산 */
    /* 하단 여백 설정 */
    bottom: 5px; /* 하단에 10px 여백 추가 */
    transform: translate(-50%, 0); /* 수직 중앙 정렬 해제 */
}

@media (max-width: 767px) {
.thumb-title {
   padding: 2px;
   bottom: 0px;
   font-size: .9rem;
}
.pic_lt .lat_title {
    font-size: 1.1em;
    margin-bottom: 5px; /* 제목과 콘텐츠 사이의 간격 설정 */
}
.lat_title img {
    margin-right: 5px; /* 이미지와 제목 사이에 간격 추가 */
    width: 24px;   /* 원하는 너비 (픽셀 단위) */
    height: 24px;  /* 원하는 높이 (픽셀 단위) */
    }
.pic_lt {
 padding: 10px 10px 0px 10px;
 margin-top: 0px;
 margin-bottom: 10px;
}
}