@charset "utf-8";

/***************** 공통 게시판 / 갤러리 리스트 상단 - total, 검색 *****************/
.bo_top {
    position: relative; display: flex; justify-content: space-between; align-items: flex-end;
    width: 100%; margin-bottom: 20px;
    .total {font-size: 16px; color: #666;}
    .bo-search {
        .searchbar {position: relative; display: flex; gap: 8px;}
        .blind {display: none;}
        select {flex: 0 0 120px;}
        input[type="text"] { flex: 0 0 280px;}
        input[type="submit"] {flex: 0 0 100px; height: var(--input-height); background:#222; color: #fff; padding: 0 20px; cursor: pointer; border: none; border-radius: 5px;}
    }
    @media (width <= 860px) {
        .total{font-size: 15px;}
        .bo-search {
            .searchbar{gap: 6px;}
            select {flex: 0 0 106px;}
            input[type="text"] { flex: 0 0 220px;}
            input[type="submit"] {flex: 0 0 80px;}
        }
    }
    @media (width <= 640px) {
        .bo-search {
            .searchbar{justify-content: flex-end;}
            select, input[type="text"], input[type="submit"]{font-size: 14px;}
            select {background-position: calc(100% - 8px) center;}
            input[type="text"] { flex: 1; width: auto; min-width: 0; max-width: 210px;}
            input[type="submit"] {flex: 0 0 60px;}
        }
    }
    @media (width <= 500px) {
        .total{display: none;}
        .bo-search {
            width: 100%;
            input[type="text"] { max-width: 100%;}
        }

    }
}

.no-result {
    width: 100% !important; color: #333; text-align: center;
    padding: 35px 20px; border: 1px solid var(--border-color02); background-color: var(--form-bg); border-radius: var(--radius01);
    margin-bottom: 100px;
    @media (width <= 1024px) {
        padding: 25px 20px;
    }
    @media (width <= 640px) {
        padding: 25px 14px;
    }
}

/***************** 공통 일반 게시판 리스트 *****************/
.bo_basic_list {border-top: 1px solid #0f1629;}
.bo_basic_list table {width: 100%; text-align: center; table-layout: fixed;}
.bo_basic_list th,
.bo_basic_list td{font-size: 16px; color: #222;}
.bo_basic_list th { font-weight: 600; border-bottom: 1px solid #cbcbcb; padding: 16px 0; background: #f9f9f9;}
.bo_basic_list th.a {width: 12%;}
.bo_basic_list th.c {width: 12%;}
.bo_basic_list th.d {width: 12%;}
.bo_basic_list tbody tr:hover {background:#f5f5f5;}
.bo_basic_list tbody td {padding: 16px 0; border-bottom: 1px solid #cbcbcb; vertical-align: middle;}
.bo_basic_list tbody td.tda span.notice {display: inline-block; width: 40px; vertical-align:baseline; text-align: center; font-size: 11px; color: #fff; background-color: #333; top: 50%; }
.bo_basic_list tbody td.tda span.notice::after {content: '공지'; font-size: 14px;}
.bo_basic_list tbody td.tdb {text-align: left; padding-left: 2%;}
.bo_basic_list tbody td.tdb a {display: inline-block; width: auto; max-width: 90%; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; vertical-align: middle; margin-right: 5px;}
.bo_basic_list tbody td.tdb span.date {display: none;}
.bo_basic_list tbody td.tdb span.new {display: inline-block; width: 15px; height: 15px; line-height: 15px; border-radius: 50%; font-size: 10px; margin: 0 5px; text-align: center; background:#e60012; color:#fff;}
.bo_basic_list tbody td.tdb span.file {display: inline-block; margin: 0 5px;}
.bo_basic_list tbody td.tdb span.lock {display: inline-block; margin: 0 5px 0 0;}
.bo_basic_list tbody td.tdc {}
.bo_basic_list tbody td.tdd {}

@media only screen and (max-width: 1600px) {
    .bo_basic_list th.a {width: 10%;}
    .bo_basic_list th.b {}
    .bo_basic_list th.c {width: 12%;}
    .bo_basic_list th.d {width: 10%;}
    .bo_basic_list tbody td.tdb a {max-width: 80%;}
}

@media only screen and (max-width: 860px) {
    .bo_basic_list table {text-align: left;}
    .bo_basic_list th {display: none;}
    .bo_basic_list tbody tr {display: block; padding: 16px 0; border-bottom: 1px solid #e6e6e6; box-sizing: border-box;}
    .bo_basic_list tbody td {border-bottom: 0; padding: 0;}
    .bo_basic_list tbody td.no_reulst{display: block; width: 100% !important; text-align: center; padding: 6rem 0;}
    .bo_basic_list tbody td.tda {display: none; /*글번호*/}
    .bo_basic_list tbody td.tdb {display: block; width: 100%; padding-left: 0; margin-bottom: 4px;}
    .bo_basic_list tbody td.tdb a {max-width: 85%; margin-right: 0;}
    .bo_basic_list tbody td.tdc,
    .bo_basic_list tbody td.tdd{font-size: 14px;}

    .bo_basic_list tbody td.tdc {display: inline-block; color: #aaa;}
    .bo_basic_list tbody td.tdc::after {content: ''; display: inline-block; width: 1px; height: 10px; background: #ccc; margin: 0 10px;}
    .bo_basic_list tbody td.tdd {display: inline-block; color: #aaa;}
    .bo_basic_list tbody td.tdd::before {content:'조회수'; margin-right: 3px;}
}

@media only screen and (max-width: 768px) {
    .bo_basic_list tbody td.tdb a {max-width: 80%;}
}

@media only screen and (max-width: 640px) {
    .bo_basic_list tbody td.tdc,
    .bo_basic_list tbody td.tdd{font-size: 13px;}
}

@media only screen and (max-width: 460px) {
    .bo_basic_list tbody td.tdb a {max-width: 70%;}
    .bo_basic_list tbody td.tdb span.new {margin: 0 2px;}
    .bo_basic_list tbody td.tdb span.file {margin: 0 2px;}
    .bo_basic_list tbody td.tdb span.lock {display: inline-block; margin: 0 3px 0 0;}
}

/***************** 공통 일반 게시판 리스트 하단 - 페이징버튼 *****************/
.bo_footer {
    position: relative; margin: 70px 0 0;
    @media (width <= 860px) {
        margin: 50px 0 0;
    }
}

.bo-pagenate {
    .paging {position:relative; display: flex; justify-content: center; align-items: center;}
    .paging a {display: flex; justify-content: center; align-items: center; width: 24px; aspect-ratio: 1; line-height: 1;}
    .paging a.lock{pointer-events: none; opacity: .6;}
    .paging .first,
    .paging .prev,
    .paging .next,
    .paging .end {font-size: 0; background-repeat: no-repeat; background-position: center;}
    .paging .first {background-image: url('/assets/site/img/board/arr-paging-first.svg');}
    .paging .prev {background-image: url('/assets/site/img/board/arr-paging-prev.svg');}
    .paging .next {background-image: url('/assets/site/img/board/arr-paging-next.svg');}
    .paging .end {background-image: url('/assets/site/img/board/arr-paging-last.svg');}
    .paging ol {display: flex; align-items: center; gap: 6px; margin: 0 12px;}
    .paging ol li a {font-size: 16px; color: #868686;}
    .paging ol li a:hover{color: #555;}
    .paging ol li a.on {font-weight: bold; color: #0F162A; border-color: #222;}
    .paging ol li.last_page{display: none;}
    @media (width <= 860px) {
        .paging ol{margin: 0 20px; gap: 10px;}
        .paging ol li{display: none;}
        .paging ol li.current,
        .paging ol li.last_page{display: flex; align-items: center;}
        .paging ol li:last-child:before{content: "/"; font-size: 12px; margin-right: 10px;}
        .paging ol li:first-child:before{display: none;}
        .paging ol li a{border: none; width: auto; font-size: 16px;}
        .paging ol li a.on{border: none; font-weight: 700;}
    }
}


/***************** 공통 일반 게시판 리스트 (내역 관련 게시판) *****************/
.board-label,
.board-action {
    display: inline-flex; justify-content: center; align-items: center;
    min-width: 45px; height: 24px; padding: 0 9px; border: 1px solid var(--border-color01); border-radius: 5px;
    font-size: 14px; color: #666; line-height: 1; letter-spacing: -2%; white-space: nowrap;
    &.is-gray{color: #fff; border-color: #757575; background-color: #757575;}
    &.is-red{color: var(--point-color01); border-color: var(--point-color01); background-color: #fff;}
    &.is-red.fill{color: #fff; background-color: var(--point-color01);}
    &.is-green{color: #3D6937; border-color: #3D6937; background-color: #fff;}
    &.is-green.fill{color: #fff; background-color: #3D6937;}
    &.is-black{color: #222; border-color: #222; background-color: #fff;}
    &.is-black.fill{color: #fff; background-color: #222;}
}
.btn-action {display: flex; gap: 10px;}
.board-basic {
    --table-min: 800px;
    --col-num: 90px;
    --col-dp: 68px;
    --col-type: 120px;
    --col-age: 174px;
    --col-pass: 120px;
    --col-cost: 150px;
    --col-date: 150px;
    --col-dday: 120px;
    --col-manager: 150px;
    --col-state: 130px;
    --col-method: 170px;
    width: 100%; overflow-x: auto;
    table{width: 100%; min-width: var(--table-min); table-layout: fixed; border-collapse: collapse; border-top: 1px solid #222;}
    caption{position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0);}
    th,
    td{height: 60px; padding: 10px 12px; border-bottom: 1px solid #cbcbcb; line-height: 1.3; text-align: center; vertical-align: middle;}
    th{font-weight: 600; background-color: var(--form-bg);}
    td{color: #222;}
    .col-num{width: var(--col-num);}
    .col-dp{width: var(--col-dp);}
    .col-type{width: var(--col-type);}
    .col-age{width: var(--col-age);}
    .col-pass{width: var(--col-pass);}
    .col-cost{width: var(--col-cost);}
    .col-manager{width: var(--col-manager);}
    .col-date{width: var(--col-date);}
    .col-dday{width: var(--col-dday);}
    .col-state{width: var(--col-state);}
    .col-method{width: var(--col-method);}
    .col-flex{width: auto;}
    .td-title{text-align: left;}
    .td-title a{display: block; line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-break: break-all;}
    .board-label,
    .board-action {
        &.is-waiting{color: #C88A00; border-color: #FFF8E6; background-color: #FFF8E6;}
        &.is-rejected{color: #D14343; border-color: #FDECEC; background-color: #FDECEC;}
        &.is-accepted{color: #1E8E5A; border-color: #EAF8EF; background-color: #EAF8EF;}
        &.is-meeting{color: #2F6FEB; border-color: #EAF3FF; background-color: #EAF3FF;}
        &.is-ended{color: #6B7280; border-color: #F4F5F7; background-color: #F4F5F7;}
        &.is-view{color: #fff; border-color: #68798F; background-color: #68798F;}
        &.is-closing{color: #fff; border-color: #FF9800; background-color: #FF9800;}
        &.is-round{border-radius: 12px;}
    }
    .d-day.is-urgent{color: var(--point-color01);}
    .is-expired {
        th,
        td{color: #9e9e9e;}
    }
    &.is-payment {
        th{border-bottom: 0;}
        td{height: 98px; padding: 10px 12px; }
        .board-label,
        .board-action{
            &.is-round{min-width: 95px; margin-top: 8px;}
        }
    }
    /*매니저-담당회원리스트*/
    &.is-memberlist {
        --col-num: 76px;
        --col-type: 120px;
        --col-date: 140px;
        --col-state: 90px;
        th,
        td{padding: 8px 8px;}
    }
    /*매니저-매칭현황*/
    &.is-matching{
        --col-num: 80px;
        --col-date: 140px;
        --col-state: 120px;
    }
    &.is-sender {
        thead th:nth-child(2){color: var(--point-color01);}
        tbody td:nth-child(2){background: var(--basic-color02);}
    }
    &.is-recipient{
        thead th:nth-child(3){color: var(--point-color01);}
        tbody td:nth-child(3){background: var(--basic-color02);}
    }
    &.is-applicant {
        --col-age: 202px;
        --col-date: 180px;
        th,
        td{padding: 8px 8px;}
    }

    @media (width <= 1420px) {
        &.is-memberlist {
            --col-num: 60px;
            --col-pass: 104px;
            --col-dday: 104px;
            --col-date: 130px;
        }
        &.is-matching{
            --col-num: 60px;
            --col-date: 130px;
            --col-state: 100px;
        }
        &.is-applicant {
            --col-num: 80px;
            --col-age: 192px;
            --col-date: 172px;
            --col-state: 100px;
        }
    }
    @media (width <= 1280px) {
        --col-num: 84px;
        --col-type: 94px;
        --col-manager: 136px;
        --col-date: 130px;
        --col-state: 88px;

        font-size: 15px;
        .board-label,
        .board-action{font-size: 13px;}
        th,
        td{padding: 8px;}
        &.is-payment {
            --col-date: 114px;
            --col-cost: 106px;
            --col-method: 120px;
            td{height: 90px; padding: 8px;}
        }
        &.is-memberlist {
            --col-type: 90px;
            --col-age: 158px;
            --col-pass: 88px;
            --col-dday: 86px;
            --col-date: 100px;
            --col-state: 68px;
        }
        &.is-matching{
            --col-num: 60px;
            --col-date: 110px;
            --col-state: 80px;
        }
        &.is-applicant {
            --col-num: 60px;
            --col-age: 168px;
            --col-date: 150px;
            --col-state: 80px;
        }
    }

    @media (width <= 1024px) {
        --table-min: 780px;
        --col-num: 62px;
        --col-type: 74px;
        --col-manager: 116px;
        --col-date: 110px;
        th,
        td{height: 56px; padding: 8px 6px;}
        .hide-tablet{display: none;}
        &.is-simple{
            --table-min: 720px;
        }
        &.is-payment {
            --col-date: 100px;
            --col-cost: 90px;
            --col-method: 110px;
            font-size: 14px;
            td{height: 86px;}
            .board-label{min-width: 0; padding: 0 5px; font-size: 12px;}
            .board-action{
                &.is-round{min-width: 0; padding: 0 12px; margin-top: 5px;}
            }
        }
        &.is-memberlist {
            --table-min: 920px;
            --col-num: 56px;
        }
        &.is-matching{
            --table-min: 880px;
        }
        &.is-applicant {
            --table-min: 880px;
            --col-age: 160px;
            --col-date: 142px;
            --col-state: 76px;
        }
    }

    @media (width <= 640px) {
        --col-num: 56px;
        th,
        td{height: 52px; font-size: 14px;}
        .hide-mobile{display: none;}
        &.is-simple{
            --table-min: 680px;
        }
        &.is-applicant {
            --table-min: 860px;
            --col-num: 50px;
        }
    }
}


/***************** 공통 일반 게시판 게시글 상세 페이지 *****************/
.bo_basic_view {
    --board-view-padding: 40px;
    border-top: 1px solid #222;
    .view-header {
        position: relative;
        display: flex; justify-content: space-between; align-items: center;
        padding: 17px var(--board-view-padding); border-bottom: 1px solid #cbcbcb; background-color: var(--form-bg);
        .view-title{flex: 1;}
        .view-title strong{font-size: 18px; font-weight: 600; color: #222; line-height: 26px;}
        .view-date{font-size: 16px; color:#222;}
    }
    .view-content {
        position: relative; min-height: 200px; padding: var(--board-view-padding); overflow:hidden;
        font-size: 16px; line-height: 26px; word-break: keep-all;
        iframe.note-video-clip{max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0;}
        .table{margin-bottom: 0;}
        img {max-width:100%; height:auto; margin: 6px 0;}
        a{text-decoration: underline;}
    }
    .view-nav {
        border-top: 1px solid #cbcbcb; margin-top: 30px;
        font-size: 16px; color: #222;
        .nav-item {display: flex; height: 61px; border-bottom: 1px solid #cbcbcb;}
        .nav-label, .nav-title, .nav-date{display: flex; align-items: center;}
        .nav-label { justify-content: center; gap: 10px; flex-shrink: 0; padding: 0 40px 0 calc(var(--board-view-padding) - 7px); font-weight: 400; background-color: var(--form-bg);}
        .nav-label i{width: 24px; aspect-ratio: 1; background: url('/assets/site/img/board/arr-bonav.svg') no-repeat 0 0 / 100% auto;}
        .icon-arrow-down{rotate: 180deg;}
        .nav-title{flex: 1; min-width: 0; padding-left: 20px;}
        .nav-title a{display: block; line-height: 38px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
        .nav-date { flex-shrink: 0; padding: 0 var(--board-view-padding);}
    }
    @media (width <= 1024px) {
        --board-view-padding: 20px;
        .view-header {padding: 17px var(--board-view-padding);}
        .view-content {padding: 30px var(--board-view-padding);}
        .view-nav {
            font-size: 15px;
            .nav-item {height: 58px;}
        }
    }
    @media (width <= 640px) {
        --board-view-padding: 14px;
        .view-header {
            padding: var(--board-view-padding);
            .view-title strong{font-size: 17px; line-height: 25px;}
            .view-date{font-size: 14px;}
        }
        .view-content {padding: 24px var(--board-view-padding); font-size: 15px; line-height: 25px;}
        .view-nav {
            font-size: 14px; margin-top: 20px;
            .nav-label {gap: 4px; padding: 0 18px 0 calc(var(--board-view-padding) - 7px);}
            .nav-item {height: 48px;}
            .nav-title{padding-left: 14px;}
            .nav-date{display: none;}
        }
    }
}




/***************** 공통 일반 게시판 게시글 상세 페이지 내, 첨부파일 *****************/
.bo_basic_view .bbs_file_t {padding: 25px; margin: 25px 0 0 0; background: #f5f5f5;}
.bo_basic_view .bbs_file_t:after {content: ""; display: block; clear: both;}
.bo_basic_view .bbs_file_t .acc{float: left; position: relative; width: 90px; font-weight: 600;}
.bo_basic_view .bbs_file_t .acc:after{content: ""; position: absolute; top: 4px; right: 19px; width: 1px; height: 13px; background-color: #c1c1c1;}
.bo_basic_view .bbs_file_t .bbs_file_wrap{float: left; width: calc(100% - 90px);}
.bo_basic_view .bbs_file_t .bbs_file_wrap span{display: block;}
.bo_basic_view .bbs_file_t .bbs_file_wrap span + span{margin: 10px 0 0;}
.bo_basic_view .bbs_file_t .bbs_file_wrap span a{position: relative; display: inline-block; max-width: 100%; box-sizing: border-box; padding: 0 0 0 22px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
.bo_basic_view .bbs_file_t .bbs_file_wrap span a:before{content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 20px; background: url("/assets/site/img/board/icon_document.png") no-repeat;}
.bo_basic_view .bbs_file_t .bbs_file_wrap span a img{margin: 0 3px;}

@media screen and (max-width: 640px){
    .bo_basic_view .bbs_file_t{padding: 1rem;}
    .bo_basic_view .bbs_file_t .acc{width: 67px;}
    .bo_basic_view .bbs_file_t .acc:after{right: 11px; height: 11px;}
    .bo_basic_view .bbs_file_t .bbs_file_wrap{width: calc(100% - 67px);}
    .bo_basic_view .bbs_file_t .bbs_file_wrap span + span{margin: 5px 0 0;}
    .bo_basic_view .bbs_file_t .bbs_file_wrap span a{padding: 0 0 0 19px;}
    .bo_basic_view .bbs_file_t .bbs_file_wrap span a:before{width: 15px; height: 18px; background-size: contain;}
}

/***************** 공통 갤러리 리스트 *****************/
.board-gallery {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
    .gallery-item {
        > a{position: relative; display: flex; flex-direction: column; height: 100%;}
        > a:hover .gallery-thumb::before,
        > a:focus .gallery-thumb::before{opacity: 1; visibility: visible;}
        > a:hover .gallery-thumb img,
        > a:focus .gallery-thumb img{transform: scale(1.05);}
    }
    .gallery-thumb{position: relative; display: block; aspect-ratio: 417 / 225; border-radius: var(--radius01); overflow: hidden;}
    .gallery-thumb::before{content: ""; position: absolute; z-index: 1; top: 0; left: 0; display: block; width: 100%; height: 100%; background-color: rgba(0,0,0,.15); opacity: 0; visibility: hidden; transition: .2s ease-out;}
    .gallery-thumb img{width: 100%; height: 100%; object-fit: cover; transition: .2s ease-out;}
    .gallery-thumb:has(.no-img){border: 1px solid #e4e4e4;}
    .gallery-info{flex: 1; display: flex; flex-direction: column; margin-top: 15px;}
    .gallery-title { margin-bottom: 15px; }
    .gallery-title .title-wrap { display: -webkit-box; max-width: 100%; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .gallery-title .title { font-size: 18px; font-weight: 500; line-height: 27px; word-break: break-all; }
    .gallery-title .new { position: relative; top: -2px; display: inline-block; flex-shrink: 0; width: 15px; height: 15px; line-height: 15px; margin-left: 5px; border-radius: 50%; background: #e60012; color: #fff; font-size: 10px; text-align: center; display: none;}
    .gallery-desc{ font-size: 15px; color: #777; line-height: 24px; display: -webkit-box; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 10px; display: none;}
    .gallery-date{display: block; font-size: 16px; color: #aaa; margin-top: auto;}

    @media (width <= 1024px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        .gallery-title .title {font-size: 17px; line-height: 26px;}
    }
    @media (width <= 860px) {
        gap: 20px;
        .gallery-desc{ display: none;}
    }
    @media (width <= 640px) {
        grid-template-columns: minmax(0, 1fr); gap: 32px;
        .gallery-title { margin-bottom: 10px; }
        .gallery-date{font-size: 14px;}
    }
}

/***************** 이벤트 갤러리 리스트 *****************/
.board-event {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
    .event-item {
        position: relative; display: flex; flex-direction: column; height: 100%;
        &:hover .event-thumb::before,
        &:focus .event-thumb::before{opacity: 1; visibility: visible;}
        &:hover .event-thumb img,
        &:focus .event-thumb img{transform: scale(1.05);}
    }
    .event-thumb{position: relative; display: block; aspect-ratio: 417 / 225; border-radius: var(--radius01) var(--radius01) 0 0; overflow: hidden;}
    .event-thumb img{width: 100%; height: 100%; object-fit: cover; transition: .2s ease-out;}
    .event-thumb:has(.no-img){border: 1px solid #e4e4e4;}
    .event-info{flex: 1; display: flex; flex-direction: column; padding: 24px 20px; border: 1px solid #e4e4e4; border-top: 0; border-radius: 0 0 var(--radius01) var(--radius01);}
    .event-badge{margin-bottom: 15px;}
    .event-title { margin-bottom: 12px; }
    .event-title .title-wrap { display: -webkit-box; max-width: 100%; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .event-title .title { font-size: 19px; font-weight: 600; line-height: 26px; word-break: break-all; }
    .event-data{display: flex; flex-direction: column; gap: 4px;}
    .event-data .data-row{display: flex; flex-wrap: wrap; gap: 0 4px; line-height: 26px; color: #000; letter-spacing: -0.5px;}
    .event-data dt{flex-shrink: 0; font-weight: 400;}
    .event-data dd{word-break: break-all;}
    .event-btn{padding-top: 29px; margin-top: auto;}

    @media (width <= 1280px) {
        .event-info{padding: 20px;}
        .event-title{margin-bottom: 6px;}
        .event-title .title { font-size: 18px;}
        .event-data .data-row{font-size: 15px; line-height: 24px;}
        .event-btn{padding-top: 20px;}
        .btn-item{height: 40px;}
    }
    @media (width <= 1024px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        .event-title .title {font-size: 17px; line-height: 26px;}
    }
    @media (width <= 860px) {
        gap: 20px;
    }
    @media (width <= 640px) {
        grid-template-columns: minmax(0, 1fr); gap: 20px;
        .event-title { margin-bottom: 10px; }
    }
}

.event-view {
    .main-image img{width: 100%;}
    .event-header {
        position: relative;
        display: flex; justify-content: space-between; align-items: flex-end;
        padding: 40px 0;
        .event-badge{margin-bottom: 19px;}
        .view-title strong{font-size: 26px; font-weight: 700; color: #333; line-height: 1;}
        .event-btn{width: 176px; font-size: 15px; font-weight: 600;}
    }
    .event-content {
        padding: 11px 0;
        .member-data {
            .data-item dt{font-weight: 500; color: var(--bb-color);}
            .data-item dd{font-weight: 400; }
        }
        .member-textbox {padding: 40px;}
    }
    .btn-container {
        justify-content: center;
        margin-top: 30px;
        .btn-item{flex: 0 0 160px; font-size: 16px; font-weight: bold; border-radius: 5px;}
    }
    @media (width <= 1024px) {
        .event-header {
            padding: 30px 0;
        }
    }
    @media (width <= 860px) {
        font-size: 15px;
        .event-header {
            padding: 20px 0;
            .event-badge{margin-bottom: 16px;}
            .view-title strong{font-size: 22px;}
            .event-btn{width: 136px; height: 38px;}
        }
        .event-content {
            .member-data {
                .data-item{grid-template-columns: minmax(120px, 34%) minmax(0, 1fr);}
                .data-item.is-wide{grid-template-columns: minmax(120px, 17%) minmax(0, 1fr);}
                .data-item dt,
                .data-item dd{padding: 14px 12px;}
            }
        }
    }
    @media (width <= 640px) {
        font-size: 14px;
        .event-header {
            padding: 20px 0;
            .view-title strong{font-size: 22px;}
            .event-btn{width: 124px; height: 36px; font-size: 14px;}
        }
        .event-content {
            .member-data{
                grid-template-columns: 1fr;
                .data-item,
                .data-item.is-wide{grid-template-columns: 100px minmax(0, 1fr)}
                .data-item dt,
                .data-item dd{padding: 12px;}
                &.m-wide {
                    .data-item{grid-template-columns: 1fr;}
                    .data-item dd{padding: 12px 0 30px; border-top: 1px solid var(--border-color01);}
                }
            }
            .kakao-btn{height: 28px; padding: 0 11px; font-size: 13px; margin-left: 8px;}
        }
        .btn-container {
            .btn-item{flex: 1; font-size: 15px;}
        }
    }
}





/***************** 공통 게시글 작성하기 페이지 *****************/
.board_write_wrap .tit_area > div {}
.board_write_wrap .tit_area > div:after {content: ""; display: block; clear: both;}
.board_write_wrap .tit_area .t_label {float: left; display: block; vertical-align: middle; font-weight: 700; font-size: 1.2rem; width: 8%; margin-right: 1%; cursor: default;}
.board_write_wrap .tit_area .t_content{float: left; display: block; vertical-align: middle; width: 91%;}
.board_write_wrap .tit_area .short .t_content input {max-width: 300px;}
.board_write_wrap .content_area {margin-top: 2rem; min-height: 300px; box-sizing: border-box;}

@media screen and (max-width:640px){
    .board_write_wrap .tit_area .t_label{float: none; display: block; width: 100%; margin-right: 0;}
    .board_write_wrap .tit_area .t_content{float: none; display: block; width: 100%;}
    .board_write_wrap .tit_area .short .t_content input {max-width: 200px;}
}

/***************** 글쓰기 에디터 커스텀 - 시작 *****************/
.note-frame {width: calc(100% - 2px) !important; border-radius: 0 !important; border-color: #dbdbdb !important; font-family: inherit !important;}
.note-placeholder {color: #bbb !important; padding: 1rem !important; font-weight: 300 !important;}
.note-editor .note-editing-area .note-editable {padding: 1rem !important; color: #222 !important;}
/* 230203 에디터 수정하면서 추가 */
.note-editor h4{clear: none !important; width: auto !important; padding: 0 !important; font-size: 1.5rem !important; font-weight: 500 !important;;}
.note-editor h4:before{display: none !important;}
.note-editor h4:after{display: none !important;}
.note-editor input{padding: 0; height: auto; width: auto;}
.note-editor label{height: auto; line-height: inherit;}
.note-editor .card-header{padding: 0.5rem; padding-top: 0 !important;}
.note-popover .popover-content>.note-btn-group,
.note-toolbar>.note-btn-group{margin-top: 0.5rem !important;}
.note-editor .modal{background-color: rgba(0, 0, 0, 0.5);}
/***************** 글쓰기 에디터 커스텀 - 끝 *****************/

.board_write_wrap .btn_area {margin-top: 2rem; text-align: center;}
.board_write_wrap .btn_area button {display: inline-block; padding: .8rem 1.5rem; font-size: 1.2rem; font-weight: 500;}
.board_write_wrap .btn_area .confirm {background: #111; color: #fff; margin-right: 0.5rem;}
.board_write_wrap .btn_area .cancel {background: #e5e5e5; color: #222;}

/***************** 첨부파일 *****************/
.fileform_wrap .b_files {font-size: 0;}
.fileform_wrap .b_files:after {content: ""; display: block; clear: both;}
.fileform_wrap .b_files:nth-child(n+2) {margin: 10px 0 0;}
.fileform_wrap .b_files > label {float: left; display: block; font-weight: 700; font-size: 1.2rem; width: 8%; margin-right: 1%;}
.fileform_wrap .custom-file {float: left; display: block; width: 91%; position: relative;}
.fileform_wrap .custom-file input {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;}
.fileform_wrap .custom-file label {border: 1px solid #dbdbdb; font-size: 1rem; box-sizing: border-box; display: block; line-height: 44px; padding: 0 1rem; color: #aaa;}
.fileform_wrap .upload_files_del {position: absolute; top: 0; left: 0; height: 100%; border: none; background: #666; color: #fff; padding: 0.3rem 1rem; cursor: pointer; display: inline-block;}
.fileform_wrap .custom-file.upload {}
.fileform_wrap .custom-file.upload label {padding-left: 70px; cursor: auto;}
.fileform_wrap .custom-file.upload label.img {padding-left: 115px;}
.fileform_wrap .custom-file.upload img {position: absolute; width: 40px; height: 30px; left: 65px; top: 50%; transform: translateY(-50%); object-fit: fill;}

@media screen and (max-width:1024px){
    .fileform_wrap .b_files > label {float: none; display: block; width: 100%; margin-right: 0;}
    .fileform_wrap .b_files .custom-file {float: none; display: block; width: 100%;}
}

@media screen and (max-width:640px){
    .fileform_wrap .custom-file label {max-width: 100%; height: 40px; line-height: 38px;}
    .fileform_wrap .upload_files_del {padding: 0.3rem 0.7rem;}
    .fileform_wrap .custom-file.upload img {width: 30px; height: 20px; left: 50px;}
    .fileform_wrap .custom-file.upload label {padding-left: 50px;}
    .fileform_wrap .custom-file.upload label.img {padding-left: 85px;}
}

/***************** 개발용 - 캡챠 *****************/
#google_recaptha{display: block; overflow: hidden; width: 0; height: 0; line-height: 0; font-size: 0; opacity: 0;}


/***********************************************************************************/
/***************** 공통 게시판 리스트 - 비밀번호 입력 *****************/
.pw_layer_popup {display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 3000;}
.pw_layer_popup .dimBg {position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #000; opacity: .5; filter: alpha(opacity=50);}
.pw_layer_popup .pwd_popup_wrap {display: block; position: absolute;  top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 600px; height: auto; background-color: #fff; z-index: 10; padding: 1.6rem 2.4rem; box-sizing: border-box;}
.pw_layer_popup h4 {font-size: 1.2rem; color: #111; font-weight: 600; margin-bottom: 1rem; text-align: center;}
.pw_layer_popup input[type="password"] {font-size: 1rem; width: 96%; height: 48px; padding: 0 1%; background: #f9f9f9; border: 1px solid #ddd; box-sizing: border-box; text-align: center;}
.pw_layer_popup .btn_wrap {margin-top: 1.2rem; text-align: center;}
.pw_layer_popup .btn_wrap button {display: inline-block; padding: 0.5rem 1rem; font-size: 1rem;}
.pw_layer_popup .btn_wrap .btn_submit {background: #111; color: #fff;}
.pw_layer_popup .btn_wrap .btn_cancel {background: #eee; color: rgb(65, 63, 63);}

@media screen and (max-width:640px){
    .pw_layer_popup input[type="password"] {height: 40px;}
}

@media screen and (max-width:500px){
    .pw_layer_popup .pwd_popup_wrap {width: 75%; padding: 1.4rem 1.6rem;}
}

/*댓글*/
.comment { margin:20px 0 ;}
.comment .comment_input {position:relative; width:100%}
.comment p.c_byte { color:#999; padding:10px 0; }
.comment .comment_input table {width:100%;   border:1px solid #333}
.comment .comment_input th {padding:5px !important  }
.comment .comment_input td {width:90px}
.comment .comment_input textarea {float:left; width:100%; height:30px; outline:none; border:0; color:#999; overflow-y:hidden; padding:0!important; }
.comment .comment_input a {float:right; width:100%; line-height:50px; text-align:center;  background:#333; color:#fff;  border-left:1px solid #202020}
.comment .comment_input a:hover {}

.comment p.c_total { margin:20px 0 10px 0}
.comment .comment_list {border-top:1px solid #e6e6e6}
.comment .comment_list li {position:relative; border-bottom:1px solid #e6e6e6; padding:15px 0}
.comment .comment_list p.m_info { }
.comment .comment_list p.m_info span.id {  }
.comment .comment_list p.m_info span.date { color:#999; margin-left:10px;}
.comment .comment_list p.ment { color:#666; padding-top:5px}
.comment .comment_list p.btn{ padding-top:5px }
.comment .comment_list p.btn span{ margin-right:10px;   }
.comment .comment_list p.btn span.reply{background: url('./img/icon_reply.gif') 0px 3px no-repeat; padding-left:15px}
.comment .comment_list p.btn span a{ color:#999; font-size:12px}
.comment .comment_list li div.comment_input { margin:10px 2% 0 2%; width:96%}

/* 관리자 댓글 */
.admin_comment{}
.admin_comment .info{}
.admin_comment .info:after{content: ""; display: block; clear: both;}
.admin_comment .info .who{float: left; width: 200px;}
.admin_comment .info .when{float: left; width: calc(100% - 200px); text-align: right;}
.admin_comment .text{background-color: #f5f5f5; box-sizing: border-box; padding: 25px; height: 100px; overflow-y: auto;}

/* ************************ 댓글 기능 ************************ */
.comment_area .amount{
    border-bottom: 1px solid #444;
    padding: 0.5rem 0;
    font-size: 1.05rem;
}
.comment_area .write_wrap{
    margin-top: 2rem;
    padding-bottom: 40px;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
}
.comment_area .write{
    display: flex;
}
.comment_area .write textarea{
    border: none;
    background-color: #f9f9f9;
    height: 110px;
    padding: 1.5rem;
}
.comment_area .write textarea:focus{
    border: 1px solid #222;
    background-color: #fff;
}
.comment_area .write .submit{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222;
    color: #fff;
    padding: 0 4rem;
    font-size: 1.1rem;
    font-weight: 600;
}
.comment_list li{
    position: relative;
    border-bottom: 1px solid #ddd;
    padding: 2rem 0;
}
.comment_list .info{
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.comment_list .info .name{
    display: block;
}
.comment_list .info .date{
    display: block;
    color: #888;
    font-size: 0.9rem;
}
.comment_list .btn_area{
    position: absolute;
    right: 0;
    top: 1.5rem;
    gap: 0.4rem;
}
.comment_list .btn_area .btn{
    background-image: none;
}
.comment_list .btn_area .btn span{
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    background-color: #222;
    color: #fff;
}
@media (max-width: 1024px){
    .comment_area .write_wrap{
        padding-bottom: 20px;
        margin-top: 1.3rem;
    }
    .comment_area .write .submit{
        padding: 0 2rem;
        font-size: 1rem;
    }
}
@media (max-width: 768px){
    .comment_area .write textarea{
        padding: 1rem;
    }
}
@media (max-width: 425px){
    .comment_area .write{
        flex-direction: column;
    }
    .comment_area .write textarea{
    }
    .comment_area .write .submit{
        padding: 0.75rem 0;
    }
}

/* ==========================================================================
    Board Custom
   ========================================================================== */
.pg-board {
    .bo_basic_view {
        .view-header .view-title{color: var(--black-color);}
    }
    .btn_wrap {
        .btn{border-radius: 5px;}
        .btn.wa{width: 160px; padding: 0 20px;}
    }
    .board-sec .btn-bottom{
        text-align: center; margin-top: 40px;
        .btn-item{display: inline-flex; width: 160px; padding: 0 20px;}
    }
    @media (width <= 640px) {
        .btn_wrap {
            .btn{font-size: 15px; line-height: 40px;}
            .btn.wa{width: 140px;}
        }
    }
}
.pg-board-view {
    .bo_footer {margin: 0;}
}


