/* === 전체 레이아웃 === */
.page-title-section {
    margin-bottom: 20px;
}

.page-main-title {
    font-size: 32px;
    font-weight: bold;
}
.post-view-container { max-width: 800px; margin: 40px auto; padding: 0 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #222; }
.post-card { padding-bottom: 20px; border-bottom: 10px solid #f4f4f4; }
.post-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.author-info { display: flex; align-items: center; gap: 12px; }
.profile-image-wrapper img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid #eee; }
.author-nickname { font-weight: 600; font-size: 16px; }
.post-meta { font-size: 13px; color: #888; }
.post-actions-menu { position: relative; }
.btn-more { background: none; border: none; cursor: pointer; color: #888; min-width: 0px; }
.btn-more:hover, .btn-more:focus { color: #222; }
.more-menu { position: absolute; right: 0; top: 100%; background: white; border: 1px solid #eee; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: none; z-index: 10; width: 120px; }
.more-menu a, .more-menu button { display: block; width: 100%; text-align: left; padding: 10px 15px; background: none; border: none; font-size: 14px; cursor: pointer; }
.more-menu a:hover, .more-menu button:hover { background-color: #f8f8f8; }
.post-body .post-title { font-size: 28px; font-weight: 700; margin-bottom: 25px; line-height: 1.4; }
.post-body .post-images-area img { max-width: 100%; border-radius: 8px; margin-bottom: 15px; }
.post-body .post-content-text { font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }
.post-interaction-bar { display: flex; gap: 15px; margin-top: 30px; padding: 15px 0; border-top: 1px solid #f4f4f4; }
.interaction-btn { display: flex; align-items: center; gap: 6px; background: #f8f8f8; border: 1px solid #eee; border-radius: 20px; padding: 8px 15px; font-size: 14px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.interaction-btn svg { width: 18px; height: 18px; color: #555; transition: stroke 0.2s, fill 0.2s; }
.interaction-btn:hover { background-color: #f0f0f0; }
.interaction-btn .like-count { margin-left: 4px; font-weight: 600; }
.interaction-btn.liked svg { fill: #e0245e; stroke: #e0245e; }
.interaction-btn.liked { color: #e0245e; }
.comments-section { padding-top: 20px; }
.comments-header h3 { font-size: 19px; font-weight: 600; padding-bottom: 15px; border-bottom: 1px solid #eee; margin-bottom: 10px; }
.comment-item { display: flex; gap: 12px; padding: 20px 0; border-bottom: 1px solid #f4f4f4; }
.comment-author-profile img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.comment-main { flex-grow: 1; }
.comment-header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; }
.comment-author-name { font-weight: 600; font-size: 14px; }
.comment-date { font-size: 12px; color: #999; }
.comment-body { font-size: 15px; line-height: 1.6; color: #333; padding-left: 0; }
.comment-actions button { background: none; border: none; color: #888; font-size: 13px; cursor: pointer; margin-top: 10px; padding: 0; margin-right: 10px; }
.comment-actions button:hover { text-decoration: underline; }
.comment-update-form { margin-top: 8px; }
.comment-update-input { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; resize: none; min-height: 60px; }
.comment-form-wrapper { margin-top: 20px; padding: 20px; background-color: #f9f9f9; border-radius: 8px; }
#commentForm { display: flex; gap: 10px; }
#comment-textarea { flex-grow: 1; border: 1px solid #ddd; border-radius: 8px; padding: 12px; min-height: 40px; font-size: 15px; resize: none; }
#comment-submit-btn { background-color: #333; color: white; border: none; border-radius: 8px; padding: 0 20px; font-weight: 600; cursor: pointer; transition: background-color 0.2s; }
#comment-submit-btn:disabled { background-color: #ccc; cursor: not-allowed; }
.comment-login-prompt a { color: #007bff; text-decoration: none; font-weight: 600; }

