.board_page_cont {
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.list_btn {
    padding: 12px;
    text-align: center;
    width: 100%;
    max-width: 170px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 0;
}

.detail_head {
    padding-bottom: 32px;
    border-bottom: 1px solid #9E9E9E;
}

.detail_head .title_wrap {
    display: flex;
    gap: 12px;
    align-items: center;
}

.detail_head .category_label {
    padding: 3px 10px;
    font-size: 18px;
}

.detail_head .title {
    font-size: 24px;
    font-weight: 700;
    color: #222222;
}

.detail_head .sub_desc {
    margin-top: 12px;
}

.detail_head .sub_desc .dttm {
    color: #5E5E5E;
    font-size: 16px;
}

.detail_body {
    padding: 32px 0;
    border-bottom: 1px solid #9E9E9E;
}

/* ==================== 슬라이드 영역 ==================== */
.slide_sect {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 30px;
    background-color: #F8F8F8;
}

.slide_sect .swiper-slide {
    display: flex;
}

.slide_sect .swiper-pagination-fraction {
    margin-top: 15px;
    color: #5E5E5E;
    font-size: 12px;
}

.slide_sect .swiper-pagination-current {
    font-weight: 700;
}

.slide_sect .swiper-pagination {
    position: initial;
}

.slide_thumb {
    position: relative;
    padding: 15px 86px;
}

.slide_thumb .swiper-slide {
    aspect-ratio: 1/1;
}

.slide_thumb .swiper-slide img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide_sect .swiper-button-next,
.slide_sect .swiper-button-prev {
    color: #fff;
    background-color: #0000004D;
    width: 29px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

.swiper-button-next.main,
.swiper-rtl .swiper-button-prev {
    right: 0;
    height: 99px;
}

.swiper-button-prev.main,
.swiper-rtl .swiper-button-next {
    left: 0;
    height: 99px;
}

.swiper-button-next.thumb,
.swiper-rtl .swiper-button-prev {
    right: 34px;
    height: 29px;
}

.swiper-button-prev.thumb,
.swiper-rtl .swiper-button-next {
    left: 34px;
    height: 29px;
}

.slide_sect .swiper-button-next:after,
.slide_sect .swiper-button-prev:after {
    font-size: 16px;
}

.swiper-slide-thumb-active::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
}

/* ==================== 댓글 영역 ==================== */
.comment_sect .comment_input {
    margin-bottom: 12px;
}

.comment_input .title {
    margin-bottom: 12px;
    font-size: 15px;
}

.comment_input .title .cnt {
    color: #5E5E5E;
}

.comment_input .edk_input.comment {
    border-color: #E1E1E1;
    background-color: #F8F8F8;
    border-radius: 50px;
    font-size: 16px;
    height: 50px;
    padding-right: 50px;
}

.comment_sect .btn_comment_upload {
    background-color: var(--main-color);
    width: 36px;
    display: flex;
    aspect-ratio: 1/1;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    overflow: hidden;
}

.comment_sect .btn_comment_upload img {
    width: 26px;
    aspect-ratio: 1/1;
}

.comment_input .btn_comment_upload {
    position: absolute;
    top: 7px;
    right: 7px;
}

.comment_list .comment_item {
    border-bottom: 1px solid #E1E1E1;
    padding: 20px 18px;
}

.comment_list .comment_item.update {
    background-color: #F8F8F8;
}

.comment_item .comment_head {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comment_head .info_box,
.comment_head .comment_dttm {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment_head .comment_user {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
}

.comment_head .comment_user.admin {
    padding: 3px 6px;
    border-radius: 6px;
    color: #1A427B;
    background-color: #E9F2FF;
}

.comment_head .comment_dttm::before {
    content: "";
    display: block;
    height: 10px;
    border-left: 2px solid rgba(34, 34, 34, 0.5)
}

.comment_head .comment_dttm {
    font-size: 15px;
    color: #5E5E5E;
}

.comment_head .comment_edit_box {
    position: relative;
}

.comment_edit_box .btn_comment_edit {
    display: flex;
    width: 24px;
    aspect-ratio: 1/1;
    background-color: transparent;
}

.comment_edit_box .tool_body {
    position: absolute;
    top: 100%;
    left: 100%;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    border: 1px solid #BBBBBB;
    width: 72px;
    overflow: hidden;
    z-index: 10;
    display: none;
}

.comment_edit_box .comment_edit_tool .tool_dim {
    position: fixed;
    width: 100%;
    height: 100dvh;
    z-index: 9;
    top: 0;
    left: 0;
    display: none;
}

.comment_edit_box .comment_edit_tool.active .tool_dim,
.comment_edit_box .comment_edit_tool.active .tool_body {
    display: block;
}

.comment_edit_box .btn_tool {
    background-color: #fff;
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    color: #5E5E5E;
    padding: 7px 0;
}

.comment_edit_box .btn_tool:hover {
    background-color: #F8F8F8;
}

.comment_update {
    align-items: flex-end;
    gap: 8px;
    padding: 0 8px;
}

.comment_update .edk_input.comment {
    background-color: #fff;
    border-color: #E1E1E1;
    border-radius: 6px;
}

.comment_item .comment_text {
    font-size: 15px;
    color: #222222;
}

@media screen and (max-width:1023px) {
    .board_page_cont {
        padding: 30px 0;
        gap: 32px;
    }

    .list_btn {
        padding: 8px 0;
        max-width: 120px;
    }

    .detail_head {
        padding-bottom: 20px;
    }

    .detail_head .category_label {
        font-size: 15px;
    }

    .detail_head .title {
        font-size: 18px;
    }

    .detail_head .sub_desc {
        margin-top: 8px;
    }

    .detail_head .sub_desc .dttm {
        font-size: 14px;
    }

    /* ==================== 슬라이드 영역 ==================== */
    .slide_thumb {
        padding: 15px 60px;
    }

    .swiper-button-next.thumb,
    .swiper-rtl .swiper-button-prev {
        right: 15px;
    }

    .swiper-button-prev.thumb,
    .swiper-rtl .swiper-button-next {
        left: 15px;
    }

    /* ==================== 댓글 영역 ==================== */
    .comment_input .title {
        font-size: 14px;
    }

    .comment_input .edk_input.comment {
        height: 44px;
    }

    .comment_sect .btn_comment_upload {
        width: 32px;
    }

    .comment_sect .btn_comment_upload img {
        width: 20px;
    }

    .comment_list .comment_item {
        padding: 16px 12px;
    }

    .comment_head .comment_user {
        font-size: 14px;
    }

    .comment_head .comment_dttm {
        font-size: 13px;
    }

    .comment_edit_box .tool_body {
        left: auto;
        right: 0;
    }

    .comment_item .comment_text {
        font-size: 14px;
    }
}