/* --- 게시글 상세 페이지 스타일 --- */
.post-view-container {
    padding: 20px; /* main-content의 패딩과 조화롭게 */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* 부드러운 그림자 */
    margin-top: 20px; /* main-content h1과의 간격 */
}

.post-header {
    border-bottom: 1px solid #e9ecef; /* 연한 구분선 */
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.post-header h1 { /* main-content h1과 스타일 통일 또는 차별화 */
    font-size: 1.8em; /* 상세페이지 제목은 좀더 크게 */
    margin-bottom: 10px;
    color: #212529; /* 진한 검정 */
}

.post-meta {
    font-size: 0.875em; /* 본문보다 약간 작게 */
    color: #6c757d; /* 부드러운 회색 */
}

.post-meta span {
    margin-right: 15px;
}
.post-meta span:last-child {
    margin-right: 0;
}

.post-content {
    line-height: 1.7;
    font-size: 1em; /* 기본 폰트 크기 */
    color: #343a40; /* 가독성 좋은 어두운 회색 */
    padding: 10px 0; 
}

.post-content h2 {
    font-size: 1.4em;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    color: #333;
    border-left: 4px solid #007bff; /* YJSHOP 테마 컬러를 사용하면 좋음 */
    padding-left: 10px;
}

.post-content p,
.post-content ul,
.post-content ol {
    margin-bottom: 1.2em; /* 문단 간격 */
}

.post-content ul, .post-content ol {
    padding-left: 20px; /* 리스트 들여쓰기 */
}
.post-content li {
    margin-bottom: 0.5em;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-top: 15px;
    margin-bottom: 15px;
    display: block; /* 이미지가 가운데 정렬되도록 하거나, 텍스트와 잘 어울리도록 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.post-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef; /* 구분선 */
    text-align: center; 
}

/* 버튼 스타일은 기존 YJSHOP의 버튼 스타일을 따르거나, 새로 정의 */
.btn-list {
    display: inline-block;
    padding: 10px 25px;
    background-color: #007bff; /* YJSHOP 테마 컬러 */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 0.95em;
    border: none; /* 기본 테두리 제거 */
}

.btn-list:hover {
    background-color: #0056b3; /* 호버 시 약간 어둡게 */
    transform: translateY(-2px); /* 약간 위로 이동하는 효과 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}