@charset "utf-8";

/* ============================================================
   NSCARE 고객후기 게시판
   PC 전용 스킨
============================================================ */

/* ============================================================
   전체 영역
============================================================ */

#bo_list.nscare-review-list {
    width: 100% !important;
    max-width: 1280px;
    margin: 0 auto;
    padding: 46px 24px 80px;
    box-sizing: border-box;
    color: #202722;
    background: #ffffff;
}

#bo_list.nscare-review-list *,
#bo_list.nscare-review-list *::before,
#bo_list.nscare-review-list *::after {
    box-sizing: border-box;
}


/* ============================================================
   상단 소개
============================================================ */

#bo_list .nscare-review-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e7ece9;
}

#bo_list .nscare-review-head-copy {
    min-width: 0;
}

#bo_list .nscare-review-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #159a59;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: .08em;
}

#bo_list .nscare-review-title {
    margin: 0;
    color: #18201b;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -.045em;
}

#bo_list .nscare-review-desc {
    margin: 10px 0 0;
    color: #77817b;
    font-size: 14px;
    line-height: 1.75;
    word-break: keep-all;
}


/* ============================================================
   메인 후기 작성 버튼
============================================================ */

#bo_list .nscare-review-write-main {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #159a59;
    border-radius: 11px;
    background: #159a59;
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none !important;
    transition:
        background-color .15s ease,
        border-color .15s ease;
}

#bo_list .nscare-review-write-main i {
    margin-right: 7px;
}

#bo_list .nscare-review-write-main:hover {
    border-color: #10864d;
    background: #10864d;
    color: #ffffff;
}


/* ============================================================
   카테고리
============================================================ */

#bo_list .nscare-review-category {
    margin-bottom: 24px;
}

#bo_list .nscare-review-category #bo_cate_ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#bo_list .nscare-review-category #bo_cate_ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#bo_list .nscare-review-category #bo_cate_ul a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid #e1e7e3;
    border-radius: 999px;
    background: #ffffff;
    color: #606a64;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

#bo_list .nscare-review-category #bo_cate_ul a:hover,
#bo_list .nscare-review-category #bo_cate_on {
    border-color: #159a59;
    background: #eef9f3;
    color: #087b43;
}


/* ============================================================
   목록 상단 툴바
============================================================ */

#bo_list .nscare-review-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

#bo_list .nscare-review-total {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    color: #77817b;
    font-size: 13px;
}

#bo_list .nscare-review-total strong {
    color: #29342d;
    font-weight: 850;
}

#bo_list .nscare-review-total span {
    color: #89928c;
}

#bo_list .nscare-review-total span::before {
    display: inline-block;
    width: 3px;
    height: 3px;
    margin-right: 8px;
    border-radius: 50%;
    background: #b7c0ba;
    vertical-align: middle;
    content: "";
}


/* ============================================================
   상단 도구 버튼
============================================================ */

#bo_list .nscare-review-tools {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#bo_list .nscare-review-tools > li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

#bo_list .nscare-review-tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #dfe6e2;
    border-radius: 10px;
    background: #ffffff;
    color: #59645d;
    font-size: 14px;
    text-decoration: none !important;
    cursor: pointer;
    transition:
        border-color .15s ease,
        color .15s ease,
        background-color .15s ease;
}

#bo_list .nscare-review-tool-btn:hover {
    border-color: #b8dbc7;
    background: #f4faf6;
    color: #159a59;
}

#bo_list .nscare-review-tool-btn.is-write {
    border-color: #159a59;
    background: #159a59;
    color: #ffffff;
}

#bo_list .nscare-review-tool-btn.is-write:hover {
    border-color: #10864d;
    background: #10864d;
    color: #ffffff;
}


/* ============================================================
   관리자 더보기
============================================================ */

#bo_list .nscare-review-more-wrap {
    position: relative;
}

#bo_list .nscare-review-more {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    z-index: 100;
    display: none;
    width: 150px;
    margin: 0;
    padding: 7px;
    border: 1px solid #dfe6e2;
    border-radius: 11px;
    background: #ffffff;
    box-shadow:
        0
        10px
        28px
        rgba(0,0,0,.08);
    list-style: none;
}

