/* ===== 搜狗输入法 问答社区 · 自包含样式（知乎风 蓝 #056de8）===== */
*{box-sizing:border-box;}
body{margin:0;background:#f6f6f6;color:#1a1a1a;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;}
a{color:inherit;text-decoration:none;}

/* 顶栏 */
.nav{background:#fff;border-bottom:1px solid #ebebeb;position:sticky;top:0;z-index:50;box-shadow:0 1px 3px rgba(0,0,0,.04);}
.nav .in{max-width:1000px;margin:0 auto;display:flex;align-items:center;height:56px;padding:0 18px;}
.nav .brand{display:flex;align-items:center;font-size:18px;font-weight:700;color:#175199;}
.nav .brand .logo{width:28px;height:28px;margin-right:9px;}
.nav .links{margin-left:auto;display:flex;gap:4px;flex-wrap:wrap;align-items:center;}
.nav .links a{padding:7px 13px;border-radius:6px;font-size:14px;color:#646464;}
.nav .links a:hover{background:#f2f7ff;color:#056de8;}
.nav .links a.on{color:#056de8;font-weight:600;}
.nav .ask{background:#056de8;color:#fff !important;border-radius:6px;padding:7px 15px;font-weight:600;}
.nav .ask:hover{background:#0257c0;}

/* 头图 */
.hero{background:linear-gradient(135deg,#056de8 0%,#175199 100%);padding:38px 0 32px;}
.hero .in{max-width:1000px;margin:0 auto;padding:0 18px;}
.hero h1{color:#fff;font-size:26px;font-weight:800;margin:0 0 6px;}
.hero .lead{color:rgba(255,255,255,.9);font-size:14px;margin:0 0 20px;}
.search{display:flex;max-width:640px;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,.12);}
.search input{flex:1;height:46px;border:0;padding:0 16px;font-size:15px;outline:none;background:transparent;}
.search button{width:88px;height:46px;border:0;background:#056de8;color:#fff;font-size:15px;font-weight:600;cursor:pointer;}
.search button:hover{background:#0257c0;}
.hero .hot{margin-top:13px;color:rgba(255,255,255,.9);font-size:13px;}
.hero .hot a{display:inline-block;margin:0 9px 4px 0;padding:3px 11px;background:rgba(255,255,255,.16);border-radius:14px;color:#fff;}
.hero .hot a:hover{background:rgba(255,255,255,.28);}

/* 主体：内容 + 侧栏 */
.wrap{max-width:1000px;margin:0 auto;padding:20px 18px;display:flex;gap:20px;align-items:flex-start;}
.main{flex:1;min-width:0;}
.side{width:250px;flex-shrink:0;}
@media (max-width:860px){ .wrap{display:block;} .side{width:auto;margin-top:16px;} }

.cats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;}
.cat{font-size:13px;color:#646464;border:1px solid #ebebeb;border-radius:16px;padding:5px 15px;
  cursor:pointer;background:#fff;user-select:none;transition:.15s;}
.cat:hover{color:#056de8;border-color:#a9d0ff;}
.cat.on{background:#056de8;color:#fff;border-color:#056de8;}
.count{font-size:13px;color:#8590a6;margin:2px 2px 12px;}

/* 问题卡片流 */
.list{display:block;}
.item{display:block;background:#fff;border-radius:10px;padding:17px 20px;margin-bottom:10px;
  border:1px solid #f0f0f0;transition:.15s;}
.item:hover{box-shadow:0 3px 14px rgba(5,109,232,.10);}
.item .q{font-size:17px;font-weight:600;color:#121212;line-height:1.5;}
.item:hover .q{color:#056de8;}
.item .a{font-size:14px;color:#5a5a5a;line-height:1.72;margin-top:8px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.item .a .by{color:#175199;font-weight:600;margin-right:6px;}
.item .m{font-size:12.5px;color:#8590a6;margin-top:11px;display:flex;align-items:center;flex-wrap:wrap;gap:10px;}
.item .m .tag{color:#056de8;background:#eaf3ff;border-radius:4px;padding:1px 9px;}
.item .m .vote{color:#8590a6;}
.item .m .vote b{color:#5a5a5a;}
.item mark{background:#fff2b8;color:inherit;padding:0 1px;border-radius:2px;}

/* 侧栏卡 */
.card{background:#fff;border:1px solid #f0f0f0;border-radius:10px;padding:15px 17px;margin-bottom:14px;}
.card .h{font-size:14px;font-weight:700;color:#121212;margin-bottom:10px;padding-bottom:9px;border-bottom:1px solid #f2f2f2;}
.card .lk{display:block;font-size:13.5px;color:#3a3a3a;line-height:1.5;padding:7px 0;border-bottom:1px dashed #f2f2f2;}
.card .lk:last-child{border-bottom:0;}
.card .lk:hover{color:#056de8;}
.card .lk .n{display:inline-block;width:18px;color:#a6b0c0;font-weight:700;}
.card .lk .n.top{color:#f5a623;}
.card.tips{background:#f7faff;border-color:#e3eefc;}
.card.tips p{font-size:13px;color:#5a6a80;line-height:1.75;margin:6px 0 0;}

/* 分页 */
.pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:22px 0 40px;}
.pager button,.pager span.pg{min-width:36px;height:36px;padding:0 11px;border:1px solid #ebebeb;background:#fff;
  border-radius:6px;color:#646464;font-size:14px;cursor:pointer;}
.pager button:hover{border-color:#056de8;color:#056de8;}
.pager button.on{background:#056de8;color:#fff;border-color:#056de8;cursor:default;}
.pager button:disabled{color:#c9cdd4;cursor:not-allowed;background:#fafbfc;}
.pager .jump{margin-left:10px;font-size:13px;color:#8590a6;}
.pager .jump input{width:52px;height:34px;border:1px solid #ebebeb;border-radius:6px;text-align:center;margin:0 5px;}
.empty{text-align:center;color:#8590a6;padding:56px 0;font-size:15px;}

/* 页脚 */
.foot{border-top:1px solid #ebebeb;background:#fff;margin-top:16px;}
.foot .in{max-width:1000px;margin:0 auto;padding:24px 18px;font-size:13px;color:#8590a6;line-height:2;}
.foot .in .t{color:#5a5a5a;font-weight:600;}
.foot a{color:#8590a6;}.foot a:hover{color:#056de8;}
.foot .beian{margin-top:9px;font-size:12px;color:#a6b0c0;}

@media (max-width:767px){
  .hero h1{font-size:22px;}
  .nav .links a{padding:6px 9px;font-size:13px;}
  .item .q{font-size:16px;}
}
