/* 模板25 - 米白底 / 衬线标题 / 17px 行高 2.0 正文 / 文字下划线按钮 / 方框标签 */

/* ---------- 基础重置 ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: #faf8f5;
    color: #333333;
    font-family: Georgia, "Songti SC", "SimSun", "PingFang SC", serif;
    font-size: 16px;
    line-height: 1.9;
}

h1 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

p,
blockquote,
figure,
ul {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

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

a {
    color: #7a4b1e;
    text-decoration: none;
}

/* ---------- 页面容器：米白底单栏 ---------- */

.t25-page {
    display: block;
    max-width: 720px;
    margin: 0 auto;
    padding: 58px 24px 70px;
}

/* ---------- 标题区：衬线标题 + 站点名 ---------- */

.t25-title {
    color: #1a1a1a;
    font-family: Georgia, "Songti SC", "SimSun", serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.3px;
}

/* ---------- 图片：正文之前的细边框居中图 ---------- */
.t25-figure {
    margin-top: 30px;
    padding: 8px;
    border: 1px solid #d0d7de;
    background: #ffffff;
}

.t25-figure-img {
    width: 100%;
    height: auto;
}

/* ---------- 正文区：17px / 行高 2.0，引句用左侧竖线区分 ---------- */

.t25-lead {
    margin-top: 30px;
    color: #333333;
    font-size: 17px;
    line-height: 2;
}

.t25-quote {
    margin-top: 26px;
    padding-left: 20px;
    border-left: 2px solid #7a4b1e;
    color: #57606a;
    font-size: 17px;
    font-style: italic;
    line-height: 2;
}

/* ---------- 标签：方框直角，前四个带圆形头像 ---------- */

.t25-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.t25-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px 5px 5px;
    border: 1px solid #8a8f98;
    border-radius: 0;
    background: #ffffff;
    color: #57606a;
    font-size: 13px;
    line-height: 1.6;
}

.t25-tag-av {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

/* ---------- 按钮：纯文字 + 下划线，无底色无边框 ---------- */

.t25-action {
    margin-top: 40px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.t25-btn {
    display: inline-block;
    padding-bottom: 3px;
    border-bottom: 2px solid #7a4b1e;
    color: #7a4b1e;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.6px;
    line-height: 1.7;
    transition: color 0.2s ease;
}

.t25-btn:hover {
    color: #5b3714;
    border-bottom-color: #5b3714;
}

/* ---------- 友链区 ---------- */

.t25-foot {
    margin-top: 62px;
    padding-top: 22px;
    border-top: 1px solid #d0d7de;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.t25-friend {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 18px;
}

.t25-friend-ttl {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
}

.t25-friend-a {
    color: #57606a;
    font-size: 14px;
    transition: color 0.2s ease;
}

.t25-friend-a:hover {
    color: #7a4b1e;
}

/* ---------- 窄屏：正文行高保持 2.0，字号与留白同步收紧 ---------- */

@media (max-width: 700px) {
    .t25-page {
        padding: 34px 18px 50px;
    }

    .t25-title {
        font-size: 24px;
        line-height: 1.5;
    }

    .t25-figure {
        margin-top: 22px;
        padding: 6px;
    }

    .t25-lead {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.95;
    }

    .t25-quote {
        margin-top: 18px;
        padding-left: 14px;
        font-size: 15px;
        line-height: 1.95;
    }

    .t25-tags {
        gap: 8px;
        margin-top: 24px;
    }

    .t25-tag {
        font-size: 12px;
        padding: 4px 11px 4px 4px;
    }

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

    .t25-action {
        margin-top: 30px;
    }

    .t25-foot {
        margin-top: 40px;
        padding-top: 18px;
    }

    .t25-friend {
        gap: 6px 12px;
    }
}

/* ---------- 超窄屏：防止长标题与标签横向溢出 ---------- */

@media (max-width: 400px) {
    .t25-title {
        font-size: 21px;
    }

    .t25-lead,
    .t25-quote {
        font-size: 15px;
    }

    .t25-btn {
        font-size: 15px;
    }

    .t25-friend-a,
    .t25-friend-ttl {
        font-size: 13px;
    }
}
