.board-wrap {
    width: 100%;
    max-width: 900px;
    margin: 7.5rem auto;
}

.board-wrap:has(#view) {
    max-width: 1120px;
}

/*
    목록
*/
div#bo_list {
    display: flex;
    flex-direction: column;
}

div#bo_list > .list_head {
    padding: 2.66rem 0;
}

div#bo_list > .list_head > h2 {
    color: #000;
    font-size: var(--font-size-36, 2.25rem);
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 2.25rem */
    letter-spacing: -0.03125rem;
    text-align: center;
}

ul#bo_item_list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

ul#bo_item_list > .bo_item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

ul#bo_item_list > .bo_item > div {
    position: relative;
    width: 100%;
    height: 13.75rem;
    padding: 0.625rem;
    border-radius: 5px;
    border: 1px solid #DEDEDE;
    cursor: pointer;
    overflow: hidden;
}

ul#bo_item_list > .bo_item > div > .status {
    position: relative;
    display: inline-block;
    width: auto;
    height: auto;
    min-width: 4.75rem;
    padding: 0.3125rem 0.625rem;
    text-align: center;
    border-radius: inherit;
    background: #F4EFFF;
    color: var(--primary-color);
    font-size: var(--font-size-14, 0.875rem);
    font-weight: 400;
    line-height: 140%; /* 1.225rem */
    letter-spacing: -0.03125rem;
}

ul#bo_item_list > .bo_item > div > .status.ready {
    background: #90b2ff;
    color: #FFF;
}
ul#bo_item_list > .bo_item > div > .status.end {
    background: #DEDEDE;
    color: #4f4f4f;
}

ul#bo_item_list > .bo_item > div:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000020;
    opacity: 0;
    border-radius: inherit;
    transition: opacity 0.25s ease;
}

ul#bo_item_list > .bo_item:hover > div:before {
    opacity: 1;
}

ul#bo_item_list > .bo_item > .bo_content {
    display: inline-block;
    padding: 0 0.625rem;
}

ul#bo_item_list > .bo_item > .bo_content > p {
    display: block;
    color: #000;
    font-size: var(--font-size-20, 1.25rem);
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 1.25rem */
    letter-spacing: -0.03125rem;
}

ul#bo_item_list > .bo_item > .bo_content > .bo_date {
    display: inline-block;
    color: #000;
    font-size: 1rem;
    font-style: normal;
    font-weight: 300;
    line-height: 150%; /* 1.5rem */
    letter-spacing: -0.03125rem;
    margin-top: 0.8125rem;
}



div#bo_list > .paging {
    display: flex;
    width: 100%;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    padding-top: 4rem;
}

div#bo_list > .paging .current {
    font-size: var(--font-size-16);
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 1.5rem */
    letter-spacing: -0.03125rem;
}

div#bo_list > .paging .total {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 1.5rem */
    letter-spacing: -0.03125rem;
    color: #AFAFAF;
}

div#bo_list > .paging a.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.3;
}

.bo_fx {
    margin-top: 2rem;
}

ul.btn_bo_user {
    display: flex;
    justify-content: end;
}

ul.btn_bo_user > li > a {
    color: #FFF;
    font-size: .875rem;
    padding: .35rem 1rem;
    background-color: var(--primary-color);
    border-radius: 5px;
}

@media (max-width: 768px) {
    .board-wrap {
        padding: 0 1rem;
        margin: 4.5rem auto;
    }

    div#bo_list > .list_head {
        padding: unset;
    }

    div#bo_list > .list_head > h2 {
        font-size: var(--font-size-20, 1.25rem);
    }

    ul#bo_item_list {
        margin-top: 2.5rem;
        gap: 2rem;
    }

    ul#bo_item_list > .bo_item > div {
        height: 8.25rem;
        padding: 0.625rem 1.10819rem;
    }

    ul#bo_item_list > .bo_item > div > .status {
        padding: 0.375rem;
        min-width: 2.06rem;
        font-size: var(--font-size-12, 0.75rem);
    }

    ul#bo_item_list > .bo_item > .bo_content {
        padding: 0;
    }

    ul#bo_item_list > .bo_item > .bo_content > p {
        font-size: var(--font-size-16, 1rem);
    }

    ul#bo_item_list > .bo_item > .bo_content > .bo_date {
        font-size: var(--font-size-14, 0.8125rem);
        line-height: 190%; /* 1.54375rem */
        margin-top: unset;
    }
}

/*
    상세보기
*/
#view {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.view-header > nav > ul {
    display: flex;
    gap: .8125rem;
    align-items: center;
}

.view-header > nav > ul > li {
    display: inline-flex;
    align-items: center;
    font-size: var(--font-size-22, 1.5rem);
    font-weight: 600;
    line-height: 100%;
    /* 1.5rem */
    letter-spacing: -0.03125rem;
}

.view-header > nav > ul > li + li:before {
    content: "\e90c";
    font-family: 'ErentcarIcon';
    margin-right: .8125rem;
    font-size: var(--font-size-20, 1.25rem);
    font-weight: normal;
    color: #AFAFAF;
}

.view-header > nav > ul > li > a {
    color: #AFAFAF;
}

.view-header > nav > ul > li.active > a {
    color: #000;
}

section#bo_v_info {
    margin-top: 3rem;
}

