/* ============================================================
   page-hub.css · 问答馆 HUB 首页专属组件
   站点:site 5(zhidao 子站)/ 主题:yanzhimei-wenda
   来源:静态母版 妍知美-营销站模板/hub-zhidao.html 页内 style 块
   配套引用:base.css(yzm-head)+ page-index.css(.method-*/.last-updated/.faq 二列/.kingkong 卡片矩阵)
            + page-list.css(.empty-fallback / .empty-msg / .ef-sub 既有「建设中」状态块)
   收录原则:只收上述三个文件里确实没有的类;base.css 已有 .filter-bar/.filter-row/
            .filter-label/.filter-opts 外框与选中态,本页只补不可点 span 态。
   合规:本文件不含任何外部资源引用(无 @import、无远程 url())。
   ============================================================ */

/* —— 提问入口卡 —— */
.ask-card{background:linear-gradient(120deg,var(--brand-soft),var(--gold-soft));border-radius:var(--r-l);
  padding:28px 24px;display:flex;flex-direction:column;gap:14px;align-items:center;text-align:center}
.ask-card h2{font-size:1.2rem}
.ask-card p{color:var(--ink-2);font-size:.9rem;max-width:36em}

/* —— 筛选条不可点态(栏目未建时;可选中态由 base.css .filter-opts a.on 承担)—— */
.filter-opts .filter-opt{padding:4px 14px;border-radius:999px;color:var(--ink-2);font-size:.84rem}
.filter-opts .filter-opt.on{background:var(--brand);color:#fff}
.filter-opts .filter-opt.is-building{opacity:.55;cursor:default}

/* —— 问题流(母版 hub-zhidao ④)—— */
.qa-flow{display:flex;flex-direction:column;gap:14px}
.qa-item{background:var(--card);border-radius:var(--r-m);box-shadow:var(--shadow);padding:18px 20px;
  display:flex;flex-direction:column;gap:8px}
.qa-item h3{font-size:1.02rem}
.qa-q{font-weight:700}
.qa-q:hover{color:var(--brand-deep)}
.qa-a{font-size:.88rem;color:var(--ink-2)}
.qa-a strong{color:var(--brand-deep)}
.qa-meta{display:flex;gap:12px;font-size:.78rem;color:var(--muted);flex-wrap:wrap;align-items:center}
/* 定行数等高(对齐 base.css v1.4 卡片标准:标题 2 行 / 摘要 2 行 / 元信息 1 行) */
.qa-flow .qa-item h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;line-height:1.5;min-height:3em}
.qa-flow .qa-item .qa-a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;min-height:3.4em}
.qa-flow .qa-item .qa-meta{min-height:1.7em}

/* —— 13 栏目跳转区(复用 base.css 的 .kingkong / .kk-item.is-building,此处只补上下间距)—— */
.pillar-switch{margin-top:8px}

/* —— 问答近期更新 timeline(母版 hub-zhidao ⑦)—— */
.qa-update{background:var(--card);border-radius:var(--r-m);box-shadow:var(--shadow);padding:6px 20px}
.qu-item{display:flex;gap:16px;align-items:baseline;padding:14px 0;border-bottom:1px dashed var(--line)}
.qu-item:last-child{border-bottom:0}
.qu-date{flex:none;width:7.5em;font-size:.8rem;color:var(--muted)}
.qu-qa{flex:1;min-width:0}
.qu-qa a{font-size:.95rem;font-weight:600;color:var(--ink)}
.qu-qa a:hover{color:var(--brand-deep)}
.qu-tag{flex:none}
@media(max-width:767px){.qu-item{flex-wrap:wrap;gap:6px}}

/* —— 末尾紧凑入口链 —— */
.more-entries{margin-top:18px;padding-top:14px;border-top:1px dashed var(--line);
  font-size:.82rem;color:var(--muted);line-height:1.8;text-align:center}
.more-entries a{color:var(--brand-deep);margin:0 4px;font-weight:500}
.more-entries a:hover{text-decoration:underline}
