/* 模板34 - 字重对比单页 */

/* ===== 1. 基础重置（自包含，不引用任何外部样式） ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body,
h1,
p,
figure {
    margin: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    color: inherit;
}

/* ===== 2. 页面骨架：白底、780px 单栏 ===== */
body {
    background-color: #ffffff;
    color: #333333;
    font-family: -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 16.5px;
    line-height: 1.85;
    font-weight: 400;
}

.t34-main {
    display: block;
    max-width: 780px;
    margin: 0 auto;
    padding: 42px 24px 48px;
}

/* ===== 3. 三段式排布：上段（标题/图/提要）中段（标签/正文）末段（正文/按钮） ===== */
.t34-top {
    display: block;
    margin-bottom: 30px;
}

.t34-mid {
    display: block;
    margin-bottom: 30px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.t34-end {
    display: block;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

/* ===== 4. 标题：字重 800，字距收紧 ===== */
.t34-h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: #1f2328;
    margin-bottom: 18px;
}

/* ===== 5. 正文段落：字重 400 / 16.5px / 行高 1.85 ===== */
.t34-p {
    font-size: 16.5px;
    font-weight: 400;
    line-height: 1.85;
    color: #333333;
    margin-bottom: 18px;
}

.t34-p:last-child {
    margin-bottom: 0;
}

/* 副标题级段落：字重 500，字号略大，颜色更深 */
.t34-p--sub {
    font-size: 18.5px;
    font-weight: 500;
    line-height: 1.8;
    color: #1f2328;
    margin-top: 24px;
    margin-bottom: 0;
}

/* ===== 6. 横屏图：直角，无边框，上下细线分隔 ===== */
.t34-shot {
    display: block;
    margin: 24px 0 0;
    padding: 0;
}

.t34-shot-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: cover;
}

/* ===== 7. 关键标签：大写字距 0.08em，小字号纯文字 ===== */
.t34-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin: 0 0 22px;
    padding: 0;
}

.t34-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    color: #37474f;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.t34-tag-av {
    width: 22px;
    height: 22px;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    background-color: #e5e7eb;
}

/* ===== 8. 按钮：实心，无圆角，字重 600 ===== */
.t34-act {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.t34-btn {
    display: inline-block;
    padding: 13px 28px;
    border: 1px solid #37474f;
    border-radius: 0;
    background-color: #37474f;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.t34-btn:hover {
    background-color: #2b383e;
    border-color: #2b383e;
}

.t34-btn--edge {
    background-color: #ffffff;
    color: #37474f;
}

.t34-btn--edge:hover {
    background-color: #f7f8fa;
    color: #2b383e;
    border-color: #2b383e;
}

/* ===== 9. 底部友链：细线之上一行紧凑链接 ===== */
.t34-foot {
    display: block;
    max-width: 780px;
    margin: 0 auto;
    padding: 18px 24px 42px;
    font-size: 14.5px;
    line-height: 1.95;
}

.t34-friend {
    display: block;
    color: #57606a;
}

.t34-friend-ttl {
    display: inline-block;
    margin-right: 12px;
    color: #8a8f98;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.t34-friend-lk {
    display: inline-block;
    margin-right: 13px;
    color: #57606a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.t34-friend-lk:hover {
    color: #37474f;
    text-decoration: underline;
}

/* ===== 10. 窄屏适配：层级保留、字号回落、按钮通栏 ===== */
@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .t34-main {
        padding: 28px 16px 34px;
    }

    .t34-h1 {
        font-size: 25px;
        line-height: 1.5;
    }

    .t34-p {
        font-size: 16px;
        line-height: 1.85;
    }

    .t34-p--sub {
        font-size: 17px;
        line-height: 1.8;
    }

    .t34-tags {
        gap: 10px 16px;
    }

    .t34-act {
        flex-direction: column;
        gap: 10px;
    }

    .t34-btn {
        display: block;
        width: 100%;
        padding: 13px 20px;
        text-align: center;
    }

    .t34-foot {
        padding: 16px 16px 32px;
    }
}

/* ===== 11. 超窄屏：字距与头像再收一档 ===== */
@media (max-width: 360px) {
    .t34-h1 {
        font-size: 22px;
    }

    .t34-tag {
        letter-spacing: 0.06em;
    }

    .t34-tag-av {
        width: 20px;
        height: 20px;
    }
}
