/* 공통 버튼 디자인: 심플, 모던, 세련 */
.post_button {
	display: inline-block;
	padding: 10px 35px; /* 가로 폭을 살짝 조절하여 세련미 강조 */
	text-decoration: none;
	font-size: 14px; /* 너무 크지 않은 폰트가 더 모던함 */
	font-weight: 600;
	border-radius: 4px; /* 각진 느낌을 살짝 살린 모던 라운딩 */
	transition: all 0.2s ease-in-out;
	border: 1px solid transparent;
	cursor: pointer;
	letter-spacing: -0.5px; /* 글자 자간을 좁혀서 가독성 향상 */
}

/* 목록 (Default Gray) */
.post_button.list {
	background-color: #F8F9FA;
	color: #495057;
	border-color: #DEE2E6;
}

/* 등록/저장 (Soft Blue) */
.post_button.save {
	background-color: #E7F5FF;
	color: #1971C2;
	border-color: #D0EBFF;
}

/* 수정 (Trendy Purple) */
.post_button.modify {
	background-color: #F3F0FF;
	color: #6741D9;
	border-color: #E5DBFF;
}

/* 삭제/취소 (Muted Red) */
.post_button.delete {
	background-color: #FFF5F5;
	color: #C92A2A;
	border-color: #FFE3E3;
}

/* 마우스 오버 시: 살짝 더 진해지는 효과 */
.post_button:hover {
	filter: brightness(0.95);
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


/* 페이징 컨테이너 */
.pagination {
	width: 940px;
    margin: 5 auto; /* 상하 0, 좌우 자동(가운데 정렬) */
    text-align: center;
    font-family: 'Malgun Gothic', sans-serif;
}

/* 공통 버튼 스타일 */
.pg-link {
    display: inline-block;
    min-width: 35px;
    height: 35px;
    line-height: 35px;
    margin: 0 2px;
    text-decoration: none;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    vertical-align: middle;
    transition: all 0.2s;
}

/* 숫자/화살표 호버 효과 */
.pg-link:hover {
    background-color: #f4f4f4;
    border-color: #bbb;
    color: #000;
}

/* 현재 페이지 강조 */
.pg-link.active {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    font-weight: bold;
}

/* 이전/다음 버튼 전용 (약간 회색 배경) */
.pg-nav {
    background-color: #f9f9f9;
    font-weight: bold;
}


/* list page 카테고리 */
.category-nav {
    margin: 20px 0;
}

.category-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin: 0;
}

.category-list a {
    display: block;
    padding: 6px 12px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #f8f8f8;
    transition: all .15s ease;
}

.category-list a:hover {
    background: #eee;
    border-color: #ccc;
}

/* 현재 카테고리 */
.category-list .active a {
    background: #333;
    color: #fff;
    border-color: #333;
}


/* view page 페이지 관련 포스트 */
.post-neighbors {
    margin: 20px 0;
}

.post-neighbors h2 {
    font-size: 16px;
    margin-bottom: 10px;
}

.post-neighbors-list {
    list-style: none;
    padding: 0px 30px 0px 30px;
    margin: 0;
}

.post-neighbors-list li {
    border-bottom: 1px solid #eee;
	line-height: 1.1
}

.post-neighbors-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    text-decoration: none;
    color: #333;
    gap: 10px;
}

.post-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-title .active {
	font-weight: bold
}

.post-neighbors time {
    flex-shrink: 0;
    color: #888;
    font-size: 12px;
}