/* 模板12 - 报刊专栏风：白纸 + 砖红强调 + 标题下 4px 短粗线 + 等宽井号标签 + 描边方框按钮 */

/* ---------- 重置 ---------- */
html,body{margin:0;padding:0}
*,*::before,*::after{box-sizing:border-box}
h1,h2,h3,p,figure,ul,li{margin:0;padding:0}
ul{list-style:none}
img{max-width:100%;height:auto;border:0;display:block}
a{color:inherit;text-decoration:none}

.t12-body{
    --t12-ink:#1a1a1a;
    --t12-sub:#57606a;
    --t12-line:#e5e7eb;
    --t12-accent:#8c1c13;
    --t12-mono:"SFMono-Regular",Menlo,Consolas,"Liberation Mono","Courier New",monospace;
    background:#ffffff;
    color:var(--t12-ink);
    font-family:"Segoe UI","Microsoft YaHei","PingFang SC",Helvetica,Arial,sans-serif;
    font-size:16px;
    line-height:1.8;
    -webkit-font-smoothing:antialiased;
}
.t12-col{
    max-width:724px;
    margin:0 auto;
    padding:52px 20px 0;
}

/* ---------- 标题 + 短粗线 ---------- */
.t12-open{
    padding-bottom:26px;
}
.t12-h1{
    font-size:28px;
    font-weight:700;
    line-height:1.4;
    letter-spacing:-.2px;
    color:var(--t12-ink);
}
.t12-rule{
    display:block;
    width:76px;
    height:4px;
    margin-top:18px;
    background:var(--t12-accent);
}

/* ---------- 横屏图：紧跟标题 ---------- */
.t12-fig{
    margin:0 0 28px;
    border:1px solid var(--t12-line);
    border-radius:3px;
    overflow:hidden;
}
.t12-fig img{
    width:100%;
    object-fit:cover;
}

/* ---------- 正文 ---------- */
.t12-text{
    display:block;
}
.t12-lead{
    margin:0 0 20px;
    padding-left:15px;
    border-left:3px solid var(--t12-accent);
    color:#333333;
    font-size:16.5px;
    line-height:1.8;
}
.t12-p{
    margin:0 0 20px;
    color:#333333;
    text-align:justify;
}

/* ---------- 关键标签：等宽字体 + 井号前缀，纯文字 ---------- */
.t12-kws{
    margin:30px 0 0;
    padding:18px 0 0;
    border-top:1px dashed var(--t12-line);
    font-size:14px;
}
.t12-kw{
    display:inline-block;
    margin:0 22px 8px 0;
    color:var(--t12-sub);
    font-family:var(--t12-mono);
    letter-spacing:.3px;
    white-space:nowrap;
}
.t12-kw-tx::before{
    content:"#";
    color:var(--t12-accent);
    margin-right:3px;
    font-weight:700;
}
.t12-kw-av{
    display:inline-block;
    width:26px;
    height:26px;
    border-radius:50%;
    object-fit:cover;
    vertical-align:-8px;
    margin-right:7px;
    border:1px solid var(--t12-line);
}

/* ---------- 按钮：描边方框 ---------- */
.t12-acts{
    margin:32px 0 0;
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}
.t12-btn{
    display:inline-block;
    padding:11px 30px;
    background:transparent;
    color:var(--t12-accent);
    border:1.5px solid var(--t12-accent);
    border-radius:2px;
    font-size:15px;
    font-weight:600;
    letter-spacing:.5px;
}
.t12-btn:hover{
    background:var(--t12-accent);
    color:#ffffff;
}

/* ---------- 底部友链 ---------- */
.t12-friend{
    max-width:724px;
    margin:48px auto 0;
    padding:24px 20px 58px;
    border-top:3px double var(--t12-line);
    font-size:13px;
    line-height:2.2;
    color:var(--t12-sub);
}
.t12-friend-ttl{
    display:block;
    margin-bottom:8px;
    font-size:13.5px;
    font-weight:700;
    color:var(--t12-ink);
    letter-spacing:1px;
}
.t12-friend a{
    display:inline-block;
    margin:0 15px 4px 0;
    color:var(--t12-sub);
    transition:color .18s;
}
.t12-friend a:hover{
    color:var(--t12-accent);
    text-decoration:underline;
}

/* ---------- 窄屏适配 ---------- */
@media (max-width:640px){
    .t12-body{font-size:15.5px}
    .t12-col{padding:30px 15px 0}
    .t12-h1{font-size:21px}
    .t12-rule{width:60px;height:3px;margin-top:14px}
    .t12-open{padding-bottom:20px}
    .t12-fig{margin-bottom:22px}
    .t12-p,.t12-lead{margin-bottom:17px}
    .t12-kws{margin-top:24px;padding-top:14px}
    .t12-kw{margin-right:15px}
    .t12-btn{padding:10px 20px;flex:1 1 auto;text-align:center}
    .t12-friend{margin-top:34px;padding:20px 15px 42px}
}
