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

.bl-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.bl-toolbar-title { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.bl-toolbar-sub { font-size: 12px; color: #8c8c8c; }

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

/* Sidebar */
.bl-sidebar { position: sticky; top: 80px; }
.bl-card { background: #fff; border-radius: 8px; border: 1px solid #f0f0f0; overflow: hidden; }
.bl-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; }
.bl-card-head i { color: #1677ff; }
.bl-cat-list { padding: 8px; }
.bl-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; cursor: pointer; }
.bl-cat-item:hover { background: #f5f5f5; color: #1677ff; }
.bl-cat-item.active { background: #e6f4ff; color: #1677ff; font-weight: 600; }
.bl-cat-count { background: #f5f5f5; color: #8c8c8c; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 4px; min-width: 22px; text-align: center; }
.bl-cat-item.active .bl-cat-count { background: #bae0ff; color: #1677ff; }

/* Search */
.bl-search { display: flex; gap: 8px; margin-bottom: 16px; }
.bl-search-input { flex: 1; height: 36px; padding: 0 12px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 13px; color: #333; outline: none; }
.bl-search-input:focus { border-color: #1677ff; }
.bl-search-btn { height: 36px; padding: 0 16px; border: none; border-radius: 6px; background: #1677ff; color: #fff; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .2s; }
.bl-search-btn:hover { background: #0958d9; }
.bl-search-reset { height: 36px; width: 36px; border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; color: #595959; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; text-decoration: none; }
.bl-search-reset:hover { border-color: #1677ff; color: #1677ff; }

/* Post cards — horizontal */
.bl-post-list { display: flex; flex-direction: column; gap: 12px; }
.bl-post { background: #fff; border-radius: 8px; border: 1px solid #f0f0f0; overflow: hidden; display: flex; transition: box-shadow .2s; }
.bl-post:hover { box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.bl-post-img-wrap { width: 240px; flex-shrink: 0; overflow: hidden; position: relative; border-right: 1px solid #f0f0f0; }
.bl-post-img { width: 100%; aspect-ratio: 16/9; height: auto; min-height: unset; object-fit: cover; display: block; transition: transform .3s; }
.bl-post:hover .bl-post-img { transform: scale(1.03); }
.bl-post-date { position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,.9); padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; color: #595959; }
.bl-post-body { flex: 1; padding: 16px 20px; display: flex; flex-direction: column; justify-content: space-between; }
.bl-post-title { font-size: 16px; font-weight: 700; color: #1a1a1a; margin: 0 0 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-post-title a { color: inherit; text-decoration: none; }
.bl-post-title a:hover { color: #1677ff; }
.bl-post-excerpt { font-size: 13px; color: #8c8c8c; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.bl-post-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid #f5f5f5; }
.bl-post-time { font-size: 12px; color: #bfbfbf; display: flex; align-items: center; gap: 4px; }
.bl-post-link { font-size: 13px; font-weight: 600; color: #1677ff; text-decoration: none; display: flex; align-items: center; gap: 4px; }
.bl-post-link:hover { color: #0958d9; }

/* Empty */
.bl-empty { background: #fff; border-radius: 8px; border: 1px solid #f0f0f0; padding: 60px 20px; text-align: center; }
.bl-empty i { font-size: 40px; color: #d9d9d9; display: block; margin-bottom: 12px; }

/* Pagination */
.bl-pagi { background: #fff; border-radius: 8px; border: 1px solid #f0f0f0; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bl-pagi-info { font-size: 13px; color: #8c8c8c; }
.custom-pagination ul { display: flex; list-style: none; padding: 0; margin: 0; gap: 4px; }
.custom-pagination li a,.custom-pagination li span { display: flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; font-size: 13px; font-weight: 500; color: #333; background: #fff; border: 1px solid #d9d9d9; border-radius: 6px; transition: all .2s; text-decoration: none; }
.custom-pagination li a:hover { border-color: #1677ff; color: #1677ff; }
.custom-pagination li.active a,.custom-pagination li.active span { background: #1677ff; color: #fff; border-color: #1677ff; }

.el-overlay { z-index: 9999 !important; }
@media (max-width: 900px) {
    .bl-layout { grid-template-columns: 1fr; }
    .bl-sidebar { position: static; }
    .bl-post { flex-direction: column; }
    .bl-post-img-wrap { width: 100%; height: 180px; border-right: none; border-bottom: 1px solid #f0f0f0; }
}

