/* 게시판 전체 컨테이너 (content 내부 여백) */
.board_container {
    padding: 50px;
    background-color: #fff; /* 배경을 흰색으로 하여 body의 회색과 대비 */
    min-height: 100vh;
}

/* 상단 타이틀 영역 */
.content_header {
    margin-bottom: 40px;
    border-bottom: 2px solid #111;
    padding-bottom: 20px;
}

.content_header h2 {
    font-size: 32px;
    color: #111;
    margin-bottom: 8px;
}

.content_header p {
    color: #666;
    font-size: 15px;
}

/* 게시판 필터 및 검색 영역 */
.board_list_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.total_count {
    font-size: 14px;
    color: #444;
}

.total_count strong {
    color: #111;
}

.search_box input {
    padding: 7px 12px;
    border: 1px solid #ccc;
    outline: none;
}

.search_box button {
    padding: 7px 15px;
    background-color: #111;
    color: #fff;
    border: 1px solid #111;
    cursor: pointer;
    margin-left: -5px; /* 입력창과 붙이기 */
}

/* 게시판 테이블 스타일 */
.board_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.board_table th {
    background-color: #f9f9f9;
    border-top: 2px solid #111;
    border-bottom: 1px solid #ddd;
    padding: 15px;
    font-size: 14px;
    color: #333;
}

.board_table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 15px;
    color: #555;
}

/* 제목 열 강조 */
.board_table td.title {
    text-align: left;
}

.board_table td.title a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.board_table td.title a:hover {
    text-decoration: underline;
}

/* 카테고리 뱃지 */
.badge {
    display: inline-block;
    padding: 3px 10px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    font-weight: bold;
}

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

.pagination a {
    text-decoration: none;
    color: #888;
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid transparent;
}

.pagination a.active {
    color: #111;
    font-weight: bold;
    border-bottom: 2px solid #111;
}

.pagination a:hover:not(.active) {
    color: #111;
}

/* board.css 하단에 추가 */

.col-category {
    width: 15%;
}

.col-title {
    width: auto;
}

.col-date {
    width: 20%;
}