/* 컨테이너: 사이드바와 콘텐츠 영역 */
.container {
	display: flex;
	width: 100%;
	padding-left: 7%;
	padding-right: 7%;
	gap: 20px;
	flex: 1;
}

/* 사이드바: 상단 패딩 제거 */
.sidebar {
	width: 180px;
	min-width: 180px;
	background-color: #D6CCC2;
	border-right: 1px solid #D5BDAF;
	display: flex;
	flex-direction: column;
	padding: 0 0 20px 0;
	box-sizing: border-box;
	flex-shrink: 0; /* content가 커져도 줄어들지 않게 */
}

/* 사이드바 제목: 상단 여백 제거하여 맨 위에 붙게 함 */
.sidebar-title {
	font-weight: bold;
	text-align: center;
	margin: 0;
	/* 추가 마진 제거 */
	padding: 12px 0;
	/* 좌우 여백 없이 */
	background-color: #D5BDAF;
	/* 제목 배경색 */
	color: white;
	margin-bottom: 10px;
}

.menu-button.back {
	margin-bottom: 10px;
}

/* 목록 버튼 */
.menu-button {
	display: block;
	width: 100%;
	padding: 12px 0;
	text-align: center;
	background-color: #F5EBE0;
	border: none;
	border-bottom: 1px solid #D5BDAF;
	font-size: 16px;
	cursor: pointer;
	color: #000;
	transition: background-color 0.3s;
	 word-break: keep-all;

	white-space: normal;   /* ✅ 줄바꿈 허용 */
}


.menu-button:hover {
	background-color: #D5BDAF;
}

.post-title {
	font-size: 1.5em;
	margin-bottom: 20px;
	font-weight: 400;
}

.post-content {
	overflow: auto;
}

.content {
	flex: 1;
	overflow: auto;
	box-sizing: border-box;
	padding: 5%;
}

.post-content {
	margin-top: 3%;
	overflow: auto;
}
.post-content {
	overflow: auto;
}

.content {
	width: 80%;
	max-width: 100vw;
}


/* 게시글 내용 영역 (기존 postDetail.css 내 다른 스타일들은 그대로 사용) */
.content {
	flex: 1;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
		"Malgun Gothic", "Apple SD Gothic Neo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}