#bo_list .nscare-review-more li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#bo_list .nscare-review-more button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #48534c;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

#bo_list .nscare-review-more button i {
    width: 20px;
    margin-right: 5px;
}

#bo_list .nscare-review-more button:hover {
    background: #f3f8f5;
    color: #159a59;
}


/* ============================================================
   관리자 전체선택
============================================================ */

#bo_list .nscare-review-check-all {
    margin-bottom: 14px;
}

#bo_list .nscare-review-check-all label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #747e78;
    font-size: 12px;
    cursor: pointer;
}

#bo_list .nscare-review-check-all input {
    width: 17px;
    height: 17px;
    accent-color: #159a59;
}


/* ============================================================
   후기 카드 그리드
============================================================ */

#bo_list .nscare-review-grid {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
    gap: 22px;
    width: 100%;
}


/* ============================================================
   후기 카드
============================================================ */

#bo_list .nscare-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e0e7e3;
    border-radius: 16px;
    background: #ffffff;
    transition:
        border-color .16s ease,
        transform .16s ease;
}

#bo_list .nscare-review-card:hover {
    border-color: #bcdcc9;
    transform: translateY(-2px);
}

#bo_list .nscare-review-card.is-current {
    border-color: #159a59;
}


/* ============================================================
   관리자 카드 체크
============================================================ */

#bo_list .nscare-review-select {
    position: absolute;
    top: 11px;
    left: 11px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255,255,255,.94);
    box-shadow:
        0
        3px
        12px
        rgba(0,0,0,.08);
    cursor: pointer;
}

#bo_list .nscare-review-select input {
    width: 17px;
    height: 17px;
    accent-color: #159a59;
}


/* ============================================================
   대표 이미지
============================================================ */

#bo_list .nscare-review-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f4f2;
    text-decoration: none !important;
}

#bo_list .nscare-review-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease;
}

#bo_list .nscare-review-card:hover
.nscare-review-thumb img {
    transform: scale(1.025);
}


/* ============================================================
   카드 본문
============================================================ */

#bo_list .nscare-review-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 20px 20px 18px;
}

#bo_list .nscare-review-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}


/* ============================================================
   뱃지
============================================================ */

#bo_list .nscare-review-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

#bo_list .nscare-review-badge,
#bo_list .nscare-review-category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
}

#bo_list .nscare-review-badge {
    background: #e8f7ef;
    color: #0d8247;
}

#bo_list .nscare-review-badge.notice {
    background: #fff6dc;
    color: #9a7000;
}

#bo_list .nscare-review-category-badge {
    background: #f1f4f2;
    color: #68726c;
}

#bo_list .nscare-review-category-badge:hover {
    background: #e8f5ed;
    color: #159a59;
}


/* ============================================================
   새글
============================================================ */

#bo_list .nscare-review-new {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #159a59;
    color: #ffffff;
    font-size: 9px;
    font-weight: 900;
}


/* ============================================================
   제목
============================================================ */

#bo_list .nscare-review-subject {
    margin: 0 0 10px;
    color: #202923;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: -.03em;
    word-break: keep-all;
}

#bo_list .nscare-review-subject a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#bo_list .nscare-review-subject a:hover {
    color: #12844a;
}

#bo_list .nscare-review-comment-count {
    margin-left: 5px;
    color: #159a59;
    font-size: 12px;
    font-weight: 850;
}


/* ============================================================
   후기 미리보기
============================================================ */

#bo_list .nscare-review-excerpt {
    display: -webkit-box;
    flex: 1 1 auto;
    min-height: 63px;
    margin: 0 0 18px;
    overflow: hidden;
    color: #737d77;
    font-size: 13px;
    line-height: 1.65;
    word-break: keep-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


/* ============================================================
   카드 하단 메타
============================================================ */

#bo_list .nscare-review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #edf1ee;
    color: #929b95;
    font-size: 11px;
}

#bo_list .nscare-review-meta-left,
#bo_list .nscare-review-meta-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

#bo_list .nscare-review-meta-left {
    min-width: 0;
}

#bo_list .nscare-review-meta-right {
    flex: 0 0 auto;
}

#bo_list .nscare-review-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

#bo_list .nscare-review-meta i {
    color: #a5ada8;
}

