/* 학문외과 게시판 스타일 */
.hb-board-wrap { max-width: 100%; margin: 0 auto; font-family: 'Noto Sans KR', sans-serif; }
.hb-board-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #0073aa; }
.hb-board-title { font-size: 20px; font-weight: 700; color: #333; margin: 0; }
.hb-total-count { font-size: 13px; color: #666; }
.hb-board-table { width: 100%; border-collapse: collapse; }
.hb-board-table th { background: #f5f5f5; padding: 10px 15px; text-align: center; font-size: 13px; border-bottom: 2px solid #ddd; }
.hb-board-table td { padding: 12px 15px; border-bottom: 1px solid #eee; font-size: 14px; }
.hb-th-title { text-align: left !important; }
.hb-td-title a { color: #333; text-decoration: none; }
.hb-td-title a:hover { color: #0073aa; }
.hb-td-author, .hb-td-date, .hb-td-hit { text-align: center; color: #666; font-size: 13px; }
.hb-notice-badge { background: #0073aa; color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 3px; margin-right: 6px; }
.hb-pinned { background: #f8f9ff; }
.hb-empty { text-align: center; padding: 30px; color: #999; }
.hb-pagination { display: flex; justify-content: center; gap: 5px; margin-top: 20px; }
.hb-page-btn { padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; color: #333; text-decoration: none; font-size: 13px; }
.hb-page-btn.active { background: #0073aa; color: #fff; border-color: #0073aa; }

/* 글 보기 */
.hb-view-wrap { max-width: 100%; }
.hb-view-header { border-bottom: 2px solid #0073aa; padding-bottom: 15px; margin-bottom: 20px; }
.hb-view-title { font-size: 22px; font-weight: 700; color: #333; margin-bottom: 10px; }
.hb-view-meta { display: flex; gap: 20px; color: #666; font-size: 13px; }
.hb-view-content { min-height: 200px; line-height: 1.8; font-size: 15px; padding: 20px 0; border-bottom: 1px solid #eee; }
.hb-view-content p { margin-bottom: 10px; }
.hb-view-footer { margin-top: 20px; }
.hb-btn-list { padding: 8px 20px; background: #f5f5f5; border: 1px solid #ddd; border-radius: 4px; color: #333; text-decoration: none; font-size: 14px; }

/* 팝업 */
.hb-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999; display: flex; align-items: center; justify-content: center; }
.hb-popup-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.hb-popup-box { position: relative; background: #fff; border-radius: 12px; padding: 30px; max-width: 400px; width: 90%; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.hb-popup-close { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 20px; cursor: pointer; color: #999; }
.hb-popup-content-text h4 { font-size: 18px; font-weight: 700; margin-bottom: 15px; color: #333; }
.hb-popup-body { font-size: 14px; line-height: 1.8; color: #555; }
.hb-popup-img { width: 100%; border-radius: 8px; margin-bottom: 15px; }
.hb-popup-content-image h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.hb-popup-btn { display: inline-block; padding: 10px 20px; background: #0073aa; color: #fff; border-radius: 6px; text-decoration: none; font-size: 14px; margin-top: 10px; }
.hb-popup-content-banner { text-align: center; }
.hb-popup-content-banner h4 { font-size: 20px; font-weight: 700; color: #0073aa; margin-bottom: 10px; }
.hb-popup-footer { margin-top: 15px; padding-top: 10px; border-top: 1px solid #eee; font-size: 13px; color: #999; }

@media (max-width: 768px) {
    .hb-th-author, .hb-th-hit, .hb-td-author, .hb-td-hit { display: none; }
    .hb-view-meta { flex-direction: column; gap: 5px; }
}
