/* 이전 전시 목록 (/privatesale/exhibit?tab=past) — 레이아웃/스타일은 경매결과(results)와 동일 */
/* 탭 아래 간격은 헤더 padding(40px)만 사용 (경매결과와 동일) */
.basis-section.past_exhibit-section {
    margin-top: 0;
}
.past_exhibit-section .past_exhibit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0 30px;
}
.past_exhibit-section .count-box {
    width: 100%;
    color: #111;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.past_exhibit-section .count-badge {
    color: #39c3bc;
    background-color: rgba(57, 195, 188, 0.12);
    display: inline-block;
    padding: 0 10px;
    border-radius: 40px;
    font-weight: 600;
    margin-left: 5px;
    font-style: normal;
}
/* 전시 탭바: 경매결과(TabButtons)와 동일 — 위 여백 60px, 버튼 38px/0.5px #ccc */
.basis-section.type_tab-private_sale.exhibit-tab-section {
    margin-top: 60px;
}
.exhibit-tab-section .tab-area.type-left_lg {
    margin-top: 0;
    height: 40px;
}
.exhibit-tab-section .tab-area.type-left_lg .tab-list.wrap-tab-round li a,
.exhibit-tab-section .tab-area.type-left_lg .tab-list.wrap-tab-round li.active a {
    height: 38px;
    line-height: 34px;
    border-width: 0.5px;
}
.exhibit-tab-section .tab-area.type-left_lg .tab-list.wrap-tab-round li a {
    border-color: #ccc;
    color: #111;
}
.exhibit-tab-section .tab-area.type-left_lg .tab-list.wrap-tab-round li.active a {
    border-color: #39c3bc;
    color: #fff;
}

/* 검색: 경매결과(auction-list_filter_search)와 동일 */
.past_exhibit-section .search-box.auction-list_filter_search {
    position: relative;
    width: 189px;
    flex-shrink: 0;
}
.past_exhibit-section .auction-list_filter_search .icon_auction-search {
    position: absolute;
    left: 0;
    right: auto;
    top: 10px;
    z-index: 1;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.past_exhibit-section .auction-list_filter_search .icon_auction-search::after {
    background-image: url('https://public.seoulauction.io/resources/assets/images/common/ic_search_md.svg');
    background-repeat: no-repeat;
    background-position: initial;
    content: '';
    width: 30px;
    height: 30px;
    display: block;
    margin-left: 5px;
}
.past_exhibit-section .search-box input[type='search'] {
    width: 100%;
    height: 42px;
    border: 0;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    background-color: #fff;
    box-sizing: border-box;
}
.past_exhibit-section .search-box input[type='search']::placeholder {
    color: #aaa;
}
/* 크롬 자동완성 배경(연파랑) 방지 */
.past_exhibit-section .search-box input[type='search']:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    box-shadow: 0 0 0 1000px #fff inset;
}

.past_exhibit-list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    column-gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.past_exhibit-list > li {
    width: calc(50% - 10px);
    margin-bottom: 50px;
}
.past_exhibit-card {
    position: relative;
    height: 100%;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
}
.past_exhibit-card .image-area {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 52.1538%;
    border-radius: 5px;
    background-color: #fff;
    overflow: hidden;
}
.past_exhibit-card .image-area img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}
.past_exhibit-card .description {
    padding: 35px 40px 40px;
}
.past_exhibit-card .title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    line-height: 1.55;
    margin-bottom: 10px;
}
.past_exhibit-card .date,
.past_exhibit-card .place {
    font-size: 18px;
    font-weight: 500;
    color: #555;
    line-height: 1.55;
    width: calc(100% - 180px);
    margin-right: 10px;
}
.past_exhibit-card .place {
    margin-top: 5px;
}
.past_exhibit-card .btn-detail {
    position: absolute;
    bottom: 26px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    min-width: 170px;
    height: 50px;
    padding: 5px 15px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    background-color: transparent;
    box-sizing: border-box;
}
.past_exhibit-card .btn-detail:hover {
    border-color: #111;
    color: #111;
}

/* 이전 전시 상세: 작품 이미지 크기 제한 (저작권) */
#exhibit_content.closed-exhibit .product-list .img-ratio img {
    max-width: 57%;
    max-height: 57%;
}

/* 이전 전시 상세: 목록 버튼 */
.past_exhibit-list_btn-area {
    display: flex;
    justify-content: center;
    padding: 64px 0 120px;
}
.past_exhibit-list_btn-area .btn-past-list {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #555;
    box-sizing: border-box;
}

.past_exhibit-section .paging-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
}
.past_exhibit-section .paging-area a {
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 300;
    color: #000;
    cursor: pointer;
}
.past_exhibit-section .paging-area a.on {
    background-color: #39c3bc;
    color: #fff;
}
.past_exhibit-section .paging-area a.dots {
    padding: 0 5px;
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 400;
    color: #aeb5bc;
    cursor: initial;
}
.past_exhibit-section .paging-area a.prev-page,
.past_exhibit-section .paging-area a.next-page {
    padding: 9px 5px 5px;
}
.past_exhibit-section .paging-area a img {
    width: 18px;
    height: 18px;
}

.past_exhibit-empty {
    padding: 100px 0;
    text-align: center;
}
.past_exhibit-empty img {
    width: 74px;
}
.past_exhibit-empty h2 {
    margin-top: 35px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}
.past_exhibit-empty p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    line-height: 1.5;
}

@media all and (max-width: 1023px) {
    /* 전시 탭바 모바일: 경매결과와 동일 (위 여백 30px, 리스트 좌측 패딩 제거, 버튼 16px/0 16px) */
    .basis-section.type_tab-private_sale.exhibit-tab-section {
        margin-top: 30px;
    }
    .exhibit-tab-section .tab-area.type-left_lg .tab-list {
        padding: 0;
    }
    .exhibit-tab-section .tab-area.type-left_lg .tab-list.wrap-tab-round li a,
    .exhibit-tab-section .tab-area.type-left_lg .tab-list.wrap-tab-round li.active a {
        font-size: 16px;
        height: 36px;
        line-height: 34px;
        padding: 0 16px;
    }
    .past_exhibit-section .past_exhibit-header {
        flex-direction: column-reverse;
        align-items: stretch;
        padding: 10px 0 0;
    }
    .past_exhibit-section .count-box {
        font-size: 14px;
        margin: 20px 0;
    }
    .past_exhibit-section .search-box.auction-list_filter_search {
        width: 100%;
    }
    .past_exhibit-list > li {
        width: 100%;
    }
    .past_exhibit-card .description {
        padding: 15px 20px 20px;
    }
    .past_exhibit-card .title {
        font-size: 18px;
    }
    .past_exhibit-card .date,
    .past_exhibit-card .place {
        font-size: 13px;
        width: 100%;
        margin-right: 0;
    }
    .past_exhibit-card .place {
        margin-top: 3px;
    }
    .past_exhibit-card .btn-detail {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        height: 45px;
        font-size: 14px;
        line-height: 100%;
        margin-bottom: 20px;
    }
    .past_exhibit-section .paging-area {
        display: none;
    }
}
