@charset "utf-8";

/* 클리앙 스타일 - 갤러리 스킨 */
.cl_gallery .cl_gallery_list {
    list-style: none;
    margin: 0;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
}

.cl_gallery .cl_gallery_list li {
    width: calc(33.333% - 8px);
    margin: 4px;
    border: 1px solid #eee;
    background: #fff;
    transition: border-color 0.15s ease;
}
.cl_gallery .cl_gallery_list li:hover {
    border-color: #ddd;
}

.cl_gall_thumb {
    display: block;
    overflow: hidden;
    height: 140px;
}
.cl_gall_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}
.cl_gall_thumb:hover img {
    transform: scale(1.03);
}

.cl_no_img {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #ccc;
    font-size: 28px;
}

.cl_gall_info {
    padding: 10px;
}

.cl_gall_title {
    display: block;
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}
.cl_gall_title:hover {
    color: #ee6723;
}

.cl_gall_meta {
    margin-top: 6px;
    font-size: 11px;
    color: #999;
}
.cl_gall_meta span {
    margin-right: 8px;
}

.cl_gallery .cl_empty {
    width: 100%;
    text-align: center;
    padding: 40px 0;
    color: #999;
}

/* 반응형 */
@media (max-width: 767px) {
    .cl_gallery .cl_gallery_list li {
        width: calc(50% - 8px);
    }
}

@media (max-width: 480px) {
    .cl_gallery .cl_gallery_list li {
        width: 100%;
    }
}