#bo_list .nscare-review-writer {
    color: #657069 !important;
    font-weight: 750;
}


/* ============================================================
   게시물 없음
============================================================ */

#bo_list .nscare-review-empty {
    grid-column: 1 / -1;
    padding: 70px 24px;
    border: 1px solid #e2e9e5;
    border-radius: 16px;
    background:
        linear-gradient(
            180deg,
            #fcfdfc 0%,
            #f7faf8 100%
        );
    text-align: center;
}

#bo_list .nscare-review-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    border-radius: 15px;
    background: #e8f7ef;
    color: #159a59;
    font-size: 20px;
}

#bo_list .nscare-review-empty strong {
    display: block;
    margin-bottom: 7px;
    color: #344039;
    font-size: 16px;
    font-weight: 850;
}

#bo_list .nscare-review-empty p {
    margin: 0;
    color: #89928c;
    font-size: 13px;
    line-height: 1.7;
}

#bo_list .nscare-review-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 18px;
    padding: 0 16px;
    border: 1px solid #159a59;
    border-radius: 10px;
    background: #ffffff;
    color: #159a59;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none !important;
}

#bo_list .nscare-review-empty a:hover {
    background: #159a59;
    color: #ffffff;
}


/* ============================================================
   페이지네이션
============================================================ */

#bo_list .nscare-review-pagination {
    margin-top: 34px;
    text-align: center;
}

#bo_list .nscare-review-pagination .pg_wrap {
    margin: 0;
}


/* ============================================================
   하단 버튼
============================================================ */

#bo_list .nscare-review-bottom-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

#bo_list .nscare-review-bottom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 105px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #dfe6e2;
    border-radius: 10px;
    background: #ffffff;
    color: #59635d;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
}

#bo_list .nscare-review-bottom-btn i {
    margin-right: 6px;
}

#bo_list .nscare-review-bottom-btn:hover {
    border-color: #b7dbc6;
    color: #159a59;
}

#bo_list .nscare-review-bottom-btn.primary {
    border-color: #159a59;
    background: #159a59;
    color: #ffffff;
}

#bo_list .nscare-review-bottom-btn.primary:hover {
    border-color: #10864d;
    background: #10864d;
    color: #ffffff;
}


/* ============================================================
   검색 레이어
============================================================ */

.nscare-review-search-wrap {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    width: 100%;
    height: 100%;
}

.nscare-review-search {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: min(460px, calc(100% - 40px));
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dfe7e2;
    border-radius: 15px;
    background: #ffffff;
    transform: translate(-50%, -50%);
    box-shadow:
        0
        16px
        45px
        rgba(0,0,0,.15);
}

.nscare-review-search h3 {
    margin: 0;
    padding: 18px 20px;
    border-bottom: 1px solid #edf1ee;
    color: #28332c;
    font-size: 16px;
    font-weight: 850;
}

.nscare-review-search form {
    display: block;
    padding: 20px;
}

.nscare-review-search select {
    width: 100%;
    height: 44px;
    margin-bottom: 10px;
    padding: 0 11px;
    border: 1px solid #dce4df;
    border-radius: 9px;
    background: #ffffff;
    color: #36413a;
    font-size: 13px;
}

.nscare-review-search .sch_bar {
    display: flex;
    width: 100%;
    overflow: hidden;
    border: 1px solid #dce4df;
    border-radius: 9px;
    background: #ffffff;
}

.nscare-review-search .sch_input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #222b25;
    font-size: 13px;
}

.nscare-review-search .sch_btn {
    flex: 0 0 46px;
    width: 46px;
    height: 44px;
    border: 0;
    background: #159a59;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

.nscare-review-search .bo_sch_cls {
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 52px;
    border: 0;
    background: transparent;
    color: #909994;
    font-size: 15px;
    cursor: pointer;
}

.nscare-review-search-wrap .bo_sch_bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 28, 23, .32);
}


/* ============================================================
   태블릿
============================================================ */

@media (max-width: 1024px) {

    #bo_list.nscare-review-list {
        padding-right: 20px;
        padding-left: 20px;
    }

    #bo_list .nscare-review-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    #bo_list .nscare-review-title {
        font-size: 30px;
    }
}


