/* ============================================================
   Lexoft — Category hub styles
   ============================================================ */

.cat-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 30px 0 40px; }
.cat-hero .breadcrumbs { margin-bottom: 22px; }
.cat-hero-inner { display: flex; gap: 22px; align-items: flex-start; }
.cat-hero .ico { width: 60px; height: 60px; border-radius: 15px; }
.cat-hero .ico svg { width: 30px; height: 30px; }
.cat-hero h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.cat-hero p { font-size: 17px; color: var(--ink-2); margin-top: 12px; max-width: 640px; line-height: 1.55; }
.cat-hero-stats { display: flex; gap: 26px; margin-top: 20px; }
.cat-hero-stats .st { display: flex; flex-direction: column; }
.cat-hero-stats .st b { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.cat-hero-stats .st span { font-size: 13px; color: var(--ink-3); }

.cat-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; padding-top: 36px; }

/* Filter chips */
.filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-chip { font-size: 14px; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 9px 16px; border-radius: 100px; transition: .14s; }
.filter-chip:hover { border-color: var(--accent-soft-2); color: var(--accent); }
.filter-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.filter-chip .cnt { opacity: .65; margin-left: 5px; font-weight: 500; }
.filter-chip.active .cnt { opacity: .8; }

/* Article list */
.art-list { display: flex; flex-direction: column; gap: 14px; }
.art-row { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; transition: .16s; }
.art-row:hover { border-color: var(--accent-soft-2); box-shadow: var(--sh-2); transform: translateY(-2px); }
.art-row .ar-main { flex: 1; min-width: 0; }
.art-row .ar-top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; flex-wrap: wrap; }
.art-row h3 { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; }
.art-row:hover h3 { color: var(--accent); }
.art-row p { font-size: 14.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.5; }
.art-row .ar-meta { display: flex; align-items: center; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.art-row .ar-meta span { display: inline-flex; align-items: center; gap: 5px; }
.art-row .ar-meta svg { width: 14px; height: 14px; color: var(--ink-4); }
.art-row .ar-arrow { width: 22px; height: 22px; color: var(--ink-4); flex-shrink: 0; margin-top: 4px; transition: .16s; }
.art-row:hover .ar-arrow { color: var(--accent); transform: translateX(3px); }

.priority { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 5px; text-transform: uppercase; letter-spacing: .03em; }
.priority-1 { background: var(--accent-soft); color: var(--accent-dark); }
.priority-2 { background: var(--bg-3); color: var(--ink-3); }

/* Sidebar */
.cat-sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.cat-nav-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.cat-nav-card h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 12px; }
.cat-nav-card a { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding: 9px 12px; border-radius: 8px; transition: .12s; font-weight: 500; }
.cat-nav-card a:hover { background: #fff; color: var(--accent); }
.cat-nav-card a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.cat-nav-card a .n { font-size: 12.5px; color: var(--ink-4); }
.cat-nav-card a.active .n { color: var(--accent); }

@media (max-width: 980px) {
  .cat-layout { grid-template-columns: 1fr; gap: 36px; }
  .cat-sidebar { position: static; }
}
@media (max-width: 600px) {
  .cat-hero-inner { flex-direction: column; gap: 14px; }
  .art-row .ar-arrow { display: none; }
}
