/* =============================================================
   LL ARCHIVE — category, tag, and author archive styles
   Loaded on is_archive() and is_author().
   ============================================================= */

/* ── PAGE HEADER ── */
.page-header { margin-bottom:18px; }
.page-title { font-weight:900; font-size:26px; color:var(--text-main); line-height:1.2; margin-bottom:4px; }
.page-subtitle { font-size:14px; color:var(--text-muted); }

/* ── FILTER BAR ── */
.filter-bar { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.filter-bar-label { font-size:13px; font-weight:700; color:var(--text-muted); white-space:nowrap; }
.filter-select { font-family:'DM Sans',sans-serif; font-size:14px; font-weight:600; color:var(--text-main); background:var(--bg-surface); border:1px solid var(--border-mid); border-radius:var(--r); padding:8px 14px; cursor:pointer; flex:1; max-width:320px; }

/* ── POST LIST ── */
.post-list { display:flex; flex-direction:column; gap:6px; margin-bottom:20px; }
.post-item { display:flex; align-items:center; gap:12px; padding:13px 16px; background:var(--bg-surface); border:1px solid var(--border); border-radius:var(--r); text-decoration:none; transition:all 0.15s; position:relative; overflow:hidden; }
.post-item::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:transparent; transition:background 0.15s; }
.post-item:hover { background:var(--bg-card); border-color:var(--border-mid); text-decoration:none; }
.post-item:hover::before { background:var(--blue); }
.post-tag { font-size:10px; font-weight:800; letter-spacing:1.5px; color:var(--blue); background:var(--blue-dim); border:1px solid var(--blue-line); border-radius:4px; padding:2px 8px; white-space:nowrap; flex-shrink:0; }
.post-body { flex:1; min-width:0; }
.post-title { font-weight:700; font-size:14px; color:var(--text-main); line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.post-meta { font-size:11px; color:var(--text-muted); margin-top:3px; }
.post-arr { font-size:13px; color:var(--text-muted); flex-shrink:0; transition:color 0.15s; }
.post-item:hover .post-arr { color:var(--blue); }

/* ── LOAD MORE ── */
.load-more-wrap { text-align:center; margin-top:8px; }
.load-more-btn { display:inline-block; padding:11px 32px; background:var(--bg-surface); border:1px solid var(--border-mid); border-radius:var(--r); font-family:'DM Sans',sans-serif; font-size:14px; font-weight:700; color:var(--text-sec); cursor:pointer; transition:all 0.15s; }
.load-more-btn:hover { border-color:var(--blue); color:var(--blue); background:var(--blue-dim); }

/* ── AUTHOR HEADER ── */
.author-header { display:flex; align-items:flex-start; gap:20px; background:var(--bg-surface); border:1px solid var(--border); border-radius:var(--r); padding:24px; margin-bottom:20px; }
.author-avatar-lg { width:72px; height:72px; border-radius:50%; background:var(--blue-dim); border:2px solid var(--blue-line); display:flex; align-items:center; justify-content:center; font-size:24px; font-weight:900; color:var(--blue); flex-shrink:0; }
.author-info { flex:1; min-width:0; }
.author-name-lg { font-size:22px; font-weight:900; color:var(--text-main); line-height:1.2; margin-bottom:3px; }
.author-role { font-size:13px; font-weight:600; color:var(--text-muted); margin-bottom:10px; }
.author-bio { font-size:14px; color:var(--text-sec); line-height:1.7; margin-bottom:12px; }
.author-social { display:flex; gap:8px; flex-wrap:wrap; }
.social-link { font-size:12px; font-weight:700; padding:5px 12px; border-radius:6px; border:1px solid var(--border-mid); color:var(--text-sec); text-decoration:none; background:var(--bg-card); transition:all 0.15s; }
.social-link:hover { border-color:var(--blue); color:var(--blue); text-decoration:none; }

/* ── STATS STRIP ── */
.stats-strip { display:flex; gap:0; background:var(--bg-surface); border:1px solid var(--border); border-radius:var(--r); overflow:hidden; margin-bottom:20px; }
.stat-item { flex:1; text-align:center; padding:14px 12px; border-right:1px solid var(--border); }
.stat-item:last-child { border-right:none; }
.stat-value { font-size:22px; font-weight:900; color:var(--text-main); line-height:1; }
.stat-label { font-size:11px; font-weight:600; color:var(--text-muted); letter-spacing:0.5px; margin-top:4px; }

/* ── SECTION TITLE ── */
.section-title { font-weight:900; font-size:15px; letter-spacing:0.5px; color:var(--text-main); display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.section-title::before { content:''; width:4px; height:15px; background:var(--blue); border-radius:2px; }

/* ── RESPONSIVE ── */
@media (max-width:768px) {
  .page-title { font-size:22px; }
  .author-header { flex-direction:column; align-items:center; text-align:center; }
  .author-social { justify-content:center; }
  .stats-strip { flex-wrap:wrap; }
  .stat-item { min-width:50%; border-bottom:1px solid var(--border); }
}
@media (max-width:480px) {
  .post-tag { display:none; }
}
