@charset "utf-8";

/* 목록 본문 전용 */
.wiz_gall {
    --gallery-text: #111;
    --gallery-muted: #232323;
    padding: 0 0 50px;
}

.wiz_gall *,
.wiz_gall *::before,
.wiz_gall *::after {box-sizing: border-box}

.wiz_gall a {text-decoration: none}

.wiz_gall .gallery_check_all {
    margin: 0 0 18px;
    color: #555;
    font-size: 13px;
}
.wiz_gall .gallery_check_all input {
    margin: 0 6px 0 0;
    vertical-align: -2px;
}

.wiz_gall .gallery_grid {
    display: grid;
    grid-template-columns: repeat(var(--gallery-cols, 3), minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 48px;
}

.wiz_gall .gallery_item {
    position: relative;
    min-width: 0;
    background: transparent;
}

.wiz_gall .gallery_image {
    display: block;
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
    background: #edf1f5;
    aspect-ratio: 1.12 / 1;
}
.wiz_gall .gallery_image img,
.wiz_gall .gallery_image video {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform .35s ease;
}
.wiz_gall .gallery_item:hover .gallery_image img {transform: scale(1.025)}

.wiz_gall .gallery_placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    color: #8a929c;
    font-size: 13px;
}
.wiz_gall .gallery_placeholder i {font-size: 30px}
.wiz_gall .gallery_placeholder.notice {
    background: #e8edf3;
    color: #243b57;
}
.wiz_gall .gallery_placeholder.notice strong {font-size: 16px}

.wiz_gall .gallery_content {padding: 28px 0 0}

.wiz_gall .gallery_category {
    display: block;
    overflow: hidden;
    margin-bottom: 20px;
    color: var(--gallery-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: .01em;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wiz_gall .gallery_subject {
    display: -webkit-box;
    overflow: hidden;
    color: var(--gallery-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.04em;
    word-break: keep-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.wiz_gall .gallery_subject:hover {color: #315b88}

.wiz_gall .gallery_new {
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-left: 5px;
    border-radius: 2px;
    background: #315b88;
    color: #fff;
    font-size: 10px;
    line-height: 17px;
    text-align: center;
    vertical-align: 3px;
}
.wiz_gall .gallery_comment {
    margin-left: 5px;
    color: #315b88;
    font-size: 13px;
    letter-spacing: 0;
}

.wiz_gall .gallery_check {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}
.wiz_gall .gallery_check input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.wiz_gall .gallery_check label {
    display: block;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 4px;
    background: rgba(255,255,255,.95);
    cursor: pointer;
}
.wiz_gall .gallery_check input:checked + label {
    border-color: #243b57;
    background: #243b57;
}
.wiz_gall .gallery_check input:checked + label::after {
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
    content: "✓";
}

.wiz_gall .gallery_empty {
    grid-column: 1 / -1;
    padding: 90px 20px;
    color: #777;
    text-align: center;
}

@media (max-width: 991px) {
    .wiz_gall .gallery_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 22px;
        row-gap: 38px;
    }
    .wiz_gall .gallery_content {padding-top: 20px}
    .wiz_gall .gallery_category {margin-bottom: 13px}
    .wiz_gall .gallery_subject {font-size: 21px}
}

@media (max-width: 575px) {
    .wiz_gall {padding-bottom: 35px}
    .wiz_gall .gallery_grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 34px;
    }
    .wiz_gall .gallery_image {aspect-ratio: 1.2 / 1}
    .wiz_gall .gallery_subject {font-size: 20px}
}
