.board-list{
    margin-top: 50px;
}
.board-list.free table{
    width: 100%;
}
.board-list.free .no{
    width: 120px;
    text-align: center;
}
.board-list.free .subject{
    text-align: center;
    width: auto;
}
.board-list.free .date{
    width: 160px;
    text-align: center;
}
.board-list.free .hit{
    width: 120px;
    text-align: center;
}
.board-list.free table{
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
.board-list.free table thead th{
    background-color: #EFEFEF;
    text-align: center;
    vertical-align: middle;
    font-size: 17px;
    font-weight: 500;
    line-height: 20px;
    padding: 25px 0;
}
.board-list.free table tbody td{
    text-align: center;
    vertical-align: middle;
    font-size: 17px;
    line-height: 20px;
    color: #333;
    padding: 25.5px 10px;
}
.board-list.free table tbody tr:last-child td{
    border-bottom: 0;
}
.board-list.free table tbody td.subject{
    text-align: left;
}
.board-list.free table tbody .empty{
    text-align: center;
    padding:2em 0;
}

.board-list.gallery .gallery-list{
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 32px 20px;
}
.board-list.gallery .gallery-list .empty{
    width: 100%;
    text-align: center;
    padding:2em 0;
}
.board-list.gallery .gallery-list .gallery-item{
    border:1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    min-height: 100%;
    box-sizing: border-box;
    width: calc((100% - 60px) / 4);
    transition: box-shadow 0.3s ease;
}
.board-list.gallery .gallery-list .gallery-item:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.17);
}
.board-list.gallery .gallery-list .gallery-item  a{
    display: block;
}
.board-list.gallery .gallery-list .gallery-item .thumb{
    width: 100%;
    overflow: hidden;
}
.board-list.gallery .gallery-list .gallery-item .thumb img{
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.board-list.gallery .gallery-list .gallery-item .thumb img:hover{
    transform: scale(1.05);
}
.board-list.gallery .gallery-list .gallery-item .text{
    padding: 16px;
}
.board-list.gallery .gallery-list .gallery-item .text h4{
    font-size: 18px;
    line-height: 1.45em;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.board-list.gallery .gallery-list .gallery-item .text p.date{
    text-align: right;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}


.list-btm{
    position: relative;
    min-height: 44px;
    margin-top: 26.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.list-btm .pagination{
    margin-top: 0;
}
.list-btm .search-box{
    position: absolute;
    left:0;
    top:50%;
    transform: translate(0,-50%);
    width: 178px;
}
.list-btm .search-box form{
    display: block;
    width: 100%;
}
.list-btm .search-box form input{
    border:0;
    padding-left: 5.5px;
    padding-right: 17px;
    box-sizing: border-box;
    height: 46px;
    font-size: 15px;
    border-bottom: 0.7px solid #898989;
    width: 100%;
}
.list-btm .search-box form button{
    position: absolute;
    right:0;
    top:50%;
    transform: translate(0,-50%);
    overflow: hidden;
    text-indent: -9999px;
    width: 30px;
    height: 30px;
    border:0;
    cursor: pointer;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(/assets/images/cs/icon_search.svg);
    width: 17px;
    height: 17px;
}
.list-btm .btn-write{
    position: absolute;
    right:0;
    top:50%;
    transform: translate(0,-50%);
    border:1px solid #333;
    width: 163px;
    box-sizing: border-box;
    line-height: 42px;
    text-align: center;
    color:#333;
    font-size: 17px;
    font-weight: 500;
}

.board-view{}
.board-view .view-header{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
}
.board-view .view-header .title{
    font-size: 30px;
    font-weight: 600;
    color:#333;
    width: 100%;
    line-height: 1.45em;
}
.board-view .view-header .info{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}
.board-view .view-header .info p{
    font-weight: 300;
    color:#777;
}
.board-view .view-header .info p strong{
    color:#333;
    font-weight: 500;
}
.board-view .view-content{
    font-size: 16px;
    line-height: 1.45em;
    color:#333;
    padding:30px 0;
}
.board-view .view-btns{
    margin-top: 40px;
}

.pagination{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 57px;
}
.pagination .first{
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border:1px solid #d3d3d3;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(/assets/images/cs/icon_first.svg);
    overflow: hidden;
    text-indent: -9999px;
}
.pagination .prev{
    margin-left: 4px;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border:1px solid #d3d3d3;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(/assets/images/cs/icon_prev.svg);
    overflow: hidden;
    text-indent: -9999px;
    margin-right: 45px;
}
.pagination .next{
    margin-right: 4px;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border:1px solid #d3d3d3;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(/assets/images/cs/icon_next.svg);
    overflow: hidden;
    text-indent: -9999px;
    margin-left: 45px;
}
.pagination .last{
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border:1px solid #d3d3d3;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(/assets/images/cs/icon_last.svg);
    overflow: hidden;
    text-indent: -9999px;
}

.pagination .next a,
.pagination .prev a
.pagination .first a
.pagination .last a{
    margin:0;
}
.pagination .num,
.pagination>a{
    min-width: 24px;
    line-height: 24px;
    text-align: center;
    margin:0 4px;
}
.pagination .num.cur,
.pagination>a.cur{
    font-weight: 600;
}
.pagination .prev a,
.pagination .next a,
.pagination .first a,
.pagination .last a{
    display: block;
    height: 100%;
}

@media (max-width:1420px){
}

@media (max-width:1280px){
    .pagination .prev{
        margin-right: 30px;
    }
    .pagination .next{
        margin-left: 30px;
    }

    .board-list.free table thead th{
        padding:20px 0;
    }
    .board-list.free table tbody tr td{
        padding:20px 5px;
    }

    .board-list.gallery .gallery-list{
        gap: 25px 15px !important;
    }
    .board-list.gallery .gallery-list .gallery-item{
        width: calc((100% - 30px) / 3);
    }


    .board-view .view-header .title{
        font-size: 25px;
    }
}

@media (max-width:1024px){
}

@media (max-width:768px){
    .pagination .num{
        font-size:15px;
    }
    .pagination .prev{
        margin-right: 24px;
    }
    .pagination .next{
        margin-left: 24px;
    }

    .board-list{
        margin-top: 30px;
    }
    .board-list.free .no,
    .board-list.free .subject,
    .board-list.free .date,
    .board-list.free .hit{
        width: auto;
    }

    .board-list.free table thead th{
        font-size: 11px;
        line-height: 14px;
        padding:14px 0;
    }
    .board-list.free table tbody tr td{
        font-size: 10.5px;
        line-height: 12px;
        padding:15px 4px;
    }
    .board-list.free table tbody tr td .subject{
        padding-left: 16px;
    }
    .board-list.gallery .gallery-list{
        gap: 25px 15px !important;
    }
    .board-list.gallery .gallery-list .gallery-item{
        width: 100%;
        border-radius: 10px;
    }
    .board-list.gallery .gallery-list .gallery-item .text h4{
        font-size: 15px;
    }
    .board-list.gallery .gallery-list .gallery-item .text p.date{
        font-size: 12px;
    }
    .board-list.gallery .gallery-list .gallery-item .text{
        padding:15px 12px;
    }

    .board-view .view-header .title{
        font-size: 20px;
    }
    .board-view .view-header .info{
        font-size: 13px;
        gap: 10px;
    }

    .list-btm{
        flex-direction: column;
    }
    .list-btm .search-box{
        position: static;
        width: 192px;
        transform: translate(0,0);
        margin-top: 41px;
    }
    .list-btm .search-box form input{
        font-size: 13px;
        height: 40px;
        padding:0 23px 0 5px;
    }
    .list-btm .search-box form button{
        width: 13px;
        height: 13px;
        right:7px;
        background-size: cover;
    }
    .list-btm .btn-write{
        position: static;
        margin-top: 27px;
        transform: translate(0,0);
        width: 192px;
        height: 42px;
        font-size: 13px;
    }



}