/* 模板17 - 白底 · 标题左对齐 · 配图插在正文段落之间 */
/* ============================================================
   自包含皮肤：自带重置，不引用 base.css，不含任何渐变/毛玻璃/动画
   配色：强调色 #4a4e69（每套只用 1 个强调色）+ 中性色
   ============================================================ */

/* ---------- 1. 重置 ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #333333;
    font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.9;
}

img {
    border: 0;
    max-width: 100%;
}

h1,
p,
figure {
    margin: 0;
}

a {
    color: #4a4e69;
    text-decoration: none;
}

/* ---------- 2. 页面容器 ---------- */
.t17-main {
    display: block;
    max-width: 720px;
    margin: 0 auto;
    padding: 54px 22px 48px;
}

/* ---------- 3. 标题（左对齐，衬线体） ---------- */
.t17-h1 {
    font-family: "Songti SC", "Noto Serif SC", Georgia, "Microsoft YaHei", serif;
    font-size: 28px;
    line-height: 1.5;
    font-weight: 700;
    color: #1a1a1a;
    text-align: left;
    letter-spacing: 0.2px;
    word-break: break-word;
}

.t17-h1::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin-top: 16px;
    background: #4a4e69;
}

/* ---------- 4. 标签（紧跟标题下方，方框 + 竖线前缀） ---------- */
.t17-tagbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 10px;
    margin: 20px 0 0;
    text-align: left;
}

.t17-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 3px 12px 3px 9px;
    border: 1px solid #d0d7de;
    border-left: 3px solid #4a4e69;
    border-radius: 3px;
    background: #fafafa;
    color: #4a4e69;
    font-size: 13px;
    line-height: 26px;
    font-weight: 500;
}

.t17-tag-av {
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    background: #e5e7eb;
}

/* ---------- 5. 正文段落 ---------- */
.t17-text {
    display: block;
    margin: 30px 0 0;
}

.t17-p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 2;
    color: #333333;
    text-align: left;
    text-indent: 0;
    word-break: break-word;
}

.t17-text .t17-p:first-of-type {
    color: #1f2328;
    padding-left: 14px;
    border-left: 2px solid #e5e7eb;
}

.t17-p:last-of-type {
    margin-bottom: 0;
}

/* ---------- 6. 段间横屏图（居中，最大 520px） ---------- */
.t17-fig {
    max-width: 520px;
    margin: 28px auto;
    padding: 0;
}

.t17-fig-img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #f7f8fa;
    object-fit: cover;
}

/* ---------- 7. 按钮（正文末尾，左对齐描边） ---------- */
.t17-act {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 34px 0 0;
    text-align: left;
}

.t17-btn {
    display: inline-block;
    padding: 11px 28px;
    border: 1px solid #4a4e69;
    border-radius: 4px;
    background: #ffffff;
    color: #4a4e69;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
}

.t17-btn:hover {
    background: #4a4e69;
    color: #ffffff;
}

/* ---------- 8. 底部友链 ---------- */
.t17-friend {
    margin: 44px 0 0;
    padding: 18px 0 0;
    border-top: 1px dashed #d0d7de;
    font-size: 13px;
    line-height: 2.1;
    color: #57606a;
}

.t17-friend-ttl {
    display: inline-block;
    margin: 0 12px 0 0;
    padding: 1px 9px;
    border: 1px solid #4a4e69;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #4a4e69;
    vertical-align: 1px;
}

.t17-friend-a {
    display: inline-block;
    margin: 0 15px 3px 0;
    color: #57606a;
    transition: color 0.2s;
}

.t17-friend-a:hover {
    color: #4a4e69;
    text-decoration: underline;
}

/* ---------- 9. 窄屏适配 ---------- */
@media (max-width: 720px) {
    .t17-main {
        padding: 34px 18px 38px;
    }

    .t17-h1 {
        font-size: 23px;
    }

    .t17-p {
        font-size: 15.5px;
        line-height: 1.95;
    }

    .t17-fig {
        max-width: 100%;
        margin: 22px auto;
    }

    .t17-btn {
        padding: 10px 22px;
    }
}

@media (max-width: 480px) {
    .t17-h1 {
        font-size: 20px;
    }

    .t17-tagbar {
        gap: 8px;
    }

    .t17-tag {
        font-size: 12px;
        line-height: 24px;
        padding: 2px 9px 2px 7px;
    }

    .t17-tag-av {
        width: 22px;
        height: 22px;
    }

    .t17-p {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .t17-act {
        gap: 10px;
    }

    .t17-btn {
        display: block;
        width: 100%;
        padding: 11px 8px;
    }

    .t17-friend-ttl {
        display: block;
        width: 76px;
        margin: 0 0 8px;
        text-align: center;
    }
}
