.single-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 50px auto;
    padding: 0 20px;
}

.single-right-block{
    margin-bottom: 20px;
}

/* 左侧文章内容 */
.single-left,
.single-right-block {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    padding: 25px;
}

.single-left .single-date{
    display: flex;
    align-items: baseline;
    cursor: context-menu;
}
.single-left .single-date svg{
    width: 14px;
    height: 14px;
    margin-right: 5px;
}


.single-title {
    font-size: 46px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 20px;
    line-height: 3.5rem;
}

.single-title,
.single-content h2,
.single-content h3{
    font-family: Baloo2, var(--backup-family);
}


.single-meta {
    color: #141414;
    font-size: 15px;
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
}

.single-content{
    color: #5a5a5a;
    font-size: 1rem;
}
.single-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 25px 0;
}
.single-content h2{
    scroll-margin-top: var(--header-height);
    color: #141414;
    font-size: 20px;
}
.single-content h3{
    font-size: 15px;
}
.single-content p,
.single-content h2,
.single-content li{
    line-height: 1.5rem;
    margin: 1.3rem 0;
}
.single-content ul,
.single-content ol{
    margin-left: 3rem;
}
.single-content a{
    color: #3476bd;
}
.single-content ul>li{
    list-style: disc;
}
.single-content ol>li{
    list-style: auto;;
}

.single-post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    font-size: 16px;
}


.single-post-nav a {
    color: #78A75A;
    text-decoration: none;
}


.single-post-nav a:hover {
    text-decoration: underline;
}

.single-right-block.toc-sticky{
    position: sticky;
    top: var(--header-height);
    padding: unset;
}
.single-right-block.toc-sticky .right-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    color: #ffffff;
    background-color: #a1a1a1;
    border-radius: 12px;
    margin-bottom: unset;
    padding: 10px 25px;
    transition: all .2s ease;
    cursor: pointer;
}
.single-right-block.toc-sticky .right-title.active{
    padding: 25px;
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
}
.single-right-block.toc-sticky .right-title svg{
    width: 16px;
    height: 16px;
    fill: #ffffff;
}
.single-right-block.toc-sticky .toc-list{
    padding: 0 25px;
    background-color: #f1f1f1;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    max-height: 0;
    transition: all .2s ease;
    overflow-y: hidden;
}
.single-right-block.toc-sticky .toc-list.active{
    max-height: 800px;
    padding: 10px 25px 25px 25px;
}
.single-right-block.toc-sticky .toc-list ul{
    padding-left: 20px;
}
.single-right-block.toc-sticky .toc-list li{
    list-style: auto;
    color: #606060;
}
.single-right-block.toc-sticky .toc-list a{
    font-size: 14px;
    color: #606060;
    line-height: 2rem;
}
.single-right-block.about-me{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.single-right-block.about-me img{
    border-radius: 10px;
    width: 50%;
}
.single-right-block.about-me p{
    margin: 20px;
    text-align: center;
    color: #141414;
}
.single-right-block .quote-btn .btn-text{
    display: inline-block;
    padding: 15px 20px;
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 600;
    background-color: #f6985b;
    border-radius: 30px;
    color: #fff;
}
.single-right-block .quote-btn .btn-text:hover{
    background-color: #6da4b0;
}
/* 右侧区块标题 */
.right-title {
    font-size: 30px;
    margin-bottom: 15px;
    color: #333;
}


/* 最新博客区域 */
.latest-post-item {
    /*
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
     */
}
.latest-post-item img {
    width: 70px;
    object-fit: contain;
}
.latest-post-item a{
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.2rem;
}
.latest-post-item a:hover{
    color: #f6985b;
}
.latest-post-item a span{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:4;
    overflow:hidden;
    text-overflow:ellipsis;
}

@media (max-width: 800px) {
    .single-wrapper{
        display: flex;
        flex-direction: column;
    }
    .single-right-block.toc-sticky{
        position: unset;
    }
}