@charset "utf-8";

/* 네비 버튼 */
.basic-banner .owl-nav {
    position: absolute;
    right: 0;
    top: -3.75rem;
    z-index: 1;
    display: flex; /* Ensure the buttons are laid out side-by-side */
}

.basic-banner .owl-nav button {
    width: 26px;
    height: 26px;
    background: #51515c;
    z-index: 1;
    transition: all 0.1s ease-in-out;
    display: flex; /* Ensure the button content is centered */
    justify-content: center;
    align-items: center;
}

.basic-banner .owl-nav button.owl-prev,
.basic-banner .owl-nav button.owl-next {
    width: 26px;
    height: 26px;
    background: #51515c;
    z-index: 1;
    transition: all 0.1s ease-in-out;
}

/* For the next button */
.basic-banner .owl-nav button.owl-next {
    margin-left: 1px; /* Separate the two buttons */
}

/* Optional hover effect for both buttons */
.basic-banner .owl-nav button:hover {
    background: #616161; /* Slightly lighter on hover */
}

    /* 캡션 및 랭킹 배지 스타일 */
.custom-img-caption {
    position: absolute;
    bottom: -30px; /* 초기 위치 */
    left: 0;
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: bottom 0.3s ease;
}

.img-wrap:hover .custom-img-caption {
    bottom: 0; /* 마우스 오버 시 캡션 표시 */
}

.custom-img-best-num {
    position: absolute;
    top: 5px;
    left: 5px;
    display: inline-block;
    width: 32px;
    height: 18px;
    line-height: 18px;
    font-size: 0.75rem;
    color: #fff;
    text-align: center;
    background: #4B4B4D;
    z-index: 2;
}

.custom-img-best-num.best-num-1 {
    background: #004c86;
}

.custom-img-best-num.best-num-2,
.custom-img-best-num.best-num-3 {
    background: #368bcd;
}

@media (max-width: 576px) {
    .comm004-gallery-latest li {
        width: 50%;
    }
}