section#bo_v_info > .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

section#bo_v_info > .top > .remain_day {
    display: inline-block;
    padding: 0.625rem 1rem;
    border-radius: 3.8125rem;
    font-size: var(--font-size-20, 1.25rem);
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 1.25rem */
    letter-spacing: -0.03125rem;
}

section#bo_v_info > .top > .remain_day {
    background: #F4EFFF;
    color: var(--primary-color);
}

section#bo_v_info > .top > .remain_day.ready {
    background: #90b2ff;
    color: #FFF;
}

section#bo_v_info > .top > .remain_day.end {
    background: #DEDEDE;
    color: #4f4f4f;
}

section#bo_v_info > .title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

section#bo_v_info > .title-wrap > .title {
    color: #000;
    font-size: var(--font-size-36, 2.25rem);
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 2.25rem */
    letter-spacing: -0.03125rem;
    width: 100%;
    text-align: left;
}

section#bo_v_info > .bo_detail_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
}

section#bo_v_info > .bo_detail_info .event_date {
    color: #515151;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 1.25rem */
    letter-spacing: -0.03125rem;
}

section#bo_v_content {
    display: block;
    margin-top: 1.5rem;
    width: 100%;
}

section#bo_v_content #bo_v_img img {
    max-width: 100%;
}

section#bo_v_content #bo_v_con {
    margin-top: 1rem;
    font-size: var(--font-size-16, 1rem);
}

.move-list {
    display: flex;
    justify-content: space-between;
    list-style: none;
}

span.under-line {
    position: relative;
    display: block;
    width: 100%;
    height: 1px;
    background-color: #DEDEDE;
}

.move-list > div > a span {
    display: flex;
    gap: 0.625rem;
    align-items: center;
    color: #000;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: -0.03125rem;
}

.move-list > div > a svg {
    width: 0.5625rem;
    height: 0.875rem;
}

.btn-area {
    display: flex;
    gap: .625rem;
    justify-content: end;
    white-space: nowrap;
}

.btn-area a {
    padding: .625rem 1rem;
}

.btn-area a.btn {
    background-color: var(--primary-color);
    border-radius: 5px;
    color: #FFF;
    font-size: .875rem;
}

.btn-area a.upt {
    background-color: #F4EFFF;
    border-radius: 5px;
    color: var(--primary-color);
    font-size: .875rem;
}

.btn-area a.del {
    background-color: #d61111;
    border-radius: 5px;
    color: #FFF;
    font-size: .875rem;
}

.list-btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.list-btn-wrap .list-btn {
    display: flex;
    padding: 1.1875rem 3.375rem;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.3125rem;
    border: 1px solid var(--primary-color, #5B1EE8);
    background: #FFF;
    color: var(--primary-color, #5B1EE8);
    text-align: center;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 1.25rem */
    letter-spacing: -0.03125rem;
}


@media screen and (max-width: 768px) {
    #view {
        gap: 1.5rem;
    }
    
    .view-header > nav > ul {
        gap: 0.5rem;
    }

    .view-header > nav > ul > li {
        font-size: var(--font-size-14, 0.875rem);
        font-weight: 500;
    }

    .view-header > nav > ul > li + li:before {
        font-size: var(--font-size-16, 1rem);
    }

    section#bo_v_info {
        margin-top: 2rem;
    }

    section#bo_v_info > .top {
        margin-bottom: 0.5rem;
    }

    section#bo_v_info > .top > .remain_day {
        padding: 0.375rem 0.625rem;
        font-size: var(--font-size-14, 0.875rem);
    }

    section#bo_v_info > .title-wrap {
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
        gap: 0.5rem;
    }

    section#bo_v_info > .title-wrap > .title {
        font-size: var(--font-size-20, 1.25rem);
        line-height: 140%; /* 1.75rem */
    }

    section#bo_v_info > .bo_detail_info {
        margin-top: 1.25rem;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    section#bo_v_info > .bo_detail_info .event_date {
        font-size: var(--font-size-14, 0.875rem);
    }

    section#bo_v_content {
        margin-top: 1rem;
    }

    section#bo_v_content #bo_v_con {
        margin-top: 0.5rem;
        font-size: var(--font-size-14, 0.875rem);
    }

    .list-btn-wrap .list-btn {
        padding: .8125rem 1.6875rem;
        font-size: .875rem;
        font-weight: 500;
    }
    
}



/* 입력 /수정 */
section#write_form .write_wrap > form {
    display: flex;
    flex-direction: column;
    gap: .875rem;
}

.input_form {
    display: flex;
    flex-direction: column;
    gap: .625rem;
    width: 100%;
}

.input_form select {
    min-width: 10%;
    border-radius: 5px;
    padding: .25rem 1rem;
    outline: none;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    border: 1px solid #d0d3db;
}

.input_form > div:has(select):after {
    content: "\e90a";
    font-family: 'ErentcarIcon';
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 1;
    font-size: 1rem;
}

.input_form > div:has(select) {
    position: relative;
    display: inline-block;
    width: fit-content;
}

.bo_w_flie.write_div {
    display: flex;
    gap: 1rem;
}

.cke_sc  {
    display: none !important;
}

a.btn_cancel,
.btn_submit {
    padding: .75rem 1.5rem;
    border-radius: 5px;
}
