.reviews-view-wrap {
    
}

.reviews-view-wrap .inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* 좌측 이미지 */
.reviews-view-wrap .thumb {
    width: 60%;
    position: relative;
}

.reviews-view-wrap .thumb .swiper-container {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    height: 500px;
}

.reviews-view-wrap .thumb .swiper-slide {
    height: 100%;
}

.reviews-view-wrap .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 좌우 버튼 */
.reviews-view-wrap .thumb .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 10;
    cursor: pointer;
}

.reviews-view-wrap .thumb .nav.prev {
    left: 16px;
}

.reviews-view-wrap .thumb .nav.next {
    right: 16px;
}

/* 화살표 */
.reviews-view-wrap .thumb .nav::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}

.reviews-view-wrap .thumb .nav.prev::after {
    transform: translate(-50%, -50%) rotate(-135deg);
}


/* 하단 카운트 */
.reviews-view-wrap .thumb .count {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 6px 12px;
    font-size: 0.8rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    z-index: 10;
}


/* pagination (필요하면 유지) */
.reviews-view-wrap .thumb .swiper-pagination {
    bottom: 16px !important;
}

.reviews-view-wrap .thumb .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.reviews-view-wrap .thumb .swiper-pagination-bullet-active {
    background: #fff;
}

.reviews-view-wrap .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* pagination */
.reviews-view-wrap .swiper-pagination {
    bottom: 16px !important;
}

.reviews-view-wrap .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.reviews-view-wrap .swiper-pagination-bullet-active {
    background: #fff;
}


/* 우측 */
.reviews-view-wrap .info {
    height: 500px;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reviews-view-wrap .info .dflx {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* 상단 */
.reviews-view-wrap .bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.reviews-view-wrap .tag {
    display: inline-block;
    padding: 6px 10px;
    font-size: 0.8rem;
    background: #eef3ff;
    color: #3b5cff;
    border-radius: 6px;
}

.reviews-view-wrap .title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
}

/* 프로필 영역 */
.reviews-view-wrap .top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.reviews-view-wrap .profile {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1f1f1;
    overflow: hidden;
    flex-shrink: 0;
}

.reviews-view-wrap .profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 메타 */
.reviews-view-wrap .meta {
    flex: 1;
}

.reviews-view-wrap .rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.reviews-view-wrap .rating .star {
    color: #ffb400;
    font-size: 1rem;
}

.reviews-view-wrap .rating strong {
    font-size: 1rem;
    color: #111;
}

.reviews-view-wrap .sub {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 0.85rem;
    color: #777;
}

.reviews-view-wrap .sub span {
    position: relative;
    padding-left: 10px;
}

.reviews-view-wrap .sub span:first-child {
    padding-left: 0;
    margin-left: 0;
}

.reviews-view-wrap .sub span:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: #ddd;
}

/* 본문 */
.reviews-view-wrap .desc-wrap {
    margin-top: 20px;
}

.reviews-view-wrap .desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
}

/* CTA */
.reviews-view-wrap .cta {
    
}

.reviews-view-wrap .cta a {
    display: block;
    width: 100%;
    height: 56px;
    line-height: 56px;
    text-align: center;
    border-radius: 12px;
    background: #1e63e9;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.2s;
}

.reviews-view-wrap .cta a:hover {
    background: #174ec0;
}


/* 반응형 */
@media (max-width: 1024px) {
    .reviews-view-wrap .inner {
        flex-direction: column;
    }

    .reviews-view-wrap .thumb,
    .reviews-view-wrap .info {
        width: 100%;
    }
}

/* =========================
   모바일 (768px 이하) — 하단 override
========================= */
@media (max-width: 768px) {
    .reviews-view-wrap .inner {
        gap: 24px;
    }

    .reviews-view-wrap .thumb .swiper-container {
        height: auto;
        min-height: 220px;
        max-height: 420px;
        border-radius: 16px;
    }

    .reviews-view-wrap .thumb .nav {
        width: 38px;
        height: 38px;
    }

    .reviews-view-wrap .thumb .nav.prev {
        left: 10px;
    }

    .reviews-view-wrap .thumb .nav.next {
        right: 10px;
    }

    .reviews-view-wrap .info {
        height: auto;
        min-height: 0;
        width: 100%;
    }

    .reviews-view-wrap .info .dflx {
        height: auto;
        gap: 16px;
    }

    .reviews-view-wrap .bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
    }

    .reviews-view-wrap .title {
        font-size: 1.25rem;
        line-height: 1.35;
        word-break: break-word;
    }

    .reviews-view-wrap .top {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 12px;
    }

    .reviews-view-wrap .profile {
        width: 44px;
        height: 44px;
    }

    .reviews-view-wrap .meta {
        flex: 1 1 100%;
        min-width: 0;
    }

    .reviews-view-wrap .rating {
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        margin-bottom: 8px;
    }

    .reviews-view-wrap .rating .star {
        font-size: 0.95rem;
    }

    .reviews-view-wrap .rating strong {
        font-size: 0.95rem;
    }

    .reviews-view-wrap .sub {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 10px;
        row-gap: 8px;
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .reviews-view-wrap .sub span {
        padding-left: 8px;
    }

    .reviews-view-wrap .sub span:not(:first-child)::before {
        height: 10px;
    }

    .reviews-view-wrap .desc-wrap {
        margin-top: 12px;
    }

    .reviews-view-wrap .desc {
        font-size: 0.9375rem;
        line-height: 1.75;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .reviews-view-wrap .cta {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .reviews-view-wrap .cta a {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        height: auto;
        min-height: 52px;
        line-height: 1.3;
        padding: 14px 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* =========================
   후기 상세: 최근 차량 (usedcar list.php 카드 — .usedcar-list-area 로 감싼 뒤 style.css 적용)
========================= */
.recent-car-sec {
    margin-top: 40px;
    padding: 48px 0 56px;
}

.recent-car-sec .recent-usedcar-swiper {
    overflow: hidden;
    padding-bottom: 4px;
 }

.recent-car-sec .inner-128 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.recent-car-sec .sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.recent-car-sec .sec-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #111;
}

.recent-car-sec .sec-head .nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.recent-car-sec .swiper-prev,
.recent-car-sec .swiper-next {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.recent-car-sec .swiper-prev::after,
.recent-car-sec .swiper-next::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #555;
    border-right: 2px solid #555;
}

.recent-car-sec .swiper-next::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.recent-car-sec .swiper-prev::after {
    transform: translate(-50%, -50%) rotate(-135deg);
}

.recent-car-sec .swiper-button-disabled {
    opacity: 0.8;
    cursor: default;
    pointer-events: none;
}

.recent-car-sec .recent-car-slide-wrap {
    margin: 0;
    height: 100%;
}

.recent-car-sec .review-wrap .review-item a {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-car-sec .review-wrap .review-item:first-child {
    padding-top: 0;
    border-top: none;
}

.recent-car-sec .btn-wrap {
    margin-top: 28px;
    text-align: center;
}

.recent-car-sec .btn-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #111;
    border-radius: 8px;
    text-decoration: none;
}



@media (max-width: 768px) {
    .recent-car-sec {
        padding: 32px 0 40px;
    }

    .recent-car-sec .sec-title {
        font-size: 1.25rem;
    }
}
