
/* ✅ 不要在这里再写 .article-side 的宽度/position（外层已经控制） */

/* 卡片 */
.rs-card{
  background:#fff;
  border-radius:5px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  overflow:hidden;
  margin:0 0 14px 0 !important;
}
/* ✅ 最后一个卡片不留 14px（否则右侧底部会比左侧多） */
.rs-card:last-child{ margin-bottom:0 !important; }

.rs-pad{ padding:14px; }
.rs-title{ margin:0; font-size:16px; font-weight:900; color:#111; }

/* 站点信息卡 */
.rs-cover{ width:100%; height:120px; object-fit:cover; display:block; }
.rs-profile{ position:relative; padding:44px 16px 14px 16px; text-align:center; }
.rs-avatar{
  width:58px;height:58px;border-radius:50%;
  object-fit:cover;border:4px solid #fff;
  box-shadow:0 8px 18px rgba(0,0,0,.15);
  position:absolute; left:50%; top:-29px; transform:translateX(-50%);
  background:#fff;
}
.rs-name{ font-size:22px; font-weight:900; color:#111; margin:6px 0 8px 0; }
.rs-desc{ color:#6f6f6f; font-size:13px; line-height:1.55; margin:0 auto; max-width:260px; }

/* 统计 */
.rs-stats{ display:flex; margin-top:14px; }
.rs-stat{ flex:1; text-align:center; padding:10px 0 2px 0; }
.rs-stat + .rs-stat{ border-left:1px solid rgba(0,0,0,.08); }
.rs-num{ font-size:24px; font-weight:900; color:#111; }
.rs-lab{ margin-top:6px; font-size:12px; color:#8a8a8a; }

/* ✅ 分类卡片（2列网格） */
.rs-cats{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
  margin-top:10px;
}
.rs-cat{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:10px 10px;
  border-radius:5px;
  text-decoration:none;
  background:#f8fafc;
  border:1px solid rgba(0,0,0,.06);
  color:#111;
  transition:.15s ease;
}
.rs-cat:hover{
  transform: translateY(-1px);
  box-shadow:0 8px 16px rgba(0,0,0,.08);
}
.rs-cat-name{
  font-size:13px;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.rs-cat-badge{
  flex:0 0 auto;
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(13,110,253,.10);
  color:#0d6efd;
  font-weight:800;
}

/* 最新文章 */
.rs-ul{ list-style:disc; padding-left:18px; margin:10px 0 0 0; }
.rs-ul li{ margin:10px 0; }
.rs-ul a{ color:#111; text-decoration:none; font-size:13px; }
.rs-ul a:hover{ color:#0d6efd; }

/* 热门文章 */
.rs-hot{ list-style:none; margin:10px 0 0 0; padding:0; }
.rs-hot li{ display:flex; gap:10px; align-items:flex-start; margin:10px 0; }
.rs-badge{
  width:20px;height:20px;border-radius:5px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:12px;color:#fff;flex:0 0 20px;
}
.rs-b1{ background:#ef4444; } .rs-b2{ background:#f97316; } .rs-b3{ background:#f59e0b; }
.rs-bn{ background:#cbd5e1; color:#111; }
.rs-hot a{
  color:#111; text-decoration:none; font-size:13px;
  display:block; max-width:255px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.rs-hot a:hover{ color:#0d6efd; }

/* 标签云 */
.rs-tags{ padding-top:6px; }
.rs-tag{
  display:inline-block; padding:5px 10px; border-radius:5px;
  color:#fff !important; text-decoration:none; font-size:12px; line-height:1;
  margin:8px 8px 0 0; box-shadow:0 4px 12px rgba(0,0,0,.08);
}
.rs-tag:hover{ filter:brightness(.95); }
.rs-wrap{ margin:0; padding:0; }

@media (max-width: 768px){
  .rs-hot a{ max-width:none; }
}
