.bv-page { background: #f5f5f5; min-height: 100vh; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.bv-wrap { max-width: 1400px; margin: 0 auto; padding: 20px 24px; }
body.ez-has-sidebar .bv-wrap { max-width: 100%; }

.bv-breadcrumb { font-size: 13px; color: #8c8c8c; margin-bottom: 16px; }
.bv-breadcrumb a { color: #1677ff; text-decoration: none; }
.bv-breadcrumb a:hover { text-decoration: underline; }

/* Layout: sidebar LEFT + content RIGHT */
.bv-layout { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }

/* Sidebar */
.bv-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }
.bv-card { background: #fff; border-radius: 8px; border: 1px solid #f0f0f0; overflow: hidden; }
.bv-card-head { padding: 14px 16px; border-bottom: 1px solid #f0f0f0; font-size: 14px; font-weight: 600; color: #1a1a1a; display: flex; align-items: center; gap: 6px; }
.bv-card-head i { color: #1677ff; }
.bv-cat-list { padding: 8px; }
.bv-cat-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: 6px; font-size: 13px; color: #595959; text-decoration: none; transition: all .15s; }
.bv-cat-item:hover { background: #f5f5f5; color: #1677ff; }

/* Related posts */
.bv-related-item { display: flex; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #f5f5f5; text-decoration: none; transition: background .15s; }
.bv-related-item:last-child { border-bottom: none; }
.bv-related-item:hover { background: #fafafa; }
.bv-related-img { width: 80px; aspect-ratio: 16/9; height: auto; border-radius: 4px; object-fit: cover; flex-shrink: 0; background: #f5f5f5; display: block; }
.bv-related-title { font-size: 13px; font-weight: 500; color: #333; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bv-related-date { font-size: 11px; color: #bfbfbf; margin-top: 2px; }

/* Article content */
.bv-article { background: #fff; border-radius: 8px; border: 1px solid #f0f0f0; overflow: hidden; }
.bv-article-head { padding: 24px 28px 16px; }
.bv-article-title { font-size: 22px; font-weight: 700; color: #1a1a1a; line-height: 1.4; margin: 0 0 10px; }
.bv-article-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #8c8c8c; flex-wrap: wrap; }
.bv-article-meta a { color: #1677ff; text-decoration: none; font-weight: 500; }
.bv-article-meta a:hover { text-decoration: underline; }
.bv-article-body { padding: 0 28px 28px; font-size: 15px; color: #333; line-height: 1.8; }
.bv-article-body img { max-width: 100%; border-radius: 6px; margin: 12px 0; }
.bv-article-body h2,.bv-article-body h3 { color: #1a1a1a; margin: 20px 0 10px; }
.bv-article-body p { margin: 0 0 12px; }
.bv-article-body a { color: #1677ff; }
.bv-article-body pre,.bv-article-body code { background: #f5f5f5; padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.bv-article-body pre { padding: 12px; overflow-x: auto; }

.bv-article-footer { padding: 16px 28px; border-top: 1px solid #f0f0f0; display: flex; align-items: center; gap: 10px; }
.bv-share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: #1877f2; color: #fff; border-radius: 6px; font-size: 13px; font-weight: 500; text-decoration: none; transition: background .2s; }
.bv-share-btn:hover { background: #0d65d9; }
.bv-back-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; background: #fff; color: #595959; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 13px; font-weight: 500; text-decoration: none; transition: all .2s; }
.bv-back-btn:hover { color: #1677ff; border-color: #1677ff; }

.el-overlay { z-index: 9999 !important; }
@media (max-width: 900px) { .bv-layout { grid-template-columns: 1fr; } .bv-sidebar { position: static; } .bv-article-head,.bv-article-body,.bv-article-footer { padding-left: 16px; padding-right: 16px; } }

