/* 게시판 공통 스타일 */
.board_page .board_search {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.board_page .board_search select {
    height: 35px;
    border: 1px solid #ddd;
    padding: 0 10px;
    vertical-align: middle;
}

.board_page .board_search .search_input {
    width: 200px;
    height: 35px;
    border: 1px solid #ddd;
    margin-left: 5px;
    padding: 0 10px;
    vertical-align: middle;
}

.board_page .board_search .btn_search {
    height: 35px;
    padding: 0 20px;
    background: #333;
    color: #fff;
    border: none;
    margin-left: 5px;
    cursor: pointer;
}

.board_list {
    table-layout: fixed;
    max-width: 1280px;
    width: 100%;
    border-top: 2px solid #333;
    border-collapse: collapse;
}

.board_list th {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
    background: #fdfdfd;
}

.board_list td {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.board_list td.subject {
    text-align: left;
}

.board_list td.subject a {
    color: #333;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.board_list td.subject a:hover {
    text-decoration: underline;
}

.board_list .file_icon {
    font-size: 16px;
    color: #999;
}

/* 페이지네이션 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    gap: 5px;
}

.pagination li a {
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination li a:hover {
    background-color: #f1f1f1;
}

.pagination li a.active {
    background-color: #666;
    color: #fff;
}


/* 모바일 대응 */
@media screen and (max-width: 768px) {

    .board_list colgroup col:nth-child(1),
    .board_list colgroup col:nth-child(3),
    .board_list colgroup col:nth-child(5) {
        display: none;
    }

    .board_list th:nth-child(1),
    .board_list td:nth-child(1),
    .board_list th:nth-child(3),
    .board_list td:nth-child(3),
    .board_list th:nth-child(5),
    .board_list td:nth-child(5) {
        display: none;
    }

    .board_page .board_search .search_input {
        width: 120px;
    }

    .pagination li a {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}