/* 블로그 포스트 상세 페이지 스타일 */
.post-container {
    max-width: 1000px;
    margin: 100px auto 40px;
    padding: 0 24px;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-category {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
}

.post-meta span {
    margin: 0 10px;
}

/* 본문 — 전체 폭 + 적당한 줄간격 */
.post-content {
    font-size: 1rem;
    line-height: 1.55;
    color: #222;
    margin-bottom: 40px;
    word-break: keep-all;
}

.post-content p {
    margin: 0 0 0.8em;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    font-weight: 700;
    line-height: 1.3;
    margin: 1.6em 0 0.6em;
    color: #1a1a1a;
}
.post-content h1 { font-size: 1.65em; }
.post-content h2 { font-size: 1.4em; }
.post-content h3 { font-size: 1.2em; }

.post-content ul,
.post-content ol {
    padding-left: 1.5em;
    margin: 0 0 0.8em;
}
.post-content li { margin: 0.2em 0; }

.post-content a {
    color: #1976d2;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.post-content a:hover { color: #0d47a1; }

.post-content img,
.post-content video,
.post-content iframe {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.8em auto;
}

.post-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 14px;
    color: #555;
    margin: 0 0 0.8em;
}

.post-navigation {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.back-to-list {
    display: inline-block;
    padding: 12px 30px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.back-to-list:hover {
    background: #444;
    transform: translateY(-2px);
}

/* 반응형 */
@media (max-width: 768px) {
    body { padding-top: 96px; }
    .post-container { margin: 80px auto 30px; padding: 0 16px; }
    .post-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    body { padding-top: 86px; }
    .post-container { margin: 60px auto 20px; padding: 0 14px; }
    .post-title { font-size: 1.7rem; }
}

body {
    padding-top: 116px;
}
