
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Microsoft Yahei", sans-serif;
    }
    body {
        background: #fff6e8;
    }
    .wrap {
        max-width: 1200px;
        margin: 100px auto;
    }
    /* 返回按钮 */
    .back-btn {
        display: inline-block;
        padding: 10px 26px;
        background: #ff8822;
        color: #fff;
        text-decoration: none;
        border-radius: 99px;
        margin-bottom: 30px;
    }
    /* 文章主卡片 */
    .article-main {
        max-width: 860px;
        margin: 0 auto 60px;
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
    }
    .article-banner {
        width: 100%;
        height: 400px;
    }
    .article-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .article-body {
        padding: 35px;
    }
    .cate-tag {
        display: inline-block;
        background: #fff2cc;
        color: #cc6600;
        font-size: 13px;
        padding: 4px 10px;
        border-radius: 6px;
        margin-bottom: 16px;
    }
    .article-title {
        font-size: 28px;
        color: #222;
        line-height: 1.4;
        margin-bottom: 18px;
    }
    .article-meta {
        display: flex;
        gap: 25px;
        font-size: 14px;
        color: #999;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
        margin-bottom: 30px;
    }
    /* 富文本自适应，解决日志黑块溢出 */
    .article-content {
        font-size: 16px;
        color: #333;
        line-height: 1.8;
    }
    .article-content p {
        margin-bottom: 16px;
        text-indent: 2em;
    }
    .article-content img {
        max-width: 100% !important;
        height: auto !important;
        margin: 12px 0;
        border-radius: 8px;
    }
    .article-content pre {
        max-width: 100%;
        overflow-x: auto;
        background: #000;
        color: #fff;
        padding: 12px;
        border-radius: 8px;
        font-size: 12px;
    }
    .rel-title {
        font-size: 26px;
        color: #222;
        margin-bottom: 30px;
    }
    .article-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .article-card {
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
    }
    .card-img-box {
        position: relative;
        height: 240px;
    }
    .card-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .tag-top {
        position: absolute;
        top: 12px;
        left: 12px;
        background: #fff2cc;
        color: #cc6600;
        font-size: 12px;
        padding: 3px 8px;
        border-radius: 4px;
    }
    .tag-right {
        position: absolute;
        bottom: 12px;
        right: 12px;
        background: #ff8822;
        color: #fff;
        font-size: 12px;
        padding: 4px 10px;
        border-radius: 4px;
    }
    .card-body {
        padding: 20px;
    }
    .card-title {
        font-size: 17px;
        color: #222;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    .card-title a {
        color: #222;
        text-decoration: none;
    }
    .card-desc {
        font-size: 13px;
        color: #999;
        margin-bottom: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .card-foot {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        color: #aaa;
    }
    /* 移动端和列表页保持一致 */
    @media (max-width:768px){
        .article-grid{
            grid-template-columns: repeat(1,1fr);
        }
        .page-title h1{
            font-size:28px;
        }
        .article-banner {
            height: 240px;
        }
        .article-title {
            font-size: 22px;
        }
    }
