/*
 * 콘텐츠 타이포그래피 — 발행본/초안 본문(시맨틱 HTML)의 공통 스타일.
 * 적용 대상: 공개/대시보드 상세(.prose), Summernote 에디터(.note-editable).
 * @tailwindcss/typography 플러그인 없이도 일관된 본문 스타일 보장.
 */
.prose,
.note-editable {
    color: #1f2937;
    line-height: 1.75;
    font-size: 1rem;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.prose h1,
.note-editable h1 {
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 1rem;
    color: #111827;
}

.prose h2,
.note-editable h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e5e7eb;
    color: var(--gb-primary, #1d4ed8);
}

.prose h3,
.note-editable h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
    color: #111827;
}

.prose h4,
.note-editable h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
}

.prose p,
.note-editable p {
    margin: 0 0 1rem;
}

.prose ul,
.prose ol,
.note-editable ul,
.note-editable ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.prose ul,
.note-editable ul {
    list-style: disc;
}

.prose ol,
.note-editable ol {
    list-style: decimal;
}

.prose li,
.note-editable li {
    margin: 0.25rem 0;
}

.prose a,
.note-editable a {
    color: var(--gb-primary, #1d4ed8);
    text-decoration: underline;
}

.prose a:hover,
.note-editable a:hover {
    color: var(--gb-accent, #0ea5e9);
}

.prose strong,
.note-editable strong {
    font-weight: 700;
    color: #111827;
}

.prose blockquote,
.note-editable blockquote {
    margin: 1rem 0;
    padding: 0.25rem 1rem;
    border-left: 4px solid var(--gb-primary, #1d4ed8);
    color: #4b5563;
    background: #f9fafb;
}

.prose table,
.note-editable table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.prose th,
.prose td,
.note-editable th,
.note-editable td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.prose th,
.note-editable th {
    background: #f9fafb;
    font-weight: 700;
}

.prose img,
.note-editable img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

.prose hr,
.note-editable hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid #e5e7eb;
}
