@charset "utf-8";

/* 새글 스킨 (latest) */
#gw-main-gallery {position:relative;margin-bottom:20px;background:#fff}

#gw-main-gallery ul:after {display:block;visibility:hidden;clear:both;content:""}
#gw-main-gallery li {float:left;width:25%;padding:0 10px;border: 1px solid #eaeaea;border-radius: var(--gw-border-radius);padding:10px 15px;}
#gw-main-gallery li.galley_li:nth-child(4n+1) {clear: both!important}
#gw-main-gallery li .lt_img {margin:5px 0;display:block;}
#gw-main-gallery li .lt_img img{width:100%;border:2px solid transparent;aspect-ratio: 1 / 1;}


/*내용없을경우------------------------------------------------------------------------------------------------------------------ */
#gw-main-gallery .gw-empty-list{margin-bottom:3rem;padding: 1rem;border-radius: var(--gw-border-radius);display: flex;align-items: center;place-content: center;width: 100%;border: 1px solid #eaeaea;}
#gw-main-gallery .gw-empty-list > h3 {font-size: var(--main-title03);}

/* 박스 */
#gw-main-gallery .gallery_con{position:relative;}
#gw-main-gallery .gallery_con .content{position:relative; padding-top:10px; border-top: 1px solid #ddd;}
#gw-main-gallery .bo_title{font-size:var(--main-title04);font-weight:600;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;word-wrap: normal;}

#gw-main-gallery .gw-pic-container > ul > li > a {overflow: hidden;position:relative;display: block;width: 100%;}

@media (hover: hover) and (min-width:1025px) {
    #gw-main-gallery .gw-pic-container .gall_img a:hover img{transform: scale(1.05) rotate(0.01deg);border-color: var(--main-color);}
}