.hana-board-wrap { max-width: 1100px; margin: 0 auto; padding: 16px 12px 80px; font-family: -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif; }
.hana-board-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 2px solid #333; }
.hana-board-header h2 { font-size: 20px; font-weight: 700; color: #111; margin: 0; }
.hana-board-meta { font-size: 13px; color: #888; }
.hana-board-search-form { display: flex; gap: 8px; padding: 12px 0; align-items: center; flex-wrap: wrap; }
.hana-board-search-form select { padding: 7px 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; background: #fff; }
.hana-board-search-form input[type="text"] { flex: 1; max-width: 300px; padding: 7px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; }
.hana-board-search-form button { padding: 7px 14px; background: #555; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 13px; }
.hana-board-search-form button:hover { background: #333; }
.hana-board-search-form .search-reset { padding: 7px 12px; color: #888; text-decoration: none; font-size: 13px; }
.hana-board-search-form .search-reset:hover { color: #f97316; }
@media (max-width: 720px) {
  .hana-board-search-form input[type="text"] { max-width: 100%; flex: 1 1 100%; order: 3; }
  .hana-board-search-form select { flex: 0 0 auto; }
  .hana-board-search-form button { flex: 0 0 auto; }
}
.hana-board-table { width: 100%; border-collapse: collapse; background: #fff; }
.hana-board-table thead th { background: #f5f5f5; padding: 12px 8px; font-size: 13px; font-weight: 600; color: #444; border-top: 2px solid #333; border-bottom: 1px solid #ddd; text-align: center; }
.hana-board-table tbody td { padding: 13px 8px; font-size: 14px; border-bottom: 1px solid #eee; color: #333; text-align: center; vertical-align: middle; }
.hana-board-table .col-num { width: 60px; color: #888; font-size: 13px; }
.hana-board-table .col-title { text-align: left; padding-left: 12px; }
.hana-board-table .col-title a { color: #222; text-decoration: none; font-weight: 500; }
.hana-board-table .col-title a:hover { color: #f97316; text-decoration: underline; }
.hana-board-table .col-author { width: 110px; color: #555; font-size: 13px; }
.hana-board-table .col-date { width: 100px; color: #888; font-size: 13px; }
.hana-board-table .col-views { width: 60px; color: #888; font-size: 13px; }
.hana-board-table .col-comments { color: #f97316; font-size: 13px; font-weight: 600; margin-left: 6px; }
.hana-board-empty { padding: 60px 20px; text-align: center; color: #888; font-size: 14px; border-bottom: 1px solid #eee; }
.hana-board-toolbar { display: flex; justify-content: flex-end; padding: 16px 0; gap: 8px; }
.hana-board-btn { padding: 10px 20px; background: #f97316; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; text-decoration: none; display: inline-block; font-weight: 600; }
.hana-board-btn:hover { background: #ea580c; color: #fff; }
.hana-board-btn-secondary { background: #555; }
.hana-board-btn-secondary:hover { background: #333; }
.hana-board-btn-danger { background: #dc2626; }
.hana-board-btn-danger:hover { background: #991b1b; }
.hana-board-pagination { display: flex; justify-content: center; gap: 6px; padding: 20px 0; }
.hana-board-pagination a, .hana-board-pagination span { padding: 6px 12px; border: 1px solid #ddd; border-radius: 3px; color: #555; text-decoration: none; font-size: 13px; }
.hana-board-pagination a:hover { background: #f97316; color: #fff; border-color: #f97316; }
.hana-board-pagination .current { background: #333; color: #fff; border-color: #333; }
.hana-board-view-header { padding: 18px 12px; border-top: 2px solid #333; border-bottom: 1px solid #ddd; background: #fafafa; }
.hana-board-view-title { font-size: 20px; font-weight: 700; color: #111; margin: 0 0 8px; }
.hana-board-view-meta { font-size: 13px; color: #888; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hana-board-view-meta .author-actions { margin-left: auto; display: flex; gap: 6px; }
.hana-board-view-meta .author-actions button { padding: 5px 12px; font-size: 12px; background: #fff; border: 1px solid #ddd; border-radius: 3px; cursor: pointer; color: #555; }
.hana-board-view-meta .author-actions button:hover { background: #f5f5f5; }
.hana-board-view-meta .author-actions .btn-delete { color: #dc2626; border-color: #fca5a5; }
.hana-board-view-meta .author-actions .btn-delete:hover { background: #fee2e2; }
.hana-board-view-body { padding: 28px 16px; min-height: 240px; line-height: 1.7; font-size: 15px; color: #222; border-bottom: 1px solid #ddd; }
.hana-board-view-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 8px 0; }
.hana-board-view-body video { max-width: 100%; height: auto; border-radius: 6px; margin: 8px 0; }
.hana-board-view-nav { display: flex; justify-content: space-between; padding: 16px 0; }
.hana-board-write { padding: 18px 0; }
.hana-board-write input[type="text"], .hana-board-write textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; box-sizing: border-box; margin-bottom: 12px; font-family: inherit; }
.hana-board-write textarea { min-height: 320px; resize: vertical; line-height: 1.6; }
.hana-board-write label { font-size: 13px; font-weight: 600; color: #444; display: block; margin: 8px 0 6px; }
.hana-board-write .editor-toolbar { display: flex; gap: 6px; padding: 8px 12px; background: #f9fafb; border: 1px solid #ddd; border-bottom: none; border-radius: 4px 4px 0 0; }
.hana-board-write .editor-toolbar button { padding: 6px 12px; font-size: 13px; background: #fff; border: 1px solid #ddd; border-radius: 3px; cursor: pointer; color: #333; }
.hana-board-write .editor-toolbar button:hover { background: #f3f4f6; }
.hana-board-write .editor-toolbar input[type="file"] { display: none; }
.hana-board-write textarea#hana-board-body { border-top: none; border-radius: 0 0 4px 4px; margin-top: 0; }
.hana-board-write .editor-help { font-size: 12px; color: #888; padding: 6px 4px 0; }
/* 네이버 스마트에디터 스타일 (Phase 1) */
.hana-se-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid #ddd; background: #fff; position: sticky; top: 0; z-index: 50; }
.hana-se-header-left { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: #111; }
.hana-se-board-name { color: #333; }
.hana-se-header-sep { color: #ccc; }
.hana-se-action { color: #888; font-weight: 500; }
.hana-se-header-right { display: flex; align-items: center; gap: 10px; }
.hana-se-autosave { font-size: 12px; color: #888; padding: 4px 8px; transition: color 0.3s; }
.hana-se-autosave.is-saved { color: #16a34a; font-weight: 600; }
.hana-se-save-btn { padding: 8px 14px; background: #fff; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; color: #555; cursor: pointer; transition: all 0.15s; }
.hana-se-save-btn:hover { background: #f5f5f5; color: #333; }
.hana-se-publish-btn { padding: 8px 18px; background: #f97316; color: #fff; border: none; border-radius: 4px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background 0.15s; }
.hana-se-publish-btn:hover { background: #ea580c; }

.hana-se-title-input { width: 100%; padding: 18px 4px !important; border: none !important; border-bottom: 1px solid #ddd !important; font-size: 28px !important; font-weight: 700 !important; color: #111 !important; background: transparent !important; margin: 0 !important; outline: none; }
.hana-se-title-input::placeholder { color: #ccc; }
.hana-se-title-input:focus { border-bottom-color: #f97316 !important; }

.hana-se-toolbar { display: flex; align-items: center; gap: 4px; padding: 8px 12px; background: #fafafa; border-bottom: 1px solid #eee; flex-wrap: wrap; }
.hana-se-toolbar-primary { border-top: 1px solid #eee; }
.hana-se-toolbar-secondary { background: #fff; }
.hana-se-tb-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 11px; color: #555; min-width: 50px; transition: all 0.15s; }
.hana-se-tb-btn:hover { background: #f0f0f0; border-color: #ddd; color: #111; }
.hana-se-tb-icon { font-size: 18px; line-height: 1; }
.hana-se-tb-label { font-size: 11px; color: #666; }
.hana-se-tb-btn-sm { padding: 6px 10px; background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 14px; color: #333; min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s; }
.hana-se-tb-btn-sm:hover { background: #f0f0f0; border-color: #ddd; }
.hana-se-tb-sep { width: 1px; height: 22px; background: #ddd; margin: 0 6px; }
.hana-se-select { padding: 6px 8px; background: #fff; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; cursor: pointer; }
.hana-se-color-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 4px; cursor: pointer; transition: background 0.15s; }
.hana-se-color-wrap:hover { background: #f0f0f0; }
.hana-se-color-icon { font-size: 14px; font-weight: 700; color: #f97316; pointer-events: none; }
.hana-se-color-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.hana-se-body { min-height: 500px; padding: 24px 16px; font-size: 16px; line-height: 1.7; color: #222; outline: none; }
.hana-se-body:empty::before { content: attr(data-placeholder); color: #bbb; pointer-events: none; }
.hana-se-body.drag-over { background: #fef3c7; outline: 2px dashed #f97316; outline-offset: -8px; }
.hana-se-body p { margin: 0 0 12px; }
.hana-se-body h2 { font-size: 22px; font-weight: 700; margin: 24px 0 12px; color: #111; }
.hana-se-body h3 { font-size: 18px; font-weight: 700; margin: 18px 0 10px; color: #111; }
.hana-se-body blockquote { border-left: 4px solid #f97316; padding: 8px 16px; margin: 16px 0; background: #fafafa; color: #555; font-style: italic; }
.hana-se-body hr { border: none; border-top: 2px solid #ddd; margin: 24px 0; }
.hana-se-body img { max-width: 100%; height: auto; border-radius: 6px; }
.hana-se-body video { max-width: 100%; height: auto; border-radius: 6px; }
.hana-se-body ul, .hana-se-body ol { padding-left: 24px; margin: 12px 0; }
.hana-se-body a { color: #1d4ed8; text-decoration: underline; }

.hana-se-bottom-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid #eee; background: #fafafa; }
.hana-se-bottom-hint { font-size: 11px; color: #888; }

@media (max-width: 720px) {
  .hana-se-header { padding: 10px 12px; flex-wrap: wrap; gap: 8px; }
  .hana-se-title-input { font-size: 22px !important; padding: 14px 4px !important; }
  .hana-se-toolbar { padding: 6px 8px; gap: 2px; }
  .hana-se-tb-btn { min-width: 44px; padding: 4px 6px; }
  .hana-se-tb-label { display: none; }
  .hana-se-bottom-hint { display: none; }
}

/* Phase 2a: 표 / 소스코드 / 사진 컨텍스트 메뉴 / 태그 */
.hana-se-body table.hana-se-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.hana-se-body table.hana-se-table th { background: #f5f5f5; padding: 8px 12px; border: 1px solid #ddd; font-weight: 600; color: #333; text-align: left; }
.hana-se-body table.hana-se-table td { padding: 8px 12px; border: 1px solid #ddd; color: #444; }
.hana-se-body table.hana-se-table tr:nth-child(even) td { background: #fafafa; }
.hana-se-body pre.hana-se-code { background: #1e293b; color: #e2e8f0; padding: 14px 18px; border-radius: 6px; font-family: 'Menlo', 'Monaco', 'Consolas', monospace; font-size: 13px; line-height: 1.6; overflow-x: auto; margin: 16px 0; white-space: pre-wrap; word-break: break-all; }
.hana-se-body pre.hana-se-code code { background: transparent; padding: 0; color: inherit; font-family: inherit; }
.hana-se-body .hana-se-tag { display: inline-block; padding: 1px 8px; background: #fef3c7; color: #b45309; border-radius: 12px; font-size: 14px; font-weight: 500; margin: 0 2px; cursor: default; }
.hana-se-body img.hana-se-img-selected { outline: 3px solid #f97316; outline-offset: 2px; box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15); }
.hana-se-img-menu { position: absolute; z-index: 1000; display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: #1e293b; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,0.3); }
.hana-se-img-menu button { background: transparent; border: none; color: #fff; padding: 6px 10px; border-radius: 4px; cursor: pointer; font-size: 13px; transition: background 0.15s; }
.hana-se-img-menu button:hover { background: rgba(255,255,255,0.15); }
.hana-se-img-menu .hana-se-img-menu-del:hover { background: #dc2626; }
.hana-se-img-menu .hana-se-img-menu-sep { width: 1px; height: 18px; background: rgba(255,255,255,0.3); margin: 0 4px; }
/* 메뉴 화살표 (아래 방향) */
.hana-se-img-menu::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #1e293b; border-bottom: 0; }

@media (max-width: 720px) {
  .hana-se-img-menu { padding: 4px 6px; gap: 2px; }
  .hana-se-img-menu button { padding: 4px 8px; font-size: 12px; }
}

/* Phase 2b: 인서트 메뉴 + 텍스트 컨텍스트 메뉴 + 사진 캡션 + 대표사진 */
.hana-se-insert-btn { position: absolute; z-index: 999; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid #f97316; color: #f97316; font-size: 18px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.1); transition: all 0.15s; line-height: 1; padding: 0; }
.hana-se-insert-btn:hover { background: #f97316; color: #fff; transform: scale(1.1); }
.hana-se-insert-menu { position: absolute; z-index: 1001; display: flex; flex-direction: column; background: #fff; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.15); padding: 6px; gap: 2px; min-width: 160px; }
.hana-se-insert-menu button { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: transparent; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; color: #333; text-align: left; transition: background 0.15s; }
.hana-se-insert-menu button:hover { background: #f5f5f5; }
.hana-se-text-menu { position: absolute; z-index: 1002; display: flex; align-items: center; gap: 2px; padding: 4px 6px; background: #1e293b; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,0.3); }
.hana-se-text-menu button { background: transparent; border: none; color: #fff; padding: 6px 10px; border-radius: 4px; cursor: pointer; font-size: 14px; transition: background 0.15s; min-width: 28px; }
.hana-se-text-menu button:hover { background: rgba(255,255,255,0.15); }
.hana-se-text-menu::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #1e293b; border-bottom: 0; }
.hana-se-body figure.hana-se-fig { margin: 16px 0; padding: 0; }
.hana-se-body figure.hana-se-fig img { display: block; max-width: 100%; margin: 0 auto; border-radius: 6px; }
.hana-se-body figcaption.hana-se-figcaption { margin-top: 8px; text-align: center; font-size: 13px; color: #888; padding: 4px; min-height: 20px; outline: none; }
.hana-se-body figcaption.hana-se-figcaption:empty::before { content: attr(data-placeholder); color: #ccc; pointer-events: none; }
.hana-se-body img.hana-se-img-thumbnail { box-shadow: 0 0 0 3px #fef3c7, 0 0 0 5px #f97316; }
.hana-se-body img.hana-se-img-thumbnail::after { content: '⭐ 대표'; position: absolute; top: 8px; right: 8px; background: #f97316; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 12px; }

/* 네이버 블로그 스타일 본문 영역 (글 보기 페이지) */
body.hana-board .hana-board-view-header { padding: 24px 8px 16px; margin: 0 0 24px; border-bottom: 1px solid #eee; border-top: 1px solid transparent; }
body.hana-board .hana-board-view-title { font-size: 28px !important; font-weight: 700; line-height: 1.4; color: #111; margin: 0 0 16px; word-break: keep-all; }
body.hana-board .hana-board-view-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #888; flex-wrap: wrap; }
body.hana-board .hana-board-view-meta > * { display: inline-flex; align-items: center; gap: 4px; }
body.hana-board .hana-board-view-body { padding: 10px 8px 40px !important; font-size: 16px !important; line-height: 1.8 !important; color: #222 !important; min-height: 200px; border-bottom: 1px solid #eee !important; }
body.hana-board .hana-board-view-body p { margin: 0 0 18px; }
body.hana-board .hana-board-view-body h2 { font-size: 22px; font-weight: 700; margin: 32px 0 14px; color: #111; }
body.hana-board .hana-board-view-body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; color: #111; }
body.hana-board .hana-board-view-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px auto; display: block; }
body.hana-board .hana-board-view-body figure { margin: 20px 0; text-align: center; }
body.hana-board .hana-board-view-body figure img { margin: 0 auto; }
body.hana-board .hana-board-view-body figcaption { margin-top: 10px; font-size: 14px; color: #888; text-align: center; }
body.hana-board .hana-board-view-body blockquote { border-left: 4px solid #f97316; padding: 12px 20px; margin: 24px 0; background: #fafafa; color: #444; font-style: italic; }
body.hana-board .hana-board-view-body hr { border: none; border-top: 2px solid #ddd; margin: 32px 0; }
body.hana-board .hana-board-view-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
body.hana-board .hana-board-view-body table th { background: #f5f5f5; padding: 10px 14px; border: 1px solid #ddd; text-align: left; font-weight: 600; color: #333; }
body.hana-board .hana-board-view-body table td { padding: 10px 14px; border: 1px solid #ddd; color: #444; }
body.hana-board .hana-board-view-body table tr:nth-child(even) td { background: #fafafa; }
body.hana-board .hana-board-view-body pre { background: #1e293b; color: #e2e8f0; padding: 16px 20px; border-radius: 8px; font-family: 'Menlo', 'Monaco', 'Consolas', monospace; font-size: 14px; line-height: 1.6; overflow-x: auto; margin: 24px 0; white-space: pre-wrap; word-break: break-all; }
body.hana-board .hana-board-view-body pre code { background: transparent; padding: 0; color: inherit; font-family: inherit; }
body.hana-board .hana-board-view-body ul, body.hana-board .hana-board-view-body ol { padding-left: 28px; margin: 16px 0; }
body.hana-board .hana-board-view-body ul li, body.hana-board .hana-board-view-body ol li { margin: 6px 0; }
body.hana-board .hana-board-view-body a { color: #1d4ed8; text-decoration: underline; }
body.hana-board .hana-board-view-body .hana-se-tag { display: inline-block; padding: 2px 10px; background: #fef3c7; color: #b45309; border-radius: 14px; font-size: 14px; font-weight: 500; margin: 2px; }
body.hana-board .hana-board-view-nav { display: flex; justify-content: flex-start; padding: 20px 8px; }

@media (max-width: 720px) {
  body.hana-board .hana-board-view-title { font-size: 22px !important; }
  body.hana-board .hana-board-view-body { font-size: 15px !important; line-height: 1.7 !important; }
}

/* Free Resize: 4 모서리 핸들 */
.hana-se-img-resize { position: absolute; pointer-events: none; z-index: 999; outline: 2px solid #f97316; outline-offset: 0; box-sizing: content-box; }
.hana-se-img-resize-handle { position: absolute; width: 14px; height: 14px; background: #fff; border: 2px solid #f97316; border-radius: 50%; pointer-events: auto; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform 0.1s; }
.hana-se-img-resize-handle:hover { transform: scale(1.2); background: #f97316; }
.hana-se-img-resize-handle[data-corner="tl"] { top: -8px; left: -8px; cursor: nwse-resize; }
.hana-se-img-resize-handle[data-corner="tr"] { top: -8px; right: -8px; cursor: nesw-resize; }
.hana-se-img-resize-handle[data-corner="bl"] { bottom: -8px; left: -8px; cursor: nesw-resize; }
.hana-se-img-resize-handle[data-corner="br"] { bottom: -8px; right: -8px; cursor: nwse-resize; }
.hana-se-body img { cursor: pointer; }
.hana-se-body img[draggable="true"] { cursor: move; }

/* 본문 피드 모드 (네이버 블로그 4A SYSTEM 메인 스타일) */
/* 본문 피드 모드 (네이버 블로그 4A SYSTEM 메인 스타일) */
.hana-blog-feed { display: flex; flex-direction: column; gap: 0; padding: 0; }
.hana-feed-post { padding: 40px 8px 40px; border-bottom: 8px solid #f5f5f5; margin: 0; }
.hana-feed-post:last-child { border-bottom: none; }
.hana-feed-post.hana-feed-post--new { animation: hanaFeedHighlight 2s ease-out; }
@keyframes hanaFeedHighlight {
  0% { background: #fff7ed; }
  100% { background: transparent; }
}
.hana-feed-post__header { padding: 0 0 20px; margin-bottom: 24px; border-bottom: 1px solid #eee; }
.hana-feed-post__title { font-size: 26px; font-weight: 700; line-height: 1.4; color: #111; margin: 0 0 12px; word-break: keep-all; }
.hana-feed-post__title a { color: inherit; text-decoration: none; transition: color 0.15s; }
.hana-feed-post__title a:hover { color: #f97316; }
.hana-feed-post__cmt { color: #f97316; font-size: 16px; font-weight: 600; margin-left: 6px; }
.hana-feed-post__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #888; flex-wrap: wrap; }
.hana-feed-post__author { color: #333; font-weight: 600; }
.hana-feed-post__dot { color: #ccc; }
.hana-feed-post__edit { color: #1d4ed8; text-decoration: none; font-weight: 500; }
.hana-feed-post__edit:hover { text-decoration: underline; }
.hana-feed-post__body { font-size: 16px; line-height: 1.8; color: #222; word-break: keep-all; }
.hana-feed-post__body p { margin: 0 0 18px; }
.hana-feed-post__body h2 { font-size: 22px; font-weight: 700; margin: 32px 0 14px; color: #111; }
.hana-feed-post__body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; color: #111; }
.hana-feed-post__body img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px auto; display: block; }
.hana-feed-post__body figure { margin: 20px 0; text-align: center; }
.hana-feed-post__body figure img { margin: 0 auto; }
.hana-feed-post__body figcaption { margin-top: 10px; font-size: 14px; color: #888; text-align: center; }
.hana-feed-post__body blockquote { border-left: 4px solid #f97316; padding: 12px 20px; margin: 24px 0; background: #fafafa; color: #444; font-style: italic; }
.hana-feed-post__body hr { border: none; border-top: 2px solid #ddd; margin: 32px 0; }
.hana-feed-post__body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.hana-feed-post__body table th { background: #f5f5f5; padding: 10px 14px; border: 1px solid #ddd; text-align: left; font-weight: 600; color: #333; }
.hana-feed-post__body table td { padding: 10px 14px; border: 1px solid #ddd; color: #444; }
.hana-feed-post__body table tr:nth-child(even) td { background: #fafafa; }
.hana-feed-post__body pre { background: #1e293b; color: #e2e8f0; padding: 16px 20px; border-radius: 8px; font-family: 'Menlo', 'Monaco', 'Consolas', monospace; font-size: 14px; line-height: 1.6; overflow-x: auto; margin: 24px 0; white-space: pre-wrap; word-break: break-all; }
.hana-feed-post__body ul, .hana-feed-post__body ol { padding-left: 28px; margin: 16px 0; }
.hana-feed-post__body ul li, .hana-feed-post__body ol li { margin: 6px 0; }
.hana-feed-post__body a { color: #1d4ed8; text-decoration: underline; }
.hana-feed-post__body .hana-se-tag { display: inline-block; padding: 2px 10px; background: #fef3c7; color: #b45309; border-radius: 14px; font-size: 14px; font-weight: 500; margin: 2px; }
.hana-feed-post__footer { padding: 24px 0 0; margin-top: 30px; border-top: 1px solid #eee; text-align: right; }
.hana-feed-post__perma { color: #888; font-size: 13px; text-decoration: none; transition: color 0.15s; }
.hana-feed-post__perma:hover { color: #f97316; }
.hana-feed-empty { padding: 80px 20px; text-align: center; color: #888; }

/* 글 사이 시각적 큰 구분 (배경색으로) */
.hana-blog-feed .hana-feed-post:nth-child(odd) { background: #fff; }
.hana-blog-feed .hana-feed-post:nth-child(even) { background: #fafafa; }

@media (max-width: 720px) {
  .hana-feed-post { padding: 28px 4px 28px; border-bottom-width: 6px; }
  .hana-feed-post__title { font-size: 20px; }
  .hana-feed-post__body { font-size: 15px; line-height: 1.7; }
}

/* 댓글 섹션 */
/* 댓글 섹션 */
/* 댓글 섹션 */
/* 댓글 섹션 */
/* 댓글 섹션 */
/* 댓글 섹션 */
.hana-board-comments { padding: 24px 0 8px; border-top: 1px solid #eee; margin-top: 24px; }
.hana-board-comments-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hana-board-comments-title { font-size: 16px; font-weight: 700; color: #111; }
.hana-board-comments-count { font-size: 13px; color: #f97316; font-weight: 600; }
.hana-board-comments-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.hana-board-comments-empty { padding: 30px 16px; text-align: center; color: #999; font-size: 13px; background: #fafafa; border-radius: 6px; }
.hana-board-comment { padding: 12px 14px; background: #fafafa; border-radius: 6px; border-left: 3px solid #f97316; }
.hana-board-comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; font-size: 13px; }
.hana-board-comment-author { font-weight: 600; color: #333; }
.hana-board-comment-date { color: #888; font-size: 12px; }
.hana-board-comment-delete { margin-left: auto; padding: 3px 10px; font-size: 11px; background: #fff; border: 1px solid #fca5a5; color: #dc2626; border-radius: 3px; cursor: pointer; }
.hana-board-comment-delete:hover { background: #fee2e2; }
.hana-board-comment-body { font-size: 14px; color: #222; line-height: 1.6; word-wrap: break-word; }
.hana-board-comment-form { margin-top: 16px; }
.hana-board-comment-form textarea { width: 100%; min-height: 80px; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; box-sizing: border-box; font-family: inherit; resize: vertical; }
.hana-board-comment-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.hana-board-comments-login { padding: 16px; text-align: center; background: #fafafa; border-radius: 6px; color: #666; font-size: 13px; }
.hana-board-comments-login a { color: #f97316; font-weight: 600; }

/* 네이버 블로그 view_mode 토글 + inline 글쓰기 버튼 */
.hana-blog-view-toggle { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 8px; border-bottom: 1px solid #eee; margin-bottom: 8px; gap: 12px; flex-wrap: wrap; }
.hana-blog-vt-group { display: flex; flex: 1 1 auto; justify-content: space-between; gap: 4px; align-items: center; }
.hana-blog-write-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: #f97316; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; border-radius: 6px; transition: background 0.15s; }
.hana-blog-write-btn:hover { background: #ea580c; color: #fff; }
.hana-blog-write-btn__icon { font-size: 14px; line-height: 1; }
.hana-blog-vt { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 13px; color: #888; text-decoration: none; border-radius: 4px; transition: all 0.15s; font-weight: 500; }
.hana-blog-vt:hover { background: #f5f5f5; color: #333; }
.hana-blog-vt.is-active { color: #f97316; font-weight: 600; }
.hana-blog-vt__icon { font-size: 15px; line-height: 1; }

/* 우측 하단 Floating Action Button (글쓰기) */
.hana-board-fab { position: fixed; right: 28px; bottom: 28px; width: 56px; height: 56px; background: #f97316; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4); transition: all 0.2s; z-index: 100; }
.hana-board-fab:hover { background: #ea580c; transform: translateY(-2px) scale(1.05); box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5); color: #fff; }
.hana-board-fab:active { transform: translateY(0) scale(0.98); }
.hana-board-fab svg { width: 24px; height: 24px; }

@media (max-width: 720px) {
  .hana-board-fab { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .hana-board-fab svg { width: 22px; height: 22px; }
  .hana-blog-write-btn { padding: 7px 12px; font-size: 12px; }
}

/* 목록열기 모드 (.hana-blog-list) - 한 줄 텍스트 리스트 */
.hana-blog-list { display: flex; flex-direction: column; padding: 8px 0 20px; }
.hana-blog-li { display: flex; align-items: center; gap: 14px; padding: 14px 8px; border-bottom: 1px solid #eee; text-decoration: none; color: inherit; transition: background 0.15s; }
.hana-blog-li:hover { background: #fafafa; }
.hana-blog-li:hover .hana-blog-li__title { color: #f97316; }
.hana-blog-li__date { flex: 0 0 92px; font-size: 13px; color: #888; font-weight: 500; }
.hana-blog-li__title { flex: 1 1 auto; font-size: 15px; color: #222; font-weight: 500; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.15s; }
.hana-blog-li__cmt { color: #f97316; font-size: 13px; font-weight: 600; margin-left: 4px; }
.hana-blog-li__author { flex: 0 0 80px; font-size: 13px; color: #888; text-align: right; }
/* company-work 목록: 좌측 대표이미지 + 우측 제목/내용 */
.hana-blog-li--cw { align-items: flex-start; gap: 12px; }
.hana-blog-li__thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: #f1f1f1; }
.hana-blog-li__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hana-blog-li__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hana-blog-li--cw .hana-blog-li__title { font-size: 15px; color: #222; font-weight: 600; white-space: normal; }
.hana-blog-li__excerpt { font-size: 13px; color: #777; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hana-blog-li__meta { font-size: 12px; color: #aaa; }

@media (max-width: 720px) {
  .hana-blog-li { flex-wrap: wrap; gap: 6px 12px; padding: 12px 8px; }
  .hana-blog-li__date { flex: 0 0 auto; order: 1; font-size: 12px; }
  .hana-blog-li__author { flex: 0 0 auto; order: 2; font-size: 12px; text-align: left; }
  .hana-blog-li__title { flex: 1 1 100%; order: 3; font-size: 14px; white-space: normal; }
}

/* 네이버 블로그 스타일 카드 (.hana-blog-cards) */
.hana-blog-cards { display: flex; flex-direction: column; gap: 20px; padding: 20px 0; }
.hana-blog-card { display: flex; gap: 18px; padding: 18px; background: #fff; border-bottom: 1px solid #eee; text-decoration: none; color: inherit; transition: background 0.15s; align-items: flex-start; }
.hana-blog-card:hover { background: #fafafa; }
.hana-blog-card:hover .hana-blog-card__title { color: #f97316; }
.hana-blog-card.no-thumb { padding-left: 20px; }
.hana-blog-card__thumb { flex: 0 0 200px; width: 200px; height: 140px; overflow: hidden; border-radius: 6px; background: #f5f5f5; }
.hana-blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.hana-blog-card:hover .hana-blog-card__thumb img { transform: scale(1.04); }
.hana-blog-card__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.hana-blog-card__title { margin: 0; font-size: 18px; font-weight: 700; color: #111; line-height: 1.4; word-wrap: break-word; transition: color 0.15s; }
.hana-blog-card__cmt { color: #f97316; font-size: 14px; font-weight: 600; margin-left: 4px; }
.hana-blog-card__excerpt { margin: 0; font-size: 14px; color: #666; line-height: 1.5; word-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hana-blog-card__meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #888; margin-top: auto; padding-top: 4px; }
.hana-blog-card__author { color: #555; font-weight: 500; }
.hana-blog-card__dot { color: #ccc; }
.hana-blog-card__date { color: #888; }
.hana-blog-card__views { color: #888; }

@media (max-width: 720px) {
  .hana-blog-card { flex-direction: column; padding: 14px; gap: 12px; }
  .hana-blog-card__thumb { width: 100%; flex: 0 0 auto; height: 200px; }
  .hana-blog-card__title { font-size: 16px; }
  .hana-blog-card__excerpt { -webkit-line-clamp: 3; }
}



@media (max-width: 720px) {
  .hana-board-table .col-author, .hana-board-table .col-views { display: none; }
  .hana-board-table .col-date { width: 80px; font-size: 12px; }
  .hana-board-table .col-num { width: 40px; }
  .hana-board-header h2 { font-size: 17px; }
}
