/* 模板29 - 居中单栏 */
/* 1. 基础重置 */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

h1,
p,
blockquote {
    margin: 0;
    padding: 0;
}

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

a {
    color: #6b2737;
    text-decoration: none;
    transition: opacity 0.18s ease;
}

a:focus-visible {
    outline: 2px solid #6b2737;
    outline-offset: 2px;
}

/* 2. 页面容器 */
.t29-stage {
    display: block;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 58px 22px 44px;
}

/* 3. 标题区：居中 */
.t29-head {
    display: block;
    text-align: center;
}

.t29-h1 {
    font-size: 27px;
    line-height: 1.5;
    font-weight: 600;
    color: #1f2328;
    letter-spacing: 0.01em;
    margin: 0 auto;
    max-width: 620px;
}

/* 4. 标题下方的居中图 */
.t29-fig {
    display: block;
    margin-top: 26px;
}

.t29-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 4px;
    background: #fafafa;
}

/* 5. 正文 */
.t29-text {
    display: block;
    margin-top: 34px;
}

.t29-p {
    font-size: 16.5px;
    line-height: 1.9;
    color: #333333;
    text-align: left;
    margin-bottom: 19px;
}

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

.t29-quote {
    font-size: 16px;
    line-height: 1.9;
    color: #57606a;
    text-align: center;
    margin: 24px auto 0;
    padding: 16px 10px;
    max-width: 560px;
    border-top: 1px solid #f2f3f5;
    border-bottom: 1px solid #f2f3f5;
}

/* 6. 标签：页面底部、按钮之前 */
.t29-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid #f2f3f5;
}

.t29-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 26px;
    padding: 3px 13px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 13px;
    line-height: 20px;
    color: #57606a;
    white-space: nowrap;
}

.t29-tag-av {
    display: block;
    width: 26px;
    height: 26px;
    margin-left: -7px;
    border-radius: 50%;
    object-fit: cover;
    background: #f2f3f5;
}

/* 7. 按钮：居中实心 */
.t29-acts {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.t29-btn {
    display: inline-block;
    padding: 12px 40px;
    background: #6b2737;
    border: 1px solid #6b2737;
    border-radius: 4px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0.06em;
    text-align: center;
}

.t29-btn:hover {
    opacity: 0.88;
}

/* 8. 底部友链 */
.t29-friend {
    display: block;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px dashed #e5e7eb;
    font-size: 13px;
    line-height: 2;
    color: #8a8f98;
    text-align: center;
}

.t29-friend-ttl {
    display: inline-block;
    margin-right: 12px;
    color: #57606a;
    font-weight: 500;
}

.t29-friend a {
    display: inline-block;
    margin: 0 7px;
    color: #8a8f98;
    border-bottom: 1px solid #f2f3f5;
}

.t29-friend a:hover {
    color: #6b2737;
    border-bottom-color: #6b2737;
}

/* 9. 窄屏适配 */
@media (max-width: 700px) {
    .t29-stage {
        padding: 34px 16px 30px;
    }

    .t29-h1 {
        font-size: 21px;
        line-height: 1.5;
    }

    .t29-fig {
        margin-top: 20px;
    }

    .t29-text {
        margin-top: 24px;
    }

    .t29-p {
        font-size: 15.5px;
        line-height: 1.85;
        margin-bottom: 15px;
    }

    .t29-quote {
        font-size: 15px;
        padding: 13px 4px;
        margin-top: 18px;
    }

    .t29-tags {
        margin-top: 26px;
        padding-top: 20px;
        gap: 8px;
    }

    .t29-tag {
        font-size: 12.5px;
        padding: 3px 10px;
    }

    .t29-acts {
        margin-top: 22px;
    }

    .t29-btn {
        display: block;
        width: 100%;
        padding: 12px 18px;
    }

    .t29-friend {
        margin-top: 26px;
        padding-top: 18px;
    }
}

@media (max-width: 400px) {
    .t29-h1 {
        font-size: 19px;
    }

    .t29-p {
        font-size: 15px;
    }

    .t29-friend a {
        margin: 0 4px;
    }
}
