.enc-cat{--cols:3;--gap:10px;--acc-w:4px}
.enc-cat-list{margin:0;padding:0;list-style:none}
.enc-cat-list li{margin:0}
.enc-cat-item{color:#111;text-decoration:none}
.enc-cat-name{font-weight:600;color:#111;transition:color .2s}
.enc-cat-count{font-size:13px;color:#8a94a6}
.enc-cat-dot{display:inline-block;flex:none;width:10px;height:10px;border-radius:50%;background:var(--cc,#1565c0)}
.enc-cat-desc{display:block;font-size:14px;line-height:1.5;color:#5b6577}
.enc-cat-empty{padding:16px;color:#6b7a90}

/* Етикети */
.enc-cat--pills .enc-cat-list{display:flex;flex-wrap:wrap;gap:var(--gap)}
.enc-cat--pills .enc-cat-item{display:inline-flex;align-items:center;gap:8px;padding:6px 16px;border:2px solid var(--cc,#1565c0);border-radius:999px;
	background:#fff;font-size:15px;line-height:1.4;transition:background .2s,color .2s,filter .2s}
.enc-cat--pills .enc-cat-item .enc-cat-count{color:inherit;opacity:.6}
.enc-cat--pills-outline .enc-cat-item:hover,.enc-cat--pills-outline .enc-cat-item.is-current{background:var(--cc,#1565c0)}
.enc-cat--pills-outline .enc-cat-item:hover .enc-cat-name,.enc-cat--pills-outline .enc-cat-item.is-current .enc-cat-name,
.enc-cat--pills-outline .enc-cat-item:hover .enc-cat-count,.enc-cat--pills-outline .enc-cat-item.is-current .enc-cat-count{color:#fff}
.enc-cat--pills-filled .enc-cat-item{background:var(--cc,#1565c0)}
.enc-cat--pills-filled .enc-cat-name,.enc-cat--pills-filled .enc-cat-count{color:#fff}
.enc-cat--pills-filled .enc-cat-item:hover,.enc-cat--pills-filled .enc-cat-item.is-current{filter:brightness(.9)}
.enc-cat--pills .enc-cat-dot{width:8px;height:8px}
.enc-cat--pills-filled .enc-cat-dot{background:#fff}

/* Списък */
.enc-cat--list .enc-cat-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e8ebf0}
.enc-cat--list li:last-child .enc-cat-item{border-bottom:0}
.enc-cat--list .enc-cat-count{margin-left:auto}
.enc-cat--list .enc-cat-item:hover .enc-cat-name,.enc-cat--list .enc-cat-item.is-current .enc-cat-name{color:var(--cc,#1565c0)}

/* Карти */
.enc-cat--cards .enc-cat-list{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:var(--gap)}
@media (max-width:1024px){.enc-cat{--cols:2}}
@media (max-width:767px){.enc-cat{--cols:1}}
.enc-cat--cards .enc-cat-item{position:relative;display:flex;flex-direction:column;gap:4px;box-sizing:border-box;height:100%;padding:18px 20px;
	overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 1px 4px rgba(16,40,90,.12);transition:transform .2s ease,box-shadow .2s ease}
.enc-cat--cards .enc-cat-item:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(16,40,90,.14)}
.enc-cat--cards .enc-cat-name{font-size:18px;line-height:1.3;font-weight:700}
.enc-cat--cards .enc-cat-item::before{content:"";position:absolute;background:var(--cc,#1565c0)}
.enc-cat--acc-top .enc-cat-item::before{top:0;left:0;right:0;height:var(--acc-w)}
.enc-cat--acc-left .enc-cat-item::before{top:0;bottom:0;left:0;width:var(--acc-w)}
.enc-cat--acc-none .enc-cat-item::before{display:none}
.enc-cat--cards .enc-cat-item.is-current .enc-cat-name{color:var(--cc,#1565c0)}

/* Популярни теми и тагове */
.enc-cat-rank{flex:none;min-width:30px;font-size:18px;font-weight:800;line-height:1;color:#c9ced6;font-variant-numeric:tabular-nums}
.enc-cat-main{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;min-width:0}
.enc-cat-latest{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.4;color:#5b6577}
.enc-cat--cards .enc-cat-latest{margin-top:4px}