/* ============================================================
   작은 화면
============================================================ */

@media (max-width: 720px) {

    #bo_list.nscare-review-list {
        padding:
            30px
            16px
            60px;
    }

    #bo_list .nscare-review-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    #bo_list .nscare-review-title {
        font-size: 27px;
    }

    #bo_list .nscare-review-write-main {
        width: 100%;
    }

    #bo_list .nscare-review-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    #bo_list .nscare-review-tools {
        justify-content: flex-end;
        width: 100%;
    }

    #bo_list .nscare-review-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #bo_list .nscare-review-card-body {
        padding: 17px;
    }

    #bo_list .nscare-review-subject {
        font-size: 17px;
    }

    #bo_list .nscare-review-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    #bo_list .nscare-review-bottom-actions {
        justify-content: stretch;
    }

    #bo_list .nscare-review-bottom-btn {
        flex: 1 1 0;
    }
}


/* ============================================================
   NSCARE 고객후기 상세 상단 통일
   - 제목 축소
   - 작성일 / 조회 / 댓글 왼쪽 정렬
   - 현재 게시글 URL
   - NSCARE 콘텐츠 > 고객후기 > 카테고리
============================================================ */

#bo_v.nscare-review-view .nscare-review-view-writer,
#bo_v.nscare-review-view .nscare-review-view-avatar,
#bo_v.nscare-review-view .nscare-review-view-writer-copy {
    display: none !important;
}

#bo_v.nscare-review-view .nscare-review-view-title {
    width: 100%;
    max-width: none;
    margin: 0;
    color: #172019;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.045em;
    word-break: keep-all;
}

#bo_v.nscare-review-view .nscare-review-view-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 6px;
    margin-top: 14px;
}

#bo_v.nscare-review-view .nscare-review-view-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    color: #8b948e;
    font-size: 12px;
    line-height: 1.5;
}

#bo_v.nscare-review-view .nscare-review-view-meta span,
#bo_v.nscare-review-view .nscare-review-view-meta a {
    display: inline-flex;
    align-items: center;
    color: #8b948e !important;
    text-decoration: none !important;
    white-space: nowrap;
}

#bo_v.nscare-review-view .nscare-review-view-meta-separator {
    margin: 0 7px;
    color: #c5ccc8;
}

#bo_v.nscare-review-view .nscare-review-view-url {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    color: #99a29c;
    font-size: 11px;
    line-height: 1.45;
}

#bo_v.nscare-review-view .nscare-review-view-url i {
    flex: 0 0 auto;
    color: #a3aca6;
    font-size: 10px;
}

#bo_v.nscare-review-view .nscare-review-view-url a {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #99a29c !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none !important;
}

#bo_v.nscare-review-view .nscare-review-view-url a:hover {
    color: #159a59 !important;
}

#bo_v.nscare-review-view .nscare-review-view-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    width: 100%;
    margin-top: 1px;
}

#bo_v.nscare-review-view .nscare-review-view-breadcrumb span,
#bo_v.nscare-review-view .nscare-review-view-breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 5px;
    background: #f0f2f1;
    color: #7f8883 !important;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
}

#bo_v.nscare-review-view .nscare-review-view-breadcrumb a:hover {
    background: #eaf7f0;
    color: #159a59 !important;
}

#bo_v.nscare-review-view .nscare-review-view-breadcrumb i {
    color: #c4cac7;
    font-size: 9px;
}


@media (min-width: 1101px) {

    #bo_v.nscare-review-view .nscare-review-view-title {
        white-space: nowrap;
    }
}


@media (max-width: 1100px) {

    #bo_v.nscare-review-view .nscare-review-view-title {
        font-size: 24px;
        white-space: normal;
    }
}


@media (max-width: 680px) {

    #bo_v.nscare-review-view .nscare-review-view-title {
        font-size: 22px;
        line-height: 1.42;
        white-space: normal;
    }

    #bo_v.nscare-review-view .nscare-review-view-meta {
        font-size: 11px;
    }

    #bo_v.nscare-review-view .nscare-review-view-meta-separator {
        margin: 0 5px;
    }

    #bo_v.nscare-review-view .nscare-review-view-url {
        font-size: 10px;
    }
}