
@charset "utf-8";

/*
 * 참24 이용후기 최신글
 * slide_thumb2
 * 다른 CSS와 충돌하지 않도록 ch24rv 전용 클래스 사용
 */

.ch24rv,
.ch24rv * {
    box-sizing: border-box;
}

.ch24rv {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 44px 0 0;
    color: #171717;
    text-align: left;
}


/* 상단 안내 */

.ch24rv .ch24rv-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 0 0 18px;
}

.ch24rv .ch24rv-toolbar-text {
    font-size: 14px;
    line-height: 1.6;
    color: #777;
    margin: 0;
}


/* 슬라이드 버튼 */

.ch24rv .ch24rv-arrows {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.ch24rv .ch24rv-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 39px;
    height: 39px;
    padding: 0;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.ch24rv .ch24rv-arrow:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #aaa;
}

.ch24rv .ch24rv-arrow:disabled {
    opacity: .25;
    cursor: default;
}

.ch24rv .ch24rv-arrow svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* 슬라이드 전체 */

.ch24rv .ch24rv-track {
    display: flex;
    gap: 22px;
    width: 100%;
    padding: 0 0 5px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding: 0;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.ch24rv .ch24rv-track::-webkit-scrollbar {
    display: none;
}


/* 후기 카드 */

.ch24rv .ch24rv-card {
    flex: 0 0 calc((100% - 66px) / 4);
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none !important;
    color: #222 !important;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 12px;
    scroll-snap-align: start;
    box-shadow: 0 2px 8px rgba(0,0,0,.025);
    transition:
        transform .25s,
        border-color .25s,
        box-shadow .25s;
}

.ch24rv .ch24rv-card:hover {
    transform: translateY(-3px);
    border-color: #ddd;
    box-shadow: 0 8px 24px rgba(0,0,0,.07);
    color: #222 !important;
}


/* 사진 */

.ch24rv .ch24rv-photo {
    width: 100%;
    aspect-ratio: 1.42 / 1;
    overflow: hidden;
    position: relative;
    background: #f1f1f1;
}

.ch24rv .ch24rv-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.ch24rv .ch24rv-card:hover .ch24rv-photo img {
    transform: scale(1.035);
}


/* 이미지 없는 후기 */

.ch24rv .ch24rv-no-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f4f5f5;
    gap: 5px;
}

.ch24rv .ch24rv-quote-mark {
    font-family: Georgia, serif;
    color: #ef5000;
    font-size: 65px;
    line-height: .72;
    font-weight: 600;
}

.ch24rv .ch24rv-no-photo-text {
    font-size: 14px;
    letter-spacing: .02em;
    font-weight: 600;
    color: #6d7074;
}


/* 카드 내용 */

.ch24rv .ch24rv-content {
    padding: 21px 20px 20px;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}


/* 카테고리 및 날짜 */

.ch24rv .ch24rv-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    min-height: 17px;
}

.ch24rv .ch24rv-category {
    font-size: 12px;
    line-height: 1.3;
    color: #ef5000;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ch24rv .ch24rv-topline time {
    font-size: 12px;
    line-height: 1.3;
    color: #999;
    white-space: nowrap;
}


/* 후기 제목 */

.ch24rv .ch24rv-title {
    color: #1b1b1b !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;

    margin: 0 0 11px !important;
    padding: 0 !important;

    text-align: left !important;
    min-height: 51px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    word-break: keep-all;
}


/* 후기 본문 */

.ch24rv .ch24rv-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: #666;

    /* 본문과 작성자 사이 여백 */
    margin: 0 0 26px;

    min-height: 72px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
    word-break: break-word;
}


/* 카드 하단 작성자 / 후기보기 */

.ch24rv .ch24rv-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    border-top: 1px solid #f0f0f0;

    margin-top: auto;
    padding-top: 18px;

    min-height: 40px;
    font-size: 12px;
}

.ch24rv .ch24rv-author {
    color: #777;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ch24rv .ch24rv-read {
    font-size: 12px;
    color: #555;
    white-space: nowrap;
}

.ch24rv .ch24rv-read span {
    color: #ef5000;
    margin-left: 4px;
}


/* 후기가 없을 때 */

.ch24rv .ch24rv-empty {
    background: #f9f9f9;
    padding: 55px 16px;
    text-align: center;
    font-size: 15px;
    color: #888;
    margin: 0;
}


/* 태블릿 */

@media (max-width: 1100px) {

    .ch24rv .ch24rv-card {
        flex-basis: calc((100% - 22px) / 2);
    }

}


/* 모바일 */

@media (max-width: 600px) {

    .ch24rv {
        margin-top: 28px;
    }

    .ch24rv .ch24rv-toolbar {
        margin-bottom: 14px;
    }

    .ch24rv .ch24rv-toolbar-text {
        font-size: 12px;
    }

    .ch24rv .ch24rv-track {
        gap: 14px;
    }

    .ch24rv .ch24rv-card {
        flex-basis: 100%;
    }

    .ch24rv .ch24rv-content {
        padding: 20px;
    }

    .ch24rv .ch24rv-title {
        font-size: 17px !important;
    }

    .ch24rv .ch24rv-arrow {
        width: 36px;
        height: 36px;
    }

}


/* 모션 감소 환경 */

@media (prefers-reduced-motion: reduce) {

    .ch24rv .ch24rv-track {
        scroll-behavior: auto;
    }

    .ch24rv .ch24rv-card,
    .ch24rv .ch24rv-photo img {
        transition: none;
    }

}
