@charset "utf-8";
/**
 * author : hong
 * last modified date : 2025-07-01
 */

.gallery-list {
    width: 100%;
}

.gallery-list .board-list {
    width: 100%;
}

.gallery-list .board-list ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-flow: row wrap;
    margin-right: -30px;
}

/*
.gallery-list .board-list img {
    display: inline;
    margin: 0;
    vertical-align: middle;
    border-radius: 3px;
}
*/

.gallery-list .board-list ul li {
    box-sizing: content-box;
    list-style: none;
    width: calc(100%/3 - 30px);
    margin-right: 30px;
    position: relative;
    margin-top: 30px;
}

.gallery-list .board-list ul li:nth-child(1),
.gallery-list .board-list ul li:nth-child(2),
.gallery-list .board-list ul li:nth-child(3) {
    margin-top: 0
}

.gallery-list .board-list .thumb {
    position: relative;
    border: 1px solid #d9d9d9;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    aspect-ratio: 7/4;
    overflow: hidden;
}

.gallery-list .board-list .thumb img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
}

.gallery-list .board-list .thumb .uid {
    position: absolute;
    z-index: 999;
    background: #999;
    color: #fff;
    padding: 5px 10px;
    box-sizing: border-box;
    font-size: 0.8rem;
    top: 0;
    left: 0;
}

.gallery-list .board-list .category {
  padding-top: 20px;
  display: block;
  color: #777;
  font-weight: 400;
  font-size: 0.8rem;
}

.gallery-list .board-list .tit {
    width: 100%;
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}


.gallery-list .board-list .category + .tit{
    padding-top: 10px;
}


.gallery-list .board-list .date {
    font-size: 0.8rem;
    color: #555;
}

.gallery-list .board-list .no-img {
    height: 100%;
    line-height: 266px;
    text-align: center;
    background: #f6f6f6;
    font-size: 0;
}

.gallery-list .board-list ul li a {
    text-decoration: none;
    border: 0;
    box-shadow: none;
    display: block;
}

.gallery-list .board-list ul li a:hover {
    color: #1a80b6;
}

.gallery-list .kboard-control {
    width: 100%;
    text-align: center;
}


.gallery-latest {
    overflow: hidden;
}

.gallery-latest .list {
    position: relative;
    padding: 0 8px 16px !important;
    margin: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
}

.gallery-latest .list a {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1/1;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: #fff !important;
}

.gallery-latest .list a .over span {
    display: block;
}

.gallery-latest .list .thum-img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.gallery-latest .list .thum-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    transition: all 0.3s;
}

.gallery-latest .list a:hover .thum-img img {
    transform: scale(1.06) rotate(0.02deg);
}

.gallery-latest .inner {
    margin: 0 -8px !important;
    display: block !important;
}

.gallery-latest .inner > div:first-child {
    width: 50%;
    overflow: hidden;
    margin-bottom: 0;
}

.gallery-latest .inner > div {
    width: 25%;
    overflow: hidden;
    float: left;
}

.gallery-latest .list a .thum-box {
    padding-top: 100%;
}

.gallery-latest .over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    z-index: 1;
    opacity: 0;
    transition: all 0.4s;
    box-sizing: border-box;
    flex-direction: column;
}

.gallery-latest .over:after {
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/img/icon/icon_right.png');
    margin-top: 5px;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    vertical-align: sub;
    content: '';
    display: inline-block;
}

.gallery-latest .over:hover {
    opacity: 1;
}

/*
.gallery-latest .over:hover:after {
    margin-left: 0;
}
*/

@media (max-width: 768px) {
    .gallery-list .board-list ul {
        flex-flow: column;
        margin-right: 0;
    }

    .gallery-list .board-list ul li {
        width: 100%;
        margin-right: 0;
    }

    .gallery-list .board-list ul li:nth-child(2),
    .gallery-list .board-list ul li:nth-child(3) {
        margin-top: 40px;
    }

    .gallery-list .board-list ul li + li {
        margin-top: 40px;
    }

    .gallery-list .board-list .thumb {
        height: auto;
        overflow: hidden;
    }

    .gallery-latest .inner > div {
        width: 50%;
        padding-bottom: 0 !important;
    }

    .gallery-latest .inner > div:first-child {
        width: 100%;
    }

    .gallery-latest .inner > div + div {
        margin-top: 16px !important;
    }

    .gallery-latest .over {
        padding: 30px;
    }
}

@media screen and (max-width: 479px) {

    .gallery-latest .inner {
        margin: 0 !important;
    }

    .gallery-latest .inner > div {
        width: 100%;
        padding: 0 !important;
    }
}
