/* ============================================================
   board.css — 广场页专用
   思路：单列长卡片流，覆盖在主页三栏之上。
   继承主页的色彩系统（米白 + 墨色 + 朱砂）。
   ============================================================ */

/* —— 1) 覆盖主页三栏，广场页用 18/64/18（让中栏更宽） —— */
.app--board {
  display: grid !important;
  grid-template-columns: 18% 64% 18% !important;
  align-items: stretch !important;
  min-height: 100vh !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}

/* —— 2) 中栏（列表） —— */
.main--board {
  min-height: 100% !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 28px !important;
}

/* —— 3) 帖子列表 —— */
.board-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 单条帖子（与主页同款，但加 category / meta 行） */
.board-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  padding: 22px 0 26px 0;
  border-bottom: 1px solid rgba(60, 50, 40, 0.07);
  align-items: start;
}
.board-item:hover {
  background: rgba(253, 251, 246, 0.35);
  transition: background .3s;
}

.board-item-avatar {
  width: 44px;
  height: 44px;
  opacity: .8;
}

.board-item-body {
  min-width: 0;
}

/* 标题 */
.board-item-title {
  font-family: 'Crimson Text', 'Songti SC', serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  color: #2C2620;
  margin: 0 0 6px 0;
  letter-spacing: .01em;
  cursor: pointer;
}
.board-item-title:hover { color: #A8201A; }

/* 摘要（2 行截断） */
.board-item-excerpt {
  font-size: 13.5px;
  line-height: 1.85;
  color: #6E665C;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* meta 行：作者 + 分类 + 时间 */
.board-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: #9C9388;
  letter-spacing: .04em;
}
.board-item-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #C7BFB4;
}
.board-item-meta .cat-tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid rgba(60, 50, 40, 0.15);
  border-radius: 2px;
  font-size: 11px;
  color: #5A524A;
  letter-spacing: .08em;
}

/* 右侧统计 */
.board-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 88px;
  font-size: 11.5px;
  color: #9C9388;
  letter-spacing: .04em;
}
.board-item-side .num {
  font-size: 17px;
  font-weight: 500;
  color: #2C2620;
  font-family: 'Crimson Text', serif;
}
.board-item-side .num-label {
  font-size: 11px;
  opacity: .6;
}

/* —— 4) 工具条（数量 / 排序） —— */
.board-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0 14px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(60, 50, 40, 0.1);
  font-size: 12.5px;
  color: #6E665C;
  letter-spacing: .06em;
}
.board-sort-label { opacity: .55; }
.board-sort {
  color: #2C2620;
  cursor: pointer;
  border-bottom: 1px dotted #9C9388;
  padding-bottom: 1px;
}
.board-sort:hover { color: #A8201A; border-color: #A8201A; }
.board-count { font-weight: 500; color: #2C2620; }

/* —— 5) 分页 —— */
.board-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0 60px 0;
  font-size: 12.5px;
  color: #6E665C;
  letter-spacing: .08em;
}
.board-pager-link {
  text-decoration: none;
  color: #2C2620;
  border: 1px solid rgba(60, 50, 40, 0.2);
  padding: 8px 18px;
  letter-spacing: .15em;
  transition: all .2s;
}
.board-pager-link:hover {
  background: #2C2620;
  color: #EFEAE0;
  border-color: #2C2620;
}

/* —— 6) 左栏分类的"active"态：朱砂小点 —— */
.nav-list--board .nav-item.active .nav-cn::before {
  content: "·";
  color: #A8201A;
  margin-right: 6px;
  font-weight: 700;
}

/* —— 7) 右栏「本周读得多」列表 —— */
.board-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.board-side-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(60, 50, 40, 0.12);
  cursor: pointer;
}
.board-side-row:last-child { border-bottom: 0; }
.board-side-row:hover .board-side-title { color: #A8201A; }
.board-side-num {
  font-family: 'Crimson Text', serif;
  font-size: 18px;
  color: #A8201A;
  font-weight: 500;
  min-width: 22px;
  line-height: 1.4;
}
.board-side-title {
  font-size: 13.5px;
  line-height: 1.5;
  color: #2C2620;
  margin-bottom: 2px;
  transition: color .2s;
}
.board-side-meta {
  font-size: 11px;
  color: #9C9388;
  letter-spacing: .05em;
}

/* —— 8) 「关于广场」说明 —— */
.aside-note {
  font-size: 12.5px;
  line-height: 1.95;
  color: #6E665C;
  margin: 0;
  padding: 4px 0 8px 0;
}
.aside-note em {
  color: #2C2620;
  font-style: normal;
  border-bottom: 1px solid rgba(168, 32, 26, 0.4);
  padding-bottom: 1px;
}

/* —— 9) 移动端：单列堆叠 —— */
@media (max-width: 980px) {
  .app--board {
    grid-template-columns: 1fr !important;
  }
  .side-left, .side-right { display: none; }
  .main--board { padding: 0 5vw !important; }
  .board-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }
  .board-item-side { display: none; }
  .board-item-title { font-size: 17px; }
  .board-item-excerpt { font-size: 13px; -webkit-line-clamp: 3; }
}