@charset "utf-8";

.list-row {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.6s ease;
}

.list-row.show {
    opacity: 1;
    transform: translateY(0);
}
/* 1칸 2칸 설정 */
.list-row.item-25 {
    width: 25% !important;
}

.list-row.item-50 {
    width: 50% !important;
}

.gallery.list-container .list-item {   margin-right: 0.52vw;
  margin-bottom: 0.52vw; }
.gallery.list-container .list-row.item-50 .img-wrap { padding-bottom: 68.26%;}
.gallery.list-container .list-row.item-25 .img-wrap{ padding-bottom: 138.41%;}
@media screen and (min-width: 2400px) and (max-width: 3840px) {
  .gallery.list-container .list-row.item-50 .img-wrap {
    padding-bottom: 68.26%;
  }

  .gallery.list-container .list-row.item-25 .img-wrap {
    padding-bottom: 138%;
  }
}
 
.gallery.list-container .img-item.custom img { object-fit: cover; height: 100%; width: 100%;transition: transform 0.4s ease; }
/* 호버 시 확대 */
/*.gallery.list-container .img-item.custom:hover img { transform: scale(1.1); }*/

/* List */
.list-item .tack-check { right: 10px; bottom: 10px; z-index: 1; position: absolute;	font-weight:normal; }
.list-item .tack-check-left { left: 10px; bottom: 10px; z-index: 1; position: absolute;	font-weight:normal; }
.list-item h2 { display:block; font-size:16px; line-height:22px; margin:10px 5px; text-align:center; }
.list-item .list-img { position:relative; overflow:hidden; }
.list-item .list-img img { width:100%; height:auto; }
.list-item .list-date { position:absolute; bottom:10px; padding:0px 10px; font-size:12px; line-height:23px; }
.list-item .list-date.left { left:0px; }
.list-item .list-date.right { right:0px; }
.list-item .list-details { padding:0 3%; }
.list-item .list-details .member, .list-item .list-details .guest { color:#787878 !important; }
.list-row.clearfix { float:none !important; padding:0 !important; margin:0 !important; width:100% !important }

/* Responsive */
@media all and (max-width:767px) {
	.responsive .list-row { width:50% !important }
}
@media all and (max-width:420px) {
	.responsive .list-row { width:100% !important }
}

/* Infinite */
.list-wrap #infscr-loading { background: rgb(0, 0, 0); margin:0px; padding: 10px; border-radius: 10px; left: 50%; width: 200px; margin-left:-110px; text-align: center; bottom: 50px; color: rgb(255, 255, 255); position: fixed; z-index: 100; opacity: 0.8; -webkit-border-radius: 10px; -moz-border-radius: 10px; }
.list-wrap .list-more { text-align:center; margin-bottom:20px; }
.list-wrap .list-more a { color:#ddd; font-size:60px; }
.list-wrap .list-top { line-height:1px; }

.img-item video {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.img-item.custom a {
    position: relative;
}

.img-item.custom .hover_text {
    position: absolute;
    bottom: 0;
	left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.img-item.custom a .hover_text .gallery_des {
    font-size: 15px;
    font-weight: bold;
}

.img-item.custom a .hover_text .gallery_title {
    font-size: 15px;
    font-weight: 500;
}

.img-item.custom:hover a .hover_text {
    opacity: 1;
}

@media (max-width:991px) {
    .gallery.list-container .list-item { margin-right: 8px !important; margin-bottom: 8px !important; }
    .gallery.list-container .img-wrap {padding-bottom: 0;}

    /* 1칸 2칸 설정 */
    .list-row.item-25 {
        width: 50% !important;
    }

    .list-row.item-50 {
        width: 100% !important;
    }

    .img-item.custom a .hover_text {
        padding: 10px;
        width: 100%;

    }

    .img-item.custom a .hover_text .gallery_des {
        font-size: 13px;
    }

    .img-item.custom a .hover_text .gallery_title {
        font-size: 13px;
    }

    .list_cont { margin-bottom: 50px; margin-top: 35px;}
    .list_cont .sub_li a { font-size: 15px; color : #000000; line-height: 26px; font-weight: 500; }
    .list_cont .sub_li.on a {font-weight: bold; }
    .list_cont .sub_li.on a::after { content: "_";}
}
