/* 전체 컨테이너 스타일 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* 카테고리 제목 스타일 */
h1 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

/* 게시판 테이블 스타일 */
.post-list {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed; /* 테이블 레이아웃 고정 */
}

.post-list .post-item {
    border-bottom: 1px solid #ddd;
}


/* 테이블 헤더 스타일 */
.post-list .post-item {
    background-color: #333;
    color: white;
}

.post-item h2,
.post-item .post-meta,
.post-item .post-excerpt,
.post-item .read-more {
    display: block;
    text-align: left;
    vertical-align: middle;
    width: 100%; /* 각 셀 너비를 25%로 설정 (4열 기준) */
}

/* 제목 스타일 */
.post-item h2 {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 제목 링크 스타일 */
.post-item h2 a {
    text-decoration: none;
    color: #ffffff;
}

.post-item h2 a:hover {
    text-decoration: underline;
    color: #0073aa;
}

.post-item {
	padding: 5px;
}

.post-meta {
	padding: 5px;
}

/* 작성일, 작성자 표시 */
.post-item .post-meta {

    font-size: 14px;
    color: #BDBDBD;
}

/* 요약 스타일 */
.post-item .post-excerpt {
    font-size: 16px;
    color: #555;
}

/* 'Read More' 버튼 스타일 */
.read-more {
    background-color: #0073aa;
    color: white;
    padding: 8px 12px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
}

.read-more:hover {
    background-color: #005177;
}

/* 페이지네이션 스타일 */
.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a {
    color: #0073aa;
    padding: 8px 16px;
    text-decoration: none;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}
