@charset "utf-8";

/* ============================================
   Barit Theme - Review List Style Board Skin
   Horizontal list layout (dew-drive style)
   Color: #ef5350 (blue), #212020 (dark)
   Font: Pretendard / Malgun Gothic
   ============================================ */

.bo_review_list {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    font-family: 'Pretendard', 'Malgun Gothic', sans-serif;
}

/* --- Header --- */
.rv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 2px solid #212020;
}
.rv-title {
    font-size: 1.6em;
    font-weight: 700;
    color: #212020;
    margin: 0;
}
.rv-count {
    margin: 4px 0 0;
    font-size: 0.85em;
    color: #888;
}
.rv-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rv-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #d0d4df;
    border-radius: 6px;
    background: #fff;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
}
.rv-btn-icon:hover {
    background: #f0f4ff;
    border-color: #ef5350;
    color: #ef5350;
}
.rv-btn-write {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    background: #ef5350;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.rv-btn-write:hover {
    background: #2070e0;
    color: #fff;
    text-decoration: none;
}

/* --- List --- */
.rv-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.rv-empty {
    text-align: center;
    padding: 80px 20px;
    color: #bbb;
}
.rv-empty i {
    font-size: 3em;
    display: block;
    margin-bottom: 12px;
}

/* --- Item (horizontal) --- */
.rv-item {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.rv-item:first-child {
    border-top: 1px solid #f0f0f0;
}
.rv-item:hover {
    background: #f7f9ff;
}
.rv-notice {
    background: #fffdf0;
}
.rv-notice:hover {
    background: #fff8d6;
}
.rv-link {
    display: flex;
    align-items: flex-start;
    padding: 18px 0;
    text-decoration: none;
    color: inherit;
    gap: 20px;
}
.rv-link:hover {
    text-decoration: none;
    color: inherit;
}

/* --- Thumbnail --- */
.rv-thumb {
    flex-shrink: 0;
    width: 160px;
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}
.rv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.rv-item:hover .rv-thumb img {
    transform: scale(1.05);
}

/* --- Content --- */
.rv-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.rv-content-full {
    padding-left: 0;
}
.rv-content-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.rv-badge-notice {
    display: inline-block;
    padding: 2px 8px;
    background: #ef5350;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
}
.rv-badge-new {
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    background: #ff3061;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
}
.rv-subject {
    font-size: 1.05em;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rv-cate {
    color: #ef5350;
    font-weight: 500;
    margin-right: 4px;
}
.rv-cmt-cnt {
    color: #ef5350;
    font-style: normal;
    font-size: 0.85em;
    font-weight: 700;
}
.rv-preview {
    font-size: 0.88em;
    color: #888;
    line-height: 1.5;
    margin: 4px 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rv-meta {
    display: flex;
    gap: 14px;
    font-size: 0.78em;
    color: #aaa;
}
.rv-meta i {
    margin-right: 3px;
}
.rv-writer {
    color: #666;
    font-weight: 500;
}
.rv-good {
    color: #ff3061;
}

/* --- Checkbox --- */
.rv-chk {
    position: absolute;
    top: 20px;
    left: -28px;
}

/* --- Pagination --- */
.rv-pagination {
    margin: 28px 0;
    text-align: center;
}
.rv-pagination .pg_wrap {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.rv-pagination .pg_page,
.rv-pagination .pg_current,
.rv-pagination .pg_start,
.rv-pagination .pg_end,
.rv-pagination .pg_prev,
.rv-pagination .pg_next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    border: 1px solid #e0e2e5;
    border-radius: 4px;
    font-size: 13px;
    color: #555;
    background: #fff;
    text-decoration: none;
}
.rv-pagination .pg_page:hover,
.rv-pagination .pg_start:hover,
.rv-pagination .pg_end:hover,
.rv-pagination .pg_prev:hover,
.rv-pagination .pg_next:hover {
    background: #f0f4ff;
    border-color: #ef5350;
    color: #ef5350;
}
.rv-pagination .pg_current {
    background: #ef5350;
    color: #fff;
    border-color: #ef5350;
    font-weight: 700;
}

/* --- Footer --- */
.rv-footer {
    text-align: right;
    padding: 12px 0;
}

/* --- Category --- */
#bo_cate {
    margin: 0 0 16px;
}
#bo_cate ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
#bo_cate a {
    display: block;
    padding: 5px 14px;
    border: 1px solid #d6e9ff;
    border-radius: 20px;
    color: #6794d3;
    font-size: 0.88em;
    text-decoration: none;
}
#bo_cate a:hover,
#bo_cate #bo_cate_on {
    background: #ef5350;
    color: #fff;
    border-color: #ef5350;
}

/* --- Search --- */
.bo_sch_wrap {display:none;position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999}
.bo_sch {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:10px;box-shadow:0 6px 30px rgba(0,0,0,0.2);width:380px;max-width:90%;overflow:hidden}
.bo_sch h3 {padding:14px 20px;margin:0;border-bottom:1px solid #eee;font-size:1.05em}
.bo_sch form {padding:20px}
.bo_sch select {width:100%;height:40px;border:1px solid #d0d4df;border-radius:4px;padding:0 10px;margin-bottom:10px}
.bo_sch .sch_bar {display:flex;border:1px solid #d0d4df;border-radius:4px;overflow:hidden}
.bo_sch .sch_input {flex:1;height:40px;border:0;padding:0 12px;outline:none}
.bo_sch .sch_btn {width:40px;height:40px;border:0;background:#ef5350;color:#fff;cursor:pointer}
.bo_sch .bo_sch_cls {position:absolute;top:6px;right:6px;border:0;background:none;font-size:18px;color:#999;cursor:pointer;padding:8px}
.bo_sch_bg {background:rgba(0,0,0,0.3);width:100%;height:100%}

/* --- Sound Only --- */
.sound_only {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* --- Responsive --- */
@media (max-width: 768px) {
    .rv-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .rv-thumb {
        width: 120px;
        height: 80px;
    }
    .rv-link {
        gap: 14px;
        padding: 14px 0;
    }
    .rv-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
}
@media (max-width: 480px) {
    .rv-link {
        flex-direction: column;
    }
    .rv-thumb {
        width: 100%;
        height: 180px;
    }
    .rv-pagination .pg_wrap {
        flex-wrap: wrap;
        justify-content: center;
    }
}
