@charset "utf-8";

/* 새글 스킨 (latest) */
.pic_lt {position:relative;margin-bottom:20px;background:#fff}
.pic_lt .lat_title {display:block;line-height:45px;font-size:1.2em;color:#253dbe}
.pic_lt .lat_title a {color:#000;display:inline-block;position:relative}

.pic_lt .lt_more {position:absolute;top:11px;right:10px;display:block;width:25px;line-height:25px;color:#aaa;border-radius:3px;text-align:center;}
.pic_lt .lt_more:hover {color:#777}
.pic_lt ul:after {display:block;visibility:hidden;clear:both;content:""}
.pic_lt ul {margin: 0 -10px}
.pic_lt li {float:left;width:25%;padding:0 10px}
.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}
.pic_lt .lt_more {position:absolute;top:11px;right:0;display:block;width:40px;line-height:25px;color:#3a8afd;border-radius:3px;text-align:center}
.pic_lt .lt_more:hover {color:#777}


/*추가*/
.references { position: relative; width: 100%; padding: var(--sec-pd) 0; box-sizing: border-box; overflow: hidden; }
.references .references-inner { position: relative; }
.references .references-hover-left,
.references .references-hover-right { position: absolute; top: 0; bottom: 0; width: 5%; z-index: 9999; cursor: default; }
.references .references-hover-left { left: 0; }
.references .references-hover-right { right: 0; }
.references .references-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.references .title-wrap { margin: 0; }
.references .main-title { margin: 0; }
.references .view-more { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; border: 1px solid #ddd; border-radius: 40px; text-decoration: none; transition: all 0.3s; background: #fff; cursor: pointer; }
.references .view-more:hover { border-color: var(--primary); }
.references .references-swiper-wrap { position: relative; width: 100%; overflow: hidden; }
.references .references-track { display: flex; gap: 30px; }
.references .references-card { flex: 0 0 auto; width: calc((100% - 60px) / 3); cursor: pointer; display: block; text-decoration: none; }
.references .references-thumb { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 20px; background: #f5f5f5; }
.references .references-thumb img { display: block; width: 100%; height: 100%; transition: transform 0.6s ease, filter 0.6s ease; filter: grayscale(20%); object-fit: cover; }
.references .references-card:hover .references-thumb img { transform: scale(1.05); filter: grayscale(0%); }
.references .no_img { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #ccc; }
.references .references-info { display: flex; flex-direction: column; }
.references .references-date { display: block; margin-bottom: 10px; color: var(--primary); font-weight: bold; }
.references .references-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.references .references-text { display: inline-flex; align-items: baseline; gap: 8px; font-weight: bold; }
.references .references-text em { color: #999; font-size: 14px; margin-left: 5px; font-weight: normal; }
.references .references-title i { flex-shrink: 0; transition: transform 0.3s ease; font-weight: bold; }
.references .references-card:hover .references-title i { transform: rotate(45deg); color: var(--primary); }
.references .empty-slide { padding: 40px; text-align: center; }
.references-cursor { position: fixed; top: 0; left: 0; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); opacity: 0.5; pointer-events: none; transform: translate(-50%, -50%) scale(0); transition: transform 0.2s ease, opacity 0.2s ease; z-index: 99999; }
.references-cursor.active { transform: translate(-50%, -50%) scale(1); }

/* 스크롤 진입 시 좌상단 → 우하단 대각선 리빌 */
.ref-reveal { clip-path: polygon(0 0, 0 0, 0 0, 0 0); opacity: 0; transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease; }
.ref-reveal.on { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); opacity: 1; }

@media (max-width: 1024px) {
    .references .references-card { width: calc((100% - 40px) / 2.2); }
}
@media (max-width: 768px) {
    .references .references-card { width: 100%; }
    .references .references-track { gap: 20px; }
    .references .references-swiper-wrap { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .references .references-swiper-wrap::-webkit-scrollbar { display: none; }
    .references .references-card { scroll-snap-align: start; }
    .references .references-hover-left,
    .references .references-hover-right { display: none; }
    .references-cursor { display: none; }
}